xabugas123 4 Posted June 16, 2016 0616 11:06:11336 :: introSelect.py(line:291) __LoadBoardDialog ui.py(line:2710) GetChild SelectCharacterWindow.LoadBoardDialog.BindObject - <type 'exceptions.KeyError'>:'character_name_value' 0616 11:06:11336 :: ============================================================================================================ 0616 11:06:11336 :: Abort!!!! Como diz no titulo do tópico alguém sabe como resolver este erro? agradeço ajuda com máxima urgência Cumpz Share this post Link to post Share on other sites
0 Wolvarinhas 107 Posted June 16, 2016 Mudas a interface onde se seleciona a personagem? Manda ai o selectcaracterwindow do locale 1 xabugas123 reacted to this Share this post Link to post Share on other sites
0 xabugas123 4 Posted June 16, 2016 http://www.mediafire.com/download/hie1ng7zddw66v5/selectcharacterwindow.py Share this post Link to post Share on other sites
0 xabugas123 4 Posted June 16, 2016 NoNamePT add skype : bruno919770011 gostava de falar contigo se possivel Share this post Link to post Share on other sites
0 Wolvarinhas 107 Posted June 16, 2016 import uiScriptLocale import app ROOT_PATH = "d:/ymir work/ui/public/" LOCALE_PATH = uiScriptLocale.SELECT_PATH BOARD_X = SCREEN_WIDTH * (65) / 800 BOARD_Y = SCREEN_HEIGHT * (220) / 600 BOARD_ITEM_ADD_POSITION = -40 window = { "name" : "SelectCharacterWindow", "x" : 0, "y" : 0, "width" : SCREEN_WIDTH, "height" : SCREEN_HEIGHT, "children" : ( { "name" : "BackGround", "type" : "expanded_image", "x" : 0, "y" : 0, "x_scale" : float(SCREEN_WIDTH) / 1280.0, "y_scale" : float(SCREEN_HEIGHT) / 720.0, "image" : "locale/tr/ui/selectcharacterwindow/background.tga", "children" : ( { "name" : "character_board", "type" : "image", "vertical_align" : "center", "horizontal_align" : "left", "x" : 30, "y" : -35, "image" : "locale/tr/ui/selectcharacterwindow/board.tga", "children" : ( { "name" : "EmpireFlag_A", "type" : "expanded_image", "vertical_align" : "top", "horizontal_align" : "center", "x" : 3, "y" : 35, "image" : "locale/tr/ui/selectcharacterwindow/shinsoo.tga", }, { "name" : "EmpireFlag_B", "type" : "expanded_image", "vertical_align" : "top", "horizontal_align" : "center", "x" : 3, "y" : 35, "image" : "locale/tr/ui/selectcharacterwindow/yellow.tga", }, { "name" : "EmpireFlag_C", "type" : "expanded_image", "vertical_align" : "top", "horizontal_align" : "center", "x" : 3, "y" : 35, "image" : "locale/tr/ui/selectcharacterwindow/jinno.tga", }, { "name" : "name", "type" : "text", "vertical_align" : "center", "horizontal_align" : "center", "x" : -85, "y" : -100, "text" : uiScriptLocale.SELECT_NAME, "children" : ( { "name" : "name_slot", "type" : "image", "x" : 57, "y" : -2, "image" : "d:/ymir work/ui/public/Parameter_Slot_04.sub", "children" : ( { "name" : "character_name_value", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "true", }, ), }, ), }, { "name" : "empire", "type" : "text", "vertical_align" : "center", "horizontal_align" : "center", "x" : -85, "y" : -70, "text" : "Reino", "children" : ( { "name" : "empire_slot", "type" : "image", "x" : 57, "y" : -2, "image" : "d:/ymir work/ui/public/Parameter_Slot_04.sub", "children" : ( { "name" : "empire_value", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "true", }, ), }, ), }, { "name" : "level", "type" : "text", "vertical_align" : "center", "horizontal_align" : "center", "x" : -85, "y" : -40, "text" : "Nível", "children" : ( { "name" : "level_slot", "type" : "image", "x" : 57, "y" : -2, "image" : "d:/ymir work/ui/public/Parameter_Slot_04.sub", "children" : ( { "name" : "level_value", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "true", }, ), }, ), }, { "name" : "playtime", "type" : "text", "vertical_align" : "center", "horizontal_align" : "center", "x" : -85, "y" : -10, "text" : "Tempo", "children" : ( { "name" : "playtime_slot", "type" : "image", "x" : 57, "y" : -2, "image" : "d:/ymir work/ui/public/Parameter_Slot_04.sub", "children" : ( { "name" : "playtime_value", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "true", }, ), }, ), }, { "name" : "guild", "type" : "text", "vertical_align" : "center", "horizontal_align" : "center", "x" : -85, "y" : 20, "text" : "Guild", "children" : ( { "name" : "guild_slot", "type" : "image", "x" : 57, "y" : -2, "image" : "d:/ymir work/ui/public/Parameter_Slot_04.sub", "children" : ( { "name" : "guild_value", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "true", }, ), }, ), }, { "name" : "hth", "type" : "text", "vertical_align" : "center", "horizontal_align" : "center", "x" : -85, "y" : 100, "text" : uiScriptLocale.SELECT_HP, "children" : ( { "name" : "gauge_hth", "type" : "gauge", "x" : 25, "y" : 4, "width" : 100, "color" : "red", }, { "name" : "hth_slot", "type" : "image", "x" : 134, "y" : -3, "image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub", "children" : ( { "name" : "hth_value", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "true", }, ), }, ), }, { "name" : "int", "type" : "text", "vertical_align" : "center", "horizontal_align" : "center", "x" : -85, "y" : 130, "text" : uiScriptLocale.SELECT_SP, "children" : ( { "name" : "gauge_int", "type" : "gauge", "x" : 25, "y" : 4, "width" : 100, "color" : "pink", }, { "name" : "int_slot", "type" : "image", "x" : 134, "y" : -2, "image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub", "children" : ( { "name" : "int_value", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "true", }, ), }, ), }, { "name" : "str", "type" : "text", "vertical_align" : "center", "horizontal_align" : "center", "x" : -85, "y" : 160, "text" : uiScriptLocale.SELECT_ATT_GRADE, "children" : ( { "name" : "gauge_str", "type" : "gauge", "x" : 25, "y" : 4, "width" : 100, "color" : "purple", }, { "name" : "str_slot", "type" : "image", "x" : 134, "y" : -2, "image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub", "children" : ( { "name" : "str_value", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "true", }, ), }, ), }, { "name" : "dex", "type" : "text", "vertical_align" : "center", "horizontal_align" : "center", "x" : -85, "y" : 190, "text" : uiScriptLocale.SELECT_DEX_GRADE, "children" : ( { "name" : "gauge_dex", "type" : "gauge", "x" : 25, "y" : 4, "width" : 100, "color" : "blue", }, { "name" : "dex_slot", "type" : "image", "x" : 134, "y" : -2, "image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub", "children" : ( { "name" : "dex_value", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "true", }, ), }, ), }, ), }, { "name" : "start_button", "type" : "button", "vertical_align" : "bottom", "horizontal_align" : "center", "x" : 0, "y" : 152, "default_image" : "locale/tr/ui/selectcharacterwindow/enter.tga", "over_image" : "locale/tr/ui/selectcharacterwindow/enter1.tga", "down_image" :"locale/tr/ui/selectcharacterwindow/enter11.tga", }, { "name" : "create_button", "type" : "button", "vertical_align" : "bottom", "horizontal_align" : "left", "x" : 25, "y" : 125, "default_image" : "locale/tr/ui/selectcharacterwindow/create.tga", "over_image" : "locale/tr/ui/selectcharacterwindow/create1.tga", "down_image" :"locale/tr/ui/selectcharacterwindow/create11.tga", }, { "name" : "delete_button", "type" : "button", "vertical_align" : "bottom", "horizontal_align" : "left", "x" : 25, "y" : 125, "default_image" : "locale/tr/ui/selectcharacterwindow/delete.tga", "over_image" : "locale/tr/ui/selectcharacterwindow/delete1.tga", "down_image" :"locale/tr/ui/selectcharacterwindow/delete11.tga", }, { "name" : "exit_button", "type" : "button", "vertical_align" : "bottom", "horizontal_align" : "right", "x" : 125, "y" : 125, "default_image" : "locale/tr/ui/selectcharacterwindow/exit.tga", "over_image" : "locale/tr/ui/selectcharacterwindow/exit1.tga", "down_image" :"locale/tr/ui/selectcharacterwindow/exit11.tga", }, { "name" : "left_button", "type" : "button", "vertical_align" : "center", "horizontal_align" : "center", "x" : -125, "y" : 130, "default_image" : "d:/ymir work/ui/intro/select/dragon_left_button_01.sub", "over_image" : "d:/ymir work/ui/intro/select/dragon_left_button_02.sub", "down_image" : "d:/ymir work/ui/intro/select/dragon_left_button_03.sub", }, { "name" : "right_button", "type" : "button", "vertical_align" : "center", "horizontal_align" : "center", "x" : 310, "y" : 130, "default_image" : "d:/ymir work/ui/intro/select/dragon_right_button_01.sub", "over_image" : "d:/ymir work/ui/intro/select/dragon_right_button_02.sub", "down_image" : "d:/ymir work/ui/intro/select/dragon_right_button_03.sub", }, ), }, ), } Share this post Link to post Share on other sites
Share this post
Link to post
Share on other sites