You last visited: Today at 12:06
Advertisement
Gameoption new button [sysrr]
Discussion on Gameoption new button [sysrr] within the Metin2 Private Server forum part of the Metin2 category.
03/15/2017, 15:55
#1
elite*gold: 0
Join Date: Dec 2016
Posts: 29
Received Thanks: 6
Gameoption new button [sysrr]
Hayho,
Ich habe versucht meine Gameoption zu bearbeiten und Yang An/Aus einzügen, Client usw geht nur wenn man Gameoption IG öffnet dann
schließt sich der Client.
0315 15:49:13386 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
0315 15:50:07118 ::
uiGameOption.py(line:100) __Load_BindObject
ui.py(line:3324) GetChild
OptionDialog.__Load_BindObject - <type 'exceptions.KeyError'>:'yangtext_on_button'
0315 15:50:07118 :: ================================================== ================================================== ========
0315 15:50:07118 :: Abort!!!!
0315 15:50:07119 ::
uiSystem.py(line:66) __ClickSystemButton
uiGameOption.py(line:29) __init__
uiGameOption.py(line:121) __Load
uiGameOption.py(line:112) __Load_BindObject
exception.py(line:36) Abort
SystemDialog.__LoadSystem.__ClickSystemButton - <type 'exceptions.SystemExit'>:
0315 15:50:07119 :: ================================================== ================================================== ========
0315 15:50:07119 :: Abort!!!!
Attached Files
root-uiscript.rar
(4.7 KB, 13 views)
03/15/2017, 20:03
#2
elite*gold: 0
Join Date: Nov 2016
Posts: 21
Received Thanks: 19
hast "yangtext_on_button" nicht in uiscript/gameoptiondialog.py eingetragen
Code:
{
"name" : "yangtext_on_off",
"type" : "text",
"x" : LINE_LABEL_X,
"y" : 240+2,
"text" : "Yanganzeige",
"r" : 1.0,
"g" : 0.8,
"b" : 0,
},
03/15/2017, 21:16
#3
elite*gold: 0
Join Date: Dec 2016
Posts: 29
Received Thanks: 6
Eingefügt jedoch immernoch
Quote:
0315 21:15:13436 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
0315 21:15:19074 ::
uiGameOption.py(line:100) __Load_BindObject
ui.py(line:3324) GetChild
OptionDialog.__Load_BindObject - <type 'exceptions.KeyError'>:'yangtext_on_button'
0315 21:15:19074 :: ================================================== ================================================== ========
0315 21:15:19074 :: Abort!!!!
0315 21:15:19074 ::
uiSystem.py(line:66) __ClickSystemButton
uiGameOption.py(line:29) __init__
uiGameOption.py(line:121) __Load
uiGameOption.py(line:112) __Load_BindObject
exception.py(line:36) Abort
SystemDialog.__LoadSystem.__ClickSystemButton - <type 'exceptions.SystemExit'>:
0315 21:15:19074 :: ================================================== ================================================== ========
0315 21:15:19074 :: Abort!!!!
03/23/2017, 01:26
#4
elite*gold: 0
Join Date: Dec 2016
Posts: 29
Received Thanks: 6
Push
03/23/2017, 11:46
#5
wild wild son
elite*gold: 0
Join Date: Feb 2011
Posts: 5,996
Received Thanks: 3,391
Die Buttons sind nach wie vor nicht definiert. Bitte die uiGameOption.py (root) sowie die gameoptiondialog.py (uiscript) anhängen.
03/23/2017, 17:47
#6
elite*gold: 0
Join Date: Dec 2016
Posts: 29
Received Thanks: 6
#Push
Hab es angehangen
03/23/2017, 21:26
#7
elite*gold: 0
Join Date: Nov 2016
Posts: 21
Received Thanks: 19
Hattest die Buttons nicht drinne
Code:
import uiScriptLocale
ROOT_PATH = "d:/ymir work/ui/public/"
TEMPORARY_X = +13
BUTTON_TEMPORARY_X = 5
PVP_X = -10
LINE_LABEL_X = 30
LINE_DATA_X = 90
LINE_STEP = 0
SMALL_BUTTON_WIDTH = 45
MIDDLE_BUTTON_WIDTH = 65
window = {
"name" : "GameOptionDialog",
"style" : ("movable", "float",),
"x" : 0,
"y" : 0,
"width" : 300,
"height" : 25*11+8,
"children" :
(
{
"name" : "board",
"type" : "board",
"x" : 0,
"y" : 0,
"width" : 300,
"height" : 25*11+8,
"children" :
(
## Title
{
"name" : "titlebar",
"type" : "titlebar",
"style" : ("attach",),
"x" : 8,
"y" : 8,
"width" : 284,
"color" : "gray",
"children" :
(
{ "name":"titlename", "type":"text", "x":0, "y":3,
"text" : uiScriptLocale.GAMEOPTION_TITLE,
"horizontal_align":"center", "text_horizontal_align":"center" },
),
},
## À̸§»ö
{
"name" : "name_color",
"type" : "text",
"x" : LINE_LABEL_X,
"y" : 40+2,
"text" : uiScriptLocale.OPTION_NAME_COLOR,
},
{
"name" : "name_color_normal",
"type" : "radio_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
"y" : 40,
"text" : uiScriptLocale.OPTION_NAME_COLOR_NORMAL,
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
},
{
"name" : "name_color_empire",
"type" : "radio_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
"y" : 40,
"text" : uiScriptLocale.OPTION_NAME_COLOR_EMPIRE,
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
},
## Ÿ°Ùâ
{
"name" : "target_board",
"type" : "text",
"x" : LINE_LABEL_X,
"y" : 65+2,
"text" : uiScriptLocale.OPTION_TARGET_BOARD,
},
{
"name" : "target_board_no_view",
"type" : "radio_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
"y" : 65,
"text" : uiScriptLocale.OPTION_TARGET_BOARD_NO_VIEW,
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
},
{
"name" : "target_board_view",
"type" : "radio_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
"y" : 65,
"text" : uiScriptLocale.OPTION_TARGET_BOARD_VIEW,
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
},
## PvP Mode
{
"name" : "pvp_mode",
"type" : "text",
"x" : LINE_LABEL_X,
"y" : 90+2,
"text" : uiScriptLocale.OPTION_PVPMODE,
},
{
"name" : "pvp_peace",
"type" : "radio_button",
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*0,
"y" : 90,
"text" : uiScriptLocale.OPTION_PVPMODE_PEACE,
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_PEACE_TOOLTIP,
"default_image" : ROOT_PATH + "small_Button_01.sub",
"over_image" : ROOT_PATH + "small_Button_02.sub",
"down_image" : ROOT_PATH + "small_Button_03.sub",
},
{
"name" : "pvp_revenge",
"type" : "radio_button",
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*1,
"y" : 90,
"text" : uiScriptLocale.OPTION_PVPMODE_REVENGE,
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_REVENGE_TOOLTIP,
"default_image" : ROOT_PATH + "small_Button_01.sub",
"over_image" : ROOT_PATH + "small_Button_02.sub",
"down_image" : ROOT_PATH + "small_Button_03.sub",
},
{
"name" : "pvp_guild",
"type" : "radio_button",
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*2,
"y" : 90,
"text" : uiScriptLocale.OPTION_PVPMODE_GUILD,
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_GUILD_TOOLTIP,
"default_image" : ROOT_PATH + "small_Button_01.sub",
"over_image" : ROOT_PATH + "small_Button_02.sub",
"down_image" : ROOT_PATH + "small_Button_03.sub",
},
{
"name" : "pvp_free",
"type" : "radio_button",
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*3,
"y" : 90,
"text" : uiScriptLocale.OPTION_PVPMODE_FREE,
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_FREE_TOOLTIP,
"default_image" : ROOT_PATH + "small_Button_01.sub",
"over_image" : ROOT_PATH + "small_Button_02.sub",
"down_image" : ROOT_PATH + "small_Button_03.sub",
},
## Block
{
"name" : "block",
"type" : "text",
"x" : LINE_LABEL_X,
"y" : 115+2,
"text" : uiScriptLocale.OPTION_BLOCK,
},
{
"name" : "block_exchange_button",
"type" : "toggle_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
"y" : 115,
"text" : uiScriptLocale.OPTION_BLOCK_EXCHANGE,
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
{
"name" : "block_party_button",
"type" : "toggle_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
"y" : 115,
"text" : uiScriptLocale.OPTION_BLOCK_PARTY,
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
{
"name" : "block_guild_button",
"type" : "toggle_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*2,
"y" : 115,
"text" : uiScriptLocale.OPTION_BLOCK_GUILD,
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
{
"name" : "block_whisper_button",
"type" : "toggle_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
"y" : 140,
"text" : uiScriptLocale.OPTION_BLOCK_WHISPER,
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
{
"name" : "block_friend_button",
"type" : "toggle_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
"y" : 140,
"text" : uiScriptLocale.OPTION_BLOCK_FRIEND,
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
{
"name" : "block_party_request_button",
"type" : "toggle_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*2,
"y" : 140,
"text" : uiScriptLocale.OPTION_BLOCK_PARTY_REQUEST,
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
## Chat
{
"name" : "chat",
"type" : "text",
"x" : LINE_LABEL_X,
"y" : 165+2,
"text" : uiScriptLocale.OPTION_VIEW_CHAT,
},
{
"name" : "view_chat_on_button",
"type" : "radio_button",
"x" : LINE_DATA_X,
"y" : 165,
"text" : uiScriptLocale.OPTION_VIEW_CHAT_ON,
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
{
"name" : "view_chat_off_button",
"type" : "radio_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
"y" : 165,
"text" : uiScriptLocale.OPTION_VIEW_CHAT_OFF,
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
## Always Show Name
{
"name" : "always_show_name",
"type" : "text",
"x" : LINE_LABEL_X,
"y" : 190+2,
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME,
},
{
"name" : "always_show_name_on_button",
"type" : "radio_button",
"x" : LINE_DATA_X,
"y" : 190,
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME_ON,
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
{
"name" : "always_show_name_off_button",
"type" : "radio_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
"y" : 190,
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME_OFF,
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
## Effect On/Off
{
"name" : "effect_on_off",
"type" : "text",
"x" : LINE_LABEL_X,
"y" : 215+2,
"text" : uiScriptLocale.OPTION_EFFECT,
},
{
"name" : "show_damage_on_button",
"type" : "radio_button",
"x" : LINE_DATA_X,
"y" : 215,
"text" : uiScriptLocale.OPTION_VIEW_CHAT_ON,
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
{
"name" : "show_damage_off_button",
"type" : "radio_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
"y" : 215,
"text" : uiScriptLocale.OPTION_VIEW_CHAT_OFF,
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
## ÆÇ¸Å¹®±¸
{
"name" : "salestext_on_off",
"type" : "text",
"x" : LINE_LABEL_X,
"y" : 240+2,
"text" : uiScriptLocale.OPTION_SALESTEXT,
},
{
"name" : "salestext_on_button",
"type" : "radio_button",
"x" : LINE_DATA_X,
"y" : 240,
"text" : uiScriptLocale.OPTION_SALESTEXT_VIEW_ON,
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
{
"name" : "salestext_off_button",
"type" : "radio_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
"y" : 240,
"text" : uiScriptLocale.OPTION_SALESTEXT_VIEW_OFF,
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
## Yang An/Aus
{
"name" : "yangtext_on_off",
"type" : "text",
"x" : LINE_LABEL_X,
"y" : 240+2,
"text" : "Yanganzeige",
"r" : 1.0,
"g" : 0.8,
"b" : 0,
},
{
"name" : "yangtext_on_button",
"type" : "radio_button",
"x" : LINE_DATA_X,
"y" : 240+25,
"text" : "einblenden",
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
{
"name" : "yangtext_off_button",
"type" : "radio_button",
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
"y" : 240+25,
"text" : "ausblenden",
"default_image" : ROOT_PATH + "middle_button_01.sub",
"over_image" : ROOT_PATH + "middle_button_02.sub",
"down_image" : ROOT_PATH + "middle_button_03.sub",
},
),
},
),
}
Similar Threads
[B] Push Button [S] 10 e*gold/Button; 25 e*g/psd+Button
09/20/2013 - elite*gold Trading - 4 Replies
Moin,
Hier könnt ihr folgenden Push Button kaufen:
http://i.epvpimg.com/YlrYe.jpg
Pro Button wären das 10e*g, pro Button mit .psd dazu 25e*g.
Wenn ihr einen Button kaufen wollt, schreibt mir eine PN, damit ich den Namen ändern kann, alles hochladen kann und euch dann per Treasure schicken kann. ;)
Schrift kann auch geändert werden. Dazu einfach in der PN schreiben, welche Schrift ihr haben wollt^^
SySrr Probleme
06/14/2013 - Metin2 Private Server - 9 Replies
0404 17:36:00779 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/login_window.mp3
0404 17:36:06206 :: CItemManager::LoadItemList(locale/de/item_list.txt ) - StrangeLine in 5506
0404 17:36:06206 :: CItemManager::LoadItemList(locale/de/item_list.txt ) - StrangeLine in 5507
0404 17:36:07466 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/characterselect.mp3
0404 17:36:17474 :: CArea::LoadObject Property(0) Load ERROR
0404 17:36:17474 :: CArea::LoadObject...
Sysrr
03/21/2013 - Metin2 Private Server - 2 Replies
0321 21:48:04095 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/login_window.mp3
0321 21:48:11979 :: LoadLocaleData - LoadItemProto(locale/de/item_proto) Error
0321 21:48:16751 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/characterselect.mp3
0321 21:48:25577 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted.
0321...
Sysrr
02/24/2013 - Metin2 Private Server - 7 Replies
Wenn ich Howan Files benutze und MarcoA v2 kommt in Server Fehler. Mit Item.
Warum ? in syrss
1. Warum kann ich net bei Howan Files Levelgrenze auf 130 einstellen. Hab ich bei auth , game99 1 - 2 Channel eingetragen MAX_LEVEL: 139 aber es kommt 125 warum ?
All times are GMT +1. The time now is 12:07 .