I obviously did a fresh wrobot install before coming here. ?
Edit: This is very odd, on another server it returns the race.
But on my own CMangos Server it returns those numbers. ?
Edit: If I do Logging.Write(Lua.LuaDoString<string>("return UnitRace('player')"));
It writes: Tauren#||#Tauren
in the log.
If I write Lua.LuaDoString("DEFAULT_CHAT_FRAME:AddMessage(UnitRace('player'))");
it does write Tauren in the chat.
If I do:
if (Lua.LuaDoString<string>("return UnitRace('player')") == "Tauren#||#Tauren")
Lua.LuaDoString("DEFAULT_CHAT_FRAME:AddMessage('Yes')");
else
Lua.LuaDoString("DEFAULT_CHAT_FRAME:AddMessage('No')");
It does write Yes in the chat. lol this is too weird.
Edit: I did try using the same wow folder that is connecting to another private tbc server where this is not the case.
Hey,
In next update you will be hable to use shortcut ctrl+ and ctrl- (to up/down step).
To wait when you mouse click on bouton you can after use key "enter" to avoid to spam mouse click
CombatReach is calculed by server and he is in relation to the mob size ( https://github.com/mangoszero/server/blob/52454825c7e1435ff53f32f9edf9fe7dca10ec08/src/game/Object/Unit.cpp#L8842 ). I think than server send bad value (or when you cast spell he don't check distance like Wow).