This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?1. I can not say so far when this bug occurs it pretty rare. But the player is null on all my WeaponDamageEntityEvents.
What happened?
Got a npe.
What was supposed to happen?
Get no npe. :O
What version of CrackShot are you using?
v.0.9.7.13
Were there any errors in the console? If so, what were they?
See log.
Please provide your configuration file if necessary.
Attached.
Please have a look into latest.log (I know there are also some other errors, but most of them are in WeaponDamageEntity events.)
It is always in the first line where you do something with a player. so the player must be null.
These NPEs are being thrown in DoomsDayZ, not CrackShot.
There is insufficient information to determine exactly what is being done wrong. I can only suggest reading up on the return values of WeaponDamageEntityEvent, as well as checking if a particular object is null before calling any methods on it.
To post a comment, please login or register a new account.