ziad 13 Posted December 12, 2022 Share Posted December 12, 2022 Hello guys , sorry for disturbing . ive got an issue ,when im wearing my belt its not appearing in any window . i did check source client , binary , and inventory windows but im not really sure wheres the problem so if someone can help would be cool thanks Inventorywindow.py Quote { "name" : "EquipmentSlot", "type" : "slot", "x" : 3, # giyili itemleri saða sola çeker "y" : 3, # giyili itemleri aþaðý yukarý çeker "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}, {"index":EQUIPMENT_START_INDEX+18, "x":75, "y":2, "width":32, "height":32}, #Talisman Slot {"index":EQUIPMENT_START_INDEX+25, "x":3, "y":106, "width":32, "height":32}, ## »õ ¹ÝÁö1 {"index":item.EQUIPMENT_NEW_RINGS11, "x":75, "y":106, "width":32, "height":32}, ##{"index":item.EQUIPMENT_RING2, "x":75, "y":106, "width":32, "height":32}, ## »õ º§Æ® {"index":EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32}, ), Gametype.h Quote 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_Unique1 = c_Equipment_Start + 7; const DWORD c_Equipment_Unique2 = c_Equipment_Start + 8; const DWORD c_Equipment_Arrow = c_Equipment_Start + 9; const DWORD c_Equipment_Shield = c_Equipment_Start + 10; #ifdef ENABLE_STOLE_REAL const DWORD c_Equipment_Stole = c_Equipment_Start + 18; #endif #ifdef ENABLE_NEW_EQUIPMENT_SYSTEM const DWORD c_New_Equipment_Start = c_Equipment_Start + 21; #ifdef ENABLE_PENDANT const DWORD c_New_Equipment_Count = 5; #else const DWORD c_New_Equipment_Count = 3; #endif const DWORD c_Equipment_Ring1 = c_New_Equipment_Start + 0; const DWORD c_Equipment_Ring2 = c_New_Equipment_Start + 1; const DWORD c_Equipment_Belt = c_New_Equipment_Start + 2; #ifdef ENABLE_PENDANT const DWORD c_Equipment_Pendant = c_New_Equipment_Start + 4; #endif length.h Quote 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 #ifndef ENABLE_STOLE_REAL WEAR_COSTUME_STOLE, #else WEAR_ABILITY8, #endif WEAR_COSTUME_BODY, // 19 WEAR_COSTUME_HAIR, // 20 WEAR_RING1, // 21 : ½Å±Ô ¹ÝÁö½½·Ô1 (¿ÞÂÊ) #ifdef ENABLE_MOUNT_COSTUME_SYSTEM WEAR_COSTUME_MOUNT = WEAR_RING1, // costume_mount == ring1 #endif WEAR_RING2, // 22 : ½Å±Ô ¹ÝÁö½½·Ô2 (¿À¸¥ÂÊ) #ifdef ENABLE_ACCE_SYSTEM WEAR_COSTUME_ACCE = WEAR_RING2, // costume_acce == ring2 #endif WEAR_BELT, // 23 : ½Å±Ô º§Æ®½½·Ô Link to comment Share on other sites More sharing options...
ziad 13 Posted December 13, 2022 Author Share Posted December 13, 2022 UP Link to comment Share on other sites More sharing options...
Nduli 0 Posted December 17, 2022 Share Posted December 17, 2022 100% sure the index of the slot is wrong, check it Link to comment Share on other sites More sharing options...
ziad 13 Posted December 19, 2022 Author Share Posted December 19, 2022 (edited) @ Nduli its 34 0 on mysql .. i dont think its wrong , if i change its slot it appears normalty .. the issue is from the belt slot it self Edited December 19, 2022 by ziad Link to comment Share on other sites More sharing options...
Nduli 0 Posted December 21, 2022 Share Posted December 21, 2022 (edited) Bro if the item in the inventory exists, if the slot exists ,if in sql the item is present in the belt slot it is 100% sure that it is a binary/client side index error. check better.. also because I too often found myself in these problems because between modifications and additions the sources on that side are always very dirty ( I now no have these problems because i redid them from 0 on my source) Try this.. wear item, check in sql what s his index number of equip.. example: is number 123.. open inventorywindow and set row of belt like : {"index": 123 , "x":39, "y":106, "width":32, "height":32} pack file and check if you can see belt in equipment slot Edited December 21, 2022 by Nduli 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