PDA

View Full Version : cod2 server error



andreas93swe
15th June 2016, 11:29
Hello i keep getting this error on my server. It only happends wen the server i populated


ERROR: script runtime error
(see console for details)
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 56)

********************
----- Server Shutdown -----
Sending heartbeat to cod2master.activision.com
==== ShutdownGame ====
Going to CS_ZOMBIE for Unknown Soldier
0:Unknown Soldier EXE_DISCONNECTED
Going to CS_ZOMBIE for Dr_Ljuba
1:Dr_Ljuba EXE_DISCONNECTED


Anyone got any idea whats wrong?

Mitch
15th June 2016, 11:53
Run your server with developer set to 1 and post line 55-57 of your _callbacksetup.

andreas93swe
16th June 2016, 18:07
I think i found the problem -.-


^8^0~^7DL^0#^7Poll^0o..^7: im going to crash this server

******* script runtime error *******
Illegal team string 'spectator'. Must be allies, or axis.: (file 'maps/mp/gametypes/tdm.gsc', line 452)
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 69)
[[level.callbackPlayerKilled]](eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration);
*
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 66)
CodeCallback_PlayerKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration)
*
called from:
(file 'maps/mp/gametypes/tdm.gsc', line 336)
self finishPlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime);
*
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 59)
[[level.callbackPlayerDamage]](eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset);
*
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 56)
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 56)

********************
----- Server Shutdown -----
Sending heartbeat to cod2master.activision.com
==== ShutdownGame ====
Going to CS_ZOMBIE for BeastyBoB
1:BeastyBoB EXE_DISCONNECTED
Going to CS_ZOMBIE for ^^00~^^77DL^^00#^^77Poll^^00o..
2:^^00~^^77DL^^00#^^77Poll^^00o.. EXE_DISCONNECTED
Going to CS_ZOMBIE for CRK^2!!!
5:CRK^2!!! EXE_DISCONNECTED


Ant idea to fix this exploit?

IzNoGoD
16th June 2016, 20:18
Yes, disable nadekills in spectator.

andreas93swe
17th June 2016, 09:11
How to turn it off?

IzNoGoD
17th June 2016, 12:55
edit the script so if a kill is made by a grenade and the attacker is a spectator, the damage is not applied.