self.score is not defined.
add before if(self.score < level.scorelimit), this: if(!isDefined(self.score)) self.score = 0;
self.score is not defined.
add before if(self.score < level.scorelimit), this: if(!isDefined(self.score)) self.score = 0;
"Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right
well yea, i am kinda new to this strings. i was hoping for a bit more explanation, 'couse i have no clue what score or to what that is linked to. tnx
edit: i get it, must change the string (add before one)..but where is it located?where can i find file "maps/mp/gametypes/dm.gsc"
edit2: i found out i must decompile the .iwd files. F*** that is too much work could you just tell me in which .iwd file this "dm.gsc" file is. I will replace it with a new one. I cant replace all of them, couse my upload is slow. Tnx
edit3 : oh..so easy RAR thingy
edit4 : replaced iw_07.iwd (where that string was) with new file. Will give it a shot now thanks
Last edited by bizkit45; 10th November 2013 at 13:46.
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
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.