mativp95 0 Posted April 25, 2018 Share Posted April 25, 2018 (edited) Hello, I have a little problem with quiver system. Everything is working fine exept one thing, when I put the item time in navi I get a slot on quiver with gally ( I`m putting limitvalue0: 7 ). Do You have any siggestions how to solve this problem? Cheers Picture with problem Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4946 Posted April 25, 2018 Bot Share Posted April 25, 2018 Search: self.AppendWearableInformation() inside: if item.ITEM_TYPE_WEAPON == itemType: And replace the line below for: if app.ENABLE_NEW_ARROW_SYSTEM: if itemSubType != item.WEAPON_UNLIMITED_ARROW: self.__AppendMetinSlotInfo(metinSlot) else: bHasRealtimeFlag = 0 for i in xrange(item.LIMIT_MAX_NUM): (limitType, limitValue) = item.GetLimit(i) if item.LIMIT_REAL_TIME == limitType: bHasRealtimeFlag = 1 if bHasRealtimeFlag == 1: self.AppendMallItemLastTime(metinSlot[0]) else: self.__AppendMetinSlotInfo(metinSlot) Link to comment Share on other sites More sharing options...
mativp95 0 Posted April 25, 2018 Author Share Posted April 25, 2018 (edited) Unfortunately it did not help, this is my code from the file here. if item.ITEM_TYPE_WEAPON == itemType: self.__AppendLimitInformation() self.AppendSpace(5) if item.WEAPON_FAN == itemSubType: self.__AppendMagicAttackInfo() self.__AppendAttackPowerInfo() else: self.__AppendAttackPowerInfo() self.__AppendMagicAttackInfo() self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot) self.AppendWearableInformation() if app.ENABLE_NEW_ARROW_SYSTEM: if itemSubType != item.WEAPON_UNLIMITED_ARROW: self.__AppendMetinSlotInfo(metinSlot) else: bHasRealtimeFlag = 0 for i in xrange(item.LIMIT_MAX_NUM): (limitType, limitValue) = item.GetLimit(i) if item.LIMIT_REAL_TIME == limitType: bHasRealtimeFlag = 1 if bHasRealtimeFlag == 1: self.AppendMallItemLastTime(metinSlot[0]) else: self.__AppendMetinSlotInfo(metinSlot) @Edit: I get this bug only if I put limittype: 7 (example), the time isn`t showing in description but it passing correctly even when not equipped. When I tried to put limittype: 8 the bug is gone and time shows in description, but it isn`t passing when not equipped (example). Do You have any ideas how to solve it ? Regards Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
mativp95 0 Posted April 28, 2018 Author Share Posted April 28, 2018 BUMP Link to comment Share on other sites More sharing options...
Fr3zy94 60 Posted April 28, 2018 Share Posted April 28, 2018 Make sure dump_proto it is ok. Link to comment Share on other sites More sharing options...
mativp95 0 Posted May 1, 2018 Author Share Posted May 1, 2018 On 4/28/2018 at 11:03 PM, Fr3zy94 said: Make sure dump_proto it is ok. Everything seems to be ok in dump proto Link to comment Share on other sites More sharing options...
mativp95 0 Posted May 2, 2018 Author Share Posted May 2, 2018 Anyone had that problem before? Link to comment Share on other sites More sharing options...
mativp95 0 Posted May 6, 2018 Author Share Posted May 6, 2018 BUMP Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19779 Posted May 7, 2018 Honorable Member Share Posted May 7, 2018 (edited) Once I've met with this problem, the reason was a comma before the new weapon type, nothing else. It was missing from here: Quote string arIAFVSub1[] = { "WEAPON_SWORD", "WEAPON_DAGGER", "WEAPON_BOW", "WEAPON_TWO_HANDED", "WEAPON_BELL", "WEAPON_FAN", "WEAPON_ARROW", "WEAPON_MOUNT_SPEAR", "WEAPON_CLAW", "WEAPON_QUIVER", "WEAPON_BOUQUET" }; The weapon type of the quiver has been overflowed and got 255 as value. You can check it with this code: if app.ENABLE_QUIVER_SYSTEM: import chat chat.AppendChat(1, str((itemType, itemSubType))) if itemSubType != item.WEAPON_QUIVER: self.__AppendMetinSlotInfo(metinSlot) else: bHasRealtimeFlag = 0 for i in xrange(item.LIMIT_MAX_NUM): (limitType, limitValue) = item.GetLimit(i) if item.LIMIT_REAL_TIME == limitType: bHasRealtimeFlag = 1 if bHasRealtimeFlag == 1: self.AppendMallItemLastTime(metinSlot[0]) else: self.__AppendMetinSlotInfo(metinSlot) Edited May 7, 2018 by xP3NG3Rx 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