PDA

View Full Version : [HELP] CoD2 zombie mod



lamakak
7th February 2016, 13:23
Hello ,

I have cod2 zombie mod V3.0 by Neo - and i cant run server i had one error in server.gsc i fixed it by just putting missing - ; ... and now when i run server and someone connect on server it just do this error:


called from:
(file 'maps/mp/gametypes/server.gsc', line 228)
self thread maps\mp\gametypes\_healthbar::UpdateHealthBar();
*
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 38)
[[level.callbackPlayerConnect]]();
*
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 35)
CodeCallback_PlayerConnect()
*
************************************
********************
ERROR: script runtime error
(see console for details)
divide by 0
********************
----- Server Shutdown -----
Sending heartbeat to cod2master.activision.cod
==== ShutdownGame ====
---------------------------


File: maps/mp/gametypes/server.gsc, line 224-231 ! Line 224 isBold...

Callback_PlayerConnect()
{

self thread maps\mp\gametypes\_healthbar::Runonspawn();
self thread maps\mp\gametypes\_healthbar::UpdateHealthBar();
self thread maps\mp\gametypes\_zommenus::build_laser2();

self thread maps\mp\gametypes\_mutato::init();



File: maps/mp/gametypes/_callbacksetup.gsc', line 35-39 , line 35 and 39 is Bold!

CodeCallback_PlayerConnect()
{
self endon("disconnect");
[[level.callbackPlayerConnect]]();
}


Thanks for helping me :) and sorry for my bad english ,if u need i can send u full server.gsc and what u will need..

kung foo man
7th February 2016, 13:38
+set developer 0 might work, the actual error is divide by 0

To fix the error, post maps\mp\gametypes\_healthbar.gsc or check it yourself

But when the developer didn't even prevent this error, there might be hundred other errors in developer-mode.

lamakak
7th February 2016, 13:43
+set developer 0 might work, the actual error is divide by 0

To fix the error, post maps\mp\gametypes\_healthbar.gsc or check it yourself

But when the developer didn't even prevent this error, there might be hundred other errors in developer-mode.


Thanks man it's working now when i just put developer 0 :)