Jump to content
metin2dev

Question

Hello

I Have problem about login interface

Photo :

Quote

lMQdP7.png

Here's my loginwindow.py :

 

Quote

import uiScriptLocale

LOCALE_PATH = uiScriptLocale.LOGIN_PATH
SERVER_BOARD_HEIGHT = 220 + 180
SERVER_LIST_HEIGHT = 171 + 180
SERVER_BOARD_WEIGHT = 375
ROOT = "d:/ymir work/ui/public/"
window = {
"name" : "LoginWindow",
"sytle" : ("movable",),

"x" : 0,
"y" : 0,

"width" : SCREEN_WIDTH,
"height" : SCREEN_HEIGHT,

"children" :
(

## Board
{
"name" : "bg1", "type" : "expanded_image", "x" : 0, "y" : 0,
"x_scale" : float(SCREEN_WIDTH) / 1024.0, "y_scale" : float(SCREEN_HEIGHT) / 768.0,
"image" : "locale/testserver/ui/serverlist.sub",
},
{
"name" : "bg2", "type" : "expanded_image", "x" : 0, "y" : 0,
"x_scale" : float(SCREEN_WIDTH) / 1024.0, "y_scale" : float(SCREEN_HEIGHT) / 768.0,
"image" : "locale/testserver/ui/login.sub",
},
{
"name" : "FaceBookButton", "type" : "button", "x" : 30, "y" : SCREEN_HEIGHT-60,
"default_image" : "locale/testserver/ui/face.sub",
"over_image" : "locale/testserver/ui/face2.sub",
"down_image" : "locale/testserver/ui/face2.sub",
"tooltip_text" : "Facebook Sayfasi",
},

## Check
{
"name" : "Show",
"type" : "thinboard",

"x" : SCREEN_WIDTH-165,
"y" : 0,
"width" : 166,
"height" : 90,

"children" :
(
{
"name" : "Neu_Text",
"type" : "text",

"x" : 10,
"y" : 3,
"vertical_align" : "center",
"text_vertical_align" : "center",

"text" : "Game Version: v6.0",
},

{
"name" : "Neu_Edit",
"type" : "text",

"x" : 100,
"y" : 42,

"width" : 120,
"height" : 18,

},



{
"name" : "Client_Text",
"type" : "text",

"x" : 10,
"y" : -23,
"vertical_align" : "center",
"text_vertical_align" : "center",

"text" : "Client Version: v6.0",
},

{
"name" : "Client_Edit",
"type" : "text",

"x" : 100,
"y" : 17,

"width" : 120,
"height" : 28,

},


),
},

## Menu
{
"name" : "menu_button",
"type" : "thinboard",

'x' : (SCREEN_WIDTH - 204) / 2,
'y' : (SCREEN_HEIGHT - 100) / 2,
"width" : 200,
"height" : 190,

"children" :
(
{
"name" : "start_button",
"type" : "button",

"x" : 10,
"y" : 17,

"text" : "Oyunu Baslat",
"text_color" : 0xffF8BF24,

"default_image" : ROOT + "XLarge_Button_01.sub",
"over_image" : ROOT + "XLarge_Button_02.sub",
"down_image" : ROOT + "XLarge_Button_03.sub",
},
{
"name" : "config_button",
"type" : "button",

"x" : 10,
"y" : 62,

"text" : "Ayarlar",
"text_color" : 0xffF8BF24,
"tooltip_text" : "Oyun ayarlarini acar.",

"default_image" : ROOT + "XLarge_Button_01.sub",
"over_image" : ROOT + "XLarge_Button_02.sub",
"down_image" : ROOT + "XLarge_Button_03.sub",
},
{
"name" : "home_button",
"type" : "button",

"x" : 10,
"y" : 107,

"text" : "Ana Sayfa",
"text_color" : 0xffF8BF24,
"tooltip_text" : "Ana Sayfa'ya yonlendirir.",

"default_image" : ROOT + "XLarge_Button_01.sub",
"over_image" : ROOT + "XLarge_Button_02.sub",
"down_image" : ROOT + "XLarge_Button_03.sub",
},
{
"name" : "quit_button",
"type" : "button",

"x" : 10,
"y" : 152,

"text" : "Cikis",
"text_color" : 0xffF8BF24,

"default_image" : ROOT + "XLarge_Button_01.sub",
"over_image" : ROOT + "XLarge_Button_02.sub",
"down_image" : ROOT + "XLarge_Button_03.sub",
},
),
},
## VirtualKeyboard
{
'name' : 'VirtualKeyboard',
'type' : 'thinboard',
'x' : (SCREEN_WIDTH - 564) / 2,
'y' : SCREEN_HEIGHT - 300,
'width' : 564,
'height' : 254,
'children' :
(

{
'name' : 'key_at',
'type' : 'toggle_button',
'x' : 40,
'y' : 186,
'default_image' : 'locale/testserver/ui/vkey/key_at.tga',
'down_image' : 'locale/testserver/ui/vkey/key_at_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_at_over.tga',
},
{
'name' : 'key_backspace',
'type' : 'button',
'x' : 498,
'y' : 186,
'default_image' : 'locale/testserver/ui/vkey/key_backspace.tga',
'down_image' : 'locale/testserver/ui/vkey/key_backspace_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_backspace_over.tga',
},
{
'name' : 'key_enter',
'type' : 'button',
'x' : 439,
'y' : 186,
'default_image' : 'locale/testserver/ui/vkey/key_enter.tga',
'down_image' : 'locale/testserver/ui/vkey/key_enter_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_enter_over.tga',
},
{
'name' : 'key_shift',
'type' : 'toggle_button',
'x' : 86,
'y' : 186,
'default_image' : 'locale/testserver/ui/vkey/key_shift.tga',
'down_image' : 'locale/testserver/ui/vkey/key_shift_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_shift_over.tga',
},
{
'name' : 'key_space',
'type' : 'button',
'x' : 145,
'y' : 186,
'default_image' : 'locale/testserver/ui/vkey/key_space.tga',
'down_image' : 'locale/testserver/ui/vkey/key_space_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_space_over.tga',
},
{
'name' : 'key_1',
'type' : 'button',
'x' : 40,
'y' : 24,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_2',
'type' : 'button',
'x' : 80,
'y' : 24,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_3',
'type' : 'button',
'x' : 120,
'y' : 24,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_4',
'type' : 'button',
'x' : 160,
'y' : 24,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_5',
'type' : 'button',
'x' : 200,
'y' : 24,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_6',
'type' : 'button',
'x' : 240,
'y' : 24,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_7',
'type' : 'button',
'x' : 280,
'y' : 24,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_8',
'type' : 'button',
'x' : 320,
'y' : 24,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_9',
'type' : 'button',
'x' : 360,
'y' : 24,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_10',
'type' : 'button',
'x' : 400,
'y' : 24,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_11',
'type' : 'button',
'x' : 440,
'y' : 24,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_12',
'type' : 'button',
'x' : 480,
'y' : 24,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_13',
'type' : 'button',
'x' : 40,
'y' : 63,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_14',
'type' : 'button',
'x' : 80,
'y' : 63,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_15',
'type' : 'button',
'x' : 120,
'y' : 63,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_16',
'type' : 'button',
'x' : 160,
'y' : 63,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_17',
'type' : 'button',
'x' : 200,
'y' : 63,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_18',
'type' : 'button',
'x' : 240,
'y' : 63,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_19',
'type' : 'button',
'x' : 280,
'y' : 63,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_20',
'type' : 'button',
'x' : 320,
'y' : 63,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_21',
'type' : 'button',
'x' : 360,
'y' : 63,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_22',
'type' : 'button',
'x' : 400,
'y' : 63,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_23',
'type' : 'button',
'x' : 440,
'y' : 63,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_24',
'type' : 'button',
'x' : 480,
'y' : 63,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_25',
'type' : 'button',
'x' : 60,
'y' : 104,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_26',
'type' : 'button',
'x' : 100,
'y' : 104,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_27',
'type' : 'button',
'x' : 140,
'y' : 104,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_28',
'type' : 'button',
'x' : 180,
'y' : 104,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_29',
'type' : 'button',
'x' : 220,
'y' : 104,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_30',
'type' : 'button',
'x' : 260,
'y' : 104,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_31',
'type' : 'button',
'x' : 300,
'y' : 104,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_32',
'type' : 'button',
'x' : 340,
'y' : 104,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_33',
'type' : 'button',
'x' : 380,
'y' : 104,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_34',
'type' : 'button',
'x' : 420,
'y' : 104,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_35',
'type' : 'button',
'x' : 460,
'y' : 104,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_36',
'type' : 'button',
'x' : 60,
'y' : 144,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_37',
'type' : 'button',
'x' : 100,
'y' : 144,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_38',
'type' : 'button',
'x' : 140,
'y' : 144,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_39',
'type' : 'button',
'x' : 180,
'y' : 144,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_40',
'type' : 'button',
'x' : 220,
'y' : 144,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_41',
'type' : 'button',
'x' : 260,
'y' : 144,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_42',
'type' : 'button',
'x' : 300,
'y' : 144,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_43',
'type' : 'button',
'x' : 340,
'y' : 144,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_44',
'type' : 'button',
'x' : 380,
'y' : 144,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_45',
'type' : 'button',
'x' : 420,
'y' : 144,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
{
'name' : 'key_46',
'type' : 'button',
'x' : 460,
'y' : 144,
'default_image' : 'locale/testserver/ui/vkey/key_normal.tga',
'down_image' : 'locale/testserver/ui/vkey/key_normal_dn.tga',
'over_image' : 'locale/testserver/ui/vkey/key_normal_over.tga',
},
)
},

## ConnectBoard
{
"name" : "ConnectBoard",
"type" : "thinboard",

"x" : (SCREEN_WIDTH - 208) / 2,
"y" : (SCREEN_HEIGHT - 410 - 35),
"width" : 208,
"height" : 30,

"children" :
(
{
"name" : "ConnectName",
"type" : "text",

"x" : 15,
"y" : 0,
"vertical_align" : "center",
"text_vertical_align" : "center",

"text" : uiScriptLocale.LOGIN_DEFAULT_SERVERADDR,
},
{
"name" : "SelectConnectButton",
"type" : "button",

"x" : 150,
"y" : 0,
"vertical_align" : "center",

"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",

"text" : uiScriptLocale.LOGIN_SELECT_BUTTON,
},
),
},

## LoginBoard
{
"name" : "LoginBoard",
"type" : "image",

"x" : (SCREEN_WIDTH - 208) / 2,
"y" : (SCREEN_HEIGHT - 410),

"image" : LOCALE_PATH + "loginwindow.sub",

"children" :
(
{
"name" : "ID_EditLine",
"type" : "editline",

"x" : 77,
"y" : 16,

"width" : 120,
"height" : 18,

"input_limit" : 16,
"enable_codepage" : 0,

"r" : 1.0,
"g" : 1.0,
"b" : 1.0,
"a" : 1.0,
},
{
"name" : "Password_EditLine",
"type" : "editline",

"x" : 77,
"y" : 43,

"width" : 120,
"height" : 18,

"input_limit" : 16,
"secret_flag" : 1,
"enable_codepage" : 0,

"r" : 1.0,
"g" : 1.0,
"b" : 1.0,
"a" : 1.0,
},
{
"name" : "LoginButton",
"type" : "button",

"x" : 15,
"y" : 65,

"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",

"text" : uiScriptLocale.LOGIN_CONNECT,
},
{
"name" : "LoginExitButton",
"type" : "button",

"x" : 105,
"y" : 65,

"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",

"text" : uiScriptLocale.LOGIN_EXIT,
},
{
"name" : "VectorsIdKayit",
"type" : "button",

"x" : 180,
"y" : 18,
"default_image" : "locale/testserver/ui/login/kaydet1.tga",
"over_image" : "locale/testserver/ui/login/kaydet2.tga",
"down_image" : "locale/testserver/ui/login/kaydet3.tga",

"text" : "",
},
{
"name" : "VectorsIdSil",
"type" : "button",

"x" : 180,
"y" : 43,
"default_image" : "locale/testserver/ui/login/sil1.tga",
"over_image" : "locale/testserver/ui/login/sil2.tga",
"down_image" : "locale/testserver/ui/login/sil3.tga",

"text" : "",
},
),
},

## ServerBoard
{
"name" : "ServerBoard",
"type" : "thinboard",

"x" : 0,
"y" : SCREEN_HEIGHT - SERVER_BOARD_HEIGHT - 72,
"width" : 375,
"height" : SERVER_BOARD_HEIGHT,
"horizontal_align" : "center",

"children" :
(

## Title
{
"name" : "Title",
"type" : "text",

"x" : 0,
"y" : 12,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : uiScriptLocale.LOGIN_SELECT_TITLE,
},

## Horizontal
{
"name" : "HorizontalLine1",
"type" : "line",

"x" : 10,
"y" : 34,
"width" : 354,
"height" : 0,
"color" : 0xff777777,
},
{
"name" : "HorizontalLine2",
"type" : "line",

"x" : 10,
"y" : 35,
"width" : 355,
"height" : 0,
"color" : 0xff111111,
},

## Vertical
{
"name" : "VerticalLine1",
"type" : "line",

"x" : 246,
"y" : 38,
"width" : 0,
"height" : SERVER_LIST_HEIGHT + 4,
"color" : 0xff777777,
},
{
"name" : "VerticalLine2",
"type" : "line",

"x" : 247,
"y" : 38,
"width" : 0,
"height" : SERVER_LIST_HEIGHT + 4,
"color" : 0xff111111,
},

## ListBox
{
"name" : "ServerList",
"type" : "listbox2",

"x" : 10,
"y" : 40,
"width" : 232,
"height" : SERVER_LIST_HEIGHT,
"row_count" : 18,
"item_align" : 0,
},
{
"name" : "ChannelList",
"type" : "listbox",

"x" : 255,
"y" : 40,
"width" : 109,
"height" : SERVER_LIST_HEIGHT,

"item_align" : 0,
},

## Buttons
{
"name" : "ServerSelectButton",
"type" : "button",

"x" : 267,
"y" : SERVER_LIST_HEIGHT,

"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",

"text" : uiScriptLocale.OK,
},
{
"name" : "ServerExitButton",
"type" : "button",

"x" : 267,
"y" : SERVER_LIST_HEIGHT + 22,

"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",

"text" : uiScriptLocale.LOGIN_SELECT_EXIT,
},

),

},

),
}

 

 

How can i solve this problem ?

Thank You

 

 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×