Jump to content

Sash - Absorption in the inventory


Recommended Posts

System: Shoulder Sash System
With: update_12_09_sash_system

1. Showing bonuses while absorbing - works
2. Absorption - Works
3. Pulled item shows bonuses before absorption
4. The item gives bonuses after absorption
5. Error? Showing bonuses before absorption after absorption in the inventory
 

this_is_bug.gif


The main question: Do you have a fix for this problem?

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

@ManiacRobert

I do not use the original dump_proto. I have other program. If not, it would not work at all. There is no problem with the costume of weapons. The only mistake is the bad showing of the bonus value in the eqpiament. Using item the character receives the same bonuses as shown in the absorption window. I think this problem lies somewhere on the uitooltip side because half of it was fixed after changing the code from TekkForCe.

Link to comment
Share on other sites

  • Premium
10 hours ago, Weles said:

I do not use the original dump_proto. I have other program. If not, it would not work at all. There is no problem with the costume of weapons. The only mistake is the bad showing of the bonus value in the eqpiament. Using item the character receives the same bonuses as shown in the absorption window. I think this problem lies somewhere on the uitooltip side because half of it was fixed after changing the code from TekkForCe.

Don`t be a fool. @ManiacRobert just gave you the correct solution.
 

You have a mismatch somewhere, and it`s like 99% the subtype indexing.

Link to comment
Share on other sites

  • 2 weeks later...
  • 5 months later...
  • Bronze
Am 24.11.2017 um 18:13 schrieb Weles:

I said, the error was lying on the uitooltip side. I had to rewrite one function (it took me about 2h), now everything works fine.

 

3.png4.png5.png

Can you post the function ? I have the same problem... 

Edited by Metin2 Dev
Core X - External 2 Internal

spacer.png

Link to comment
Share on other sites

  • Forum Moderator
vor einer Stunde schrieb dextr:

wich one bro? :| 

can you post the solution?

Maybe that?

Am 23.11.2017 um 23:16 schrieb TekkForCe:

uitooltip.py

 

Search:


elif 0 != isCostumeItem:
			self.__AppendLimitInformation()
			
			if app.ENABLE_SASH_SYSTEM:
				if isCostumeSash:

 

replace with:


elif 0 != isCostumeItem:
			self.__AppendLimitInformation()
			
			if app.ENABLE_SASH_SYSTEM:
				if itemVnum >= 85001 and itemVnum <= 85024:

 

Best regards
Raylee

Link to comment
Share on other sites

  • Bronze
vor 6 Stunden schrieb Raylee:

Maybe that?

Best regards
Raylee

No but i found it.

 

	def __AppendAttributeInformation(self, attrSlot, itemAbsChance = 0, vnum = 0):
		if 0 != attrSlot:
			for i in xrange(player.ATTRIBUTE_SLOT_MAX_NUM):
				type = attrSlot[i][0]
				value = attrSlot[i][1]

				if 0 == value:
					continue

				affectString = self.__GetAffectString(type, value)

				if app.ENABLE_SASH_SYSTEM:
					if vnum >= 85001 and vnum <= 85024 or vnum >= 86001 and vnum <= 86058: ## THIS LINE NEED TO BE CHANGED LIKE THIS
						value = self.CalcSashValue(value, itemAbsChance)
						affectString = self.__GetAffectString(type, value)
				
				if affectString:
					affectColor = self.__GetAttributeColor(i, value)
					self.AppendTextLine(affectString, affectColor)

 

spacer.png

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.