need help for little script on my server hosted


(Bragon) #1

I request your assistance for my server, that made 1 month that this one has problems, it does not carry out the rotation of the maps.

I have all to test and the configuration is the same one that for my former server and it to go well.

I think that the problem comes from the script of launching which they have create.

Could you look at please.

Me I have in the ftp of installation a folder etmain with the basic files and noquarter folder with the basic files and server.cfg and noquarter.cfg , noquarter.cfg is called by server.cfg.

objectivecycle is called by server.cfg but it is in the file etmain as it must be it.

No map added .

Thank you for your invaluable assistance:

the script:

###################################
#!/bin/bash
###################################

GameCP SCI

GameCP © 2003-2005

Server Control Interface 2.0

###################################
IP=194.60.64.50
PORT=27960
SCREEN=rws-77-aresdb-194.60.64.50-27960
QSTATYPE=-rws
BASEPATH=/usr/local/games/et255
HOMEPATH=/home/aresdb/.etwolf
GAMETYPE=noquarter
SERVERCONFIG=server.cfg
STARTMAP=oasis
MAXPLAYERS=20
GAMEID=77
HLTVPORT=27955

STARTMODE="$BASEPATH/etded.x86 +set dedicated 2 +set fs_basepath $BASEPATH +set fs_homepath $HOMEPATH +set fs_game $GAMETYPE +set net_ip $IP +set net_port $PORT +set com_hunkmegs 52 set com_zonemegs 32 +set fs_basepath $BASEPATH +set fs_homepath $HOMEPATH +set sv_pure 0 +exec $SERVERCONFIG +sv_maxclients $MAXPLAYERS +map $STARTMAP +pb_sv_update +map_restart "
###################################
source /usr/local/gcp/sci/sci
###################################


(stealth6) #2

go ask your host for problems with your server, they will know how to fix it normally


(Bragon) #3

thanks but the hoter does not do anything and he says that I know nothing there.
But a modification of script has to regulate the problem, the error came from the line at the end “+map restart”.

But the hosteurs do not answer any more.

Thus I vievement disadvise Nitroser like Hosteur of server.

In more my server lag.


(stealth6) #4

you have to call the cycle last so in the server.cfg:

exec noquarter.cfg
exec objectivecycle.cfg

did you add +map_restart to the end? or did they do that for you?

cause that just restarts the map, but I dont think that it has to be there.
And dont know what kind of a server you want to run, but normally it is sv_pure 1 not sv_pure 0


(Bragon) #5

thank you, but that functions now the error came well from their script (see higher) map restart posed problem; I have to remove it and that functions, but as they are insincerely they do not answer me now I will be to oblige to clear up me to only see whether I am able to connect myself in “ssh” to improve the problem of lag but I do not see too much how I could make not knowing the capacities of their machine.

Finally if not all functions thank you for your assistance.


(Bragon) #6

set dedicated “2”

// PASSWORDS & CLIENTS

set sv_maxclients “20” // number of players including private slots
set g_password “”
set sv_privateclients “”
set sv_privatepassword “”
set rconpassword “private”
set refereePassword “private”

// DL, RATE

set sv_maxRate “13000”
set sv_dl_maxRate “42000”
set sv_allowDownload “1”
set sv_wwwDownload “1”
set sv_wwwBaseURL “http://aresdb2748.nitroserv.net/download/
set sv_wwwDlDisconnected “0”
set sv_wwwFallbackURL “”

sets sv_pure “1”
sets .Email "Clandb@msn.com"

// MOTD ETC
set sv_fullmsg “Le serveur est plein desole”
set sv_hostname “^-^4d^7|^1b^- ^4Fr^7an^1ce Xps”
set server_motd0 "Bienvenue sur le server " // message in right corner of join screen here
set server_motd1 “Spawn kill et Team Kill,”
set server_motd2 “trick jump interdit”
set server_motd3 “^1PB STREAM”
set server_motd4 “bon frag a tous”
set server_motd5 “”

// GAME CVARS

