Results 1 to 4 of 4

Thread: Libcod server crash

  1. #1
    Private
    Join Date
    Apr 2020
    Posts
    66
    Thanks
    28
    Thanked 14 Times in 13 Posts

    Libcod server crash

    Hi one of my servers is sometimes crashing with the following error. I'm using the latest version of voron. Any ideas? Looks like a spectator did a kill? How is that possible?

    Code:
    ******* script runtime error *******
    Illegal team string 'spectator'. Must be allies, or axis.: (file 'maps/mp/gametypes/tdm.gsc', line 506)
        teamscore = getTeamScore(attacker.pers["team"]);
                    *
    called from:
    (file 'maps/mp/gametypes/_spawnlogic.gsc', line 757)
     [[level.spawnlogic_oldCallbackPlayerKilled]](
             *
    called from:
    (file 'maps/mp/gametypes/_callbacksetup.gsc', line 93)
     [[level.callbackPlayerKilled]](eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration);
             *
    called from:
    (file 'maps/mp/gametypes/_callbacksetup.gsc', line 90)
    CodeCallback_PlayerKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration)
    *
    called from:
    (file 'maps/mp/gametypes/tdm.gsc', line 350)
       self finishPlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime);
            *
    called from:
    (file 'maps/mp/gametypes/_callbacksetup.gsc', line 83)
     [[level.callbackPlayerDamage]](eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset);
             *
    started from:
    (file 'maps/mp/gametypes/_callbacksetup.gsc', line 64)
    CodeCallback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset)
    *
    ************************************
    ********************
    ERROR: script runtime error
    (see console for details)
    (file 'maps/mp/gametypes/_callbacksetup.gsc', line 64)
    
    ********************

  2. #2
    Private
    Join Date
    Jul 2015
    Location
    Ukraine
    Posts
    10
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Looks like a spectator did a kill? How is that possible?
    Throwing a grenade and join the spectator, for example. You can repeat this and see if it causes an error

  3. The Following User Says Thank You to Dimitrio290 For This Useful Post:

    agribilos (12th February 2023)

  4. #3
    Private
    Join Date
    Apr 2020
    Posts
    66
    Thanks
    28
    Thanked 14 Times in 13 Posts
    I could not reproduce the error. It also not happening so often so it is not a major issue.

  5. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Just add a check there, or a callback upon firing a nade to disappear when the person that threw the nade goes spec.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  6. The Following 2 Users Say Thank You to IzNoGoD For This Useful Post:

    agribilos (12th February 2023),Mitch (13th February 2023)

Posting Permissions

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