Jump to content

Recommended Posts

Hey I have a problem.

 

0903 13:43:14056 :: Traceback (most recent call last):

0903 13:43:14056 ::   File "uiInventory.py", line 1652, in OnUpdate

0903 13:43:14057 ::   File "uiInventory.py", line 696, in ActualizarBonus

0903 13:43:14057 ::   File "ui.py", line 3233, in GetChild

0903 13:43:14057 :: KeyError
0903 13:43:14057 :: : 
0903 13:43:14057 :: 'bonus_1'
0903 13:43:14057 :: 

In uiinventory.py 

 

self.GetChild("bonus_1").SetText(str(player.GetStatus(69)))

In inventorywindow.py

 

				{
					"name" : "txt_info_defenza_espada",
					"type" : "text",
					"x" : 176 - 5,
					"y" : 55,
					"text" : "Kard véd.:"
				},
				{
					"name" : "Thin_info_defenza_espada",
					"type" : "image",
					"x" : 176 + SPACE_BONUS_INVENTORY - 65,
					"y" : 55 - 2,
					"image" : IMAGE_CHELO,
					"children" : 
					(
						{
							"name" : "bonus_1",
							"type" : "text",
							"x" : 26,
							"y" : 3,
							"text" : "999",
							"r" : 1.0,
							"g" : 1.0,
							"b" : 1.0,
							"a" : 1.0,
							"text_horizontal_align":"center"
						},
					),
				},

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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