MOH Central

Medal of Honor Series Forum => MOHAA Series: General => Topic started by: twl_viper on August 06, 2008, 10:13:55 AM

Title: Spearhead server crashing
Post by: twl_viper on August 06, 2008, 10:13:55 AM
Hey my Spearhead server has been crashing just about every time (after) an rcon admin/private client leaves the server. anybody seen this before?
Title: Spearhead server crashing
Post by: Soldier Of Ra on August 06, 2008, 02:56:26 PM
What mods do you have installed on your server?

   

   Some admin tools/menu or just a mod might be causing it.
Title: Spearhead server crashing
Post by: twl_viper on August 07, 2008, 02:49:47 AM
Im using Ski's objective mod - Roc's pain mod - a realism mod and the same admin tool that I use on two other servers.
Title: Spearhead server crashing
Post by: Soldier Of Ra on August 07, 2008, 07:49:35 AM
One of these 3 mods is having a conflict, do the elimination test (ie remove one at a time and check for crash, you should find the guilty one) or check all files if they might have the same files, and they're overwriting one and other. If it's not this then it could be the admin tool is having a conflict with one of the other files.
Title: Spearhead server crashing
Post by: Salombo on August 07, 2008, 02:26:36 PM
I would set dev to 2 and recreate the situation "crash" to see exactly what the logs show.
Title: Spearhead server crashing
Post by: twl_viper on August 07, 2008, 07:59:52 PM
will try developer 2 -

   thx
Title: Spearhead server crashing
Post by: Gold {sfx} on August 07, 2008, 10:12:59 PM
its possible that something in your server.cfg could also be crashing your server.i have fixed clan servers with cfg issues like this.I once seen a hardly modded server crash ,just because they used seta instead of set in one of the lines..and it was only crashing on certain stock maps only.just another thing to look at especially if all 3 servers are using the same mods..cfgs may b different?
Title: Spearhead server crashing
Post by: twl_viper on August 07, 2008, 10:19:40 PM
i forget proper use of set vs seta

   when do you use seta?
Title: Spearhead server crashing
Post by: Gold {sfx} on August 08, 2008, 12:44:57 AM
set

   

   Usage : rcon set [variable] [value]

   Sets the value of a variable.

   

   

   seta

   

   Usage : rcon seta [variable] [value]

   Sets the value of a variable and the archive flag so that the value will be saved to the user's Default.cfg file to be loaded each time the game is loaded.

   

   

   only place i have seta in any of my cfg files is dmflags and the sv_allowDownload "0"

   

   your cfg may not be the problem was just suggesting its worth checking:)
Title: Spearhead server crashing
Post by: twl_viper on August 12, 2008, 07:53:10 PM
redid the configs - I've sorted through all my mods to try and see what this might be no luck.

   

   I found this in my unnamed cfg

   

   

   seta ui_dedicated "1"

   seta ui_connectip "209.247.83.3"

   

   

   what are these - never noticed before and not sure how they got assigned to my cfg. the ip is the same server with the problem.
Title: Spearhead server crashing
Post by: Gold {sfx} on August 13, 2008, 01:02:39 AM
twl_viper :
   redid the configs - I've sorted through all my mods to try and see what this might be no luck.

   

   I found this in my unnamed cfg

   

   

   seta ui_dedicated "1" << you ussually get that when running dedicated from your machine..ya can delete it..np

   seta ui_connectip "209.247.83.3" << you ussually get this when connecting to your dedicated from your machine..ya can delete it..np

   

   

   what are these - never noticed before and not sure how they got assigned to my cfg. the ip is the same server with the problem.

   

   

   

   to find whats crashing your server i would do process of elimination starting with sound mod..delete it and test..if console doesnt tell ya anything is prob best option..thats the way i found the seta set problem...we deleted all mods 1st..then put scripts stock..was still crashing so knew had to be cfg problem then.
Title: Spearhead server crashing
Post by: twl_viper on August 20, 2008, 07:11:06 AM
Check this out - been a long ride and still can't get this running strong.

   

   eliminated all mods and the config by itself causes the server to crash. also - a perfectly normal cfg with the tdm to obj mod causes the server to crash. Don't understand it - but duplicated these tests on 2 servers to be sure.

   

   I think server is unstable with the method of running objective on a tdm map. the crash usually occurs on restart or after an admin leaves (we tested with and without admins either way still crashes).

   

   I tried three cfg styles with the mod -

   

   1. a standard cfg - that runs fine on another server (we then set the gametype and called the maps) - crashed after a few maps when admin leaves.

   

   2. the cfg provided with the mod - crashed at restart

   

   3. vstr cfg - crashed at restart

   

   what would be the recomended cfg settings or map settings critical for running these mixed gametype maps without destablizing the server?

   

   thx
