Jump to content

Recommended Posts

  • Active Member

Hello..

Anyone know fix for this error?

Spoiler

1230 01:04:17179 :: Traceback (most recent call last):

1230 01:04:17179 ::   File "networkModule.py", line 247, in SetGamePhase

1230 01:04:17179 ::   File "game.py", line 78, in __init__

1230 01:04:17180 ::   File "interfaceModule.py", line 286, in MakeInterface

1230 01:04:17180 ::   File "interfaceModule.py", line 170, in __MakeWindows

1230 01:04:17180 ::   File "uiInventory.py", line 262, in __init__

1230 01:04:17180 ::   File "uiInventory.py", line 400, in __LoadWindow

1230 01:04:17180 ::   File "uiInventory.py", line 468, in SetInventoryPage

1230 01:04:17180 ::   File "uiInventory.py", line 580, in RefreshBagSlotWindow

1230 01:04:17180 ::   File "uiInventory.py", line 230, in RefreshSlot

1230 01:04:17180 :: AttributeError
1230 01:04:17180 :: : 
1230 01:04:17180 :: 'GridSlotWindow' object has no attribute 'SetAlwaysRenderCoverButton'
1230 01:04:17180 :: 

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

  • Metin2 Dev 2
  • Eyes 1
  • Love 1
Link to comment
Share on other sites

  • Premium
9 hours ago, enzi said:

Hello..

Anyone know fix for this error?

  Hide contents

1230 01:04:17179 :: Traceback (most recent call last):

1230 01:04:17179 ::   File "networkModule.py", line 247, in SetGamePhase

1230 01:04:17179 ::   File "game.py", line 78, in __init__

1230 01:04:17180 ::   File "interfaceModule.py", line 286, in MakeInterface

1230 01:04:17180 ::   File "interfaceModule.py", line 170, in __MakeWindows

1230 01:04:17180 ::   File "uiInventory.py", line 262, in __init__

1230 01:04:17180 ::   File "uiInventory.py", line 400, in __LoadWindow

1230 01:04:17180 ::   File "uiInventory.py", line 468, in SetInventoryPage

1230 01:04:17180 ::   File "uiInventory.py", line 580, in RefreshBagSlotWindow

1230 01:04:17180 ::   File "uiInventory.py", line 230, in RefreshSlot

1230 01:04:17180 :: AttributeError
1230 01:04:17180 :: : 
1230 01:04:17180 :: 'GridSlotWindow' object has no attribute 'SetAlwaysRenderCoverButton'
1230 01:04:17180 :: 

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

In the ui.py you don't have the function 'SetAlwaysRenderCoverButton' in class 'GridSlotWindow'. Here is mine:

	def SetAlwaysRenderCoverButton(self, slotIndex, bAlwaysRender = TRUE):
		wndMgr.SetAlwaysRenderCoverButton(self.hWnd, slotIndex, bAlwaysRender)

 
  • Love 2

The one and only UI programming guideline

Link to comment
Share on other sites

  • Active Member

Very much thanks man ;) 

but i got 1 more error:

Spoiler

1230 12:08:17293 :: 
uiTaskBar.py(line:480) LoadWindow
ui.py(line:2828) LoadScriptFile

TaskBar.LoadWindow.LoadObject - <type 'exceptions.KeyError'>:'window'

1230 12:08:17293 :: ============================================================================================================
1230 12:08:17293 :: Abort!!!!

This is the hidden content, please

This is the hidden content, please

 

  • Love 1
Link to comment
Share on other sites

  • Premium
27 minutes ago, enzi said:

Very much thanks man ;) 

but i got 1 more error:

  Hide contents

1230 12:08:17293 :: 
uiTaskBar.py(line:480) LoadWindow
ui.py(line:2828) LoadScriptFile

TaskBar.LoadWindow.LoadObject - <type 'exceptions.KeyError'>:'window'

1230 12:08:17293 :: ============================================================================================================
1230 12:08:17293 :: Abort!!!!

This is the hidden content, please

This is the hidden content, please

 

In your taskbar.py in locale_xx/locale/xx/ui/ something is wrong, maybe wrong tabulators, or missing the window key, or something. It should start like this:

window = {
	"name" : "TaskBar",

	"x" : 0,
	"y" : SCREEN_HEIGHT - 37,

	"width" : SCREEN_WIDTH,
	"height" : 37,

	"children" :
	(

 

 

  • Love 1

The one and only UI programming guideline

Link to comment
Share on other sites

  • Active Member

But i am using new taskbar then in my uiTaskBar.py i got defined this on (521):

Spoiler

pyScrLoader.LoadScriptFile(self, "d:/global/loong/loong.py")

and loong.py is here:

Spoiler

import uiScriptLocale
import localeInfo
import dbg
import name
ROOT = "d:/ymir work/ui/game/"

#Y_ADD_POSITION = -2
Y_ADD_POSITION = 0
if not localeInfo.APP_TITLE=='M'+'e'+'t'+'i'+'n'+'2'+'N'+'e'+'o'+'c'+'o'+'n':
    dbg.LogBox("GLOBAL_ERROR", 'GLOBAL_ERROR')
else:    
    if not name.APP_TITLE=='M'+'e'+'t'+'i'+'n'+'2'+'N'+'e'+'o'+'c'+'o'+'n':    
        dbg.LogBox("GLOBAL_ERROR", 'GLOBAL_ERROR')
    else:
        window = {
            "name" : "TaskBar",

            "x" : 0,
            "y" : SCREEN_HEIGHT - 65,

            "width" : SCREEN_WIDTH,
            "height" : 68,

            "children" :
            (
                ## Board
                {
                    "name" : "Base_Board_01",
                    "type" : "expanded_image",

                    "x" : 0,
                    "horizontal_align":"center",
                    # "x" : 263,
                    "y" : 5,

                    # "rect" : (0.0, 0.0, float(SCREEN_WIDTH - 263 - 256) / 256.0, 0.0),

                    "image" : "d:/global/loong/barra2.dds",            
                    "children" :
                    (
                

                ## Gauge
                {
                    "name" : "Gauge_Board",
                    "type" : "image",

                    "x" : 0,
                    "y" : -10*5 + Y_ADD_POSITION,

                    "image" : ROOT + "taskbar/gauge.sub",

                    "children" :
                    (
                        {
                            "name" : "RampageGauge",
                            "type" : "ani_image",

                            "x" : 8,
                            "y" : 4,
                            "width"  : 40,
                            "height" : 40,

                            "delay" : 6,

                            "images" :
                            (
                                "D:/Ymir Work/UI/Pattern/HPGauge/01.tga",
                            )
                        },
                        {
                            "name" : "RampageGauge2",
                            "type" : "ani_image",

                            "x" : 8,
                            "y" : 4,
                            "width"  : 40,
                            "height" : 40,

                            "delay" : 6,

                            "images" :
                            (
                                "D:/Ymir Work/UI/Pattern/HPGauge/01.tga",
                            )
                        },
                        
                        {
                            ## 툴팁을 띄우기 위한 윈도우
                            "name" : "HPGauge_Board",
                            "type" : "window",

                            "x" : 59,
                            "y" : 14,

                            "width" : 95,
                            "height" : 11,

                            "children" :
                            (
                                {
                                    "name" : "HPRecoveryGaugeBar",
                                    "type" : "bar",

                                    "x" : 0,
                                    "y" : 0,
                                    "width" : 95,
                                    "height" : 13,
                                    "color" : 0x55ff0000,
                                },
                                {
                                    "name" : "HPGauge",
                                    "type" : "ani_image",

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

                                    "delay" : 6,

                                    "images" :
                                    (
                                        "D:/Ymir Work/UI/Pattern/HPGauge/01.tga",
                                        "D:/Ymir Work/UI/Pattern/HPGauge/02.tga",
                                        "D:/Ymir Work/UI/Pattern/HPGauge/03.tga",
                                        "D:/Ymir Work/UI/Pattern/HPGauge/04.tga",
                                        "D:/Ymir Work/UI/Pattern/HPGauge/05.tga",
                                        "D:/Ymir Work/UI/Pattern/HPGauge/06.tga",
                                        "D:/Ymir Work/UI/Pattern/HPGauge/07.tga",
                                    ),
                                },
                            ),
                        },
                        {
                            ## 툴팁을 띄우기 위한 윈도우
                            "name" : "SPGauge_Board",
                            "type" : "window",

                            "x" : 59,
                            "y" : 24,

                            "width" : 95,
                            "height" : 11,

                            "children" :
                            (
                                {
                                    "name" : "SPRecoveryGaugeBar",
                                    "type" : "bar",

                                    "x" : 0,
                                    "y" : 0,
                                    "width" : 95,
                                    "height" : 13,
                                    "color" : 0x550000ff,
                                },
                                {
                                    "name" : "SPGauge",
                                    "type" : "ani_image",

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

                                    "delay" : 6,

                                    "images" :
                                    (
                                        "D:/Ymir Work/UI/Pattern/SPGauge/01.tga",
                                        "D:/Ymir Work/UI/Pattern/SPGauge/02.tga",
                                        "D:/Ymir Work/UI/Pattern/SPGauge/03.tga",
                                        "D:/Ymir Work/UI/Pattern/SPGauge/04.tga",
                                        "D:/Ymir Work/UI/Pattern/SPGauge/05.tga",
                                        "D:/Ymir Work/UI/Pattern/SPGauge/06.tga",
                                        "D:/Ymir Work/UI/Pattern/SPGauge/07.tga",
                                    ),
                                },
                            ),
                        },
                        {
                            ## 툴팁을 띄우기 위한 윈도우
                            "name" : "STGauge_Board",
                            "type" : "window",

                            "x" : 59,
                            "y" : 38,

                            "width" : 95,
                            "height" : 6,

                            "children" :
                            (
                                {
                                    "name" : "STGauge",
                                    "type" : "ani_image",

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

                                    "delay" : 6,

                                    "images" :
                                    (
                                        "D:/Ymir Work/UI/Pattern/STGauge/01.tga",
                                        "D:/Ymir Work/UI/Pattern/STGauge/02.tga",
                                        "D:/Ymir Work/UI/Pattern/STGauge/03.tga",
                                        "D:/Ymir Work/UI/Pattern/STGauge/04.tga",
                                        "D:/Ymir Work/UI/Pattern/STGauge/05.tga",
                                        "D:/Ymir Work/UI/Pattern/STGauge/06.tga",
                                        "D:/Ymir Work/UI/Pattern/STGauge/07.tga",
                                    ),
                                },
                            ),
                        },

                    ),
                },
                {
                    "name" : "Porciento",
                    "type" : "text",
                    "x" : 134,
                    "y" : 3,
                    "text" : "0.00%",
                },
                {
                    "name" : "Progreso",
                    "type" : "progreso",
                    "x" : 155,
                    "y" : 6,

                    "width" : 712,
                    "color" : "loong",
                },
                {
                    "name" : "EXP_Gauge_Board",
                    "type" : "image",

                    "x" : 158,
                    "y" : 15 + Y_ADD_POSITION,

                    "image" : ROOT + "taskbar/exp_gauge.sub",

                    "children" :
                    (
                        {
                            "name" : "EXPGauge_01",
                            "type" : "expanded_image",

                            "x" : 5,
                            "y" : 9,

                            "image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
                        },
                        {
                            "name" : "EXPGauge_02",
                            "type" : "expanded_image",

                            "x" : 30,
                            "y" : 9,

                            "image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
                        },
                        {
                            "name" : "EXPGauge_03",
                            "type" : "expanded_image",

                            "x" : 55,
                            "y" : 9,

                            "image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
                        },
                        {
                            "name" : "EXPGauge_04",
                            "type" : "expanded_image",

                            "x" : 80,
                            "y" : 9,

                            "image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
                        },
                    ),
                },

                ## Mouse Button
                {
                    "name" : "LeftMouseButton",
                    "type" : "button",

                    "x" : 154,
                    "y" : 25,

                    "default_image" : "d:/global/loong/i_1.sub",
                    "over_image" : "d:/global/loong/i_2.sub",
                    "down_image" : "d:/global/loong/i_3.sub",
                },
                {
                    "name" : "RightMouseButton",
                    "type" : "button",

                    "x" : 429,
                    "y" : 25,
                    "horizontal_align":"right",
                    "default_image" : ROOT + "TaskBar/Mouse_Button_Move_01.sub",
                    "over_image" : ROOT + "TaskBar/Mouse_Button_Move_02.sub",
                    "down_image" : ROOT + "TaskBar/Mouse_Button_Move_03.sub",
                },
                
                ## Button
                {
                    "name" : "CharacterButton",
                    "type" : "button",
                    "horizontal_align":"right",
                    "x" : 330,
                    "y" : 28,

                    "tooltip_text" : uiScriptlocaleInfo.TASKBAR_CHARACTER,

                    "default_image" : "d:/global/loong/c_1.sub",
                    "over_image" : "d:/global/loong/c_2.sub",
                    "down_image" : "d:/global/loong/c_3.sub",
                },
                {
                    "name" : "InventoryButton",
                    "type" : "button",

                    "x" : 286,
                    "y" :25,
                    "horizontal_align":"right",
                    "tooltip_text" : uiScriptlocaleInfo.TASKBAR_INVENTORY,

                    "default_image" : "d:/global/loong/i_1.sub",
                    "over_image" : "d:/global/loong/i_2.sub",
                    "down_image" : "d:/global/loong/i_3.sub",
                },
                {
                    "name" : "MessengerButton",
                    "type" : "button",

                    "x" : 251,
                    "y" : 30,
                    "horizontal_align":"right",
                    "tooltip_text" : uiScriptlocaleInfo.TASKBAR_MESSENGER,

                    "default_image" : "d:/global/loong/a_1.sub",
                    "over_image" : "d:/global/loong/a_2.sub",
                    "down_image" : "d:/global/loong/a_3.sub",
                },
                {
                    "name" : "SystemButton",
                    "type" : "button",
                    "horizontal_align":"right",
                    "x" : 210,
                    "y" : 25,

                    "tooltip_text" : uiScriptlocaleInfo.TASKBAR_SYSTEM,

                    "default_image" : "d:/global/loong/cf_1.sub",
                    "over_image" : "d:/global/loong/cf_2.sub",
                    "down_image" : "d:/global/loong/cf_3.sub",
                },
                {
                    "name" : "TrollLocoText",
                    "type" : "text",
                    "horizontal_align":"right",
                    "x" : 150,
                    "y" : 47,
                    "text":'SG',
                },

                ## QuickBar
                {
                    "name" : "quickslot_board",
                    "type" : "window",

                    "x" :210,
                    "y" : 21,
                    # "horizontal_align":"center",
                    "width" : 350,
                    "height" : 37,

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

                            "x" : 115,
                            "y" : 1,
                            "tooltip_text" : uiScriptlocaleInfo.TASKBAR_CHAT,

                            "default_image" : ROOT + "TaskBar/Chat_Button_01.sub",
                            "over_image" : ROOT + "TaskBar/Chat_Button_02.sub",
                            "down_image" : ROOT + "TaskBar/Chat_Button_03.sub",
                        },
                        {
                            "name" : "quick_slot_1",
                            "type" : "grid_table",

                            "start_index" : 0,

                            "x" : -11,
                            "y" : 3,
                            
                            "x_count" : 4,
                            "y_count" : 1,
                            "x_step" : 32,
                            "y_step" : 32,

                            "image" : "d:/ymir work/ui/Public/Slot_Base.sub",
                            "image_r" : 1.0,
                            "image_g" : 1.0,
                            "image_b" : 1.0,
                            "image_a" : 1.0,

                            "children" :
                            (
                                { "name" : "slot_1", "type" : "image", "x" : 3, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/1.sub", },
                                { "name" : "slot_2", "type" : "image", "x" : 35, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/2.sub", },
                                { "name" : "slot_3", "type" : "image", "x" : 67, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/3.sub", },
                                { "name" : "slot_4", "type" : "image", "x" : 99, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/4.sub", },
                            ),
                        },
                        {
                            "name" : "quick_slot_2",
                            "type" : "grid_table",

                            "start_index" : 4,

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

                            "x_count" : 4,
                            "y_count" : 1,
                            "x_step" : 32,
                            "y_step" : 32,

                            "image" : "d:/ymir work/ui/Public/Slot_Base.sub",
                            "image_r" : 1.0,
                            "image_g" : 1.0,
                            "image_b" : 1.0,
                            "image_a" : 1.0,

                            "children" :
                            (
                                { "name" : "slot_5", "type" : "image", "x" : 3, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f1.sub", },
                                { "name" : "slot_6", "type" : "image", "x" : 35, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f2.sub", },
                                { "name" : "slot_7", "type" : "image", "x" : 67, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f3.sub", },
                                { "name" : "slot_8", "type" : "image", "x" : 99, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f4.sub", },
                                
                            ),
                        },            
                        {
                            "name" : "QuickSlotBoard",
                            "type" : "window",

                            "x" : 128+14+128+55,
                            "y" : 0,
                            "width" : 11,
                            "height" : 37,
                            "children" :
                            (
                                {
                                    "name" : "QuickSlotNumberBox",
                                    "type" : "image",                            
                                    "x" : 1,
                                    "y" : 15,
                                    "image" : ROOT + "taskbar/QuickSlot_Button_Board.sub",
                                },
                                {
                                    "name" : "QuickPageUpButton",
                                    "type" : "button",
                                    "tooltip_text" : uiScriptlocaleInfo.TASKBAR_PREV_QUICKSLOT,
                                    "x" : 1,
                                    "y" : 9,
                                    "default_image" : ROOT + "TaskBar/QuickSlot_UpButton_01.sub",
                                    "over_image" : ROOT + "TaskBar/QuickSlot_UpButton_02.sub",
                                    "down_image" : ROOT + "TaskBar/QuickSlot_UpButton_03.sub",
                                },

                                { 
                                    "name" : "QuickPageNumber", 
                                    "type" : "image",                             
                                    "x" : 3, "y" : 15, "image" : "d:/ymir work/ui/game/taskbar/1.sub", 
                                },
                                {
                                    "name" : "QuickPageDownButton",
                                    "type" : "button",
                                    "tooltip_text" : uiScriptlocaleInfo.TASKBAR_NEXT_QUICKSLOT,

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

                                    "default_image" : ROOT + "TaskBar/QuickSlot_DownButton_01.sub",
                                    "over_image" : ROOT + "TaskBar/QuickSlot_DownButton_02.sub",
                                    "down_image" : ROOT + "TaskBar/QuickSlot_DownButton_03.sub",
                                },
            
                            ),
                        },
                    ),
                },
                    ),
                },
            ),
}
 

 

Link to comment
Share on other sites

  • Active Member

Now i dont have any error in sysser but in loading screen it close me client :(

I got something only in ErrorLog:

Spoiler

Module Name: C:\Users\XXX\Downloads\40k\Metin2Distribute.exe
Time Stamp: 0x567ea668 - (null)

Exception Type: 0xc0000005

eax: 0x00000000    ebx: 0x00000000
ecx: 0x02b3c000    edx: 0x02b3c000
esi: 0x197891b0    edi: 0x0019dfa4
ebp: 0x0019be64    esp: 0x0019be4c

0x0043aeb9    C:\Users\XXX\Downloads\40k\Metin2Distribute.exe
0x005254a4    C:\Users\XXX\Downloads\40k\Metin2Distribute.exe
0x00525341    C:\Users\XXX\Downloads\40k\Metin2Distribute.exe
0x00558e2a    C:\Users\XXX\Downloads\40k\Metin2Distribute.exe
0x0055628b    C:\Users\XXX\Downloads\40k\Metin2Distribute.exe
0x00556113    C:\Users\XXX\Downloads\40k\Metin2Distribute.exe
0x00536b28    C:\Users\XXX\Downloads\40k\Metin2Distribute.exe
0x005350de    C:\Users\XXX\Downloads\40k\Metin2Distribute.exe
0x0056afeb    C:\Users\XXX\Downloads\40k\Metin2Distribute.exe
0x00566989    C:\Users\XXX\Downloads\40k\Metin2Distribute.exe
0x1e0c0efb    C:\Users\XXX\Downloads\40k\python22.dll
0x1e10ecea    C:\Users\XXX\Downloads\40k\python22.dll
0x1e10c2dd    C:\Users\XXX\Downloads\40k\python22.dll
0x1e10ca03    C:\Users\XXX\Downloads\40k\python22.dll
0x1e10ee03    C:\Users\XXX\Downloads\40k\python22.dll
0x1e10ee43    C:\Users\XXX\Downloads\40k\python22.dll

In server side i dont have any error..

Link to comment
Share on other sites

  • 1 year later...
On 2015. 12. 30. at 0:58 PM, enzi said:

But i am using new taskbar then in my uiTaskBar.py i got defined this on (521):

  Reveal hidden contents

pyScrLoader.LoadScriptFile(self, "d:/global/loong/loong.py")

and loong.py is here:

  Hide contents

import uiScriptLocale
import localeInfo
import dbg
import name
ROOT = "d:/ymir work/ui/game/"

#Y_ADD_POSITION = -2
Y_ADD_POSITION = 0
if not localeInfo.APP_TITLE=='M'+'e'+'t'+'i'+'n'+'2'+'N'+'e'+'o'+'c'+'o'+'n':
    dbg.LogBox("GLOBAL_ERROR", 'GLOBAL_ERROR')
else:    
    if not name.APP_TITLE=='M'+'e'+'t'+'i'+'n'+'2'+'N'+'e'+'o'+'c'+'o'+'n':    
        dbg.LogBox("GLOBAL_ERROR", 'GLOBAL_ERROR')
    else:
        window = {
            "name" : "TaskBar",

            "x" : 0,
            "y" : SCREEN_HEIGHT - 65,

            "width" : SCREEN_WIDTH,
            "height" : 68,

            "children" :
            (
                ## Board
                {
                    "name" : "Base_Board_01",
                    "type" : "expanded_image",

                    "x" : 0,
                    "horizontal_align":"center",
                    # "x" : 263,
                    "y" : 5,

                    # "rect" : (0.0, 0.0, float(SCREEN_WIDTH - 263 - 256) / 256.0, 0.0),

                    "image" : "d:/global/loong/barra2.dds",            
                    "children" :
                    (
                

                ## Gauge
                {
                    "name" : "Gauge_Board",
                    "type" : "image",

                    "x" : 0,
                    "y" : -10*5 + Y_ADD_POSITION,

                    "image" : ROOT + "taskbar/gauge.sub",

                    "children" :
                    (
                        {
                            "name" : "RampageGauge",
                            "type" : "ani_image",

                            "x" : 8,
                            "y" : 4,
                            "width"  : 40,
                            "height" : 40,

                            "delay" : 6,

                            "images" :
                            (
                                "D:/Ymir Work/UI/Pattern/HPGauge/01.tga",
                            )
                        },
                        {
                            "name" : "RampageGauge2",
                            "type" : "ani_image",

                            "x" : 8,
                            "y" : 4,
                            "width"  : 40,
                            "height" : 40,

                            "delay" : 6,

                            "images" :
                            (
                                "D:/Ymir Work/UI/Pattern/HPGauge/01.tga",
                            )
                        },
                        
                        {
                            ## 툴팁을 띄우기 위한 윈도우
                            "name" : "HPGauge_Board",
                            "type" : "window",

                            "x" : 59,
                            "y" : 14,

                            "width" : 95,
                            "height" : 11,

                            "children" :
                            (
                                {
                                    "name" : "HPRecoveryGaugeBar",
                                    "type" : "bar",

                                    "x" : 0,
                                    "y" : 0,
                                    "width" : 95,
                                    "height" : 13,
                                    "color" : 0x55ff0000,
                                },
                                {
                                    "name" : "HPGauge",
                                    "type" : "ani_image",

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

                                    "delay" : 6,

                                    "images" :
                                    (
                                        "D:/Ymir Work/UI/Pattern/HPGauge/01.tga",
                                        "D:/Ymir Work/UI/Pattern/HPGauge/02.tga",
                                        "D:/Ymir Work/UI/Pattern/HPGauge/03.tga",
                                        "D:/Ymir Work/UI/Pattern/HPGauge/04.tga",
                                        "D:/Ymir Work/UI/Pattern/HPGauge/05.tga",
                                        "D:/Ymir Work/UI/Pattern/HPGauge/06.tga",
                                        "D:/Ymir Work/UI/Pattern/HPGauge/07.tga",
                                    ),
                                },
                            ),
                        },
                        {
                            ## 툴팁을 띄우기 위한 윈도우
                            "name" : "SPGauge_Board",
                            "type" : "window",

                            "x" : 59,
                            "y" : 24,

                            "width" : 95,
                            "height" : 11,

                            "children" :
                            (
                                {
                                    "name" : "SPRecoveryGaugeBar",
                                    "type" : "bar",

                                    "x" : 0,
                                    "y" : 0,
                                    "width" : 95,
                                    "height" : 13,
                                    "color" : 0x550000ff,
                                },
                                {
                                    "name" : "SPGauge",
                                    "type" : "ani_image",

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

                                    "delay" : 6,

                                    "images" :
                                    (
                                        "D:/Ymir Work/UI/Pattern/SPGauge/01.tga",
                                        "D:/Ymir Work/UI/Pattern/SPGauge/02.tga",
                                        "D:/Ymir Work/UI/Pattern/SPGauge/03.tga",
                                        "D:/Ymir Work/UI/Pattern/SPGauge/04.tga",
                                        "D:/Ymir Work/UI/Pattern/SPGauge/05.tga",
                                        "D:/Ymir Work/UI/Pattern/SPGauge/06.tga",
                                        "D:/Ymir Work/UI/Pattern/SPGauge/07.tga",
                                    ),
                                },
                            ),
                        },
                        {
                            ## 툴팁을 띄우기 위한 윈도우
                            "name" : "STGauge_Board",
                            "type" : "window",

                            "x" : 59,
                            "y" : 38,

                            "width" : 95,
                            "height" : 6,

                            "children" :
                            (
                                {
                                    "name" : "STGauge",
                                    "type" : "ani_image",

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

                                    "delay" : 6,

                                    "images" :
                                    (
                                        "D:/Ymir Work/UI/Pattern/STGauge/01.tga",
                                        "D:/Ymir Work/UI/Pattern/STGauge/02.tga",
                                        "D:/Ymir Work/UI/Pattern/STGauge/03.tga",
                                        "D:/Ymir Work/UI/Pattern/STGauge/04.tga",
                                        "D:/Ymir Work/UI/Pattern/STGauge/05.tga",
                                        "D:/Ymir Work/UI/Pattern/STGauge/06.tga",
                                        "D:/Ymir Work/UI/Pattern/STGauge/07.tga",
                                    ),
                                },
                            ),
                        },

                    ),
                },
                {
                    "name" : "Porciento",
                    "type" : "text",
                    "x" : 134,
                    "y" : 3,
                    "text" : "0.00%",
                },
                {
                    "name" : "Progreso",
                    "type" : "progreso",
                    "x" : 155,
                    "y" : 6,

                    "width" : 712,
                    "color" : "loong",
                },
                {
                    "name" : "EXP_Gauge_Board",
                    "type" : "image",

                    "x" : 158,
                    "y" : 15 + Y_ADD_POSITION,

                    "image" : ROOT + "taskbar/exp_gauge.sub",

                    "children" :
                    (
                        {
                            "name" : "EXPGauge_01",
                            "type" : "expanded_image",

                            "x" : 5,
                            "y" : 9,

                            "image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
                        },
                        {
                            "name" : "EXPGauge_02",
                            "type" : "expanded_image",

                            "x" : 30,
                            "y" : 9,

                            "image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
                        },
                        {
                            "name" : "EXPGauge_03",
                            "type" : "expanded_image",

                            "x" : 55,
                            "y" : 9,

                            "image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
                        },
                        {
                            "name" : "EXPGauge_04",
                            "type" : "expanded_image",

                            "x" : 80,
                            "y" : 9,

                            "image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
                        },
                    ),
                },

                ## Mouse Button
                {
                    "name" : "LeftMouseButton",
                    "type" : "button",

                    "x" : 154,
                    "y" : 25,

                    "default_image" : "d:/global/loong/i_1.sub",
                    "over_image" : "d:/global/loong/i_2.sub",
                    "down_image" : "d:/global/loong/i_3.sub",
                },
                {
                    "name" : "RightMouseButton",
                    "type" : "button",

                    "x" : 429,
                    "y" : 25,
                    "horizontal_align":"right",
                    "default_image" : ROOT + "TaskBar/Mouse_Button_Move_01.sub",
                    "over_image" : ROOT + "TaskBar/Mouse_Button_Move_02.sub",
                    "down_image" : ROOT + "TaskBar/Mouse_Button_Move_03.sub",
                },
                
                ## Button
                {
                    "name" : "CharacterButton",
                    "type" : "button",
                    "horizontal_align":"right",
                    "x" : 330,
                    "y" : 28,

                    "tooltip_text" : uiScriptlocaleInfo.TASKBAR_CHARACTER,

                    "default_image" : "d:/global/loong/c_1.sub",
                    "over_image" : "d:/global/loong/c_2.sub",
                    "down_image" : "d:/global/loong/c_3.sub",
                },
                {
                    "name" : "InventoryButton",
                    "type" : "button",

                    "x" : 286,
                    "y" :25,
                    "horizontal_align":"right",
                    "tooltip_text" : uiScriptlocaleInfo.TASKBAR_INVENTORY,

                    "default_image" : "d:/global/loong/i_1.sub",
                    "over_image" : "d:/global/loong/i_2.sub",
                    "down_image" : "d:/global/loong/i_3.sub",
                },
                {
                    "name" : "MessengerButton",
                    "type" : "button",

                    "x" : 251,
                    "y" : 30,
                    "horizontal_align":"right",
                    "tooltip_text" : uiScriptlocaleInfo.TASKBAR_MESSENGER,

                    "default_image" : "d:/global/loong/a_1.sub",
                    "over_image" : "d:/global/loong/a_2.sub",
                    "down_image" : "d:/global/loong/a_3.sub",
                },
                {
                    "name" : "SystemButton",
                    "type" : "button",
                    "horizontal_align":"right",
                    "x" : 210,
                    "y" : 25,

                    "tooltip_text" : uiScriptlocaleInfo.TASKBAR_SYSTEM,

                    "default_image" : "d:/global/loong/cf_1.sub",
                    "over_image" : "d:/global/loong/cf_2.sub",
                    "down_image" : "d:/global/loong/cf_3.sub",
                },
                {
                    "name" : "TrollLocoText",
                    "type" : "text",
                    "horizontal_align":"right",
                    "x" : 150,
                    "y" : 47,
                    "text":'SG',
                },

                ## QuickBar
                {
                    "name" : "quickslot_board",
                    "type" : "window",

                    "x" :210,
                    "y" : 21,
                    # "horizontal_align":"center",
                    "width" : 350,
                    "height" : 37,

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

                            "x" : 115,
                            "y" : 1,
                            "tooltip_text" : uiScriptlocaleInfo.TASKBAR_CHAT,

                            "default_image" : ROOT + "TaskBar/Chat_Button_01.sub",
                            "over_image" : ROOT + "TaskBar/Chat_Button_02.sub",
                            "down_image" : ROOT + "TaskBar/Chat_Button_03.sub",
                        },
                        {
                            "name" : "quick_slot_1",
                            "type" : "grid_table",

                            "start_index" : 0,

                            "x" : -11,
                            "y" : 3,
                            
                            "x_count" : 4,
                            "y_count" : 1,
                            "x_step" : 32,
                            "y_step" : 32,

                            "image" : "d:/ymir work/ui/Public/Slot_Base.sub",
                            "image_r" : 1.0,
                            "image_g" : 1.0,
                            "image_b" : 1.0,
                            "image_a" : 1.0,

                            "children" :
                            (
                                { "name" : "slot_1", "type" : "image", "x" : 3, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/1.sub", },
                                { "name" : "slot_2", "type" : "image", "x" : 35, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/2.sub", },
                                { "name" : "slot_3", "type" : "image", "x" : 67, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/3.sub", },
                                { "name" : "slot_4", "type" : "image", "x" : 99, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/4.sub", },
                            ),
                        },
                        {
                            "name" : "quick_slot_2",
                            "type" : "grid_table",

                            "start_index" : 4,

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

                            "x_count" : 4,
                            "y_count" : 1,
                            "x_step" : 32,
                            "y_step" : 32,

                            "image" : "d:/ymir work/ui/Public/Slot_Base.sub",
                            "image_r" : 1.0,
                            "image_g" : 1.0,
                            "image_b" : 1.0,
                            "image_a" : 1.0,

                            "children" :
                            (
                                { "name" : "slot_5", "type" : "image", "x" : 3, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f1.sub", },
                                { "name" : "slot_6", "type" : "image", "x" : 35, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f2.sub", },
                                { "name" : "slot_7", "type" : "image", "x" : 67, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f3.sub", },
                                { "name" : "slot_8", "type" : "image", "x" : 99, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f4.sub", },
                                
                            ),
                        },            
                        {
                            "name" : "QuickSlotBoard",
                            "type" : "window",

                            "x" : 128+14+128+55,
                            "y" : 0,
                            "width" : 11,
                            "height" : 37,
                            "children" :
                            (
                                {
                                    "name" : "QuickSlotNumberBox",
                                    "type" : "image",                            
                                    "x" : 1,
                                    "y" : 15,
                                    "image" : ROOT + "taskbar/QuickSlot_Button_Board.sub",
                                },
                                {
                                    "name" : "QuickPageUpButton",
                                    "type" : "button",
                                    "tooltip_text" : uiScriptlocaleInfo.TASKBAR_PREV_QUICKSLOT,
                                    "x" : 1,
                                    "y" : 9,
                                    "default_image" : ROOT + "TaskBar/QuickSlot_UpButton_01.sub",
                                    "over_image" : ROOT + "TaskBar/QuickSlot_UpButton_02.sub",
                                    "down_image" : ROOT + "TaskBar/QuickSlot_UpButton_03.sub",
                                },

                                { 
                                    "name" : "QuickPageNumber", 
                                    "type" : "image",                             
                                    "x" : 3, "y" : 15, "image" : "d:/ymir work/ui/game/taskbar/1.sub", 
                                },
                                {
                                    "name" : "QuickPageDownButton",
                                    "type" : "button",
                                    "tooltip_text" : uiScriptlocaleInfo.TASKBAR_NEXT_QUICKSLOT,

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

                                    "default_image" : ROOT + "TaskBar/QuickSlot_DownButton_01.sub",
                                    "over_image" : ROOT + "TaskBar/QuickSlot_DownButton_02.sub",
                                    "down_image" : ROOT + "TaskBar/QuickSlot_DownButton_03.sub",
                                },
            
                            ),
                        },
                    ),
                },
                    ),
                },
            ),
}
 

Hello

                ## Board
                {
                    "name" : "Base_Board_01",
                    "type" : "expanded_image",

                    "x" : 0,
                    "horizontal_align":"center",
                    # "x" : 263,
                    "y" : 5,

                    # "rect" : (0.0, 0.0, float(SCREEN_WIDTH - 263 - 256) / 256.0, 0.0),

                    "image" : "d:/global/loong/barra2.dds",            
                    "children" :
                    (
                

Really #x and # rect?

 

787292068_Nvtelen.png.6faa7b0bbb3398fd29

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.