KIDD 9 Posted October 7, 2014 Share Posted October 7, 2014 (edited) So, I had compiled my binary (Client) from mainline_released and pasted the .exe in the official .de client. After that i placed in the new lib folder and python22.dll so, the client is starts but an error appears: So I think its a problem with the pack. Any fixxes? Kind regards KIDD Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Deucalion 249 Posted October 7, 2014 Share Posted October 7, 2014 http://metin2dev.org/board/topic/244-release-binary-r28249-fixed/ here you have fix for this 1 Link to comment Share on other sites More sharing options...
KIDD 9 Posted October 7, 2014 Author Share Posted October 7, 2014 Thanks for the fast reply, I'll try it Link to comment Share on other sites More sharing options...
KIDD 9 Posted October 7, 2014 Author Share Posted October 7, 2014 (edited) Worked! Big THX to you! For others: Change in all root.eix/epk .py data's from true -> TRUE and false -> FALSE Kind regards KIDD Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Honorable Member Solution xP3NG3Rx 19674 Posted October 7, 2014 Honorable Member Solution Share Posted October 7, 2014 Or just set in the new global variables into: ScriptLib/PythonLauncher.cpp bool CPythonLauncher::Create(const char* c_szProgramName) { //.... PyObject * builtins = PyImport_ImportModule("__builtin__"); PyModule_AddIntConstant(builtins, "TRUE", 1); PyModule_AddIntConstant(builtins, "True", 1); PyModule_AddIntConstant(builtins, "true", 1); PyModule_AddIntConstant(builtins, "FALSE", 0); PyModule_AddIntConstant(builtins, "False", 0); PyModule_AddIntConstant(builtins, "false", 0); //... 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now