5lave Ots
Active Member
im using @Nekiro 's downgraded 8.6 tfs and i need to get a value X & Y from config.lua and insert them to a login error message
that is the c++ lines on (protocolLogin.cpp)
its something like that disconnectClient("wrong acc or pass \n please goto (getConfig.LUA Value X) dot (getConfig.LUA Value Y) ");
so it will be like that after execution:
i saw a definition like that
but i dont know how to redifine it and how to merge it on other files (if needed) dunno
Thanks
that is the c++ lines on (protocolLogin.cpp)
Lua:
//acc name not exist
Account account;
if (!IOLoginData::loginserverAuthentication(accountName, password, account)) {
disconnectClient("Wrong AccountName OR Password! ");
return;
}
so it will be like that after execution:
C++:
Wrong account number or password
Please Login at (config.serverName) . (config.DomainValue)
C++:
string[MOTD] = getGlobalString(L, "motd", "");
Thanks