set g_heavyWeaponRestriction “100”
set g_antilag “1”
set g_altStopwatchMode “0”
set g_autofireteams “0”
set g_complaintlimit “3”
set g_ipcomplaintlimit “3”
set g_disableComplaints “7”
set g_fastres “0”
set g_friendlyFire “1”
set g_gametype “2” // Game type should be set from map rotation script
set g_minGameClients “1”
set g_maxlives “0”
set g_alliedmaxlives “0”
set g_axismaxlives “0”
set g_teamforcebalance “1”
set g_noTeamSwitching “0”
set g_voiceChatsAllowed “1”
set g_doWarmup “0”
set g_warmup “30”
set g_inactivity “0”
set g_spectatorInactivity “0”
set g_useralliedrespawntime “15” //temp de reaparition allie
set g_useraxisrespawntime “15” //temp de reaparition axis
set sv_floodProtect “8”
set sv_punkbuster “1”
set sv_minping “5”
set sv_maxping “110”
set match_latejoin “1”
set match_minplayers “0”
set match_mutespecs “0”
set match_readypercent “100”
set match_timeoutcount “0”
set match_warmupDamage “2”
set team_maxplayers “10”
set g_knockback “1000”
set team_nocontrols “1”
set pmove_fixed “1”
set pmove_msec “8”
set g_spinCorpse “1”
set g_dragCorpse “1”
set g_tyranny “1”
set g_dropObj “1”
set g_shortcuts “1”
set g_slashkill “8”
set g_SBCheats “0”
set g_spectator “64”
set g_announcer “7”
set jp_insanity 388 //396
set sv_reconnectlimit 2
set sv_zombietime 5
set sv_pure 1

// WEAPONS

set g_weaponItems “7”
set g_missileHealth “5”
set g_missileSpeed “2500”
set g_missileGravity “2”
set g_bulletReflect “0”
set g_falloff “1”
set g_fastBackStab “0”
set g_weapons “63”
set g_grenadeBonus “3”
set g_mortarBBox “1”
set g_shotgunPellets “12”
set g_flushItems “1”
set g_realism “0”
set g_dropAmmo “2”
set g_dropHealth “3”
set g_throwDistance “2”
set g_adrenaline “9”
set g_noAttackInvul “0”
set g_playDead “1”
set g_privateMessages “1”
set g_painAnims “2”
set g_painChance “25”
set g_spawnInvul “1”
set g_axisSpawnInvul “1”
set g_alliedSpawnInvul “1”
set g_userAlliedRespawnTime “20”
set g_userAxisRespawnTime “20”

// LMS ONLY SETTINGS

set g_lms_teamForceBalance “1”
set g_lms_roundlimit “3”
set g_lms_matchlimit “2”
set g_lms_currentMatch “0”
set g_lms_lockTeams “0”
set g_lms_followTeamOnly “1”

//restriction de derniere minute

set g_medicChargeTime 45000
set g_LTChargeTime 40000
set g_engineerChargeTime 30000
set g_soldierChargeTime 20000
set g_covertopschargetime 30000
set g_redlimbotime 20
set g_bluelimbotime 20
forcecvar r_drawfoliage 1

set g_msgs 3

set g_msgPos 1

seta g_msg1 “No team kill”
seta g_msg2 “No Spawn kill”
seta g_msg3 “^1PBbans streaming”
seta g_msg4 “Respect admins”
seta g_msg5 “and”
seta g_msg6 “others players”
seta g_msg7 “”
seta g_msg8 “”
seta g_msg9 “”

set g_censor “fag,gay,naab,nuub,nOOb,shit,fuck,bitch,asshole,homo,noob,pd,enculer,bite,cul,gueule,suce,nooob,tapette,batard,pute,connard,idiot,camper,campeur;fu;fils;ntm;connar;tg;TG;vpt;mere;mother;father;dick;sister;brother;soeur;”

set g_censorMuteTime “100”

set g_censorNames “hitler,binladen,nazi,Etplayer,sarco,nike,fils,oussama,[/!$.a.D!/],[CEF]”

set g_censorPenalty 127

set g_intermissionTime 30

set g_intermissionReadyPercent 50

set g_mapScriptDirectory “mapscripts”

set g_canisterKick 110

set g_canisterKickOwner 1

set g_classChange 1

set g_constructibleXPsharing 1

set g_doubleJump 0

set g_doubleJumpHeight 1.1

set g_shove 100

set g_shoveNoZ 1

set g_asblock 15

set g_fear 2000

set g_goomba 1

set g_goombaFlags 25

set g_headshot 0

set g_poison 20

set g_poisonSound " sound/player/gurp2.wav"

g_medics 256

set g_hitboxes 31

set g_realHead “1”

set g_forceLimboHealth “75”

set g_hitsounds “1”

set g_multikillTime “1000”

set g_humiliationMessage0 “^dmust be having a bad day!”
set g_humiliationMessage1 “^dis getting his ass kicked!”
set g_humiliationMessage2 “^dis a death magnet!”
set g_humiliationMessage3 "^dneeds remedial combat training!
set g_humiliationMessage4 “^dseems well-aquainted with Death”
set g_humiliationMessage5 “^dstill can’t kill shit!”

