antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More

Archived

This topic is now archived and is closed to further replies.

  • 0
Luffy

Erro ao adicionar 12 inventários

Question

Adicionei no uiinventory

Citar

self.inventoryTab = []

 


self.inventoryTab.append(self.GetChild("Inventory_Tab_01"))

self.inventoryTab.append(self.GetChild("Inventory_Tab_02"))

self.inventoryTab.append(self.GetChild("Inventory_Tab_03"))

self.inventoryTab.append(self.GetChild("Inventory_Tab_04"))

self.inventoryTab.append(self.GetChild("Inventory_Tab_05"))

self.inventoryTab.append(self.GetChild("Inventory_Tab_06"))

self.inventoryTab.append(self.GetChild("Inventory_Tab_07"))

self.inventoryTab.append(self.GetChild("Inventory_Tab_08"))

self.inventoryTab.append(self.GetChild("Inventory_Tab_09"))

self.inventoryTab.append(self.GetChild("Inventory_Tab_10"))

self.inventoryTab.append(self.GetChild("Inventory_Tab_11"))

self.inventoryTab.append(self.GetChild("Inventory_Tab_12"))

 

self.inventoryTab[0].SetEvent(lambda arg=0: self.SetInventoryPage(arg))

self.inventoryTab[1].SetEvent(lambda arg=1: self.SetInventoryPage(arg))

self.inventoryTab[2].SetEvent(lambda arg=2: self.SetInventoryPage(arg))

self.inventoryTab[3].SetEvent(lambda arg=3: self.SetInventoryPage(arg))

self.inventoryTab[4].SetEvent(lambda arg=4: self.SetInventoryPage(arg))

self.inventoryTab[5].SetEvent(lambda arg=5: self.SetInventoryPage(arg))

self.inventoryTab[6].SetEvent(lambda arg=6: self.SetInventoryPage(arg))

self.inventoryTab[7].SetEvent(lambda arg=7: self.SetInventoryPage(arg))

self.inventoryTab[8].SetEvent(lambda arg=8: self.SetInventoryPage(arg))

self.inventoryTab[9].SetEvent(lambda arg=9: self.SetInventoryPage(arg))

self.inventoryTab[10].SetEvent(lambda arg=10: self.SetInventoryPage(arg))

self.inventoryTab[11].SetEvent(lambda arg=11: self.SetInventoryPage(arg))

self.inventoryTab[0].Down()
 

 

Adicionei no inventorywindow

Citar

EQUIPMENT_START_INDEX = 540

 


 

{

                    "name" : "Inventory_Tab_01",

                    "type" : "radio_button",

 

                    "x" : 9,

                    "y" : 33 + 191,

 

                    "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" : 9 + 52,

                    "y" : 33 + 191,

 

                    "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",

                        },

                    ),

                },

                {

                    "name" : "Inventory_Tab_03",

                    "type" : "radio_button",

 

                    "x" : 9 + 104,

                    "y" : 33 + 191,

 

                    "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_3,

 

                    "children" :

                    (

                        {

                            "name" : "Inventory_Tab_03_Print",

                            "type" : "text",

 

                            "x" : 0,

                            "y" : 0,

 

                            "all_align" : "center",

 

                            "text" : "III",

                        },

                    ),

                },

                {

                    "name" : "Inventory_Tab_04",

                    "type" : "radio_button",

 

                    "x" : 9,

                    "y" : 55 + 191,

 

                    "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_4,

 

                    "children" :

                    (

                        {

                            "name" : "Inventory_Tab_04_Print",

                            "type" : "text",

 

                            "x" : 0,

                            "y" : 0,

 

                            "all_align" : "center",

 

                            "text" : "IV",

                        },

                    ),

                },

                {

                    "name" : "Inventory_Tab_05",

                    "type" : "radio_button",

 

                    "x" : 9 + 52,

                    "y" : 55 + 191,

 

                    "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_5,

 

                    "children" :

                    (

                        {

                            "name" : "Inventory_Tab_05_Print",

                            "type" : "text",

 

                            "x" : 0,

                            "y" : 0,

 

                            "all_align" : "center",

 

                            "text" : "V",

                        },

                    ),

                },

                {

                    "name" : "Inventory_Tab_06",

                    "type" : "radio_button",

 

                    "x" : 9 + 104,

                    "y" : 55 + 191,

 

                    "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_6,

 

                    "children" :

                    (

                        {

                            "name" : "Inventory_Tab_06_Print",

                            "type" : "text",

 

                            "x" : 0,

                            "y" : 0,

 

                            "all_align" : "center",

 

                            "text" : "VI",

                        },

                    ),

                },

               

                {

                    "name" : "Inventory_Tab_07",

                    "type" : "radio_button",

 

                    "x" : 9,

                    "y" : 77 + 191,

 

                    "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_7,

 

                    "children" :

                    (

                        {

                            "name" : "Inventory_Tab_07_Print",

                            "type" : "text",

 

                            "x" : 0,

                            "y" : 0,

 

                            "all_align" : "center",

 

                            "text" : "VII",

                        },

                    ),

                },

                {

                    "name" : "Inventory_Tab_08",

                    "type" : "radio_button",

 

                    "x" : 9 + 52,

                    "y" : 77 + 191,

 

                    "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_8,

 

                    "children" :

                    (

                        {

                            "name" : "Inventory_Tab_08_Print",

                            "type" : "text",

 

                            "x" : 0,

                            "y" : 0,

 

                            "all_align" : "center",

 

                            "text" : "VIII",

                        },

                    ),

                },

                {

                    "name" : "Inventory_Tab_09",

                    "type" : "radio_button",

 

                    "x" : 9 + 104,

                    "y" : 77 + 191,

 

                    "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_9,

 

                    "children" :

                    (

                        {

                            "name" : "Inventory_Tab_09_Print",

                            "type" : "text",

 

                            "x" : 0,

                            "y" : 0,

 

                            "all_align" : "center",

 

                            "text" : "IX",

                        },

                    ),

                },

                {

                    "name" : "Inventory_Tab_10",

                    "type" : "radio_button",

 

                    "x" : 9 ,

                    "y" : 99 + 191,

 

                    "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_10,

 

                    "children" :

                    (

                        {

                            "name" : "Inventory_Tab_10_Print",

                            "type" : "text",

 

                            "x" : 0,

                            "y" : 0,

 

                            "all_align" : "center",

 

                            "text" : "X",

                        },

                    ),

                },

                {

                    "name" : "Inventory_Tab_11",

                    "type" : "radio_button",

 

                    "x" : 9 + 52,

                    "y" : 99 + 191,

 

                    "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_11,

 

                    "children" :

                    (

                        {

                            "name" : "Inventory_Tab_11_Print",

                            "type" : "text",

 

                            "x" : 0,

                            "y" : 0,

 

                            "all_align" : "center",

 

                            "text" : "XI",

                        },

                    ),

                },

                {

                    "name" : "Inventory_Tab_12",

                    "type" : "radio_button",

 

                    "x" : 9 + 104,

                    "y" : 99 + 191,

 

                    "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_12,

 

                    "children" :

                    (

                        {

                            "name" : "Inventory_Tab_12_Print",

                            "type" : "text",

 

                            "x" : 0,

                            "y" : 0,

 

                            "all_align" : "center",

 

                            "text" : "XII",

                        },

                    ),

                },
 

 

Adicionei no locale_interface

Citar

 


INVENTORY_PAGE_BUTTON_TOOLTIP_1    1. Inventário

INVENTORY_PAGE_BUTTON_TOOLTIP_2    2. Inventário

INVENTORY_PAGE_BUTTON_TOOLTIP_3    3. Inventário

INVENTORY_PAGE_BUTTON_TOOLTIP_4    4. Inventário

INVENTORY_PAGE_BUTTON_TOOLTIP_5    5. Inventário

INVENTORY_PAGE_BUTTON_TOOLTIP_6    6. Inventário

INVENTORY_PAGE_BUTTON_TOOLTIP_7    7. Inventário

INVENTORY_PAGE_BUTTON_TOOLTIP_8    8. Inventário

INVENTORY_PAGE_BUTTON_TOOLTIP_9    9. Inventário

INVENTORY_PAGE_BUTTON_TOOLTIP_10    10. Inventário

INVENTORY_PAGE_BUTTON_TOOLTIP_11    11. Inventário

INVENTORY_PAGE_BUTTON_TOOLTIP_12    12. Inventário
 

 

Syserr

Citar

 


0623 00:53:08910 :: Hair number 28271 is not exist.

0623 00:53:15236 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
 

 

 

Print:  MRyQdVL.jpg

Tutorial: https://forum.tlthings.net/threads/12-inventarios.84/

Source game: https://forum.tlthings.net/threads/source-metin2.429/

Source Bin: https://forum.tlthings.net/threads/source-limpa-e-atualizada-granny-29-python27.132/

Share this post


Link to post
Share on other sites

0 answers to this question

There have been no answers to this question yet