Jump to content
×
×
  • Create New...
  • 0

Level in trade


dukaibalu1

Question

17 answers to this question

Recommended Posts

  • 0

uiexchange.py

self.TitleName.SetText(localeInfo.EXCHANGE_TITLE % (exchange.GetNameFromTarget(), exchange.GetLevelFromTarget()))

And in locale game.txt

EXCHANGE_TITLE     Trade with %s (%d)

 

Done, official trade.

Edited by Morphe
Link to comment
Share on other sites

  • 0

uiexchange.py

self.TitleName.SetText(localeInfo.EXCHANGE_TITLE % (exchange.GetNameFromTarget(), exchange.GetLevelFromTarget()))

And in locale game.txt

EXCHANGE_TITLE     Trade with %s (%d)

 

Done, official trade.

0331 21:44:24133 :: Traceback (most recent call last):
 
0331 21:44:24133 ::   File "game.py", line 952, in StartExchange
 
0331 21:44:24134 ::   File "interfaceModule.py", line 678, in StartExchange
 
0331 21:44:24134 ::   File "uiExchange.py", line 85, in OpenDialog
 
0331 21:44:24134 :: TypeError
0331 21:44:24134 :: : 
0331 21:44:24134 :: %d format: a number is required, not str
0331 21:44:24134 :: 
Link to comment
Share on other sites

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


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.