Title: Spearhead server crashing
Post by: Klugscheisser on August 20, 2008, 11:57:48 AM
Rather odd, catch anything in the logfile? I've run TDM to FT-OBJ in a vstr on a SH server and never had it crash.
Title: Spearhead server crashing
Post by: Salombo on August 20, 2008, 03:32:14 PM
Are you using a scanner ? Try to run the server without it ... just a thought.
Title: Spearhead server crashing
Post by: twl_viper on August 20, 2008, 04:25:26 PM
I thought this was odd - this message appeared after admins leave - here i leave and the server crashed

   

   

   broadcast: print "<TWL>ViPER{SFX} disconnectedn"
   
   
   Program received signal 11
   

   

   This was common - the bridge is a stock script but saw these errors still worked fine - till restart

   

   

   ----------------------Z-----------------------
   self = bridge_bomb2
   self.target (flak 88 or other) =
      println "self.target.destroyed_model = " self.target.destroyed_model (global/obj_dm.scr, 31)
      println "self.target.destroyed_model = " self.target^
   
   ^~^~^ Script Error: There are 0 entities with targetname ''. You are using a command that requires exactly one.
   
   self.target.destroyed_model = NIL
      println "self.target.target (collision entity) = " self.target.target (global/obj_dm.scr, 32)
      println "self.target.target (collision entity) = " self.target^
   
   ^~^~^ Script Error: There are 0 entities with targetname ''. You are using a command that requires exactly one.
   
   self.target.target (collision entity) = NIL
   self.trigger_name = bridge_explode2
   self.exploder_set = 1
   self.explosion_fx = NIL
   self.explosion_sound = NIL
   self.killarea = groundzero
   ----------------------Z-----------------------
      self.target.collisionent = self.target.target (global/obj_dm.scr, 40)
      self.target.collisionent = self.target^
   
   ^~^~^ Script Error: There are 0 entities with targetname ''. You are using a command that requires exactly one.
   
      self.target.collisionent = self.target.target (global/obj_dm.scr, 40)
      self.target^
   
   ^~^~^ Script Error: There are 0 entities with targetname ''. You are using a command that requires exactly one.
   
      self.target notsolid (global/obj_dm.scr, 41)
      self.target ^
   
   ^~^~^ Script Error: There are 0 entities with targetname ''. You are using a command that requires exactly one.
   
   waittill trigger bridge_explode2
   SV packet **.**.***.**:13151 : getstatus
   SV packet **.**.***.**:13151 : getstatus
   SV packet **.**.***.**:13151 : getstatus
   SV packet **.**.***.**:13151 : getstatus
   
   

   

   

   lots of this - various ips

   

   
SV packet **.**.***.**:13151 : getstatus
   SV packet **.**.***.**:13151 : getstatus
   SV packet **.**.***.**:13151 : getstatus
   SV packet **.**.***.**:13151 : getstatus

   

   

   playermodel loadtiki file errors

   

   

   

   

   

   Yes - use hlsw and CI - ill stop using for a while
Title: Spearhead server crashing
Post by: twl_viper on August 20, 2008, 05:18:47 PM
what does cvar "session" do? how is it used?
Title: Spearhead server crashing
Post by: Salombo on August 21, 2008, 03:59:53 PM
It has to do with the number of times ( maps ) the mam files were loaded. So session #16, will tell you that this is the 16th map in your rotation since the server was started.

   It will count each map/rounds also in roundbased gametype I think, as if each round was a new map.

   

   Here are some handy mam commands:

   

   rcon mam_running       //returns version number running

   rcon mam_register_mod  //returns a string of registered mods

   rcon mam_session       //returns the session number
Title: Spearhead server crashing
Post by: twl_viper on August 28, 2008, 03:09:11 AM
thanks - then "session" cvar is something else ? usually is the same as gametype

   

   I have the server running pretty well except it locks up after about 8 maps with 6 or plus players. It may not crash but disconnects intermitently - if I can manage to get a restart in it recovers.
Title: Spearhead server crashing
Post by: Gold {sfx} on August 28, 2008, 11:23:25 AM
Have you checked to see if the server has any problems without using the private slots? Like remove private slots from cfg?
Title: Spearhead server crashing
Post by: twl_viper on August 28, 2008, 09:16:16 PM
Thanks - ill try that again - it didnt help last time but ive made many changes. hard to determine the problem when it's narrowed down to the mod and the cfg - as they need each other.

   

   

   AAAArgh - it's been over a month - im going to let this go for a while. Maybe someone with a spearhead server would like to take a shot at this - if interested I will send you a modified version of ski's mod with my addition of all the spearhead maps.

   

   let me know

   

   Thanks
