Jump to content

Recommended Posts

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 by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

  • Bot

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)

 

english_banner.gif

Link to comment
Share on other sites

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 by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Honorable Member

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 by xP3NG3Rx
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

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.