Custom Damage help
#4

Whenever I see 65535 I don't even have to look at the code anymore because the root cause is always the same: not checking whether killerid/issuerid is actually connected before using it as an array index. If the player damages or kills himself through natural causes such as fall damage, fire or drowning there is no killerid/issuerid. This is represented with INVALID_PLAYER_ID (65535).
Reply


Messages In This Thread
Custom Damage help - by oSAINTo - 15.08.2016, 20:49
Re: Custom Damage help - by Dragony92 - 15.08.2016, 20:52
Re: Custom Damage help - by oSAINTo - 15.08.2016, 20:54
Re: Custom Damage help - by Vince - 15.08.2016, 20:54
Re: Custom Damage help - by oSAINTo - 15.08.2016, 20:58
Re: Custom Damage help - by oSAINTo - 15.08.2016, 21:21
Re: Custom Damage help - by oSAINTo - 15.08.2016, 22:41
Re: Custom Damage help - by oSAINTo - 16.08.2016, 02:26
Re: Custom Damage help - by Shinja - 16.08.2016, 02:33
Re: Custom Damage help - by oSAINTo - 16.08.2016, 06:26

Forum Jump:


Users browsing this thread: 1 Guest(s)