About This File
This is developer's plugin.
Sometimes is usefull to see what Lua commands robot sends to WoW client. But for now all Lua strings in wrobot are encrypted. There are many ways to see this strings, but i found Harmony library with which the process became very simple. Also this library can be usefull to patch wrobot code on runtime.
- copy 0Harmony.dll to Bin folder
- copy LuaSpy.dll to Plugins folder
- enable plugin and start any product
In console window you will see Lua commands like this:
[D] 16:15:22 - [LuaSpy] Int32 GetSpellCooldownTimeLeft(System.String)
[D] 16:15:22 - [LuaSpy] local t = 0;
local start, duration, enabled = GetSpellCooldown('Snake Trap');
if enabled then
t = math.floor((start + duration - GetTime()) * 1000);
if t < 0 then
t = 0;
end
end
return t;
[F] 16:15:22 - [Spell] Cast Snake Trap (Snake Trap)
[D] 16:15:22 - [LuaSpy] Int32 get_LatencyReal()
[D] 16:15:22 - [LuaSpy] local _, _, lagHome, lagWorld = GetNetStats(); return lagHome + lagWorld;
[F] 16:15:23 - [FightClass] Launch C# code: /*castOnGround("Snake Trap",40)*/
There are always 2 sequental strings marked with [LuaSpy]
- calling method signature
- called lua
In settings you can also add filter tokens for calling method.
There are no screenshort, because in 2.x they all like this main picture: