how to set/change time-/fraglimit on dedicated server?

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

how to set/change time-/fraglimit on dedicated server?

Postby pete.dawgg » Tue Mar 11, 2008 6:51 pm

i'm running a dedicated server (trying to) and want to set an arbitrary time- or fraglimit. no matter what i put into the server.cfg it's always only one minute.
how can i set an arbitrary fraglimit and completely disable the timelimit (and maybe vice-versa)?
this is the (whole) server.cfg:
Code: Select all
set "port" "26000"
set "hostname" "D4W99ze N3XD3D"
set "sv_public" "0"
set "sv_maxrate" "1000000"
set "sv_motd" "Step in & get FR4993D"
set "sys_ticrate" "0.01"
set "g_gametype" "ctf"
set "log_file" "server.log"

// frag-/timelimit
set "g_timelimit_override" "1"
set "g_fraglimit_override" "1"
set "g_timelimit" "0"
set "g_fraglimit" "100"

set "sv_clientcommands" "1"
set "sv_clientcommands_password" "sick-redd"
set "rcon_password" "N3X1"

set "g_grappling_hook" "0"

set "g_balance_teams" "0"
set "g_balance_teams_force" "0"

set "sv_vote_commands" "restart timelimit fraglimit chmap g_grappling_hook sv_defaultplayer_fbskin_green s
v_defaultplayer_fbskin_red sv_defaultplayer_fbskin_orange sv_defaultplayer_fbskin_off"
set "sv_vote_call" "1"
set "sv_vote_master" "1"
set "sv_vote_timeout" "300"
set "sv_vote_wait" "120"

set "sv_ready_restart" "0"
set "sv_autoscreenshot" "0"

set "g_antilag" "1"

set "sv_defaultcharacter" "0"
set "sv_defaultplayermodel" "models/player/nexus.zym"
set "sv_defaultplayerskin" "0"
set "g_fullbrightplayers" "1"
set "g_fullbrightitems" "1"

set "bot_number" "8"
set "skill" "6"
set "minplayers" "10"
set "maxplayers" "12"
set "g_maxplayers" "8"

// 3 ctf-maps
set "g_maplist" "basementctf dismal runningmanctf"

//set "g_maplist" "dm_nexdm01 dm_nexdm02 dm_nexdm03 dm_nexdm04 dm_nexdm05 dm_nexdm06 dm_nexdm07 dm_nexdm08
dm_nexdm09 dm_nexdm10 dm_nexdm11 dm_nexdm12 dm_nexdm13 dm_nexdm14 dm_nexdm15 dm_nexdm16 dm_nexdm17 dm_nex
dm18 dm_nexdm18_1on1remix dm_nexdmextra1 dm_nexdmextra2"
set "g_maplist_selectrandom" "0"

set "g_maplist_votable" "0"

set "sv_ready_restart" "1"

alias "set_first" "set $1 $2"
set_first "g_maplist_first" "$g_maplist"
alias "startmap_dm" "chmap $g_maplist_first


