Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

Trouble with compiled binary (Client)


KIDD

Question

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

4 answers to this question

Recommended Posts

  • 0
  • Honorable Member

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

  • 0

Worked! Big THX to you!

 

For others: Change in all root.eix/epk .py data's from true -> TRUE and false -> FALSE

 

c883435af0.png

 

 

 

Kind regards

KIDD

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


!-->
×
×
  • 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.