Dont replace the stock iwd files. Add an iwd file with the same file in it (maps/mp/gametypes/dm.gsc) with a higher prefix (like zzz_my_mod.iwd) to your main folder, or switch to a fs_game.
Dont replace the stock iwd files. Add an iwd file with the same file in it (maps/mp/gametypes/dm.gsc) with a higher prefix (like zzz_my_mod.iwd) to your main folder, or switch to a fs_game.
i replaced iwd file with stock one. I remember i got disconnected while transfering (from laptop to server via ssh), so it must have happened then. now it is replaced and it is working fine. Tnx to all
The error came back and i tryed what Robson sugested..server crashes couse it detects false iwd file :/
dont know what else to do here...anything?
Last edited by bizkit45; 10th November 2013 at 16:32.
can you give me some intel why do i get error in dm.gsc..it is the second errror since i installed server. Do you have any answers. Thanks
******* script runtime error *******
removed entity is not an entity: (file 'maps/mp/gametypes/dm.gsc', line 347)
lpattacknum = attacker getEntityNumber();
*
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 69)
[[level.callbackPlayerKilled]](eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration);
*
started from:
(file 'maps/mp/gametypes/dm.gsc', line 704)
waittillframeend;
*
************************************
********************
ERROR: script runtime error
(see console for details)
(file 'maps/mp/gametypes/dm.gsc', line 704)
********************
----- Server Shutdown -----
Sending heartbeat to cod2master.activision.com
==== ShutdownGame ====
attacker makes a kill, and in that same instant leaves the server. The attacker is no longer valid. The server is then trying to get his entity number, and can't because he has left the server. Hence the error.
I wouldn't worry about it. it is just a small glitch in the game code.
i wouldnt worry about it if server would still be running after this error, but it shuts down.That is why i am trying to find a solution. TY
turn developer off (/rcon developer 0; rcon map_restart) when you make your mod public.
Or change that piece of code a bit so it checks if the attacker is still defined, or make it determine the attacker's entnum earlier on.
bizkit45 (13th November 2013)
Script runtime errors do not shut a server down. They are simply reported, but the server carries on. As IzNoGod has said, make sure you aren't running in developer mode. That is the only explanation for a server shutting down after a runtime error - that you have developer mode switched on.
ok guys. TNAX ALOT. will try this. and report back in day or two.
p.s. : ok, have tryed that but still error. How can i check if i set developer to 0? is there a way to know if it is set to 0?
Last edited by bizkit45; 13th November 2013 at 17:42.
sure, type /rcon developer open console and check what value is set.
bizkit45 (13th November 2013)