Tab:Items

From ISXOgre
Jump to: navigation, search

Tab Summary

ItemsTab.png

  • Note: As I continue to code items, this is really turning into something advanced. There is a lot to read and understand about the benefits AND drawbacks of using items inside of Ogrebot.
  • Hit 'Refresh' to load all activatable items in your inventory. I've done my best to limit the garbage in this list. If something isn't showing up, please send me an item link. It will add the item to the right side. When you first add an item(s) to the right side, press 'Update' to add them to your ability lists.
    • Why do you need to hit a button, rather than having it be automated? Because to find information out about items (IE: if it's a clickie etc) is a server call. So to scan your entire inventory+equipped gear takes time (20-30 seconds, give or take). And this is time I don't want to take if I'm mid combat etc etc. Since this doesn't affect items you've already added to the bot, it'll really only be used when you acquire a new piece of gear you want to add. In which case, the wait is acceptable.
    • DO NOT MODIFY YOUR INVENTORY WHILE THE REFRESH IS RUNNING. IE: Don't hit refresh, then move an item, buy/sell/trade anything etc. If you do, you will get errors like:
      • Error:Incomplete index @${UIElement[${This.GetUIID[SourceName]}].ItemByText[${Me.CustomInventory[${xx}].Name}](exists)}
    • Which is 'okay', it just means you destroyed the array and now it's scanning it for no purpose :)
  • When you save your profile, the right side gets saved, so they will be automatically loaded into your ability lists when they load.
  • All items have the prefix: Item:
    • Example1: Item:Manastone
    • Example2: Item:Some random clickie
  • For the time being, if you don't want an item to show up in your ability list anymore, you can remove it from the right side (click-right click), or disable it (double click it). Items won't be removed until you (reload profile/restart the bot). If this is some kind of big issue, I may look at removing them real time.
  • Should only display items that are actually usable.
  • So, items really REALLY suck to work with. For my pain and suffering, this is now a premium feature which requires $1,000,000 to use.... If only!
    • Item range doesn't exist (even if you examine an item...) and there's no way to check if you are out of range. There's no 'target' type on items, so I can't even see if the item is a self buff, or meant for an NPC... I've got some code that I *think* can tell the difference between a item-buff and item-nuke/debuff. It may or may not work. For now, I've set all item clickies to a range of 30, because that's the 2 I tested had through trial and error.
    • There's no way to tell if an item can be used on group members only, or any raid member (I don't even know if items actually have this limitation), but I certainly have no way of knowing. So if you try to use an item on a player in a group/raid and it can't be, you will basically 'block' the bot from continuing.
    • Items that require a target will only work on PCs, not on pets. If it's an item that you can click without targeting your pet, it should work in the CA tab... but if your pet is out of range it will have no idea... Soooo... for now, no support for items that work on pets. I would need one to test.
    • Items that go into a defensive tab (or non-offensive tab), such as the priority tab, will forcefully change your target to use the item. Be aware of this. Things like AutoTarget will change it back. If you don't have any kind of assist/autotarget, your target will stay as the target of the item cast. Just something to keep in mind.
    • Items can't be 'queued' like abilities can. And there is no way I know of, to see if you are in the middle of 'recovery' time. So generally what will happen, is Ogre will try to use an item while you are mid recovery, then it will try again. So you will more than likely get a 'you haven't recovered' message, which is fine. Abilities don't have this issue, because they technically get queued for the 0.25-0.5s recovery.
  • Did basic item testing on the following tabs to confirm it works. Note: This was using a defensive item/self item.
    • Priority-Combat
    • Power Heals
    • CAs
    • NamedCAs
    • Non-combat buffs
  • Did basic item testing on the following tabs to confirm it works. Note: This was using an offensive item/NPC target required item.
    • CA
  • More details to follow as it gets coded...