Jump to content

[Fix][8477] regenerate power


Auntie Mangos

Recommended Posts

  • Replies 66
  • Created
  • Last Reply

Top Posters In This Topic

This isn't related to the bug that GuruRD discovered. RegenerateAll() isn't called at all when the player the player is dead, so the timer never gets updated when dead. So if someone casts a resurrect spell on you, or you have reincarnate, you can wait 5 minutes before clicking accept and immediately come back to life with +5minutes worth of regenerating health and mana.

So what do you suggest we do to fix this? Is this bug still present?

Link to comment
Share on other sites

This is very important for classes using energy! Another bump from me since in a few days I've seen some other fixes not as major as this one accepted. ^_^

Please stop bumping. It will not help the patch to be accepted, even worse. Unless you have something useful to add (tested and found no bug, tested and found bug, fixe, ...).

I will update the first post with the latest update from nos4r2zod. Thanks for fix.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
Tested and in some special cases it makes players no realy die, they die and regen 1 life than states on a dead can cast state...

Happens to me too.. anyone has a solution for this? It happens just after i put this patch..

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
  • 2 weeks later...

I looked at the patch and did few changes:

* Kicked out dependency on GetMSTime() in regen code

* Added some defines instead of magic values

* Cleanup

I would be very happy if some body can test and report possible regressions agains original patch. I tested it little bit with rogue nad priest and looks ok.

Patch on Pastebin: http://www.pastebin.ca/1543415

Patch on filebeam: http://filebeam.com/800169cae9d3a1efe73d5833930a539e (gzipped patch file)

Patch on github: git pull git://github.com/apoc/mangos.git regen_fix

My changes on patch you can see here: http://alturl.com/p68f

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use