Title: Spearhead server crashing
Post by: twl_viper on August 29, 2008, 12:48:02 AM
Been doing team for so long - I feel like objective don't like me.  Here are all the objectives ski made for aa and my addition of the spearhead maps minus [malta and unterseit]. I also modified some of ski's by adding more random locations and modified omaha to norespawn -allies spawn downstairs and inside the skirt.

   

   all objectives have random locations ----

   

   Holland is my favorite with two random objectives - check it out.

   

   Gewitter has an objective for each team [fixed locations]

   

   I am intentionally not providing the cobfig because i believe it is the cause of the crashing -------

   

   

   If anybody can get this working strong on Spearhead I would appreciate the help.

   

   

   

   THX

   

   2328-objectivepak.zip
Title: Spearhead server crashing
Post by: viper1 on August 29, 2008, 12:50:42 AM
vipe change the
self.target
to
level.target
to get rid of those errors :) let me know if that worked..did for me
Title: Spearhead server crashing
Post by: twl_viper on August 29, 2008, 12:58:07 AM
where is self.target defined? I dont see it.

   

   

   edit***

   

   ah in obj_dm1.scr

   

   ok will try this ----- I see Spearhead does not use this script - maybe -- will let you know
Title: Spearhead server crashing
Post by: twl_viper on October 02, 2008, 09:13:32 AM
I wiped my server for the 5th time and put Klugs ft-obj mefy addon on the server - at first I had the same problem, so this time I constructed the config on the config browser provided by gameservers. Here's the thing.

   

   I got an error when inputting the RCON password - it asked for digits only - no alpha. I changed the password to all numeric and the problem seems to have fixed. It seems odd - i run my team servers for some time without the same trouble.
Title: Spearhead server crashing
Post by: twl_viper on November 18, 2008, 07:53:41 PM
I have come to the conclusion that I can not run these mods if any modifications to ubersound or uberdialog are present on my server.

   

   I wonder if this is a linux issue, and would be interested if anyone runs this type of mod on a linux server with sound modifications.
Title: Spearhead server crashing
Post by: Gold {sfx} on November 19, 2008, 02:03:31 AM
post whatever files ya using and i will test them on our spearhead linux server if ya like...our server prob has more sound modifications than any server out there so will be good test:yes
Title: Spearhead server crashing
Post by: twl_viper on November 19, 2008, 02:29:37 AM
here - thx

   

   http://www.mods-r-us.net/forums.php?m=posts&p=33480#33480
Title: Spearhead server crashing
Post by: Gold {sfx} on November 27, 2008, 02:03:19 AM
what gametype was ya testing in 2 or 4 ? will test it 2morrow:yes
Title: Spearhead server crashing
Post by: twl_viper on November 27, 2008, 03:15:49 AM
4
Title: Spearhead server crashing
Post by: Gold {sfx} on December 04, 2008, 07:49:53 PM
hey viper add me to your msn and i will giv you access to our clans linux spearhead server..and we can work together to see if we can recreate or fix the crash
Title: Spearhead server crashing
Post by: Klugscheisser on December 04, 2008, 10:06:11 PM
twl_viper :and put Klugs ft-obj mefy addon on the server

   

   You mean someone actually used that? .... :yes

   

   

   Looking back I could have done it better, but at the time I really wasn't making it for the masses.
Title: Spearhead server crashing
Post by: twl_viper on December 04, 2008, 10:27:06 PM
Gold :
   hey viper add me to your msn and i will giv you access to our clans linux spearhead server..and we can work together to see if we can recreate or fix the crash

   

   thx

   

   I will email you - Ive got the server running pretty good - but it just crashed yesterday just 3 maps after fresh start. I think it has something to do with sound as it really is less reliable when adding a modded ubersound or dialog. maybe ambient or maybe to do with people using cinematic?

   

   would be good to figure out - i just down seem to get a log on whats happening - I get this alot

   

   unknown client command: status

   

   or something like it.
Title: Spearhead server crashing
Post by: twl_viper on December 04, 2008, 10:28:44 PM
Klugscheisser :
   
Quotetwl_viper :and put Klugs ft-obj mefy addon on the server

   

   You mean someone actually used that? .... :yes

   

   

   Looking back I could have done it better, but at the time I really wasn't making it for the masses.

   

   

   Yea I am using it. I am adding my obectives onto the map scripts with a switch lol. but still an occasional crash.
Title: Spearhead server crashing
Post by: Gold {sfx} on December 05, 2008, 04:56:31 PM
ahhh in that case try this one serverside..

   http://files.filefront.com/ubersoundrar/;12561991;/fileinfo.html

   it covers most all the singleplayer maps and the multiplayer bt maps also for spearhead..not saying its 100% perfect but i do not currently know of any missing sounds and our server has been crashfree for years...yes i did say years lol.Anyways if this doesnt work we will get 2gether on msn,yahoo,or teamspeak and figure it out..the ip to our clan server is currently 8.6.15.186
Title: Spearhead server crashing
Post by: twl_viper on December 05, 2008, 09:01:29 PM
ok - thanks, ill try it out and let you know