PDA

View Full Version : Garth Post... Attacker error



GARTH
20th May 2019, 09:39
aggressor makes a slaughter, and in that equivalent moment leaves the server. The assailant is never again substantial. The server is then attempting to get his substance number, and can't on the grounds that he has left the server. Henceforth the mistake.

IzNoGoD
20th May 2019, 17:12
aggressor makes a slaughter, and in that equivalent moment leaves the server. The assailant is never again substantial. The server is then attempting to get his substance number, and can't on the grounds that he has left the server. Henceforth the mistake.

I'm gonna try and un-scramble the google translate in this post:

An attacker kills someone and immediately leaves the server. The attacker is hence undefined. The server is then attempting to get his entity number (getentitynumber()) but fails due to the attacker being undefined. Hence, the server crashes with an error.

maxdamage99
23rd May 2019, 14:03
if(!isDefined(eAttacker) || !isPlayer(eAttacker)) //maybe last is not needed, idk :)
return;

:D:D:D