Jump to content

Recommended Posts

Hello everybody,

 

I have problem with client. I have built a Binary with Python 2.7 (mainline_releasedmainline_sgSrcsClient), but when I start it, it´s everythink ok but after loading screen the client fall down with this error:

<<< 0313 16:43:49401 :: 
uiCharacter.py(line:399) __LoadWindow
uiCharacter.py(line:152) __LoadScript
ui.py(line:2818) LoadScriptFile
ui.py(line:3008) LoadChildren
ui.py(line:3008) LoadChildren
ui.py(line:3008) LoadChildren
ui.py(line:2864) LoadChildren
ui.py(line:3091) LoadElementButton

CharacterWindow.__LoadWindow - <type 'exceptions.OverflowError'>:Python int too large to convert to C long

0313 16:43:49401 :: ============================================================================================================
0313 16:43:49401 :: Abort!!!!

Can anyone help me?

Thank you a lot.

 

Best regards,

 

Dumik 

santhia.eu

Link to comment
https://metin2.dev/topic/459-problem-with-clientbinary/
Share on other sites

  • Premium

Take a look this comment by .Alpha.
 
Here is a quick tutorial if you don't understand how to use the CTOA:
 
1. Add this to system.py:

def StringColorToInt(colorstring):
	import grp

	colorstring = colorstring.strip()

	if len(colorstring) != 8:
		raise ValueError, "input #%s is not in #AARRGGBB format" % colorstring

	a, r, g, b = colorstring[:2], colorstring[2:4], colorstring[4:6],colorstring[6:8]
	a, r, g, b = [int(n, 16) for n in (a, r, g, ]

	return grp.GenerateColor(float(r) / 255.0, float(g) / 255.0, float( / 255.0, float(a) / 255.0)

__builtin__.CTOA = StringColorToInt

Search for 0xff codes in the client root/locale/uiscript and change them like this:

0xffFFB96D = CTOA("ffFFB96D")
  • Love 7
Link to comment
https://metin2.dev/topic/459-problem-with-clientbinary/#findComment-3526
Share on other sites

  • 3 weeks later...
  • 3 months later...
  • Premium

Branch: novaline

Mode: Release

Resolved almost all warnings and errors I've found.

I used original granny2.dll and granny2.dll from include_stuff and no one works. Why? What I am supposed to do?

1564j6p.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/459-problem-with-clientbinary/#findComment-16379
Share on other sites

  • Premium

It seems that you have problem with your granny2.dll

 

I know that. That's why I specified that I used two different dlls. I downloaded official client and I took granny2.dll from that and now it opens. Now let's repair all the errors xD

Link to comment
https://metin2.dev/topic/459-problem-with-clientbinary/#findComment-16381
Share on other sites

  • Premium

trace.JPG

 

I did that and now I get this

 

Search for: import __builtin__ and add EXACTLY under the code, but first check indent (tabs).

Question: I found codes that begins with 0x77 instead of 0xFF, shouldn't I replace these too?

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/459-problem-with-clientbinary/#findComment-16560
Share on other sites

  • 5 months later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



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.