Jump to content

Problem with Client/Binary


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
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
Share on other sites

  • 3 weeks later...
  • 3 months later...
  • 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
Share on other sites

  • 5 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 5

      Effect weapons

    2. 3

      Crystal Metinstone

    3. 3

      Feeding game source to LLM

    4. 113

      Ulthar SF V2 (TMP4 Base)

    5. 3

      Feeding game source to LLM

    6. 0

      Target Information System

    7. 3

      Feeding game source to LLM

    8. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.