Jump to content

Recommended Posts

Hi devs, today I'll share you the fix for Absorbation Rate that doesn't show, if it doesn't.

In uitooltip.py from root search:

 

    if isCostumeAcce != 0:
		if metinSlot != 0:
			absChance = int(metinSlot[1])
				if absChance > 0:
					self.AppendSpace(5)
					self.AppendTextLine(localeInfo.ACCE_ABSORB_CHANCE % (absChance), self.CONDITION_COLOR)

replace with:
 

    if itemVnum >= 85001 and itemVnum <= 85008:	
        if metinSlot != 0:
			absChance = int(metinSlot[1])
				if absChance > 0:
					self.AppendSpace(5)
					self.AppendTextLine(localeInfo.ACCE_ABSORB_CHANCE % (absChance), self.CONDITION_COLOR)

!!!! Keep an eye on TABULATORS.
Image: 
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif/

Rata de absortie: Absorbation Rate :D 
You need to combine two shoulders to show the Absorbation Rate. ;) 

If your shoulders have different CODES in item_proto, put the right codes here:

if itemVnum >= 85001 and itemVnum <= 85008:


 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
  • Love 6

"Don't be a scammer. Don't be a hacker. Don't be a motherfucker. Karma is a bitch"

Link to comment
https://metin2.dev/topic/9201-absorbation-rate-shoulders-fix/
Share on other sites

1107 05:01:06525 :: 
networkModule.py(line:208) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:15) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
uiToolTip.py(line:338) <module>
uiToolTip.py(line:1073) ItemToolTip

networkModule.SetSelectCharacterPhase - <type 'exceptions.NameError'>:name 'itemVnum' is not defined

1107 05:01:06525 :: ============================================================================================================
1107 05:01:06525 :: Abort!!!!

 

:/

  • Love 1

1107 05:01:06525 :: 
networkModule.py(line:208) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:15) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
uiToolTip.py(line:338) <module>
uiToolTip.py(line:1073) ItemToolTip

networkModule.SetSelectCharacterPhase - <type 'exceptions.NameError'>:name 'itemVnum' is not defined

1107 05:01:06525 :: ============================================================================================================
1107 05:01:06525 :: Abort!!!!

 

:/

If your shoulders have different codes, change my codes here:
 

if itemVnum >= 85001 and itemVnum <= 85008:

with your codes
 

if itemVnum >= FIRST_SHOULDER_IN_ITEM_PROTO and itemVnum <= LAST_SHOULDER_IN_ITEM_PROTO:

 

  • Love 1

"Don't be a scammer. Don't be a hacker. Don't be a motherfucker. Karma is a bitch"

Works perfect! thanks a lot.

Now,the only bug that is left,and i know many people have it is when you drag removal sash attribute item(85009) on

the sash,nothing happens. if you can post a fix for that too,that'll be perfect.

kJRya7.jpg

 

vnums 85001 & 85008 doenst work for me xD

 

 

1107 15:15:05149 :: 
networkModule.py(line:208) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:15) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
uiToolTip.py(line:338) <module>
uiToolTip.py(line:1073) ItemToolTip

networkModule.SetSelectCharacterPhase - <type 'exceptions.NameError'>:name 'itemVnum' is not defined

1107 15:15:05149 :: ============================================================================================================
1107 15:15:05149 :: Abort!!!!

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • 7 months later...
  • 1 month later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.