Results 1 to 5 of 5

Thread: server crash

  1. #1

    Default server crash

    I added a mg32 to a trigger but when it fires the server crashed with Reborn EXCEPTION: BulletAttack - PointersSet! EXCEPTION CODE: -1073741819 what's that...lol

  2. #2
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

    Default

    That's weird, We need some experts .

  3. #3

    Default

    OK I found out what it was, it was something in my weapons swap script it didn't like. I switched it with a different script and it stopped crashing, still would like to know what that "Reborn EXCEPTION: BulletAttack - PointersSet! EXCEPTION CODE: -1073741819" is

  4. #4
    Purple Developer Purple Elephant1au's Avatar
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    1,269

    Default

    It occurs when the system tries to set the owner of the weapon, the player is null.

    From RR ages ago
    Quote Originally Posted by Razo[R]apiD View Post
    This is the place where error occured:
    (and these are first instruction in the function body, even before STWH check)

    Code:
    player = (Player *)owner;                
    ent = (gentity_t *)player->entity_pointer;
    "owner" is a pointer that is passed to BulletAttack function, so it shouldn't be empty, I can always grab owner from weapon pointer.

    The only thing that can cause crash here is:
    1. owner is messed up or NULL
    2. while trying to reach player->entity_pointer it will crash then

    and this is the only possibility. I hope that owner is just NULL sometimes and not some bogus stuff, because it will be harder to detect. If it becomes NULL sometimes, then I'll make additional checks and grab player pointer from weapon pointer, which is also passed to BulletAttack and HAVE TO be correct.

    Purple's Playground
    OBJ :
    103.29.85.127:12203
    xfire: purpleelephant1au
    email: purpleelephant1au@gmail.com
    skydrive: PurpleElephantSkydrive




  5. #5

    Default

    cool I'll look at the trigger see if I put a NULL/ NIL check in it and maybe move the gun to new spot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •