Jump to content
  • 0
Sign in to follow this  
Dumik

Problem with Client/Binary

Question

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

Share this post


Link to post

9 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
  • 0

Possible to have some clarification because I tried the solution you gave my not successful: x or have the files directly if you want good?

Share this post


Link to post
  • 0

I don't understand you, but if you followed the steps what I wrote then it must works. Unpack root, locale, uiscript and use the "Search in files" function in Notepad++.

Share this post


Link to post
  • 0

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

Share this post


Link to post
  • 0

It seems that you have problem with your granny2.dll

  • Love 1

Share this post


Link to post
  • 0

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

Share this post


Link to post
  • 0

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?

Share this post


Link to post

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
Sign in to follow this  
  • Recently Browsing   0 members

    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.