set g_humiliationSound0 “sound/spree/humiliation.wav”
set g_humiliationSound1 “sound/spree/humiliation.wav”
set g_humiliationSound2 “sound/spree/humiliation.wav”
set g_humiliationSound3 “sound/spree/humiliation.wav”
set g_humiliationSound4 “sound/spree/humiliation.wav”
set g_humiliationSound5 “sound/spree/humiliation.wav”

set g_multikillSound0 “sound/spree/multikill.wav”
set g_multikillSound1 “sound/spree/ultrakill.wav”
set g_multikillSound2 “sound/spree/monsterkill.wav”
set g_multikillSound3 “sound/spree/megakill.wav”
set g_multikillSound4 “sound/spree/ludicrouskill.wav”

set g_spreeMessage0 “^dis on a ^2Killing Spree!”
set g_spreeMessage1 “^dis on a ^2Rampage!”
set g_spreeMessage2 “^dis ^2Dominating”
set g_spreeMessage3 “^drevels in his ^2Bloodbath!”
set g_spreeMessage4 “^dis a walking ^2Slaughterhouse!”
set g_spreeMessage5 “^dwreaks ^2Havoc ^dupon his foes!”
set g_spreeMessage6 “^dcuts through enemies like a ^2God ^2of ^2War!”
set g_spreeMessage7 “^dis the ^2Prophet of Doom!”
set g_spreeMessage8 “^dunleashes the ^>Shitstorm^d!”
set g_spreeMessage9 “^dis still unleashing the ^>Shitstorm^d!”

set g_spreeSound0 “sound/spree/killingspree.wav”
set g_spreeSound1 “sound/spree/rampage.wav”
set g_spreeSound2 “sound/spree/dominating.wav”
set g_spreeSound3 “sound/spree/unstoppable.wav”
set g_spreeSound4 “sound/spree/godlike.wav”
set g_spreeSound5 “sound/spree/wickedsick.wav”
set g_spreeSound6 “sound/spree/potter.wav”
set g_spreeSound7 “sound/spree/holyshit.wav”
set g_spreeSound8 “sound/spree/holyshit.wav”
set g_spreeSound9 “sound/spree/holyshit.wav”

// team_max[Weapon] - sets maximum amount of perticular weapons per team.
// Set to -1 to allow unlimited, set to 0 to disable the weapon.
choix des arme mettre 0 si couper,-1 illimiter,ou un chiffre pour limiter
set team_maxPanzers “1”
set team_maxMortars “1”
set team_maxRifleGrenades “6”
set team_maxMG42 “1”
set team_maxFlamers “1”
set team_maxShotguns “-1”
set team_maxVenoms “1”
set team_maxArtillery “2” // Do not use -1. Does not allow unlimited! Max allowed is 6.
set team_maxMedics “2”
set team_maxEngineers “-1”
set team_maxFielOpds “2”
set team_maxCovertOps “2”

// g_maxTeamLandmines - sets maximum amount of landmines avilable per team.
// Default: 10
set g_maxTeamLandmines 5

// g_minArtyTime - The time (in seconds) that must elapse between artillery strikes per team.
// Default: 10
set g_minArtyTime 20

// g_minAirstrikeTime - The time (in seconds) that must elapse between airstrikes strikes per team.
// Default: 10
set g_minAirstrikeTime 40

// skill_[Skill] - Sets the amount of XP required to gain a skill level per class.
// Default: “20 50 90 140 200 270 350 440 540”
seta skill_lightWeapons “20 50 90 140 200 270 350 440 540”
seta skill_battleSense “20 50 90 140 200 270 350 440 540”
seta skill_soldier “20 50 90 140 200 270 350 440 540”
seta skill_medic “20 50 90 140 200 270 350 440 540”
seta skill_engineer “20 50 90 140 200 270 350 440 540”
seta skill_fieldops “20 50 90 140 200 270 350 440 540”
seta skill_covertops “20 50 90 140 200 270 350 440 540”
set g_maxLevelBattleSense 10
set g_maxLevelLightWeapons 10
set g_maxLevelSoldier 10
set g_maxLevelMedic 10
set g_maxLevelEngineer 10
set g_maxLevelFieldOp 10
set g_maxLevelCovertOp 10

//XPSaver

set g_XPSave “15”
set g_XPSaveTimeout “0”
set g_XPSaveFile “xpsave.cfg”
set g_XPSaveMaxAge_xp “864000000”
set g_XPSaveMaxAge “6048000000”
set g_XPDecay “0”
set g_XPDecayRate “0.0”
set g_XPDecayFloor “0.0”
set g_maxXP “-1”
set g_damageXP “0”
set g_damageXPLevel “50”

