February 11, 20179 yr I've been trying to automate creating healthstones and use them, with no luck... The bot simply wont create them. Has anyone managed this? [D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun = false - timer[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun time to execute: 0[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun = false - timer[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun time to execute: 0[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun = false - timer[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun time to execute: 0[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun time to execute: 47[F] 11.03.07 - [Spell] Cast Create Healthstone (Minor) (Create Healthstone (Minor))[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - Run() time to execute: 203[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun = false - timer[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun time to execute: 0[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun = false - timer
February 11, 20179 yr Author I managed to get this to work by using lua script. Currently using the CastSpell() in combination with GetSpellTabInfo() CastSpellByName is not working for Healthstones for some odd reason (Elysium server) name,texture,offset,numSpells = GetSpellTabInfo(3); CastSpell((offset+1),"spell"); http://wowprogramming.com/docs/api/CastSpellhttp://wowprogramming.com/docs/api/GetSpellTabInfo
December 8, 20214 yr @Droidz: I cant get this to work can you suggest how it should be done? Im writing a C# fight class. need to know what to put here. if(ItemsManager.GetItemCountByNameLUA("Minor Healthstone")==0 && ItemsManager.GetItemCountByNameLUA("Soul Shard")>=1 && CreateHealthstone.KnownSpell && CreateHealthstone.IsSpellUsable){ //CreateHealthstone.Launch(); //wManager.Wow.Helpers.SpellManager.CastSpellByIdLUA(6201, "target"); //Lua.LuaDoString("CastSpell((offset+1),"spell");"); }
December 8, 20214 yr Hello, Lua.LuaDoString("local name,texture,offset,numSpells = GetSpellTabInfo(3); CastSpell((offset+1),'spell');");
Create an account or sign in to comment