Re: lagcomp.inc - Fixed lagcomp response; custom weapon damage; serversided damage handling -
Gammix - 27.05.2017
Update:
- Fixed health gain issue reported by Jefff in previous reply.
- Fixed run time error reported by Dokins.
- Self damage doesn't need ProcessDamage, so it has been removed from there.
- Weapon range check added.
Re: lagcomp.inc - Fixed lagcomp response; custom weapon damage; serversided damage handling -
Dokins - 27.05.2017
Thanks Gammix, love it.
Re: lagcomp.inc - Fixed lagcomp response; custom weapon damage; serversided damage handling -
Gammix - 03.06.2017
Quote:
Originally Posted by Uberanwar
my server's injury system is not working properly when using this include
|
What is your Injury system? What's it does and what callbacks does it modify?
Re: lagcomp.inc - Fixed lagcomp response; custom weapon damage; serversided damage handling -
Uberanwar - 03.06.2017
Quote:
Originally Posted by Gammix
What is your Injury system? What's it does and what callbacks does it modify?
|
Here's my injury system, you may refer
here
Re: lagcomp.inc - Fixed lagcomp response; custom weapon damage; serversided damage handling -
Gammix - 04.06.2017
Quote:
Originally Posted by Uberanwar
Here's my injury system, you may refer here
|
What bug(s) are you getting with it?
Also make sure you include "lagcomp.inc" in the end of your libraries list.
Re: lagcomp.inc - Fixed lagcomp response; custom weapon damage; serversided damage handling -
Uberanwar - 05.06.2017
Quote:
Originally Posted by Gammix
What bug(s) are you getting with it?
Also make sure you include "lagcomp.inc" in the end of your libraries list.
|
For instance, I got shot until injured (when health reaches 0) I'd then re-spawn at my last injured position and would be in injured mode.
But after I installed the include, I don't get injured, I think it somehow messes up my OnPlayerDeath callback.
And yes, I have already included lagcomp.inc in the end of my libraries list
Re: lagcomp.inc - Fixed lagcomp response; custom weapon damage; serversided damage handling -
Gammix - 05.06.2017
Do you return 0 in OnPlayerWeaponShot anywhere?
Re: lagcomp.inc - Fixed lagcomp response; custom weapon damage; serversided damage handling -
Uberanwar - 05.06.2017
Quote:
Originally Posted by Gammix
Do you return 0 in OnPlayerWeaponShot anywhere?
|
No I didn't. Oh and I forgot to tell you that I was testing it by myself using a sethealth command (I set my own health to 0) due to my testers are not online at that time. However, I was supposed to be injured though.
Re: lagcomp.inc - Fixed lagcomp response; custom weapon damage; serversided damage handling -
Gammix - 05.06.2017
Quote:
Originally Posted by Uberanwar
No I didn't. Oh and I forgot to tell you that I was testing it by myself using a sethealth command (I set my own health to 0) due to my testers are not online at that time. However, I was supposed to be injured though.
|
Yea i forgot to hook SetPlayerHealth, I'll fix that in the new update.
Re: lagcomp.inc - Fixed lagcomp response; custom weapon damage; serversided damage handling -
Astralis - 07.06.2017
Great include, Gammix.
Re: lagcomp.inc - Fixed lagcomp response; custom weapon damage; serversided damage handling -
verlaj - 01.08.2017
OnPlayerDeath Callback doesn't work while using this.
Re: lagcomp.inc - Fixed lagcomp response; custom weapon damage; serversided damage handling -
HydraHumza - 01.08.2017
Quote:
Originally Posted by verlaj
OnPlayerDeath Callback doesn't work while using this.
|
This library is not in stable version. That much I aware, he is not providing support to this library.
Re: lagcomp.inc - Fixed lagcomp response; custom weapon damage; serversided damage handling -
Gammix - 02.08.2017
Quote:
Originally Posted by Humza
This library is not in stable version. That much I aware, he is not providing support to this library.
|
I am, just don't have free time much. I'll look into it and see what can be done.