PatmanSan Unlimited

eXtreme+ Modification for Call Of Duty 5: World at War => X5 CoDWW Bug Reports => Topic started by: Ninou on February 16, 2009, 06:16:49 am

Title: Sabotage crash server
Post by: Ninou on February 16, 2009, 06:16:49 am
After the first point, server crash at intermission.

See my sabotage config:

set scr_sab_bombtimer "30"
set scr_sab_defusetime "5"
set scr_sab_globalbattlechatterprobability "0"
set scr_sab_hotpotato "0"
set scr_sab_numlives "0"
set scr_sab_planttime "3"
set scr_sab_playerrespawndelay "7.5"
set scr_sab_roundlimit "5"
set scr_sab_roundswitch "1"
set scr_sab_scorelimit "3"
set scr_sab_timelimit "10"
set scr_sab_waverespawndelay "0"

What's wrong ?
Title: Re: Sabotage crash server
Post by: Ninou on February 16, 2009, 06:31:20 am
Let see error:

Error: ************************************
********************
ERROR: script runtime error
(see console for details)
cannot cast undefined to bool
********************
----- Server Shutdown -----
==== ShutdownGame (1) ====
Title: Re: Sabotage crash server
Post by: Joker{eXtreme} on February 16, 2009, 09:36:54 am
We need MORE of the console_mp.log -- more of the error details.

Or I can just guess? LOL
Title: Re: Sabotage crash server
Post by: Ninou on February 16, 2009, 06:46:47 pm
6:10 D;2037667087;0;allies;[B69]Ninou--;2037667087;0;allies;[B69]Ninou--;briefcase_bomb_mp;22;MOD_EXPLOSIVE;none
  6:23 ShutdownGame:
  6:23 ------------------------------------------------------------
  6:23 ------------------------------------------------------------

No more information on the log file... I don't understand.
I remember on first release of X4, i've had the same problem after intermission on a sabotage.
So i have to remove sab on map vote system. Not very cool.
Title: Re: Sabotage crash server
Post by: Joker{eXtreme} on February 16, 2009, 07:07:50 pm
Hmmm, ok, zip up your mod exactly as it is right now, and email it to me
Title: Re: Sabotage crash server
Post by: Ninou on February 19, 2009, 11:09:08 am
Do you want all the files or only mp_x5.iwd ?
Title: Re: Sabotage crash server
Post by: SteveDM on February 20, 2009, 12:57:37 pm
Hi joker I have the same prob with SD, sabotage, CTF, this is the log file when the new map start:
===============================================
******* script runtime error *******
type string is not a localized string: (file 'maps/mp/gametypes/_globallogic.gsc', line 4463)
  precacheString( game["strings"][stringNames[index]] );
                                 *
Error: called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 15)
  [[level.callbackStartGameType]]();
          *
Error: started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 10)
CodeCallback_StartGameType()
==================================================

Have you an idea ??
bye fro Italy
Title: Re: Sabotage crash server
Post by: Ninou on February 27, 2009, 09:31:06 am
Joker ?
Title: Re: Sabotage crash server
Post by: Ninou on March 30, 2009, 09:33:01 am
Always the same error:

******* script runtime error *******
cannot cast undefined to bool: (file 'extreme/_ex_main.gsc', line 184)
 if(level.ex_showfriendlyonsight != 0 || level.ex_showenemyonsight) self thread extreme\_ex_AimAt::Start();
                                               *
Error: called from:
(file 'extreme/_ex_main.gsc', line 228)
 if(isPlayer(self)) self thread playerThreads();
                                *
Error: called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 906)
 self extreme\_ex_main::exPostSpawn();  //X5
      *
Error: started from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 895)
 waittillframeend;
 *
Error: ************************************
********************
ERROR: script runtime error
(see console for details)
cannot cast undefined to bool
********************
----- Server Shutdown -----
==== ShutdownGame (1) ====


Any idea for me?
Title: Re: Sabotage crash server
Post by: Ninou on April 06, 2009, 05:32:50 am
Tested with X5 v2.0 and i've the same error!
I think it's my configs...
See the error when switching side after the first point win on sabotage:

******* script runtime error *******
type float is not an int: (file 'maps/mp/gametypes/_globallogic.gsc', line 4755)
 self.score = self.pers["score"];
            *
Error: called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 38)
 [[level.callbackPlayerConnect]]();
         *
Error: started from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 4667)
 waittillframeend;
 *
Error: ************************************
      dvar set cl_paused 0
      dvar set long_blocking_call 0
      dvar set sv_network_warning 0
      dvar set cl_network_warning 0
      dvar set loc_language 1
      dvar set loc_forceEnglish 0
      dvar set cg_subtitles 0
      dvar set language french
      dvar set com_errorTitle Error
      dvar set com_errorMessage script runtime error
(see console for details)
type float is not an int
********************
ERROR: script runtime error
(see console for details)
type float is not an int
********************
----- Server Shutdown -----
==== ShutdownGame (1) ====


gametypes.cfg:

set scr_sab_bombtimer "30"
set scr_sab_defusetime "5"
set scr_sab_globalbattlechatterprobability "0"
set scr_sab_hotpotato "0"
set scr_sab_numlives "0"
set scr_sab_planttime "2.5"
set scr_sab_playerrespawndelay "5"
set scr_sab_roundlimit "0"
set scr_sab_roundswitch "1"
set scr_sab_scorelimit "3"
set scr_sab_timelimit "10"
set scr_sab_waverespawndelay "0"
Title: Re: Sabotage crash server
Post by: Joker{eXtreme} on April 06, 2009, 08:53:15 am
Sorry for the delay guys -- email me over those console_mp.log and your configs ok?
Title: Re: Sabotage crash server
Post by: Joker{eXtreme} on April 06, 2009, 11:15:45 am
Ok, I think I may have found the errors and fixed them

Go here -- http://fpsurl.com/?pv5n58

Download that ZIP, extract.  Upload all the files to your server and overwrite

extreme/_ex_varcache.gsc
maps/mp/gametypes/ ** ALL Gametypes GSC**

Please Report back :)
Title: Re: Sabotage crash server
Post by: Ninou on April 11, 2009, 08:04:11 pm
Huuum, i think it's an update for X5 2.0 and i've kept 1.0 version cause i've many problems with 2.0.
So, modifications crash my server. I think it's rational.
Title: Re: Sabotage crash server
Post by: Joker{eXtreme} on April 11, 2009, 10:57:02 pm
Yes update for X5v2.0

You are running v1.0?
Title: Re: Sabotage crash server
Post by: Ninou on April 12, 2009, 04:56:40 am
Yes, i'm running v1.0. I'd like to change for v2.0 but many many problems... Sorry Joker, i know you work hardly for the mod but at this time i can't put it on my server. I've configured again and again but no result. :s
Title: Re: Sabotage crash server
Post by: Ninou on April 13, 2009, 05:22:20 pm
Can you update for v1.0 please? Just to fix sabotage problem.
Title: Re: Sabotage crash server
Post by: Joker{eXtreme} on April 13, 2009, 05:28:17 pm
Start the server, go in and have a game of SAB -- when it crashes, turn the server OFF, get the console_mp.log and email it to me
Title: Re: Sabotage crash server
Post by: spike-sham69 on May 22, 2009, 12:12:46 pm
I have just upgraded to v2, SAB is also crashing our server, i've had to take SAB gametypes out for now, it's not a custom maps causing it as i also tried it on a stock map.  It crashes as it goes to the screen after the first succesful SAB detonation, says it will swap sides then hangs and server goes down.

I tried the little fix you posted but no different, i suspect you had those files in v2 anyway as i only DL it a few days ago.

I'm getting alot of erros in the console, here's some, there are quite a few more!!!!

******* script runtime error *******
undefined is not an array, string, or vector: (file 'extreme/_ex_loadouts.gsc', line 43)
  self.custom_class[num]["specialty1"] = level.tbl_PerkData[int(self.ex_clientloadout[class].Specialty1_ID)]["reference_full"];
                                                           *
Error: called from:
(file 'extreme/_ex_loadouts.gsc', line 31)
 self loadcustomclass("EX_CUSTOM6", 6);
      *
Error: called from:
(file 'maps/mp/gametypes/_class.gsc', line 511)
 self extreme\_ex_loadouts::loadcustomclasses();
      *
Error: called from:
(file 'maps/mp/gametypes/_class.gsc', line 881)
   self cac_getexdata();
        *
Error: called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 797)
  self maps\mp\gametypes\_class::giveLoadout( self.team, self.class );
       *
Error: called from:
<removed>
Error: called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 3879)
 self waitAndSpawnClient( timeAlreadyPassed );
      *
Error: called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2775)
   self thread [[level.spawnClient]]();
                       *
Error: called from:
(file 'maps/mp/gametypes/_menus.gsc', line 380)
     self [[level.class]](response);
                  *
Error: started from:
(file 'maps/mp/gametypes/_menus.gsc', line 125)
  self waittill("menuresponse", menu, response);

Apologies, it's likely me screwing something up, but your help would be much appreciated.

Thanks
Title: Re: Sabotage crash server
Post by: gamb1tuk on June 07, 2009, 03:24:26 pm
Hi All, We also have this issue with any roundbased gametypes, can get to end of the round as said before then we get the switching sides message, and thats where it ends.

We are running v2.0 and i've applied the patch provided above.

Would really like to get CTF up and running as its our primary gametype..

Props to the work so far..

We need you Joker, You can do it!
Title: Re: Sabotage crash server
Post by: gamb1tuk on June 13, 2009, 05:14:44 pm
Hey Joker, any progress on this issue, i sent you another log a few days ago just incase you missed it.. Thanks again.
Title: Re: Sabotage crash server
Post by: gamb1tuk on July 08, 2009, 12:07:58 pm
Bumpy bumpy please... :/ sorry to be a pain.
Title: Re: Sabotage crash server
Post by: gamb1tuk on August 10, 2009, 04:09:26 am
ECHO echo .....
Title: Re: Sabotage crash server
Post by: Flip on July 10, 2011, 07:48:17 am
Hi

Was there a fix for this problem

I get the same thing with V2.5

Any help will be gratefully appreciated

Thanks In Advance  :)