• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] ItemPickup (Rings/Amulets by stats)

    Discussion in 'Archives' started by flexus, Nov 22, 2013.

    1. flexus

      flexus Community Developer

      Joined:
      Jun 13, 2012
      Messages:
      95
      Likes Received:
      1
      Trophy Points:
      8
      I will, but I'll wait for the bigger update, because there are some api changes going on and actually the bot is not usable for me because of the flaging.
      Don't want to waste my accounts when testing it.

      Don't have any problems with the actual stable version.
      Try deleting the settings file in:
      \Settings\Character\LEAGUE\CHAR\Plugins\ItemPickup

      Delete the .json file in there and try it again.
      If that still don't help, try a fresh ExileBuddy Version.
      My config window opens

      Edit:
      Updated the plugin for the Beta Version, now works with the actual build
       
    2. kuskner

      kuskner Member

      Joined:
      Oct 12, 2013
      Messages:
      521
      Likes Received:
      2
      Trophy Points:
      18
      ItemPickupBeta-1.2.3.4-OnlyForBeta.zip (23.7 KB, 32 views) dont work with the current beta.
       
    3. flexus

      flexus Community Developer

      Joined:
      Jun 13, 2012
      Messages:
      95
      Likes Received:
      1
      Trophy Points:
      8
      Okay will take a look and update
       
    4. imdivesmaintank

      imdivesmaintank New Member

      Joined:
      Oct 30, 2013
      Messages:
      342
      Likes Received:
      0
      Trophy Points:
      0
      Does this work with the current beta? I notice it hasn't been touched in a while.
       
    5. flexus

      flexus Community Developer

      Joined:
      Jun 13, 2012
      Messages:
      95
      Likes Received:
      1
      Trophy Points:
      8
      Hi,
      I don't know if it works, just try it.

      I pause my projects until bnew ladder starts and will update them then.
      Cause i didn't play aTm
       
    6. zamorak

      zamorak New Member

      Joined:
      Nov 14, 2013
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      This is happening


      Compiler Error: c:\Users\dell\Desktop\Bots\BETA EXile buddy\Plugins\ItemPickupBeta\Main.cs(214,78) : error CS0117: 'Loki.Game.LokiPoe' does not contain a definition for 'CurrentInstance'
      Compiler Error: c:\Users\dell\Desktop\Bots\BETA EXile buddy\Plugins\ItemPickupBeta\Main.cs(214,110) : error CS0117: 'Loki.Game.LokiPoe' does not contain a definition for 'Me'
      Compiler Error: c:\Users\dell\Desktop\Bots\BETA EXile buddy\Plugins\ItemPickupBeta\Repositories\VerificationRepository.cs(91,25) : error CS1502: The best overloaded method match for 'Loki.Game.Objects.NetworkObject.Interact(bool, bool, Loki.Game.LokiPoe.InputTargetType)' has some invalid arguments
      Compiler Error: c:\Users\dell\Desktop\Bots\BETA EXile buddy\Plugins\ItemPickupBeta\Repositories\VerificationRepository.cs(91,58) : error CS1503: Argument 3: cannot convert from 'bool' to 'Loki.Game.LokiPoe.InputTargetType'
      Compiler Error: c:\Users\dell\Desktop\Bots\BETA EXile buddy\Plugins\ItemPickupBeta\Repositories\VerificationRepository.cs(103,25) : error CS1502: The best overloaded method match for 'Loki.Game.Objects.NetworkObject.Interact(bool, bool, Loki.Game.LokiPoe.InputTargetType)' has some invalid arguments
      Compiler Error: c:\Users\dell\Desktop\Bots\BETA EXile buddy\Plugins\ItemPickupBeta\Repositories\VerificationRepository.cs(103,58) : error CS1503: Argument 3: cannot convert from 'bool' to 'Loki.Game.LokiPoe.InputTargetType'
      Compiler Error: c:\Users\dell\Desktop\Bots\BETA EXile buddy\Plugins\ItemPickupBeta\Repositories\VerificationRepository.cs(119,25) : error CS1502: The best overloaded method match for 'Loki.Game.Objects.NetworkObject.Interact(bool, bool, Loki.Game.LokiPoe.InputTargetType)' has some invalid arguments
      Compiler Error: c:\Users\dell\Desktop\Bots\BETA EXile buddy\Plugins\ItemPickupBeta\Repositories\VerificationRepository.cs(119,58) : error CS1503: Argument 3: cannot convert from 'bool' to 'Loki.Game.LokiPoe.InputTargetType'
      Compiler Error: c:\Users\dell\Desktop\Bots\BETA EXile buddy\Plugins\ItemPickupBeta\Repositories\VerificationRepository.cs(131,25) : error CS1502: The best overloaded method match for 'Loki.Game.Objects.NetworkObject.Interact(bool, bool, Loki.Game.LokiPoe.InputTargetType)' has some invalid arguments
      Compiler Error: c:\Users\dell\Desktop\Bots\BETA EXile buddy\Plugins\ItemPickupBeta\Repositories\VerificationRepository.cs(131,58) : error CS1503: Argument 3: cannot convert from 'bool' to 'Loki.Game.LokiPoe.InputTargetType'
      Compiler Error: c:\Users\dell\Desktop\Bots\BETA EXile buddy\Plugins\ItemPickupBeta\Repositories\VerificationRepository.cs(143,25) : error CS1502: The best overloaded method match for 'Loki.Game.Objects.NetworkObject.Interact(bool, bool, Loki.Game.LokiPoe.InputTargetType)' has some invalid arguments
      Compiler Error: c:\Users\dell\Desktop\Bots\BETA EXile buddy\Plugins\ItemPickupBeta\Repositories\VerificationRepository.cs(143,58) : error CS1503: Argument 3: cannot convert from 'bool' to 'Loki.Game.LokiPoe.InputTargetType'
      Reloading AssemblyLoader<Loki.Bot.ICombat> - Initializing
      [UI] Current routine set to Exile
       
    7. masterashh

      masterashh New Member

      Joined:
      Mar 15, 2014
      Messages:
      65
      Likes Received:
      0
      Trophy Points:
      0

      Main.cs Line 214

      Change:

      LokiPoe.CurrentInstance.League

      To:

      LokiPoe.InstanceInfo.League

      and change:

      LokiPoe.Me.Name

      To:

      LokiPoe.ObjectManager.Me.Name


      ---

      in VerificationRepository.cs

      Change:

      newObject.Interact(false, false, false);

      To:

      newObject.Interact(false, false, LokiPoe.InputTargetType.Ignore);

      (I am "assuming" ignore as the previous value was false, I don't know what the old API for the third param was, do did a wild guess)
       
    8. flexus

      flexus Community Developer

      Joined:
      Jun 13, 2012
      Messages:
      95
      Likes Received:
      1
      Trophy Points:
      8
      thanks masterashh for the fixing :)
      I'll update my two plugins the next days
       
    9. yangluo13

      yangluo13 New Member

      Joined:
      Mar 4, 2013
      Messages:
      35
      Likes Received:
      0
      Trophy Points:
      0
      hope your update

      best regards
       
    10. pushedx

      pushedx Moderator Moderator Buddy Core Dev

      Joined:
      Sep 24, 2013
      Messages:
      4,252
      Likes Received:
      290
      Trophy Points:
      83
      Just a headups, the Interact function for NetworkObject will be removed soon. It is no longer possible to interact with an object in one frame in this game (a lot of other API functions will be updated as well to reflect that).

      While there's quite a few changes to do, we will have in some continence functions for people to achieve what they want a lot easier though. The new Interact logic will take care of the highlighting and targeting issues for you.
       
    11. Angully

      Angully Member

      Joined:
      Sep 19, 2010
      Messages:
      764
      Likes Received:
      1
      Trophy Points:
      18
      anychance this project is going to be reopened could really use the stat weighting feature on rares
       
    12. Lestat_r

      Lestat_r New Member

      Joined:
      Feb 20, 2012
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Hey, I've been trying to update this with the corrects previously stated. It seems .Interact(false, true, LokiPoe.InputTargetType.Ignore); does not work in the current stable release. @pushedx have those changes preventing interacting with object been implemented? Also do you have any input how one would pickup a WorldItem?
       
    13. pushedx

      pushedx Moderator Moderator Buddy Core Dev

      Joined:
      Sep 24, 2013
      Messages:
      4,252
      Likes Received:
      290
      Trophy Points:
      83
      That API is pretty old, even by Release standards. I would not recommend trying to update for Release, since it's going away in a few weeks.

      For Beta:
      There is a PickitBot, with source, that shows how you could use our API to have a bot that only did pickit logic, if you wanted a helper bot. Just see Bots\PickitBot\PickitBot.cs.
      There is an ExampleBot, with source, that shows how you can implement automatic looting via the ExampleLootPoi (Bots\ExampleBot\ExampleLootPoi.cs).

      Beta is coroutine driven, so you need to use the new coroutines (InteractWithObject, for example) in order to loot an item. The old interaction method is long gone due to it causing undesired issues.

      For additional item information, there is a new item API a part of beta that lets you get access to stuff we didn't have before. Rings don't really have anything extra on them that affix information doesn't alreayd provide, but if you wanted more info about weapons or armor, that is there now too. For more information on that, please see this post.

      I think that about covers it, but if you need any more info, feel free to ask!
       
    14. Lestat_r

      Lestat_r New Member

      Joined:
      Feb 20, 2012
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Cheers, thanks for the quick reply!
       

    Share This Page