Yeah, he must have missed some stuff and left things undefined somewhere. After all, he ported the script from SD gametype file to TDM. So, he must have forgotten to initialize the arrays at callback_startgametype.
Printable View
already placed, i forgotten to say:
PHP Code:
thread ordi\_account::init();
thread ordi\_menus::init();
thread maps\mp\gametypes\_serversettings::init();
thread maps\mp\gametypes\_clientids::init();
thread maps\mp\gametypes\_teams::init();
thread maps\mp\gametypes\_weapons::init();
thread maps\mp\gametypes\_scoreboard::init();
thread maps\mp\gametypes\_killcam::init();
thread maps\mp\gametypes\_shellshock::init();
thread maps\mp\gametypes\_hud_teamscore::init();
thread maps\mp\gametypes\_deathicons::init();
thread maps\mp\gametypes\_damagefeedback::init();
thread maps\mp\gametypes\_healthoverlay::init();
thread maps\mp\gametypes\_friendicons::init();
thread maps\mp\gametypes\_spectating::init();
thread maps\mp\gametypes\_grenadeindicators::init();
thread ordi\hud::main();
thread ordi\_pchud::init();
thread ordi\_unknownsoldier::onPlayerConnect();
mhm btw rocky, like you use this acc system, have you ever done "developper 1"?
you will see problems, i am sure ;)
i tested your mod placed on killtube, i did developper 1 and many error ;)
i tried to do a mod zom, nothing of HUD atm, only quickoption and i placed bjuster taunts, i get script runtime error when i do "developper 1", if i open only the console, the server work but if i use V+6+1 (show fps) i get script runtime error
i wouldn't show you my scripts on killtube (because i do not want that other people here, use that) on xfire or teamviewer but i want to know where is the problem, i looked some mods found on internet, with a option menu and i tested, it bug also.HTML Code:******* script runtime error *******
pair 'undefined' and '0' has unmatching types 'undefined' and 'int': (file 'maps/mp/gametypes/_quickmessages.gsc', line 55)
if(self.drawfps == 0)
*
called from:
(file 'maps/mp/gametypes/_zommenus.gsc', line 172)
maps\mp\gametypes\_quickmessages::quickoptions(response);
*
started from:
(file 'maps/mp/gametypes/_zommenus.gsc', line 56)
self waittill("menuresponse", menu, response);
*
************************************
********************
ERROR: script runtime error
(see console for details)
(file 'maps/mp/gametypes/_zommenus.gsc', line 56)
********************
----- Server Shutdown -----
Sending heartbeat to cod2master.activision.com
==== ShutdownGame ====
Going to CS_ZOMBIE for ^2#^5ORDI^2~^0(fr)
0:^2#^5ORDI^2~^0(fr) EXE_DISCONNECTED
---------------------------
so a person can help me, then contact me on xfire and i will show. :)
xfire: ordi37zk
i resolved otherwise:
PHP Code:
if(response == "PO6")
{
self setclientcvar("cg_drawfps", 1);
}