Beo
Three Magic
- Joined
- Aug 25, 2009
- Messages
- 9,053
- Solutions
- 1
- Reaction score
- 844
Hi,
I'm trying to connect my otclient v1.0 to protocol 11.
I've adjusted /gamelib/game.lua to include the client under g_game.getSupportedClients()
When connecting, I'm presented this error in Terminal.
I've searched the fuck out of this and I couldn't find any obvious answers.
On this note, how do you find the exact protocol version? I assume I need to add this but I'm unsure how to find the correct protocolversion
Thanks
I'm trying to connect my otclient v1.0 to protocol 11.
I've adjusted /gamelib/game.lua to include the client under g_game.getSupportedClients()
When connecting, I'm presented this error in Terminal.
Lua:
ERROR: protected lua call failed: LUA ERROR:
C++ call failed: Client version 1100 not supported
stack traceback:
[builtin#146]: at 0x7ffa86aca670
[C]: in function 'setClientVersion'
/client_entergame/entergame.lua:330: in function 'doLogin'
/client_entergame/entergame.otui:196: [@onClick]:2: in function </client_entergame/entergame.otui:196: [@onClick]:1>
I've searched the fuck out of this and I couldn't find any obvious answers.
On this note, how do you find the exact protocol version? I assume I need to add this but I'm unsure how to find the correct protocolversion
Lua:
function g_game.getClientProtocolVersion(client)
local clients = {
[980] = 971,
[981] = 973,
[982] = 974,
[983] = 975,
[984] = 976,
[985] = 977,
[986] = 978,
[1001] = 979,
[1002] = 980
}
Thanks
Last edited: