MaJeStiC 2 Posted August 7, 2016 Share Posted August 7, 2016 (edited) hello can anyone tell me how to fix this slots bug thanks Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Retro 133 Posted August 7, 2016 Share Posted August 7, 2016 uiscript costumewindow.py , post it there if you don't know how to do it . Link to comment Share on other sites More sharing options...
MaJeStiC 2 Posted August 7, 2016 Author Share Posted August 7, 2016 Just now, Retro said: uiscript costumewindow.py , post it there if you don't know how to do it . import uiScriptLocale import item COSTUME_START_INDEX = item.COSTUME_SLOT_START window = { "name" : "CostumeWindow", "x" : SCREEN_WIDTH - 175 - 140, "y" : SCREEN_HEIGHT - 37 - 565, "style" : ("movable", "float",), "width" : 140, "height" : 180 + 47, "children" : ( { "name" : "board", "type" : "board", "style" : ("attach",), "x" : 0, "y" : 0, "width" : 140, "height" : 180 + 47, "children" : ( { "name" : "TitleBar", "type" : "titlebar", "style" : ("attach",), "x" : 6, "y" : 6, "width" : 130, "color" : "yellow", "children" : ( { "name":"TitleName", "type":"text", "x":60, "y":3, "text":uiScriptLocale.COSTUME_WINDOW_TITLE, "text_horizontal_align":"center"}, ), }, { "name" : "Costume_Base", "type" : "image", "x" : 13, "y" : 38, "image" : "locale/ae/ui/costume/new_costume_bg.jpg", "children" : ( { "name" : "CostumeSlot", "type" : "slot", "x" : 3, "y" : 3, "width" : 127, "height" : 145, "slot" : ( {"index":COSTUME_START_INDEX+0, "x":61, "y":45, "width":32, "height":64}, {"index":COSTUME_START_INDEX+1, "x":61, "y": 8, "width":32, "height":32}, {"index":COSTUME_START_INDEX+2, "x":61, "y":125, "width":32, "height":32}, {"index":COSTUME_START_INDEX+3, "x":10, "y":125, "width":32, "height":32}, {"index":COSTUME_START_INDEX+4, "x":10, "y":5, "width":32, "height":96}, ), }, ), }, ), }, ), } Link to comment Share on other sites More sharing options...
Retro 133 Posted August 7, 2016 Share Posted August 7, 2016 replace this: {"index":COSTUME_START_INDEX+4, "x":10, "y":5, "width":32, "height":96}, with this: {"index":COSTUME_START_INDEX+4, "x":10, "y":10, "width":32, "height":96}, Link to comment Share on other sites More sharing options...
MaJeStiC 2 Posted August 7, 2016 Author Share Posted August 7, 2016 (edited) Just now, Retro said: replace this: {"index":COSTUME_START_INDEX+4, "x":10, "y":5, "width":32, "height":96}, with this: {"index":COSTUME_START_INDEX+4, "x":10, "y":10, "width":32, "height":96}, nothing happend Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Retro 133 Posted August 7, 2016 Share Posted August 7, 2016 replace with this {"index":COSTUME_START_INDEX+4, "x":10, "y":20, "width":32, "height":96}, or replace 20 with even more for example 30 if it doesn't work till it is going down Link to comment Share on other sites More sharing options...
MaJeStiC 2 Posted August 7, 2016 Author Share Posted August 7, 2016 the problem is not with costume take a look again you 'll find shield slot not in right slot and sorry for my english Link to comment Share on other sites More sharing options...
Retro 133 Posted August 7, 2016 Share Posted August 7, 2016 If i remember well i had this problem too , if you use martysama's source the problem could be from protoreader or length.h check if it is like there enum EWearPositions { WEAR_BODY, // 0 WEAR_HEAD, // 1 WEAR_FOOTS, // 2 WEAR_WRIST, // 3 WEAR_WEAPON, // 4 WEAR_NECK, // 5 WEAR_EAR, // 6 WEAR_UNIQUE1, // 7 WEAR_UNIQUE2, // 8 WEAR_ARROW, // 9 WEAR_SHIELD, // 10 WEAR_ABILITY1, // 11 WEAR_ABILITY2, // 12 WEAR_ABILITY3, // 13 WEAR_ABILITY4, // 14 WEAR_ABILITY5, // 15 WEAR_ABILITY6, // 16 WEAR_ABILITY7, // 17 WEAR_ABILITY8, // 18 WEAR_RING1, // : 신규 반지슬롯1 (왼쪽) WEAR_RING2, // : 신규 반지슬롯2 (오른쪽) WEAR_BELT, // : 신규 벨트슬롯 WEAR_MAX = 32 // }; And in protoreader.cpp from db it should be in that order. Link to comment Share on other sites More sharing options...
MaJeStiC 2 Posted August 7, 2016 Author Share Posted August 7, 2016 yes i use this source enum EWearPositions { WEAR_BODY, // 0 WEAR_HEAD, // 1 WEAR_FOOTS, // 2 WEAR_WRIST, // 3 WEAR_WEAPON, // 4 WEAR_NECK, // 5 WEAR_EAR, // 6 WEAR_UNIQUE1, // 7 WEAR_UNIQUE2, // 8 WEAR_ARROW, // 9 WEAR_SHIELD, // 10 WEAR_ABILITY1, // 11 WEAR_ABILITY2, // 12 WEAR_ABILITY3, // 13 WEAR_ABILITY4, // 14 WEAR_ABILITY5, // 15 WEAR_ABILITY6, // 16 WEAR_ABILITY7, // 17 WEAR_ABILITY8, // 18 WEAR_COSTUME_BODY, // 19 WEAR_COSTUME_HAIR, // 20 #ifdef ENABLE_MOUNT_COSTUME_SYSTEM WEAR_COSTUME_MOUNT, //21 #endif #ifdef ENABLE_ACCE_COSTUME_SYSTEM WEAR_COSTUME_ACCE, //22 #endif #ifdef __WEAPON_COSTUME_SYSTEM__ WEAR_COSTUME_WEAPON, //23 #endif #ifdef __EFFECT_SYSTEM__ WEAR_EFFECT_ARMOR, //24 WEAR_EFFECT_WEAPON, //25 #endif WEAR_RING1, //c_Equipment_Ring1 =0 =26 WEAR_RING2, //c_Equipment_Ring2 =1 =27 WEAR_BELT, //c_Equipment_Belt =2 =28 WEAR_MAX = 32 // Link to comment Share on other sites More sharing options...
Retro 133 Posted August 7, 2016 Share Posted August 7, 2016 check protoreader 1 Link to comment Share on other sites More sharing options...
MaJeStiC 2 Posted August 7, 2016 Author Share Posted August 7, 2016 (edited) problem solved thanks now only the belt slot wrong Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
MaJeStiC 2 Posted August 13, 2016 Author Share Posted August 13, 2016 up Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now