Rare bug on WeaponDamageEntityEvent #214


  • New
  • Other
Open
Assigned to shampaggon
  • _ForgeUser10343713 created this issue Jun 22, 2014

    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.

  • _ForgeUser10343713 added an attachment latest.log Jun 22, 2014

    latest.log

  • _ForgeUser10343713 added the tags Other New Jun 22, 2014
  • _ForgeUser10343713 edited description Jun 22, 2014
  • _ForgeUser10343713 posted a comment Jun 22, 2014

    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.

  • Shampaggon posted a comment Jun 22, 2014

    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.