Thread: Fix Error Spam
View Single Post
WatchDogs
Senior Member
Join Date: Oct 2015
Location: Iran
Old 07-12-2017 , 05:51   Re: [PAID][TF2] Fix Error Spam on Premium Mod
Reply With Quote #4

For first spam it's from player_death event when world kills someone (attacker index = 0) so I added a check for attacker in player_death.


For second it was because of 3 arrays with size: 32
I changed the sizes to [MAXPLAYERS + 1].


And for last from here :
Code:
L 05/23/2017 - 18:40:50: [SM] Exception reported: Entity -1 (-1) is invalid
L 05/23/2017 - 18:40:50: [SM] Blaming: premium.smx
L 05/23/2017 - 18:40:50: [SM] Call stack trace:
L 05/23/2017 - 18:40:50: [SM] [0] GetEntProp
L 05/23/2017 - 18:40:50: [SM] [1] Line 1429, premium.sp: Premium
I added a check for GetPlayerWeaponSlot.

Last edited by WatchDogs; 07-12-2017 at 05:52.
WatchDogs is offline