Jump to content

Trouble with compiled binary (Client)


Go to solution Solved by xP3NG3Rx,

Recommended Posts

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:

 

d7626b0a6b.png

 

So I think its a problem with the pack.

Any fixxes?

 

Kind regards

KIDD

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Honorable Member
  • Solution

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);
//...
  • Love 3
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.