Jump to content

Metin2 - 4 Inventory Page


Recommended Posts

Can anyone tell me where I can find beltinventorywindow.py? Because in locale/**/ui it isn't.

 

And why I get this error in syserr?

0806 12:32:06665 :: invalid idx 00806 12:32:17812 :: Traceback (most recent call last):


0806 12:32:17812 ::   File "networkModule.py", line 239, in SetGamePhase


0806 12:32:17813 ::   File "game.py", line 105, in __init__


0806 12:32:17813 ::   File "interfaceModule.py", line 287, in MakeInterface


0806 12:32:17813 ::   File "interfaceModule.py", line 171, in __MakeWindows


0806 12:32:17813 ::   File "uiInventory.py", line 253, in __init__


0806 12:32:17813 ::   File "uiInventory.py", line 390, in __LoadWindow


0806 12:32:17813 ::   File "uiInventory.py", line 454, in SetInventoryPage


0806 12:32:17813 :: AttributeError
0806 12:32:17813 :: : 
0806 12:32:17813 :: 'InventoryWindow' object has no attribute 'inventoryPageIndex'
0806 12:32:17813 :: 
Link to comment
Share on other sites

 

Can anyone tell me where I can find beltinventorywindow.py? Because in locale/**/ui it isn't.

 

And why I get this error in syserr?

0806 12:32:06665 :: invalid idx 00806 12:32:17812 :: Traceback (most recent call last):


0806 12:32:17812 ::   File "networkModule.py", line 239, in SetGamePhase


0806 12:32:17813 ::   File "game.py", line 105, in __init__


0806 12:32:17813 ::   File "interfaceModule.py", line 287, in MakeInterface


0806 12:32:17813 ::   File "interfaceModule.py", line 171, in __MakeWindows


0806 12:32:17813 ::   File "uiInventory.py", line 253, in __init__


0806 12:32:17813 ::   File "uiInventory.py", line 390, in __LoadWindow


0806 12:32:17813 ::   File "uiInventory.py", line 454, in SetInventoryPage


0806 12:32:17813 :: AttributeError
0806 12:32:17813 :: : 
0806 12:32:17813 :: 'InventoryWindow' object has no attribute 'inventoryPageIndex'
0806 12:32:17813 :: 

 

Take a look in this part of uiinventory.py

 

af5b256427.png

 

And belinventorywindow.py are in uiscript.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 2
Link to comment
Share on other sites

  • 3 weeks later...

someone can help me?

 

i have problems this

Screen_Shot_08_31_14_at_09_54_AM.jpg

 

i like this and i need

Screen_Shot_08_30_14_at_07_30_PM.jpg

 

Here my inventorywindow.py (DSS button is disabled)

 

74hhwpL.png

import uiScriptLocale
import item

EQUIPMENT_START_INDEX = 180

window = {
	"name" : "InventoryWindow",

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

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

	"width" : 176,
	"height" : 565,

	"children" :
	(
		## Inventory, Equipment Slots
		{
			"name" : "board",
			"type" : "board",
			"style" : ("attach",),

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

			"width" : 176,
			"height" : 565,

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

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

					"width" : 161,
					"color" : "yellow",

					"children" :
					(
						{ "name":"TitleName", "type":"text", "x":77, "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},
										## »õ ¹İÁö1
										##{"index":item.EQUIPMENT_RING1, "x":2, "y":106, "width":32, "height":32},
										## »õ ¹İÁö2
										##{"index":item.EQUIPMENT_RING2, "x":75, "y":106, "width":32, "height":32},
										## »õ º§Æ®
										{"index":item.EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32},
									),
						},
						## MallButton
						{
							"name" : "MallButton",
							"type" : "button",

							"x" : 118,
							"y" : 148,

							"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",
						},
						{
							"name" : "Depo",
							"type" : "button",

							"x" : 118,
							"y" : 107,

							"tooltip_text" : "Normal Depo",
	
							"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" : 10,
                    "y" : 33 + 191,
 
                    "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",
                    "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" : 10 + 31,
                    "y" : 33 + 191,
 
                    "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",
                    "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" : 10 + 62,
                    "y" : 33 + 191,
 
                    "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",
                    "tooltip_text" : "3.Envanter",
 
                    "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" : 10 + 93,
                    "y" : 33 + 191,
 
                    "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",
                    "tooltip_text" : "4.Envanter",
 
                    "children" :
                    (
                        {
                            "name" : "Inventory_Tab_04_Print",
                            "type" : "text",
 
                            "x" : 0,
                            "y" : 0,
 
                            "all_align" : "center",
 
                            "text" : "IV",
                        },
                    ),
                },              

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

					"x" : 8,
					"y" : 246,

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

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

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

					"x":8,
					"y":28,

					"horizontal_align":"center",
					"vertical_align":"bottom",

					"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":-18,
							"y":2,

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

			),
		},
	),
}
Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 2
Link to comment
Share on other sites

 

someone can help me?

 

i have problems this

Screen_Shot_08_31_14_at_09_54_AM.jpg

 

i like this and i need

Screen_Shot_08_30_14_at_07_30_PM.jpg

 

Here my inventorywindow.py (DSS button is disabled)

 

74hhwpL.png

import uiScriptLocale
import item

EQUIPMENT_START_INDEX = 180

window = {
	"name" : "InventoryWindow",

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

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

	"width" : 176,
	"height" : 565,

	"children" :
	(
		## Inventory, Equipment Slots
		{
			"name" : "board",
			"type" : "board",
			"style" : ("attach",),

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

			"width" : 176,
			"height" : 565,

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

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

					"width" : 161,
					"color" : "yellow",

					"children" :
					(
						{ "name":"TitleName", "type":"text", "x":77, "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},
										## »õ ¹İÁö1
										##{"index":item.EQUIPMENT_RING1, "x":2, "y":106, "width":32, "height":32},
										## »õ ¹İÁö2
										##{"index":item.EQUIPMENT_RING2, "x":75, "y":106, "width":32, "height":32},
										## »õ º§Æ®
										{"index":item.EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32},
									),
						},
						## MallButton
						{
							"name" : "MallButton",
							"type" : "button",

							"x" : 118,
							"y" : 148,

							"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",
						},
						{
							"name" : "Depo",
							"type" : "button",

							"x" : 118,
							"y" : 107,

							"tooltip_text" : "Normal Depo",
	
							"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" : 10,
                    "y" : 33 + 191,
 
                    "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",
                    "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" : 10 + 31,
                    "y" : 33 + 191,
 
                    "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",
                    "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" : 10 + 62,
                    "y" : 33 + 191,
 
                    "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",
                    "tooltip_text" : "3.Envanter",
 
                    "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" : 10 + 93,
                    "y" : 33 + 191,
 
                    "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",
                    "tooltip_text" : "4.Envanter",
 
                    "children" :
                    (
                        {
                            "name" : "Inventory_Tab_04_Print",
                            "type" : "text",
 
                            "x" : 0,
                            "y" : 0,
 
                            "all_align" : "center",
 
                            "text" : "IV",
                        },
                    ),
                },              

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

					"x" : 8,
					"y" : 246,

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

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

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

					"x":8,
					"y":28,

					"horizontal_align":"center",
					"vertical_align":"bottom",

					"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":-18,
							"y":2,

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

			),
		},
	),
}

thanks

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

I have a problem with that... I use vanilla core 2.4.1 fix 2 4 inv pages, and i edited the client. All works fine, except if i select inv 3 or 4 and then go back to 1 or 2 it keeps the inv1/2 and 3/4 opened... ><

 

Look at the prints... Before the image i'll say which inventory is open and as you can see, two of them are "selected"

Link to comment
Share on other sites

I have a problem with that... I use vanilla core 2.4.1 fix 2 4 inv pages, and i edited the client. All works fine, except if i select inv 3 or 4 and then go back to 1 or 2 it keeps the inv1/2 and 3/4 opened... ><

 

Look at the prints... Before the image i'll say which inventory is open and as you can see, two of them are "selected"

 

 

Inventory 1

 

40245ca4a3ed7540.png

 
Inventory 2
 
2e799b0ca7b7081e.png
 
Inventory 3
 
17e0c3474e32bcd3.png
 
Inventory 4
 
b1e489402c6e2be4.png

 

As you can see in the red circles, more than 1 inventory page is selected, and if inv page 1 and 4 are selected, i cant go in inv page 1 or 4 again if i dont go to inv page 2 and 3.

 

I think it works like pairs:

   Pair 1: Inv 1 and 2

  Pair 2: Inv 3 and 4

 

I think i'm being clear enough for you to understand, if not, please tell me, i'll try to be more clear >< Please help me guys ><

 

Greetz, RachadoPT

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

 

I have a problem with that... I use vanilla core 2.4.1 fix 2 4 inv pages, and i edited the client. All works fine, except if i select inv 3 or 4 and then go back to 1 or 2 it keeps the inv1/2 and 3/4 opened... ><

 

Look at the prints... Before the image i'll say which inventory is open and as you can see, two of them are "selected"

 

 

Inventory 1

 

40245ca4a3ed7540.png

 
Inventory 2
 
2e799b0ca7b7081e.png
 
Inventory 3
 
17e0c3474e32bcd3.png
 
Inventory 4
 
b1e489402c6e2be4.png

 

As you can see in the red circles, more than 1 inventory page is selected, and if inv page 1 and 4 are selected, i cant go in inv page 1 or 4 again if i dont go to inv page 2 and 3.

 

I think it works like pairs:

   Pair 1: Inv 1 and 2

  Pair 2: Inv 3 and 4

 

I think i'm being clear enough for you to understand, if not, please tell me, i'll try to be more clear >< Please help me guys ><

 

Greetz, RachadoPT

 

 

http://metin2dev.org/board/topic/791-metin2-4-inventory-page/page-7#entry14825

 

Try this.It's working for me.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

 

 

I have a problem with that... I use vanilla core 2.4.1 fix 2 4 inv pages, and i edited the client. All works fine, except if i select inv 3 or 4 and then go back to 1 or 2 it keeps the inv1/2 and 3/4 opened... ><

 

Look at the prints... Before the image i'll say which inventory is open and as you can see, two of them are "selected"

 

 

Inventory 1

 

40245ca4a3ed7540.png

 
Inventory 2
 
2e799b0ca7b7081e.png
 
Inventory 3
 
17e0c3474e32bcd3.png
 
Inventory 4
 
b1e489402c6e2be4.png

 

As you can see in the red circles, more than 1 inventory page is selected, and if inv page 1 and 4 are selected, i cant go in inv page 1 or 4 again if i dont go to inv page 2 and 3.

 

I think it works like pairs:

   Pair 1: Inv 1 and 2

  Pair 2: Inv 3 and 4

 

I think i'm being clear enough for you to understand, if not, please tell me, i'll try to be more clear >< Please help me guys ><

 

Greetz, RachadoPT

 

 

http://metin2dev.org/board/topic/791-metin2-4-inventory-page/page-7#entry14825

 

Try this.It's working for me.

 

I did it and now when the character is loading, when i enter ingame, the client closes. There is the syserr:

 

0903 16:46:09936 :: 
networkModule.py(line:200) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:29) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
interfaceModule.py(line:14) <module>
system.py(line:130) __pack_import
 
networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:expected an indented block (uiInventory.py, line 457)
 
0903 16:46:09936 :: ============================================================================================================
0903 16:46:09936 :: Abort!!!!

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

 

 

 

I have a problem with that... I use vanilla core 2.4.1 fix 2 4 inv pages, and i edited the client. All works fine, except if i select inv 3 or 4 and then go back to 1 or 2 it keeps the inv1/2 and 3/4 opened... ><

 

Look at the prints... Before the image i'll say which inventory is open and as you can see, two of them are "selected"

 

 

Inventory 1

 

40245ca4a3ed7540.png

 
Inventory 2
 
2e799b0ca7b7081e.png
 
Inventory 3
 
17e0c3474e32bcd3.png
 
Inventory 4
 
b1e489402c6e2be4.png

 

As you can see in the red circles, more than 1 inventory page is selected, and if inv page 1 and 4 are selected, i cant go in inv page 1 or 4 again if i dont go to inv page 2 and 3.

 

I think it works like pairs:

   Pair 1: Inv 1 and 2

  Pair 2: Inv 3 and 4

 

I think i'm being clear enough for you to understand, if not, please tell me, i'll try to be more clear >< Please help me guys ><

 

Greetz, RachadoPT

 

 

http://metin2dev.org/board/topic/791-metin2-4-inventory-page/page-7#entry14825

 

Try this.It's working for me.

 

I did it and now when the character is loading, when i enter ingame, the client closes. There is the syserr:

 

0903 16:46:09936 :: 
networkModule.py(line:200) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:29) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
interfaceModule.py(line:14) <module>
system.py(line:130) __pack_import
 
networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:expected an indented block (uiInventory.py, line 457)
 
0903 16:46:09936 :: ============================================================================================================
0903 16:46:09936 :: Abort!!!!

 

 

Post your uiinventory.py

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

 

 

 

 

I have a problem with that... I use vanilla core 2.4.1 fix 2 4 inv pages, and i edited the client. All works fine, except if i select inv 3 or 4 and then go back to 1 or 2 it keeps the inv1/2 and 3/4 opened... ><

 

Look at the prints... Before the image i'll say which inventory is open and as you can see, two of them are "selected"

 

 

Inventory 1

 

40245ca4a3ed7540.png

 
Inventory 2
 
2e799b0ca7b7081e.png
 
Inventory 3
 
17e0c3474e32bcd3.png
 
Inventory 4
 
b1e489402c6e2be4.png

 

As you can see in the red circles, more than 1 inventory page is selected, and if inv page 1 and 4 are selected, i cant go in inv page 1 or 4 again if i dont go to inv page 2 and 3.

 

I think it works like pairs:

   Pair 1: Inv 1 and 2

  Pair 2: Inv 3 and 4

 

I think i'm being clear enough for you to understand, if not, please tell me, i'll try to be more clear >< Please help me guys ><

 

Greetz, RachadoPT

 

 

http://metin2dev.org/board/topic/791-metin2-4-inventory-page/page-7#entry14825

 

Try this.It's working for me.

 

I did it and now when the character is loading, when i enter ingame, the client closes. There is the syserr:

 

0903 16:46:09936 :: 
networkModule.py(line:200) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:29) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
interfaceModule.py(line:14) <module>
system.py(line:130) __pack_import
 
networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:expected an indented block (uiInventory.py, line 457)
 
0903 16:46:09936 :: ============================================================================================================
0903 16:46:09936 :: Abort!!!!

 

 

Post your uiinventory.py

 

 

Well, forget it >< I've put the tabs in a wrong way. Now it's working fine dude. Thank you :) +1 ;) 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

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.