Jump to content

Gold limit problems


Recommended Posts

Hey guys I found this tut http://metin2hungary.net/index.php?topic=189507.0 and I did it. When I finally made it my client was not starting. So I went back to my bin and added these 2 lines to PythonUtils.cpp:

Spoiler
#define PyLong_AsLong PyLong_AsLongLong
 
#define PyLong_AsUnsignedLong PyLong_AsUnsignedLongLong

and changed my uiCommon's function like this:

Spoiler
 def __OnValueUpdate(self):
  ui.EditLine.OnIMEUpdate(self.inputValue)
 
  text = self.inputValue.GetText()
 
  money = 0
  if text and text.isdigit():
   try:
    money = long(text)
   except ValueError:
    money = 1000000000000000
 
  self.moneyText.SetText(self.moneyHeaderText + localeInfo.NumberToMoneyString(money))

So now client starts but when I login it crashes with this syserr:

Spoiler
1224 16:47:11373 ::
networkModule.py(line:201) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:30) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
interfaceModule.py(line:10) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
uiTaskBar.py(line:5) <module>
system.py(line:137) __pack_import
L:\work\Python-2.7.3\lib\locale.py(line:15) <module>
system.py(line:137) __pack_import
C:\Users\YMIR\Downloads\Python-2.7.3\Python-2.7.3\lib\encodings\__init__.py(line:32) <module>
 
networkModule.SetSelectCharacterPhase - <type 'exceptions.ImportError'>:cannot import name aliases
 
1224 16:47:11373 :: ============================================================================================================
1224 16:47:11373 :: Abort!!!!
 
 

So what can I do now?

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.