Jump to content

Recommended Posts

Heya,

this is related to vanilla.

I'm working on my buff routine which includes creating a Mana Agate and its equivalents. The issue is that when my bags are full it tries creating it over and over again.

Is there a way to check whether inventory is full?

Thanks

Seminko

 

EDIT: also, is there a way to check if another action is in progress? What happens is that when I cast Evocation, the bot will cast a buff and screw up the Evocation.

Link to comment
https://wrobot.eu/forums/topic/6380-how-to-check-if-inventory-is-full/
Share on other sites

@Seminko it's "wManager.Wow.Helpers.Bag.GetContainerNumFreeSlots"  &  "wManager.Wow.ObjectManager.ObjectManager.Me.IsCast"

If you are looking for more functions you can search in a decompiler(https://wrobot.eu/forums/topic/6103-frost-dk-rotation-help-needed/#comment-27890).

It's easy to search something for example, searched "cast" as keyword:

Spoiler

    wManager.Wow.ObjectManager.WoWUnit (7 items)
      BuffCastedBy(string spellName):ulong
      BuffCastedByAll(string spellName):List<ulong>
      CanInterruptCasting:bool
      CastingSpell:Spell
      CastingSpellId:int
      CastingTimeLeft:int
      IsCast:bool
 

 

Edit: This may differ from expansion to expansion

7 hours ago, camelot10 said:

search forum

I did.

 

5 hours ago, reapler said:

@Seminko it's "wManager.Wow.Helpers.Bag.GetContainerNumFreeSlots"  &  "wManager.Wow.ObjectManager.ObjectManager.Me.IsCast"

If you are looking for more functions you can search in a decompiler(https://wrobot.eu/forums/topic/6103-frost-dk-rotation-help-needed/#comment-27890).

It's easy to search something for example, searched "cast" as keyword:

  Hide contents

    wManager.Wow.ObjectManager.WoWUnit (7 items)
      BuffCastedBy(string spellName):ulong
      BuffCastedByAll(string spellName):List<ulong>
      CanInterruptCasting:bool
      CastingSpell:Spell
      CastingSpellId:int
      CastingTimeLeft:int
      IsCast:bool
 

 

Edit: This may differ from expansion to expansion

Thanks man. Don't know about decompiling, but will look into it! Cheers

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...