Hi. I read some threads about Lua functions, but I did not understand. Need I use Lua_DoString(FrameSctipt_Execute) to call scripts like "DefaultServerLogin()" if am working inprocess, or its need only when i want to call that functions from addons?
Now I`m working on login to wow, and i fount some functions related to it.
I found DefaultServerLogin() address offsets, but i dont know, can i call it directy from DLL without Lua_DoString? And if i can, in some examples when it calling with Lua_DoString it looks like DefaultServerLogin("login","pass"), but in disassembly it has only one argument. what should i do?
Thank You, very much.
Update:
I just could enter to world,directly by calling EnterWorld(), im sorry for disturbing you, I just needed more trying.
But still, i dont know what arguments i need to pass in DefaultServerLogin:(
Now I`m working on login to wow, and i fount some functions related to it.
Code:
DefaultServerLogin()
RequestRealmList()
GetRealmInfo()
ChangeRealm()
GetNumCharacters()
GetCharacterInfo()
EnterWorld()
Thank You, very much.
Update:
I just could enter to world,directly by calling EnterWorld(), im sorry for disturbing you, I just needed more trying.
But still, i dont know what arguments i need to pass in DefaultServerLogin:(