the frag-/timelimit-part does not change anything.
(it's a lan-only dedicated linux-server for 2 ppl during breaks at work)
thank you for your help!
DUMM KLICKT GUT.
pete.dawgg
Newbie
 
Posts: 6
Joined: Tue Mar 11, 2008 10:30 am

Postby esteel » Tue Mar 11, 2008 7:20 pm

Well first of all i'd advice you to CHANGE those passwords ASAP in case they are real, which i'm not sure off :D i doubt you want anyone to know your passwords.

Then maybe you should use the files in Docs/server (i take it you already have 2.4 from the g_maplist) which have changed quite a lot since the days when stuff like set_first in that config file was needed.

Then again the variables timelimit/fraglimit are not used (only during a match/map) so use fraglimit_override / timelimit_override instead (0 = no limit)
i wonder why you use g_timelimit_override 1 and even more so.. why it seems to work???? g_timelimit / g_fraglimit is just as wrong.

BTW i edited server.cfg for 2.4.1 to make it more logical...
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby pete.dawgg » Wed Mar 12, 2008 1:06 pm

thx for the quick answer.

Well first of all i'd advice you to CHANGE those passwords ASAP in case they are real, which i'm not sure off

thx for the concern :wink: but they're not real and i doubt anyone reading these forums might ever have access to the network these boxes are in.

i don't know much (==sh*t) about nexuiz-server and i gathered all the info i got from different forums/posts that do not always state the version the configs are for. i also read the docs but in my case that didn't help:
Code: Select all
ice@gen2-new ~ $ bzcat /usr/share/doc/nexuiz-2.4/server/* | grep -iE 'timelimit|fraglimit'
//sv_vote_commands "restart timelimit fraglimit chmap gotomap g_grappling_hook sv_defaultplayer_fbskin_green sv_defaultplayer_fbskin_red sv_defaultplayer_fbskin_orange sv_defaultplayer_fbskin_off" // players can vote for those commands or use them if they are masters


i thought timelimit_override was boolean so i "switched it on" and set it to a value (or so i thought).

so use fraglimit_override / timelimit_override instead (0 = no limit)

this works for time but not for frags;
Code: Select all
set "timelimit_override" "0"
set "fraglimit_override" "100"
in my server.cfg disables the timelimit but frags ist still at 80 (acc. to server.log; did not check in IN the game)

i'd like to set up the server so it just changes maps after, say, 100 frags (but i could live with 80, too).
DUMM KLICKT GUT.
pete.dawgg
Newbie
 
Posts: 6
Joined: Tue Mar 11, 2008 10:30 am

Postby esteel » Wed Mar 12, 2008 1:45 pm

No the _override variables are NOT boolean.. they specify the time/points limit to use!
so timelimit_override 1 would be timelimit of 1 minute!

timelimit_override 0
fraglimit_override 0
would mean play the map forever

timelimit_override 10
fraglimit_override 0
would mean play the map for 10 minutes, no matter how many frags / points there are

timelimit_override 0
fraglimit_override 100
would mean play the map for ever or someone / a team gets 100 frags / points.
I have no idea why you think it would stop at 80. However note that in modes like CTF or KH captures also count as frags..

timelimit_override 10
fraglimit_override 100
would mean play the map for at most 10 minutes or till someone / a team gets 100 frags / points.

I reworded the server.cfg for 2.4.1 a bit to make stuff like this clearer. Maybe i should make this frag/timelimit even clearer? the current version looks like this:
Code: Select all
// A setting needs to be surrounded with " if it contains special
// characters like space, semicolon (seperates commands) or starts
// with // (begins a comment for the rest of the line or next
// semicolon).  While just "" means 'no/empty setting".

/////////////////////////////////////////////////////////////////////
// Everything has some sensible defaults so you do NOT really need to
// change anything.  But here are some settings you SHOULD change to
// make it 'YOUR' server.  IF so remove the // from the line start and
// change them to your liking.

//hostname "Nexuiz Server"  // this name will appear on the server list
//sv_motd ""    // this message (unless "") is displayed to players on connect
//maxplayers 8  // number of players allowed on the server
//port 26000    // the port used by the server
//sv_public 1   // 0 if the server should not be on the public servers list
//log_file server.log // server console output will also be copied to this file

// List of maps to play on the server.  Set to "" to autodetect (which would enumerate ALL maps.  Maps that don't support the current game mode will be skipped, so you don't need to remove them here.
//g_maplist "aggressor aneurysm basement basementctf bleach bloodprison bloodprisonctf bluesky darkzone dieselpower dismal downer evilspace farewell final_rage reslimed ruiner runningman runningman_1on1remix runningmanctf silvercity skyway slimepit soylent starship stormkeep strength toxic warfare"
//g_maplist_shuffle 1           // 0 always selects the next map out of g_maplist (but then set better set g_maplist_votable 0 below to prevent repetitive votes), 1 will select random maps each time
//g_maplist_mostrecent_count 3  // number of maps that have to be played before a map can be repeated

// LIMITS: how long a match will last before the next map starts (please note that the variables fraglimit/timelimit can NOT be globally used for this but only DURING a match is being played)
//seta timelimit_override -1        // global timelimit
//seta fraglimit_override -1        // global fraglimit
//seta g_ctf_capture_limit -1       // frag/capture limit for CTF
//seta g_domination_point_limit -1  // frag/point limit for DOM
//seta g_runematch_point_limit -1   // frag/point limit for RUNE
//seta g_keyhunt_point_limit -1     // frag/point limit for KH

// GAME MODE: what type of server do you want to host? Only uncomment ONE of these.
//g_dm 1          // deathmatch
//g_tdm 1         // team deathmatch
//g_ctf 1         // capture the flag
//g_domination 1  // domination
//g_runematch 1   // runematch
//g_lms 1         // last man standing
//g_arena 1       // arena
//g_keyhunt 1     // key hunt

// enable some mutators you'd like
//g_cloaked 0              // set to 1 for transparent hard to see players
//g_footsteps 0            // set to 1 to enable footsteps
//g_grappling_hook 0       // set to 1 to enable the hook
//g_laserguided_missile 0  // set to 1 for laser guided missiles in the RL
//g_midair 0               // set to 1 to make only midair damage count
//g_vampire 0              // set to 1 to give players the damage they cause as health
//sv_gravity 800           // for low gravity, set this somewhere between 50 and 400


// select AT MOST one of these arena mutators
//g_instagib 0           // set to 1 to make the Nex the only weapon
//g_minstagib 0          // set to 1 for MinstaGib
//g_nixnex 0             // set to 1 for No Items Nexuiz
//g_nixnex_with_laser 0  // set to 1 to always give players the laser in NixNex
//g_rocketarena 0        // set to 1 to make the rocket launcher the only weapon

/////////////////////////////////////////////////////////////////////
// Some settings you MIGHT want to change.  Again IF so remove the //
// from the line start and change them to your liking.

//rcon_password "" // you can use rcon if this password is set.  you need to set the same password in your client if you want to issue rcon commands
//rcon_restricted_commands "" // commands a "restricted" rcon user may use
//rcon_restricted_password "" // put here the password for a "restricted" rcon user

//bot_number 0 // number of bots to add
//skill 1 // the bots skill level
//minplayers 0 // add bots if less then that number of players playing. MAKE SURE ITS LESS THEN maxplayers or people will get blocked by bots!
//bot_prefix [BOT] // prepend this to all botnames
//bot_suffix "" // append this to all botnames

//g_maplist_votable 5 // number of maps to vote between.  set to 0 to disable the map voting screen (please enable g_maplist_shuffle above when this is enabled, or votes will be repetitive)
//g_maplist_votable_suggestions 2 // number of suggestions to accept using the suggestmap command
//g_maplist_votable_abstain 0 // when 1, people get a "don't care" selection in the vote screen
//g_maplist_votable_nodetail 0 // when 1, people can't see how many voted for what (to thwart abusive "influential" first votes)

//sv_vote_commands "restart timelimit fraglimit chmap gotomap g_grappling_hook sv_defaultplayer_fbskin_green sv_defaultplayer_fbskin_red sv_defaultplayer_fbskin_orange sv_defaultplayer_fbskin_off" // players can vote for those commands or use them if they are masters
//sv_vote_call 1 // 0 will disable the normal voting
//sv_vote_master 1 // 0 will disable voting to become masters
//sv_vote_master_password "" // when set, vdo login master will allow you to run votable commands directly using vdo
//sv_vote_simple_majority 0 // 1 will make votes succeed if there are more yes than no votes.  with 0 (default), more than half of the players have to say yes
//sv_vote_majority_factor 0.5 // 0.667 will require a 2/3 majority instead of a regular 1/2 one

/////////////////////////////////////////////////////////////////////
// Some more advanced settings.  You probably are not interesting in them.

// select one of these:
//g_balance_rocketlauncher_detonatedelay 0    // rocket detonation at any time
//g_balance_rocketlauncher_detonatedelay 0.2  // rocket detonation at least 0.2s after it was shot (reduces rocket boosting)
//g_balance_rocketlauncher_detonatedelay -1   // rocket detonation only if the rocket is out of range of the owner (prevents rocket boosting, makes rockets "safer")

//sv_ready_restart 0 // 1 to allow players to restart the map when all of them press the ready button
//sv_autoscreenshot 0 // 1 will force a screenshot for all clients when the map ends.  Useful for competitions or the ladder.

//g_antilag 1 // 0 to disable the antilag feature

//sys_ticrate 0.05 // how long a server frame is.  0.05 = 20 fps, 0.02 = 50 fps.  Lower settings makes things smoother but create much more traffic
//sv_maxrate 1000000 // limits client connections to this rate in bytes/seconds

//sv_curl_defaulturl http://www.nexuiz.com/contentdownload/getmap.php?file= //fallback download URL

//sv_defaultcharacter 0 // 1 will force a specific model for all players
//sv_defaultplayermodel models/player/nexus.zym // this model will be used
//sv_defaultplayerskin 0 // this skin number will be forced for all players
//g_fullbrightplayers 0 // 1 to make players fullbright
//g_fullbrightitems 0 // 1 to make items fullbright

//g_balance_teams 1 // 0 will show players the team selection menu after joining instead of automaticly putting them on the smaller team
//g_balance_teams_force 0 // 1 to automaticly balance teams even during a game
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby pete.dawgg » Fri Apr 11, 2008 4:11 pm

(i was on vacation for 2 weeks and just now looked at my "old post)
yeah, thx, that is MUCH clearer. i'll work my way thru it and if anything is incomprehensible i'll post back.
DUMM KLICKT GUT.
pete.dawgg
Newbie
 
Posts: 6
Joined: Tue Mar 11, 2008 10:30 am


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron