Hi, I added ENABLE_ADDITIONAL_EQUIPMENT_PAGE and there is a problem with shield slot and unique 1, when i equip shield it's in the unique 1 and for example wind boots are in shield slot. What could be a problem? If you need more files tell me 

gametype.h:
#ifdef ENABLE_ADDITIONAL_EQUIPMENT_PAGE
const DWORD c_Equipment_Body = c_Equipment_Start + 0;
const DWORD c_Equipment_Head = c_Equipment_Start + 1;
const DWORD c_Equipment_Shoes = c_Equipment_Start + 2;
const DWORD c_Equipment_Wrist = c_Equipment_Start + 3;
const DWORD c_Equipment_Weapon = c_Equipment_Start + 4;
const DWORD c_Equipment_Neck = c_Equipment_Start + 5;
const DWORD c_Equipment_Ear = c_Equipment_Start + 6;
const DWORD c_Equipment_Arrow = c_Equipment_Start + 7;
const DWORD c_Equipment_Shield = c_Equipment_Start + 8;
const DWORD c_Equipment_Belt = c_Equipment_Start + 9;
const DWORD c_Equipment_Pendant = c_Equipment_Start + 10;
const DWORD c_Equipment_Glove = c_Equipment_Start + 11;
const DWORD c_Second_Equipment_Body = c_Equipment_Start + 12;
const DWORD c_Second_Equipment_Head = c_Equipment_Start + 13;
const DWORD c_Second_Equipment_Shoes = c_Equipment_Start + 14;
const DWORD c_Second_Equipment_Wrist = c_Equipment_Start + 15;
const DWORD c_Second_Equipment_Weapon = c_Equipment_Start + 16;
const DWORD c_Second_Equipment_Neck = c_Equipment_Start + 17;
const DWORD c_Second_Equipment_Ear = c_Equipment_Start + 18;
const DWORD c_Second_Equipment_Arrow = c_Equipment_Start + 19;
const DWORD c_Second_Equipment_Shield = c_Equipment_Start + 20;
const DWORD c_Second_Equipment_Belt = c_Equipment_Start + 21;
const DWORD c_Second_Equipment_Pendant = c_Equipment_Start + 22;
const DWORD c_Second_Equipment_Glove = c_Equipment_Start + 23;
const DWORD c_Equipment_Second_Start = c_Second_Equipment_Body;
#ifdef ENABLE_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Start = c_Equipment_Start + 24;
const DWORD c_Costume_Slot_Body = c_Costume_Slot_Start + CItemData::COSTUME_BODY;
const DWORD c_Costume_Slot_Hair = c_Costume_Slot_Start + CItemData::COSTUME_HAIR;
#ifdef ENABLE_MOUNT_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Mount = c_Costume_Slot_Start + CItemData::COSTUME_MOUNT;
#endif
#ifdef ENABLE_ACCE_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Acce = c_Costume_Slot_Start + CItemData::COSTUME_ACCE;
#endif
#ifdef AURA_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Weapon = c_Costume_Slot_Start + CItemData::COSTUME_WEAPON;
const DWORD c_Costume_Slot_Aura = c_Costume_Slot_Start + CItemData::COSTUME_AURA;
const DWORD c_Costume_Slot_Count = CItemData::COSTUME_NUM_TYPES;
const DWORD c_Costume_Slot_End = c_Costume_Slot_Start + c_Costume_Slot_Count;
#endif
const DWORD c_New_Equipment_Start = c_Costume_Slot_Start + c_Costume_Slot_Count;
const DWORD c_New_Equipment_Count = 2;
const DWORD c_Equipment_Unique1 = c_New_Equipment_Start + 0;
const DWORD c_Equipment_Unique2 = c_New_Equipment_Start + 1;
#endif
equipmentdialog.py:
import uiScriptLocale
import app
if app.ENABLE_ADDITIONAL_EQUIPMENT_PAGE:
BOARD_WIDTH = 180
BOARD_HEIGHT = 290
window = {
"name" : "EquipmentDialog",
"style" : ("movable", "float",),
"x" : SCREEN_WIDTH - 180,
"y" : 0,
"width" : BOARD_WIDTH,
"height" : BOARD_HEIGHT,
"children" :
(
{
"name" : "Board",
"type" : "board_with_titlebar",
"x" : 0,
"y" : 0,
"width" : BOARD_WIDTH,
"height" : BOARD_HEIGHT,
"title" : "Character Name",
"children" :
(
## base_tab
{
"name" : "base_tab",
"type" : "image",
"x" : 12,
"y" : 33,
"width" : BOARD_WIDTH,
"height" : 25,
"image" : "d:/ymir work/ui/equipment_bg_without_ring_tab00.tga",
},
## Tab Area
{
"name" : "additional_tab",
"type" : "window",
"x" : 12,
"y" : 33,
"width" : BOARD_WIDTH,
"height" : 26,
"children" :
[
{
"name" : "tab_img_01",
"type" : "image",
"x" : 0,
"y" : 0,
"width" : BOARD_WIDTH,
"height" : 25,
"image" : "d:/ymir work/ui/equipment_bg_without_ring_tab01.tga",
},
{
"name" : "tab_img_02",
"type" : "image",
"x" : 0,
"y" : 0,
"width" : BOARD_WIDTH,
"height" : 25,
"image" : "d:/ymir work/ui/equipment_bg_without_ring_tab02.tga",
},
{
"name" : "tab_btn_01",
"type" : "button",
"x" : 0,
"y" : 0,
"width" : 39,
"height" : 25,
"tooltip_text" : uiScriptLocale.EQUIPMENT_SLOT_1,
},
{
"name" : "tab_btn_02",
"type" : "button",
"x" : 39,
"y" : 0,
"width" : 39,
"height" : 25,
"tooltip_text" : uiScriptLocale.EQUIPMENT_SLOT_2,
},
],
},
## equip area
{
"name" : "equipment_window",
"type" : "window",
"x" : 0,
"y" : 56,
"width" : BOARD_WIDTH,
"height" : BOARD_HEIGHT,
"children" :
[
## equipment slots
{
"name":"equipment_base_image",
"type":"image",
"style" : ("attach",),
"x" : 0,
"y" : 0,
"horizontal_align" : "center",
"image" : "d:/ymir work/ui/equipment_bg_without_ring.tga",
"children" :
(
{
"name" : "EquipmentSlot",
"type" : "slot",
"x" : 3,
"y" : 3,
"width" : 150,
"height" : 140,
"slot" :
(
## ARMOR_BODY
{"index":0, "x":39, "y":37, "width":32, "height":64},
## ARMOR_HEAD
{"index":1, "x":39, "y":2, "width":32, "height":32},
## ARMOR_FOOTS
{"index":2, "x":4, "y":99, "width":32, "height":32},
## ARMOR_WRIST
{"index":3, "x":75, "y":67, "width":32, "height":32},
## ITEM_WEAPON
{"index":4, "x":3, "y":3, "width":32, "height":96},
## ARMOR_NECK
{"index":5, "x":114, "y":67, "width":32, "height":32},
## ARMOR_EAR
{"index":6, "x":114, "y":35, "width":32, "height":32},
## WEAPON_QUIVER
{"index":7, "x":114, "y":2, "width":32, "height":32},
## ARMOR_SHIELD
{"index":8, "x":75, "y":35, "width":32, "height":32},
## ITEM_BELT
{"index":9, "x":39, "y":99, "width":32, "height":32},
## ARMOR_PENDANT
{"index":10, "x":75, "y":2, "width":32, "height":32},
## ARMOR_GLOVE
{"index":11, "x":75, "y":99, "width":32, "height":32},
),
},
{
"name" : "unique_slot",
"type" : "slot",
"x" : 3,
"y" : 140,
"width" : 150,
"height" : 36,
"slot" :
(
## ITEM_UNIQUE_LEFT
{"index":0, "x":2, "y":7, "width":32, "height":32},
## ITEM_UNIQUE_RIGHT
{"index":1, "x":39, "y":7, "width":32, "height":32},
),
},
),
},
## dragon_soul_button
{
"name" : "dragon_soul_button",
"type" : "button",
"x" : 18,
"y" : 186,
"tooltip_text" : uiScriptLocale.TASKBAR_DRAGON_SOUL,
"default_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_03.tga",
},
## mall_button
{
"name" : "mall_button",
"type" : "button",
"x" : 53,
"y" : 186,
"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",
},
## premium_private_shop_button
{
"name" : "premium_private_shop_button",
"type" : "button",
"x" : 91,
"y" : 186,
"tooltip_text" : uiScriptLocale.PREMIUM_PRIVATE_SHOP,
"default_image" : "icon/item/private_button_01.tga",
"over_image" : "icon/item/private_button_02.tga",
"down_image" : "icon/item/private_button_03.tga",
},
## costume_button
{
"name" : "costume_button",
"type" : "button",
"x" : 132,
"y" : 186,
"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",
},
],
},
),
},
),
}
else:
window = {
"name" : "EquipmentDialog",
"style" : ("movable", "float",),
"x" : 0,
"y" : 0,
"width" : 180,
"height" : 230,
"children" :
(
{
"name" : "Board",
"type" : "board_with_titlebar",
"x" : 0,
"y" : 0,
"width" : 180,
"height" : 230,
"title" : "Character Name",
"children" :
(
{
"name":"EquipmentBaseImage",
"type":"image",
"style" : ("attach",),
"x" : 0,
"y" : 9,
"horizontal_align" : "center",
"vertical_align" : "center",
"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":0, "x":39, "y":37, "width":32, "height":64},
{"index":1, "x":39, "y":2, "width":32, "height":32},
{"index":2, "x":39, "y":145, "width":32, "height":32},
{"index":3, "x":75, "y":67, "width":32, "height":32},
{"index":4, "x":3, "y":3, "width":32, "height":96},
{"index":5, "x":114, "y":67, "width":32, "height":32},
{"index":6, "x":114, "y":35, "width":32, "height":32},
{"index":7, "x":2, "y":145, "width":32, "height":32},
{"index":8, "x":75, "y":145, "width":32, "height":32},
{"index":9, "x":114, "y":2, "width":32, "height":32},
{"index":10, "x":75, "y":35, "width":32, "height":32},
##{"index":21, "x":2, "y":106, "width":32, "height":32},
##{"index":22, "x":75, "y":106, "width":32, "height":32},
{"index":23, "x":39, "y":106, "width":32, "height":32},
),
},
),
},
),
},
),
}