// Killing Spree

set g_KillingSpree “2”
set g_KillingSpreeLevels “5 10 15 20 25 30”
set g_LoseSpreeLevels “10 20 30”

// VOTING

set g_allowVote “0”
set vote_limit “0”
set vote_percent “85”
set vote_allow_comp “0”
set vote_allow_gametype “0”
set vote_allow_kick “0”
set vote_allow_map “0”
set vote_allow_matchreset “0”
set vote_allow_mutespecs “0”
set vote_allow_nextmap “0”
set vote_allow_pub “0”
set vote_allow_referee “0”
set vote_allow_shuffleteams “0”
set vote_allow_swapteams “0”
set vote_allow_friendlyfire “0”
set vote_allow_timelimit “0”
set vote_allow_warmupdamage “1”
set vote_allow_antilag “0”
set vote_allow_balancedteams “1”
set match_timeoutlength “10”
set vote_allow_muting “0”
set g_skills “31”
set g_throwableKnives 1
set g_maxKnives 5
set g_knifeDamage 35
set g_throwKnifeWait 2

// PUNKBUSTER

// sv_punkbuster is a readonly variable. Use +set sv_punkbuster on command line or use the command pb_sv_enable in the console
pb_sv_enable
pb_sv_writecfg

set ip_max_clients “3”
//Description
//Protective CVAR to prevent connection flooding attacks like q3fill. Limits the number of connections per IP.
//Parameters
//Type: integer
//Default: 3

set omnibot_enable “0”
//Description
//Enables Omni-Bots if they are installed on the server.
//Parameters
//Type: boolean
//Default: 0

//omnibot_path “”
//Description
//Must point to the absolute path of where Omni-Bot is installed.
//Parameters
//Type: string
//Default: “”

exec shrubbot.cfg

set g_log “etserver.log” // Game logging
set g_logsync 0
set logfile 2 // Console logging ( 1: enable 2: enable and sync )

// MAP ROTATION

exec objectivecycle.cfg // Objective mode

// WATCHDOG

// in case the game dies with an ERR_DROP
// or any situation leading to server running with no map
//set com_watchdog 10 // defaults 60
set com_watchdog_cmd “exec campaigncycle.cfg” // defaults to quit

and my objctivecycle on etmain directory:

set d1 “set g_gametype 2 ; map sw_oasis_b3 ; set nextmap vstr d2”
set d2 “set g_gametype 2 ; map caen3 ; set nextmap vstr d3”
set d3 “set g_gametype 2 ; map battery_recharged ; set nextmap vstr d4”
set d4 “set g_gametype 2 ; map Goldrush-GA ; set nextmap vstr d5”
set d5 “set g_gametype 2 ; map et_mor ; set nextmap vstr d6”
set d6 “set g_gametype 2 ; map escape2 ; set nextmap vstr d7”
set d7 “set g_gametype 2 ; map xdam2 ; set nextmap vstr d8”
set d8 “set g_gametype 2 ; map eagles2_a6 ; set nextmap vstr d9”
set d9 “set g_gametype 2 ; map SG2_1945_2_CatC ; set nextmap vstr d10”
set d10 “set g_gametype 2 ; map saberpeak ; set nextmap vstr d11”
set d11 “set g_gametype 2 ; map sd4_wl1 ; set nextmap vstr d12”
set d12 “set g_gametype 2 ; map ammodepot ; set nextmap vstr d13”
set d13 “set g_gametype 2 ; map carnage2 ; set nextmap vstr d14”
set d14 “set g_gametype 2 ; map oasis ; set nextmap vstr d15”
set d15 “set g_gametype 2 ; map battery ; set nextmap vstr d16”
set d16 “set g_gametype 2 ; map goldrush ; set nextmap vstr d17”
set d17 “set g_gametype 2 ; map radar ; set nextmap vstr d18”
set d18 “set g_gametype 2 ; map railgun ; set nextmap vstr d19”
set d19 “set g_gametype 2 ; map venice ; set nextmap vstr d20”
set d20 “set g_gametype 2 ; map parisbastilles_b3 ; set nextmap vstr d1”
vstr d1


(stealth6) #7

Well briefly looking over it the first think I see is that you call the objective cycly, thats ok, BUT
in you watchdog you tell it to call up a campaigncycle

And normally when you restart you server watchdog kicks in soon after, so maybe that is the problem so change
set com_watchdog_cmd “exec campaigncycle.cfg” // defaults to quit
to
set com_watchdog_cmd “exec objectivecycle.cfg” // defaults to quit

and see what that gives you