athenso
Average Coder
- Joined
- May 31, 2011
- Messages
- 155
- Solutions
- 3
- Reaction score
- 23
Could someone please update this mod? I dont have an expansive knowledge of OTClient just yet. I did look at the error logs and it appears to me the current mod is using an outdated function
I did look otclient/protocolgamesend.cpp at master · edubart/otclient · GitHub
and (to what i can understand), getSupportedProtocols is now being called getProtocolVersion()
Now before people ask, i did replace all found 'getSupportedProtocols' with 'getProtocolVersion' and it still didnt fix the error. So it is above my ability at this moment.
Code:
== application started at Dec 05 2017 18:02:43
OTClient 0.6.6 rev 0 (df422c0) built on Feb 17 2017 for arch x86
ERROR: protected lua call failed: LUA ERROR:
/client_entergame/entergame.otui:95: [@onSetup]:2: attempt to call field 'getSupportedProtocols' (a nil value)
stack traceback:
[C]: in function 'getSupportedProtocols'
/client_entergame/entergame.otui:95: [@onSetup]:2: in function </client_entergame/entergame.otui:95: [@onSetup]:1>
[C]: in function 'displayUI'
/client_entergame/entergame.lua:97: in function 'init'
/client_entergame/entergame.otmod:10:[@onLoad]:3: in main chunk
[C]: in function 'ensureModuleLoaded'
/init.lua:42: in main chunk
ERROR: failed to create widget from style 'NodeImage': 'NodeImage' is not a defined style
Startup done :]
ERROR: lua function callback failed: LUA ERROR:
C++ call failed: Client version 1100 not supported
stack traceback:
[C]: ?
[C]: in function 'setClientVersion'
/client_entergame/entergame.lua:250: in function 'doLogin'
/client_entergame/entergame.lua:146: in function </client_entergame/entergame.lua:144>
Exiting application..
I did look otclient/protocolgamesend.cpp at master · edubart/otclient · GitHub
and (to what i can understand), getSupportedProtocols is now being called getProtocolVersion()
Now before people ask, i did replace all found 'getSupportedProtocols' with 'getProtocolVersion' and it still didnt fix the error. So it is above my ability at this moment.