Jump to content

Update Python22 to Python27


Recommended Posts

M2 Download Center

This is the hidden content, please
( Internal )

In client:

Open: UserInterface/Userinterface.cpp

Search:

( lib, "python22.lib" )

Replace:

( lib, "python27.lib" )

Open: ScriptLib/PythonLauncher.cpp

Search

#include <Python-2.2/frameobject.h>

Replace:

#include <Python-2.7/frameobject.h>

Open: ScriptLib/PythonLauncher.h

Search:

#include <Python-2.2/frameobject.h>

Replace:

#include <Python-2.7/frameobject.h>

Open: ScriptLib/PythonMarshal.cpp

Search:

#include <Python-2.2/longintrepr.h>

Replace:

#include <Python-2.7/longintrepr.h>

Open: ScriptLib/StdAfx.h

Search all:

#include <Python-2.2

Replace all:

#include <Python-2.7

Download: 

This is the hidden content, please

Spoiler

565331fa3d047_.PNG.843d72da4b5b1d313ac2c

  • Metin2 Dev 52
  • Eyes 1
  • Dislove 2
  • Sad 1
  • Think 1
  • Good 12
  • Love 3
  • Love 25
Link to comment
Share on other sites

  • 5 months later...
  • Management

Hello,

I'm getting this error opening the client:

0529 12:29:00430 :: ui:2854: RuntimeWarning: tp_compare didn't return -1 or -2 for exception

0529 12:29:00431 :: 
introLogin.py(line:499) __LoadScript
ui.py(line:2847) LoadScriptFile
ui.py(line:3037) LoadChildren
ui.py(line:3037) LoadChildren
ui.py(line:2854) LoadChildren

LoginWindow.__LoadScript.LoadObject - <type 'exceptions.OverflowError'>:Python int too large to convert to C long

0529 12:29:00431 :: ============================================================================================================
0529 12:29:00431 :: Abort!!!!


0529 12:29:00448 :: ============================================================================================================
0529 12:29:00448 :: Abort!!!!

I use this client: https://metin2dev.org/board/index.php?/topic/5149-sourceclient-clean-fixed/

What can I do?

Thanks

raw

raw

Link to comment
Share on other sites

  • 3 weeks later...
On 29.05.2016 at 2:31 PM, charparodar said:

Hello,

I'm getting this error opening the client:


0529 12:29:00430 :: ui:2854: RuntimeWarning: tp_compare didn't return -1 or -2 for exception

0529 12:29:00431 :: 
introLogin.py(line:499) __LoadScript
ui.py(line:2847) LoadScriptFile
ui.py(line:3037) LoadChildren
ui.py(line:3037) LoadChildren
ui.py(line:2854) LoadChildren

LoginWindow.__LoadScript.LoadObject - <type 'exceptions.OverflowError'>:Python int too large to convert to C long

0529 12:29:00431 :: ============================================================================================================
0529 12:29:00431 :: Abort!!!!


0529 12:29:00448 :: ============================================================================================================
0529 12:29:00448 :: Abort!!!!

I use this client: https://metin2dev.org/board/index.php?/topic/5149-sourceclient-clean-fixed/

What can I do?

Thanks

+1

Link to comment
Share on other sites

  • 4 years later...
  • 3 weeks later...

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.