Wheres public option in create on 2.4 nexuiz

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Postby oskar669 » Tue Mar 25, 2008 3:04 pm

I tried doing it with the dedicated server.sh now... the way the good lord intended us to - apparently.

But it doesn't accept the name I choose in the server.cfg,.. it pretty much seems to be the same thing, just running as an independent program.

Anyway... we'll just go back to 2.3
It just isn't worth the hassle. 2.4 users can still enter, so no worries.
oskar669
Member
 
Posts: 49
Joined: Mon Mar 24, 2008 7:29 pm

Postby esteel » Tue Mar 25, 2008 3:30 pm

Specifying the mode right at g_maplist is indeed no longer supported. It was a really ugly hack that could lead to corrupt servers, was hardly used, made it harder for map authors to put up their map and as far as i know Nexuiz was the only game around to offer that feature.

Morfar was half right with his stuff.. you now specify the gamemode you wanna play before you start the map but not in the way he said.. better use 'gametype ctf' for example to switch to ctf.

Wow you can use irony.. i put up Nexuiz/Docs/server to help setup a dedicated server and thought every line in server.cfg was clearly commented but obviously its not and you found a better way for your self. Have fun with it and do not complain when someone finds a security hole in the old server and hacks yours.. (just one of the reasons to use uptodate servers..)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby oskar669 » Tue Mar 25, 2008 4:01 pm

Well... I does look pretty straight foreward...
Code: Select all
hostname "LMS, KH(keyhunt), no bots, hook" // this name will appear on the server list

The hostname is still "Oskar 669's Nexuiz Server"
Code: Select all
g_keyhunt 1     // key hunt

The gamemode is Deathmach :?:

Code: Select all
g_grappling_hook 1 // set to 1 to enable the hook

This is the only one that worked.

Many people get this right... so the problem might be on my side... But all I'm trying to do is to play a game of Keyhunt once or twice a week, so this is already overkill.

Anyway... If I'm the only one complaining... alright. I'm just hoping we'll get those features back with the next release.

Don't get me wrong... I know you're doing this for no profit, and you've created one of the best balanced FPS's, and pretty much the only game I've been playing for the last year.
But if 2.3 just works, and 2.4 does not, we'll stick with 2.3.

For a LAN game, this is really not so great anyway. If we're playing LMS, and we want to play a game of CTF, we have to restart the server, and everybody has to log out and in again?
Most of my friends prefer Q3 anyway, so this doesn't make the convincing easier.
oskar669
Member
 
Posts: 49
Joined: Mon Mar 24, 2008 7:29 pm

Postby esteel » Tue Mar 25, 2008 4:40 pm

well i tried with this server.cfg (i used the one that will end up in 2.4.1 so it looks a bit different then the one in 2.4 right now..) and it just worked.. played lms with the grapplinghook with the right name..

I also was able to see my server in the serverlist although its sv_public 0 like you would wanna like for lans.. I just wonder, it had a REALLY high ping display but playing was fine. I wonder whats up with the display..

And no people do not need to disconnect and you do not need to restart the server.. just type
gametype ctf in the server console before the new map loads and the next one will be played in ctf mode..
or gameype tdm
If you do not want to switch to the server console just setup rcon. Ala set rcon_password in server.cfg and also do the same in your client.. then when you connected to the server (or if not set rcon_address ip:port ... if you run the ded.server on your machine with default ports its just: rcon_address 127.0.0.1) and issue commands to the server with rcon command like rcon gametype lms or rcon map toxic..

server.cfg:
// 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.

sv_public 0 // 0 if the server should not be on the public servers list
hostname "LMS, KH(keyhunt), no bots, hook" // 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
//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_1on1remix runningman 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 (-1 means use the map default, 0 = unlimited, 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 for all maps and gametypes
//seta fraglimit_override -1 // global frag/point limit for all maps and gametypes
//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 1 // 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 "mypassword" // 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, seperated by space
//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 interested in changing them at all.

// 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

// see Docs/mapdownload.txt for more info
//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 oskar669 » Tue Mar 25, 2008 7:20 pm

I had the ping thing too... It said 9999 or something... once the first player joined it went down to 40.

I'll try your config file... but apparently I moved some vital files while shuffling around the pk3's
I'll just get the latest build then.
oskar669
Member
 
Posts: 49
Joined: Mon Mar 24, 2008 7:29 pm

Postby oskar669 » Tue Mar 25, 2008 9:58 pm

It works after I applied the hotfix.

Now the name is set to the one I have in the server.conf, and I can change the game mode. It doesn't seem to accept kh though.

However, it ignores the map list I put together (just loads the default maps) and people keep coming in even though public is set to 0. (I've only changed the map list and password from the server.cfg you posted.)
oskar669
Member
 
Posts: 49
Joined: Mon Mar 24, 2008 7:29 pm

Postby esteel » Tue Mar 25, 2008 10:57 pm

Strange, kh should work..
if (t == "dm") return MAPINFO_TYPE_DEATHMATCH;
else if(t == "tdm") return MAPINFO_TYPE_TEAM_DEATHMATCH;
else if(t == "dom") return MAPINFO_TYPE_DOMINATION;
else if(t == "ctf") return MAPINFO_TYPE_CTF;
else if(t == "rune") return MAPINFO_TYPE_RUNEMATCH;
else if(t == "lms") return MAPINFO_TYPE_LMS;
else if(t == "arena") return MAPINFO_TYPE_ARENA;
else if(t == "kh") return MAPINFO_TYPE_KEYHUNT;
else if(t == "as") return MAPINFO_TYPE_ASSAULT;
else if(t == "ons") return MAPINFO_TYPE_ONSLAUGHT;


However i have no idea why you had to install the hotfix.. the server setup stuff was not changed, just the config file was reordered by me to be more logical and more readable.

Is your g_maplist correct? its just the mapname now.. Like in the example:
g_maplist "aggressor aneurysm basement basementctf bleach bloodprison bloodprisonctf bluesky darkzone dieselpower dismal downer evilspace farewell final_rage reslimed ruiner runningman_1on1remix runningman runningmanctf silvercity skyway slimepit soylent starship stormkeep strength toxic warfare"

If you type g_maplist in the server console it will show you the value its currently set to.. maybe something is wrong with it
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby oskar669 » Wed Mar 26, 2008 4:13 pm

I didn't find a build of 2.4.1 and I don't really feel like compiling... so I tried the hotfix

If I type g_maplist in the console while logged in, it shows me the default maplist, not the one that I have in the config file but the server always starts with 7mm towers - which isn't in either list.

Code: Select all
g_maplist "bluesky darkzone evilspace minimanq3 qdolphin"


Other players can log in, but they see a black map (even if they have the map that is loaded)

When I do "chmap ..." Nexuiz crashes on their side.
They can also do "chmap" and it will change on their side, but nothing happens on my side. :|

Of course this might be a problem with the hotfix...

- I have the pk3's linked between the 2.3 and 2.4 folder with "ln -n" (I'm on linux)
I can't imagine this causing a problem, but I thought I'd mention it.
oskar669
Member
 
Posts: 49
Joined: Mon Mar 24, 2008 7:29 pm

Previous

Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron