Posts posted by TheSmokie
-
-
私人服务器无法刷出进程
in 中文
-
-
-
@Harvest Golem you can use something like this,
local MountsNames = { } for i = 1, GetNumCompanions('MOUNT') do local _, Name = GetCompanionInfo('MOUNT', i); table.insert(MountsNames, Name); end for B = 1 , 25 do local BuffName = UnitBuff("player", B); for Y = 1, #MountsNames do if string.match(BuffName, MountsNames[Y]) then return true; else return false; end end end -
-
Edited by TheSmokie
@Zer0 i dont believe people can use Csharp functions in fighclass editor. but yes, you code will work for wotlk.
This is lua code. (Tested) works good. Change the timer and Combo Points amount with whatever you choose.
local RS, _, _, _, _, _, timer = UnitBuff("player", "Savage Roar"); if (not RS or RS and timer - GetTime() <= 3) and GetComboPoints("player", "target") >= 2 then CastSpellByName("Savage Roar"); end
Update file.
-
-
22 minutes ago, Ordush said:
I am still working on this issue @TheSmokie So far no luck getting the same error that you are getting. I will return here as soon as i manage to replicate it.
Are you using any addons etc?Okay, no addons, fresh wrobot, wow client, download from the site you use
-
-
-
-
Edited by TheSmokie
Hello, i keep getting this error.
Message: [string "Yyuviw.lua"]:80: attempt to index global 'WRDungeonFrame' (a nil value)also bot isnt moving on to next step, i am using all single folder. 5 wows, level 17 using the test profile wotlk. i keep getting error or wow crashing / wrobot freezing,
and i am getting this error also :
Message: [string "Hyedaun.lua"]:80: attempt to index global 'WRDungeonFrame' (a nil value) -
-
-
-
-
-
-
-
Edited by TheSmokie
You can make a addon or quester profile with code looking like this (Untested.)
while(Conditions.InGameAndConnectedAndAlive) { List<string> ProsSpectList() { return new List<string> { "Item 1", "item 2", //etc }; } if (!ObjectManager.Me.IsCast) { foreach (string prop in ProsSpectList()) { string spellName = ""; if(ItemsManager.GetItemCountByNameLUA(prop) > 0) { Lua.LuaDoString("CastSpellByName(\"" + spellName + "\")"); Thread.Sleep(50); List<int> bagAndSlot = Bag.GetItemContainerBagIdAndSlot(prop); Lua.LuaDoString("UseContainerItem(" + bagAndSlot[0] + "," + bagAndSlot[1] + ")"); Usefuls.WaitIsCastingAndLooting(); } } } Thread.Sleep(1000); }
-
-
-
-
Official WRobot API Documentation
in Developers assistance
Amazing!