Jump to content
  • We need you!

    You must register to discover all the features of our community!

Question

Posted (edited)

Version of Files XXX

 

1. Description of the problem / Question :

It's related with the value of the bonuses.

 

2. SysErr ( Client / Server ) / SysLog ( Server )

0504 13:29:22247 :: Traceback (most recent call last):



0504 13:29:22247 ::   File "game.py", line 742, in BINARY_NEW_AddAffect

0504 13:29:22247 ::   File "uiAffectShower.py", line 513, in BINARY_NEW_AddAffect

0504 13:29:22247 ::   File "localeInfo.py", line 137, in f

0504 13:29:22247 :: TypeError
0504 13:29:22247 :: : 
0504 13:29:22247 :: not all arguments converted during string formatting
0504 13:29:22247 ::

 

 

3. How to reproduce it ?

This error is appears in syserr only when I'm moving my mouse over items.

 

4. Screenshots ?

def SA(text):
    def f(x):
        return text % x
    return f

 

If I'm leaving it in this way " return text % x", it's alright, no problems with the bonuses, but the error appears in syserr, but if I edit it in this way "return text + "%d" % x" for example, the error disappears, but:

 

spacer.png

 

 

game.py https://pastebin.com/w9ZFLwz3

uiaffectshower.py https://pastebin.com/xe9H9n5h

localeinfo.py: https://pastebin.com/VRjvn5Zh

 

 

 

 

 

Thanks, Sincerly,
Cristian

 

Edited by CristianDragan
correct (see edit history)
Link to post

1 answer to this question

Recommended Posts

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


×
×
  • 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.