Horizontales inventar bug...

03/22/2015 10:24 9TAILS#1
Guten morgen :D,

ich benutze die 34k game und habe auch die Dif für das Inventar drüber gezogen. Jedoch hat es noch buggs...

Screen:

[Only registered and activated users can see links. Click Here To Register...]

PHP Code:
import uiScriptLocale

EQUIPMENT_START_INDEX 
= 90

window 
= {
    
"name" : "InventoryWindow",

    
## 600 - (width + ¿À¸¥ÂÊÀ¸·Î ºÎÅÍ ¶ç¿ì±â 24 px)
    
"x" : SCREEN_WIDTH - 476,
    
"y" : SCREEN_HEIGHT - 271,

    
"style" : ("movable", "float"),

    
"width" : 476,
    
"height" : 235,

    
"children" :
    (
        {
            
"name" : "board",
            
"type" : "board",
            
"style" : ("attach",),

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

            
"width" : 476,
            
"height" : 233,

            
"children" :
            (
                
## Title
                
{
                    
"name" : "TitleBar",
                    
"type" : "titlebar",
                    
"style" : ("attach",),

                    
"x" : 8,
                    
"y" : 7,

                    
"width" : 464,
                    
"color" : "yellow",

                    
"children" :
                    (
                        { 
"name":"TitleName", "type":"text", "x":233, "y":3, "text":uiScriptLocale.INVENTORY_TITLE, "text_horizontal_align":"center" },
                    ),
                },

                
## Equipment Slot
                
{
                    
"name" : "Equipment_Base",
                    
"type" : "image",

                    
"x" : 10,
                    
"y" : 33,

                    
"image" : "d:/ymir work/ui/equipment_bg_without_ring.tga",

                    
"children" :
                    (

                        {
                            
"name" : "EquipmentSlot",
                            
"type" : "slot",

                            
"x" : 3,
                            
"y" : 3,

                            
"width" : 150,
                            
"height" : 182,

                            
"slot" : (
                                        {
"index":EQUIPMENT_START_INDEX+0, "x":39, "y":37, "width":32, "height":64},
                                        {
"index":EQUIPMENT_START_INDEX+1, "x":39, "y":2, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+2, "x":39, "y":145, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+3, "x":75, "y":67, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+4, "x":3, "y":3, "width":32, "height":96},
                                        {
"index":EQUIPMENT_START_INDEX+5, "x":114, "y":67, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+6, "x":114, "y":35, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+7, "x":2, "y":145, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+8, "x":75, "y":145, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+9, "x":114, "y":2, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+10, "x":75, "y":35, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+11, "x":39, "y":106, "width":32, "height":32},
                                    ),
                        },
                        
## MallButton
                        
{
                            
"name" : "MallButton",
                            
"type" : "button",

                            
"x" : 120,
                            
"y" : 150,

                            
"tooltip_text" : uiScriptLocale.MALL_TITLE,

                            
"default_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_01.tga",
                            
"over_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_02.tga",
                            
"down_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_03.tga",
                        },
                        
## CostumeButton
                        
{
                            
"name" : "CostumeButton",
                            
"type" : "button",

                            
"x" : 78,
                            
"y" : 5,

                            
"tooltip_text" : uiScriptLocale.COSTUME_TITLE,

                            
"default_image" : "d:/ymir work/ui/game/taskbar/costume_Button_01.tga",
                            
"over_image" : "d:/ymir work/ui/game/taskbar/costume_Button_02.tga",
                            
"down_image" : "d:/ymir work/ui/game/taskbar/costume_Button_03.tga",
                        },                        
                        {
                            
"name" : "Equipment_Tab_01",
                            
"type" : "radio_button",

                            
"x" : 86,
                            
"y" : 161,

                            
"default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
                            
"over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
                            
"down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",

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

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

                                    
"all_align" : "center",

                                    
"text" : "I",
                                },
                            ),
                        },
                        {
                            
"name" : "Equipment_Tab_02",
                            
"type" : "radio_button",

                            
"x" : 86 + 32,
                            
"y" : 161,

                            
"default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
                            
"over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
                            
"down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",

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

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

                                    
"all_align" : "center",

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

                    ),
                },

                {
                    
"name" : "Inventory_Tab_01",
                    
"type" : "radio_button",

                    
"x" : 173,
                    
"y" : 33 + 171,

                    
"default_image" : "d:/ymir work/ui/game/windows/tab_button_large_01.sub",
                    
"over_image" : "d:/ymir work/ui/game/windows/tab_button_large_02.sub",
                    
"down_image" : "d:/ymir work/ui/game/windows/tab_button_large_03.sub",
                    
"tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_1,

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

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

                            
"all_align" : "center",

                            
"text" : "I",
                        },
                    ),
                },
                {
                    
"name" : "Inventory_Tab_02",
                    
"type" : "radio_button",

                    
"x" : 173 + 78,
                    
"y" : 33 + 171,

                    
"default_image" : "d:/ymir work/ui/game/windows/tab_button_large_01.sub",
                    
"over_image" : "d:/ymir work/ui/game/windows/tab_button_large_02.sub",
                    
"down_image" : "d:/ymir work/ui/game/windows/tab_button_large_03.sub",
                    
"tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_2,

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

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

                            
"all_align" : "center",

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

                
## Item Slot
                
{
                    
"name" : "ItemSlot",
                    
"type" : "grid_table",

                    
"x" : 173,
                    
"y" : 33,

                    
"start_index" : 0,
                    
"x_count" : 9,
                    
"y_count" : 5,
                    
"x_step" : 32,
                    
"y_step" : 32,

                    
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
                
},

                
## Print
                
{
                    
"name":"Money_Slot",
                    
"type":"button",

                    
"x" : 173 + 160,
                    
"y" : 33 + 171,

                    
"default_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
                    
"over_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
                    
"down_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",

                    
"children" :
                    (
                        {
                            
"name":"Money_Icon",
                            
"type":"image",

                            
"x":1,
                            
"y":1,

                            
"image":"d:/ymir work/ui/game/windows/money_icon.sub",
                        },
                        {
                            
"name" : "Money",
                            
"type" : "text",

                            
"x" : 3,
                            
"y" : 3,

                            
"horizontal_align" : "right",
                            
"text_horizontal_align" : "right",

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

            ),
        },
    ),
} 
03/22/2015 10:30 SolWayne#2
Quote:
Originally Posted by saver345 View Post
Guten morgen :D,

ich benutze die 34k game und habe auch die Dif für das Inventar drüber gezogen. Jedoch hat es noch buggs...

Screen:

[Only registered and activated users can see links. Click Here To Register...]

PHP Code:
import uiScriptLocale

EQUIPMENT_START_INDEX 
= 90

window 
= {
    
"name" : "InventoryWindow",

    
## 600 - (width + ¿À¸¥ÂÊÀ¸·Î ºÎÅÍ ¶ç¿ì±â 24 px)
    
"x" : SCREEN_WIDTH - 476,
    
"y" : SCREEN_HEIGHT - 271,

    
"style" : ("movable", "float"),

    
"width" : 476,
    
"height" : 235,

    
"children" :
    (
        {
            
"name" : "board",
            
"type" : "board",
            
"style" : ("attach",),

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

            
"width" : 476,
            
"height" : 233,

            
"children" :
            (
                
## Title
                
{
                    
"name" : "TitleBar",
                    
"type" : "titlebar",
                    
"style" : ("attach",),

                    
"x" : 8,
                    
"y" : 7,

                    
"width" : 464,
                    
"color" : "yellow",

                    
"children" :
                    (
                        { 
"name":"TitleName", "type":"text", "x":233, "y":3, "text":uiScriptLocale.INVENTORY_TITLE, "text_horizontal_align":"center" },
                    ),
                },

                
## Equipment Slot
                
{
                    
"name" : "Equipment_Base",
                    
"type" : "image",

                    
"x" : 10,
                    
"y" : 33,

                    
"image" : "d:/ymir work/ui/equipment_bg_without_ring.tga",

                    
"children" :
                    (

                        {
                            
"name" : "EquipmentSlot",
                            
"type" : "slot",

                            
"x" : 3,
                            
"y" : 3,

                            
"width" : 150,
                            
"height" : 182,

                            
"slot" : (
                                        {
"index":EQUIPMENT_START_INDEX+0, "x":39, "y":37, "width":32, "height":64},
                                        {
"index":EQUIPMENT_START_INDEX+1, "x":39, "y":2, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+2, "x":39, "y":145, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+3, "x":75, "y":67, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+4, "x":3, "y":3, "width":32, "height":96},
                                        {
"index":EQUIPMENT_START_INDEX+5, "x":114, "y":67, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+6, "x":114, "y":35, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+7, "x":2, "y":145, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+8, "x":75, "y":145, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+9, "x":114, "y":2, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+10, "x":75, "y":35, "width":32, "height":32},
                                        {
"index":EQUIPMENT_START_INDEX+11, "x":39, "y":106, "width":32, "height":32},
                                    ),
                        },
                        
## MallButton
                        
{
                            
"name" : "MallButton",
                            
"type" : "button",

                            
"x" : 120,
                            
"y" : 150,

                            
"tooltip_text" : uiScriptLocale.MALL_TITLE,

                            
"default_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_01.tga",
                            
"over_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_02.tga",
                            
"down_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_03.tga",
                        },
                        
## CostumeButton
                        
{
                            
"name" : "CostumeButton",
                            
"type" : "button",

                            
"x" : 78,
                            
"y" : 5,

                            
"tooltip_text" : uiScriptLocale.COSTUME_TITLE,

                            
"default_image" : "d:/ymir work/ui/game/taskbar/costume_Button_01.tga",
                            
"over_image" : "d:/ymir work/ui/game/taskbar/costume_Button_02.tga",
                            
"down_image" : "d:/ymir work/ui/game/taskbar/costume_Button_03.tga",
                        },                        
                        {
                            
"name" : "Equipment_Tab_01",
                            
"type" : "radio_button",

                            
"x" : 86,
                            
"y" : 161,

                            
"default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
                            
"over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
                            
"down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",

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

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

                                    
"all_align" : "center",

                                    
"text" : "I",
                                },
                            ),
                        },
                        {
                            
"name" : "Equipment_Tab_02",
                            
"type" : "radio_button",

                            
"x" : 86 + 32,
                            
"y" : 161,

                            
"default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
                            
"over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
                            
"down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",

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

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

                                    
"all_align" : "center",

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

                    ),
                },

                {
                    
"name" : "Inventory_Tab_01",
                    
"type" : "radio_button",

                    
"x" : 173,
                    
"y" : 33 + 171,

                    
"default_image" : "d:/ymir work/ui/game/windows/tab_button_large_01.sub",
                    
"over_image" : "d:/ymir work/ui/game/windows/tab_button_large_02.sub",
                    
"down_image" : "d:/ymir work/ui/game/windows/tab_button_large_03.sub",
                    
"tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_1,

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

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

                            
"all_align" : "center",

                            
"text" : "I",
                        },
                    ),
                },
                {
                    
"name" : "Inventory_Tab_02",
                    
"type" : "radio_button",

                    
"x" : 173 + 78,
                    
"y" : 33 + 171,

                    
"default_image" : "d:/ymir work/ui/game/windows/tab_button_large_01.sub",
                    
"over_image" : "d:/ymir work/ui/game/windows/tab_button_large_02.sub",
                    
"down_image" : "d:/ymir work/ui/game/windows/tab_button_large_03.sub",
                    
"tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_2,

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

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

                            
"all_align" : "center",

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

                
## Item Slot
                
{
                    
"name" : "ItemSlot",
                    
"type" : "grid_table",

                    
"x" : 173,
                    
"y" : 33,

                    
"start_index" : 0,
                    
"x_count" : 9,
                    
"y_count" : 5,
                    
"x_step" : 32,
                    
"y_step" : 32,

                    
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
                
},

                
## Print
                
{
                    
"name":"Money_Slot",
                    
"type":"button",

                    
"x" : 173 + 160,
                    
"y" : 33 + 171,

                    
"default_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
                    
"over_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
                    
"down_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",

                    
"children" :
                    (
                        {
                            
"name":"Money_Icon",
                            
"type":"image",

                            
"x":1,
                            
"y":1,

                            
"image":"d:/ymir work/ui/game/windows/money_icon.sub",
                        },
                        {
                            
"name" : "Money",
                            
"type" : "text",

                            
"x" : 3,
                            
"y" : 3,

                            
"horizontal_align" : "right",
                            
"text_horizontal_align" : "right",

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

            ),
        },
    ),
} 
Kann da jz kein fehler fest stellen bist du dir auch sicher das du alles richtig eingefügt hast ?

und ob es vorher vllt nicht schon ging^^
03/22/2015 10:33 9TAILS#3
Hmm.... hab die cleane 34k von *********** gezogen, da war doch noch nicht die dif drüber oder? also die hier :


PHP Code:
This difference file was created by IDA Pro

game_r34083
0004CD65
: 05 09
0004CDDC: 05 09
0004CE22: 05 09
0004CEA1: 05 09
0004F8D5: 05 09
0004F938: 05 09
0004F93B: 05 09 
03/22/2015 10:39 SolWayne#4
Quote:
Originally Posted by saver345 View Post
Hmm.... hab die cleane 34k von *********** gezogen, da war doch noch nicht die dif drüber oder? also die hier :


PHP Code:
This difference file was created by IDA Pro

game_r34083
0004CD65
: 05 09
0004CDDC: 05 09
0004CE22: 05 09
0004CEA1: 05 09
0004F8D5: 05 09
0004F938: 05 09
0004F93B: 05 09 

Okay auf welchen Files bassieren den deine files also dein Server?
03/22/2015 10:41 ThunderGoTT#5
#PUSH