Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: problem with my scripts

  1. #11
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by Rocky View Post
    That is working fine.. i'm using that accounts (you did something wrong )
    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.

  2. #12
    Private
    Join Date
    Aug 2013
    Posts
    95
    Thanks
    13
    Thanked 4 Times in 3 Posts
    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(); 

  3. #13
    Private
    Join Date
    Aug 2013
    Posts
    95
    Thanks
    13
    Thanked 4 Times in 3 Posts
    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
    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
    ---------------------------
    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.
    so a person can help me, then contact me on xfire and i will show.
    xfire: ordi37zk

  4. #14
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by ORDI View Post
    (show fps) i get script runtime error
    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)
    the easiest way to fix this run time error is this:

    PHP Code:
    if(!isDefined(self.drawfps) || (isDefined(self.drawfps) && self.drawfps == 0))
         .... 

  5. #15
    Private
    Join Date
    Aug 2013
    Posts
    95
    Thanks
    13
    Thanked 4 Times in 3 Posts
    i resolved otherwise:
    PHP Code:
    if(response == "PO6")
            { 
                    
    self setclientcvar("cg_drawfps"1);
            } 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •