Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

Affect list not updated



  • Premium

Hey guys,

I found a bug with affect shower. When you summon and unsummon your horse, the affect list is not updated.

Horse summoned:


Horse unsummoned:


I will be really glad if someone will find some solution.

Thanks for possible answers!



Edited by ReFresh

I'll be always helpful! 👊 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1
  • Moderator

I can't test this right now in-game, but from a fast check, it seems that hide_horse_state command is sent from the server-side when you unsummon the horse, which is defined in interfaceModule.py as HideHorseState:

	def HideHorseState(self):
		self.affectShower.SetHorseState(0, 0, 0)

	def UpdateHorseState(self, level, health, battery):
		self.affectShower.SetHorseState(level, health, battery)

That means when you unsummon the horse, the SetHorseState function is called with (0, 0, 0) arguments, and there's a condition which check if the level is 0, then set the self.horseImage variable as a null value, without arrange the images.

So, in theory, we just need to call the __ArrangeImageList function after that, and it should be fine, the images will be sorted again.

  • root/uiAffectShower.py

Search for the function:

	def SetHorseState(self, level, health, battery):

Replace it with:

This is the hidden content, please

Edited by VegaS™
Link to comment
Share on other sites

  • 0
	def SetHorseState(self, level, health, battery):
		if level==0:
+			self.__ArrangeImageList()
			image = HorseImage()
			image.SetState(level, health, battery)



Link to comment
Share on other sites

This topic is now closed to further replies.

  • Activity

    1. 1

      Costume shining/costume effect system

    2. 992

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    3. 3

      Biologist Manager (C++ & LUA)

    4. 3

      Visual studio 2022 compiling issue

    5. 63

      Metin2 | Mount System Renewal

    6. 58

      Metin2 2004 Beta Client

    7. 0

      🔥Paradise2 PVP SERVER GLOBAL!! EN-ES-PT 🕐📢Apertura 11 de diciembre 21 horas de España!

  • Recently Browsing

    • No registered users viewing this page.
  • 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.