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

Mini game ok start eroor


antrax16

Question

Hy . 

Today i implemented mini game ok event , but i  have a problem . 

When i pres start buton for ok event window is not open and i have this eroor in syserr .

â

1111 22:05:50198 :: Traceback (most recent call last):

1111 22:05:50199 ::   File "ui.py", line 1048, in CallEvent

1111 22:05:50199 ::   File "ui.py", line 88, in __call__

1111 22:05:50200 ::   File "ui.py", line 70, in __call__

1111 22:05:50200 ::   File "uiCards.py", line 87, in __OnStartQuestion

1111 22:05:50201 :: TypeError
1111 22:05:50201 :: : 
1111 22:05:50201 :: not enough arguments for format string
1111 22:05:50201 :: 

The eroor appear  after press event start buton .

 

Link to comment
  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0

Change that:

 questionDialog.SetText1(localeInfo.MINI_GAME_RUMI_START_QUESTION % (3000, 1)) 

To:

 questionDialog.SetText1("You need %s Yang a %d Cardset to play" % (localeInfo.NumberToMoneyString(3000), 1)) 

Link to comment

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.