Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 18:48

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Python]Logininterface verrutscht

Discussion on [Python]Logininterface verrutscht within the Metin2 Private Server forum part of the Metin2 category.

Closed Thread
 
Old   #1
 
ThunderGoTT's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 269
Received Thanks: 117
[Python]Logininterface verrutscht

Guten Abend liebe Community,

Ich habe mein eigenes Design erstellt "Ultranoobanfänger" ,
Ich möchte halt einfach mal lernen das ganze einzufügen und selber zu erstellen, ich habe es geschafft einzufügen, das Problem hierbei beliegt halt, das wenn ich die Auflösung von 800x600 bsw. auf 1650x1080 ändere verschiebt sich das Login ^^

Ich würde mich freuen wenn man mir helfen könnte

MFG: Thunder

Bilder:

800x600:

1650x1080:
ThunderGoTT is offline  
Old 05/31/2015, 19:59   #2
 
.He3o Copy™'s Avatar
 
elite*gold: 1
Join Date: Apr 2013
Posts: 273
Received Thanks: 236
poste kurz dein loginwindow.py dort hast du nicht drauf geachtet mit SCREEEN_WIDTH etc die X bzw. Y Pos zu bestimmen
.He3o Copy™ is offline  
Thanks
2 Users
Old 05/31/2015, 21:11   #3
 
ThunderGoTT's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 269
Received Thanks: 117
Smile thx

PHP Code:
import uiScriptLocale

LOCALE_PATH 
uiScriptLocale.LOGIN_PATH
#SERVER_BOARD_HEIGHT = 220 + 180
#SERVER_LIST_HEIGHT = 171 + 180

SERVER_BOARD_HEIGHT 220 180
SERVER_LIST_HEIGHT 
171 180

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

            
"image" LOCALE_PATH "loginwindow.sub",
            
#"image" : "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,
                },
            ),
        },

        
## 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,
                },

            ),

        },
    ),

ThunderGoTT is offline  
Old 05/31/2015, 21:30   #4
 
Poccix's Avatar
 
elite*gold: 44
Join Date: Dec 2009
Posts: 1,696
Received Thanks: 3,833
Code:
"x" : SCREEN_WIDTH / 2 - BOARDGRÖSSEX / 2,
"y" : SCREEN_HEIGHT / 2 - BOARDGRÖSSEY / 2,
Wenn du ein Bild/Board o.ä. mittig platzieren willst.
Poccix is offline  
Thanks
1 User
Old 05/31/2015, 21:46   #5
 
ThunderGoTT's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 269
Received Thanks: 117
Huhu vielen dank dir Pocci , funktioniert alles wunderbar.

Liebe grüße Thunder

P.S. Habe dir ein Thanks da gelassen
ThunderGoTT is offline  
Closed Thread


Similar Threads Similar Threads
[Trading] Design Slicing gegen Logininterface Code/Python Stuff
04/01/2015 - Metin2 Trading - 0 Replies
Hallo Leute, lange Rede kurzer Sinn: da mein Coder selbst nicht mit Photoshop umgehen kann benötige ich jemanden, der mir dieses Design http://puu.sh/gWYVc/3d317219ab.png slicest, sodass es in HTML und CSS umsetzbar ist. Das Design ist selbstverständlich ordnungsgemäß vom Ersteller erworben. Als Entlohnung könnt ihr von mir einen Code für ein Logininterface oder andere Pythonsachen bekommen. P.S: Da mich das Design eine Stange Geld gekostet hat, gebe ich es nur trusted Usern zum...
[Python-Modul]EXP-Donator (kompatibel mit Python Loader)
11/23/2013 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 27 Replies
Moin, da man mich danach gefragt hat und ich sowieso mal ein Beispiel für die Benutzung meines Python Loaders veröffentlichen wollte, habe ich die Gelegenheit genutzt und euch eben einen EXP-Spendebot geschrieben. Man kann ihn einfach mit dem oben verlinkten Python Module Loader laden und ihn mit F5 aktivieren/deaktivieren. Sobald ihr mehr als 99 Erfahrungspunkte habt (man kann nur in 100er Schritten spenden), werden alle Erfahrungspunkte an eure Gilde gespendet. Wer Lust hat und...
Help to make a python file works with python loader
03/03/2013 - Metin2 - 2 Replies
Hey epvp! I want make a very. Little hack works on pythonn loader can anybody help me please?
Metin2 - Python - Wie Python Hacks verschlüsseln und Server überprüfen (GF/PServe)
09/23/2012 - Metin2 - 2 Replies
Ich wollte fragen, wie man Python Hacks am besten Verschlüsselt ? und wie man feststellen kann ob man auf einem GF / Pserver spielt. ?
Python + Eric Python IDE installieren ?!
07/05/2011 - General Coding - 0 Replies
hat sich erledigt.



All times are GMT +1. The time now is 18:48.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.