• Visit Rebornbuddy
  • Random Dev Notes/Updates/Requests

    Discussion in 'Archives' started by pushedx, Jul 28, 2015.

    1. Ledge

      Ledge Member

      Joined:
      Mar 13, 2014
      Messages:
      63
      Likes Received:
      0
      Trophy Points:
      6
      Can you provide a source code for default PlayerMover? Can't deobfuscate latest ExileBuddy with de4dot :)
       
    2. tozededao

      tozededao Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,225
      Likes Received:
      5
      Trophy Points:
      38
      I think it is better to ask for help in here than to PM pushedx because other devs might help me on this one aswell.

      I've been trying to improve the Cyclone usage and one of the things that pushedx suggested is using Loki.Game.LokiPoe.ProcessHookManager.SetKeyState and Loki.Game.LokiPoe.ProcessHookManager.SetCursorPos instead of LokiPoe.InGameState.SkillBarPanel.UseAt .

      Doing this is freezing my game though. Any help?

      It should be relatively simple to just force the bot to hold the cyclone key and move the mouse to the screen position as long as our target is within certain distance.
       
    3. tozededao

      tozededao Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,225
      Likes Received:
      5
      Trophy Points:
      38
      Progress has been made. Usually the problem of getting stuck is that the monster position has an object blocking it or something, something really tiny.

      So far it has been running for 30 minutes without any stucks.
       
    4. pushedx

      pushedx Moderator Moderator Buddy Core Dev

      Joined:
      Sep 24, 2013
      Messages:
      4,252
      Likes Received:
      290
      Trophy Points:
      83
      If I understand what you're asking, dump BaseItemTypes using the Dev Tab.
       
    5. pushedx

      pushedx Moderator Moderator Buddy Core Dev

      Joined:
      Sep 24, 2013
      Messages:
      4,252
      Likes Received:
      290
      Trophy Points:
      83
      Look at the API docs for "Inventory".

      To get the exact layout, you can use GetItemPlacementGraph.

      To get the total count of slots available, use AvailableInventorySquares.

      Then there's a bunch of other helper functions.
       
    6. pushedx

      pushedx Moderator Moderator Buddy Core Dev

      Joined:
      Sep 24, 2013
      Messages:
      4,252
      Likes Received:
      290
      Trophy Points:
      83
      Current status of that is that it's not currently planned. While EB is moving closer and closer to a stable state in terms of API available and the way the core design is, the game changes pretty often, unlike other games, and there's other Store issues that need to be resolved before it can be considered for EB.
       
    7. pushedx

      pushedx Moderator Moderator Buddy Core Dev

      Joined:
      Sep 24, 2013
      Messages:
      4,252
      Likes Received:
      290
      Trophy Points:
      83
      Sure: https://gist.github.com/pushedx/a1ec2004f16067a008e1

      The LockstepPlayerMover seems to be working pretty well, as it has some changes to try and reduce overhead the Predictive one has.

      There are plans to change up the way it works to avoid some issues with stuff close by, but that's for later on.
       
    8. krzys

      krzys Member

      Joined:
      Jul 23, 2012
      Messages:
      124
      Likes Received:
      1
      Trophy Points:
      18
      Hello.
      Is it possible to add option in antistuck to return to town/hideout instead of returning to character screen ?
      and add option to auto level all gems in gemleveler plugin? this one would help in case of gems switching if u level gems in secondary weapon for profit
      this modifications were made by community, but i dont know if it longer works with 2.0
       
    9. widds

      widds Member

      Joined:
      Nov 12, 2014
      Messages:
      316
      Likes Received:
      3
      Trophy Points:
      18
      Pushedx, are the stat strings in the 1.1.5.3 info page still the same or did they all change?

      In the 2.0 beta thread you had the post about the Item Filter, and then linked to that document for the available strings to use with the affix portion of the filter. Have they been reworded? Is there any way to parse the client to get an updated list? Thanks.
       
    10. buddyfu2

      buddyfu2 Member

      Joined:
      Aug 18, 2015
      Messages:
      47
      Likes Received:
      2
      Trophy Points:
      8
      Is there any way to see the mods of the map we are currently in? DatWorldAreaWrapper does not seem to have this information.
       
    11. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Summon ExVault!
      He's the map specialist.

      Edit:
      Api is here
      Code:
       var mapMods = LokiPoe.LocalData.MapMods.Values.ToList();
       
      Last edited: Aug 27, 2015
    12. ripcurl2269

      ripcurl2269 New Member

      Joined:
      Jun 25, 2010
      Messages:
      27
      Likes Received:
      3
      Trophy Points:
      3
      Where can I find all the available method's for a given class. Right now I am interested in implementing some sort of kiting algorithm for PA, I noticed Loki.Bot.Pathfinding.ExilePather. What are the avaiable method's for ExilePather. I checked the sticky faq's and stuff but it seemed extremely bare bones. What I basically want is given a safe spot, I'd like to fire PA and if there are >=4 mobs within lets say 10m, move to this safe spot. I also thought about having some sort of breadCrumb fixed size stack to save up to 10 or so safe coordinates, and when monsters come within a certain proximity pop one of the values from the stack and move to said location. Also is there some sort of developer IRC channel or something to ask questions more rapidly?
       
    13. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Object Browser in Visual Studio, exposes all the available API methods, calls.
       
    14. dbuddy2

      dbuddy2 New Member

      Joined:
      Mar 6, 2015
      Messages:
      206
      Likes Received:
      0
      Trophy Points:
      0
      i know it could be difficult, but is there a chance to check also plugins for possible updates?
      like insert a signature for the the most important plugins like quest plugin/map/AIF and if the version mismatches bot recognizes it.

      or clear up a bit at the plugins section here ;)
       
    15. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Yep, we need a plugins section with up-to-date/outdated stuff. easier to get in.
       
    16. laneri

      laneri New Member

      Joined:
      Oct 4, 2015
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      please update Quest Plugin
       
    17. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Yes! Please do! QuestPlugin maker is a lazy fucker, we need to work him.
       
    18. Dbuddy

      Dbuddy Member

      Joined:
      Jun 18, 2012
      Messages:
      963
      Likes Received:
      0
      Trophy Points:
      16
      since updates i got a few PoE crashes and/or EB crashes.
      you know the problem when you are stuck at the login screen because something went wrong.

      any chance we get a relogger/crash detection? :)
       
    19. pushedx

      pushedx Moderator Moderator Buddy Core Dev

      Joined:
      Sep 24, 2013
      Messages:
      4,252
      Likes Received:
      290
      Trophy Points:
      83
      Not from us, you'd need an external program to manage it, but I've put in a lot of various things in the GUI to help people who do that. See the ExternalCommunication plugin for example. I do have an example of an external program which uses that if you want to mess with it.

      I've not run into any new issues myself, but I'd need logs if you get stuck at the login screen. However, if you're stuck due to things like network connection failing and whatnot, then there's nothing really to change for that.
       
    20. Notmyreal

      Notmyreal Member

      Joined:
      Apr 22, 2014
      Messages:
      62
      Likes Received:
      0
      Trophy Points:
      6
      Is there something like an IsinRange tag? I want to trigger town run before running in Voll.

      edit: went with IsActive works fine
       
      Last edited: Dec 27, 2015

    Share This Page