How do you password a server

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Postby tundramagi » Tue May 26, 2009 10:06 pm

[-z-] wrote:did you leave it commented out? // means comment - i.e. it tells Nexuiz "do not read this line"

Also, 40 players? that's a bit high, most maps do not support over 16-18 well.


There are many maps, however, that can. But where to find 40 players?
tundramagi
Forum addon
 
Posts: 974
Joined: Sun Jan 04, 2009 4:53 pm

Postby [-z-] » Tue May 26, 2009 10:30 pm

tundramagi wrote:
[-z-] wrote:did you leave it commented out? // means comment - i.e. it tells Nexuiz "do not read this line"

Also, 40 players? that's a bit high, most maps do not support over 16-18 well.


There are many maps, however, that can. But where to find 40 players?


You mean the ones you make that the general population finds too difficult or full of propaganda?
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby tundramagi » Wed May 27, 2009 12:43 am

[-z-] wrote:
tundramagi wrote:
[-z-] wrote:did you leave it commented out? // means comment - i.e. it tells Nexuiz "do not read this line"

Also, 40 players? that's a bit high, most maps do not support over 16-18 well.


There are many maps, however, that can. But where to find 40 players?


You mean the ones you make that the general population finds too difficult or full of propaganda?


Yes, the ones that you like.

I think you're confusing the general population of players with the general population of forum users though.
tundramagi
Forum addon
 
Posts: 974
Joined: Sun Jan 04, 2009 4:53 pm

Postby [-z-] » Wed May 27, 2009 2:27 am

tundramagi wrote:I think you're confusing the general population of players with the general population of forum users though.


I'm not so sure about that:

Code: Select all
~/nst/logs$ map_1=nordiccastle;map_2=dance;start_date=$(date --utc --date "$(ls -Rt --full-time | tail -n1 | awk '{ print $6 }')" +%s); end_date=$(date --utc --date "$(ls -Rt --full-time | head -n2 | tail -n1 | awk '{ print $6 }')" +%s); difference=$((end_date-start_date)); echo $end_date - $start_date = $difference seconds; echo logs for $((difference/86400)) days; map_1_ended=$(find -name *00*.log | xargs egrep -A 4 "endmatch|timelimit -1" |grep $map_1 |wc -l); map_1_played=$(find -name *00*.log | xargs egrep "gamestart" |grep $map_1 |wc -l); echo $map_1 endmatched $map_1_ended out of $map_1_played times played; map_2_ended=$(find -name *00*.log | xargs egrep -A 4 "endmatch|timelimit -1" |grep $map_2 |wc -l); map_2_played=$(find -name *00*.log | xargs egrep "gamestart" |grep $map_2 |wc -l); echo $map_2 endmatched $map_2_ended out of $map_2_played times played
1243382400 - 1233360000 = 10022400 seconds
logs for 116 days
nordiccastle endmatched 94 out of 1405 times played
dance endmatched 31 out of 2100 times played


Sure the statistics need some work but in general, I think it's pretty obvious the direction it's going.
Last edited by [-z-] on Wed May 27, 2009 3:21 am, edited 2 times in total.
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby tundramagi » Wed May 27, 2009 3:11 am

[-z-] wrote:
tundramagi wrote:I think you're confusing the general population of players with the general population of forum users though.


I'm not so sure about that:

Code: Select all
~/nst/logs$ start_date=$(date --utc --date "$(ls -Rt --full-time | tail -n1 | awk '{ print $6 }')" +%s); end_date=$(date --utc --date "$(ls -Rt --full-time | head -n2 | tail -n1 | awk '{ print $6 }')" +%s); difference=$((end_date-start_date)); echo $end_date - $start_date = $difference seconds; echo logs for $((difference/86400)) days; echo nordiccastle vote ended: $(find -name *.log | xargs egrep -A 4 "endmatch|timelimit -1" |grep nordiccastle |wc -l); echo dance vote ended: $(find -name *.log | xargs egrep -A 4 "endmatch|timelimit -1" |grep dance |wc -l)
1243382400 - 1233360000 = 10022400 seconds
logs for 116 days
nordiccastle vote ended: 94
dance vote ended: 31


Sure the statistics need some work but in general, I think it's pretty obvious the direction it's going.


Nordic castle is but one of 37 maps I've released.
tundramagi
Forum addon
 
Posts: 974
Joined: Sun Jan 04, 2009 4:53 pm

Postby [-z-] » Wed May 27, 2009 3:22 am

well, I updated the code so I can run statistics on any of your maps easily :-P
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby Joeteck » Wed May 27, 2009 4:31 am

[-z-] wrote:did you leave it commented out? // means comment - i.e. it tells Nexuiz "do not read this line"

Also, 40 players? that's a bit high, most maps do not support over 16-18 well.


I took the // out, but it still defaults to 8 players....

Is this normal? all of these bugs? How can others get more than 8 players??
Joeteck
Member
 
Posts: 12
Joined: Tue May 26, 2009 5:50 pm

Postby Alien » Wed May 27, 2009 4:34 am

server.cfg is for dedicated server
config.cfg is for server you start from the client
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby Joeteck » Wed May 27, 2009 12:25 pm

Alien wrote:server.cfg is for dedicated server
config.cfg is for server you start from the client


I'm not sure thats correct. I did a test, and I renamed the config.cfg file to config,cfg2, so the program would just use server.cfg, and my server name would be "NEXIUZ 2.51 server" regardless what I had on the line where hostname was in my server.cfg file. So there are some major issues with the dedicated server portion and none of the settings are taking, any reason?
Joeteck
Member
 
Posts: 12
Joined: Tue May 26, 2009 5:50 pm

Postby [-z-] » Wed May 27, 2009 2:25 pm

server.cfg won't just run... you need to tell the game to run it, either with an autoexec.cfg file (which is executed on startup by the game) or the +exec parameter (which you should use for a dedicated server).

i.e.
nexuiz.exe +exec server.cfg
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

PreviousNext

Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron