Setting Up A Ns Server

2»

Comments

  • ImpactDNIImpactDNI Join Date: 2003-01-24 Member: 12670Members
    when i go to start running the server, is there any way to make an exec file with those commands?
    so that i can double click the file, and it will start the server with all those preset variables?
    (btw, i got my server to come up on my outside IP addres... the problem was that I didn't have set IP's for my comps, (they would grab a random one everytime they started) and the 27015 port forwarding wasn't set for a mac address, it was for an IP... in which case, most of the time the comp wasn't on!)...
    Thanks for yer help everyone... this is prolly my last question =P
    Thanks in advance!
  • ImpactDNIImpactDNI Join Date: 2003-01-24 Member: 12670Members
    Hey everyone, the server is UP AND RUNNING!!!
    the ip is:
    24.213.16.169:27015
    if ya can, get on it at some point, test the lag out, and please post yer conn type/ping on here so i know if i need to upgrade my line (im pretty sure i need to, but i wanna make sure)
    Thanks again everyone!
  • ImpactDNIImpactDNI Join Date: 2003-01-24 Member: 12670Members
    lol, sorry to spam u guys... whats the command to change the server's name?
    also, how do i get it listed on gamespy?
  • eagleceaglec Join Date: 2002-11-25 Member: 9948Members, Constellation
    edited January 2003
    Some quick tips

    1 make sure you've gone through server.cfg and set lan 0 not 1 which is the default
    2 post your external IP address to me and I'll see if I can connect
    3 you dont <b>need</b> 512 you can host 16 players on 256 as long as you cripple sv_maxrate - trust me I haven't had lag complaints for ages and last weekend I ran several 16 player games on ns_hera off a 512/256 line on a p3-750. Ping stayed below 200 for nearly all, below 100 for many.
    4 set hostname and address in the server cfg file.
    5 check out www.dynsns.org -very useful.
    6 make sure your servers IP is static at least on the internal network.
    7 read all the stickys at the top of this forum

    [edit] got called away mid message and when I finished I notice you've done some of this already![/edit]
  • ImpactDNIImpactDNI Join Date: 2003-01-24 Member: 12670Members
    so in the server.cfg, just add "cripple sv_maxrate" and that should fix some lag issues?
    server ip = 24.213.16.169:27015 it wont list on gamespy, but i've found it on NS
  • RoobubbaRoobubba Who you gonna call? Join Date: 2003-01-06 Member: 11930Members, Reinforced - Shadow, WC 2013 - Shadow
    LMAO

    Try "sv_maxrate 3500"
    I run 10000 but I'm on a really phat connection so there's no bandwidth issues to worry about

    If this is still too high (I'd be surprised) try lower values.
    You might want to start trying 5000 or so though, if your connection can handle that...

    "Cripple sv_maxrate" I'm gonna try that LOL
  • eagleceaglec Join Date: 2002-11-25 Member: 9948Members, Constellation
    lol - no you muppet

    assuming 16 players on 512 upload you can afford to set sv_maxrate to 4000, I would suggest you do this
    to view your server in gamespy make sure all the filters are off and the 'servers in my coutry only' tick box is clear 'cos GSA is no good at woring out proper locations!

    my server.cfg important extracts:-
    // disable clients' ability to pause the server
    pausable 0

    // default server name. Change to "Bob's Server", etc.
    hostname "Eaglec (T) - NS v1.03[UK]"
    //default external IP address (could be 24.213.16.169 for you)
    ip eaglec.homedns.org

    //set to internet mode not lan
    sv_lan 0

    // 30 minute timelimit - makes the map reset after the game has finished
    mp_timelimit 30

    // Commander voting
    mp_votedowntime 10
    mp_votecasttime 2
    mp_votepercentneeded .4
    mp_minvotesneeded 3

    //log files so I can see what happened
    mp_logfile 1
    log on
    mp_networkdebug 0

    mp_flashlight 1
    mp_footsteps 1

    // List server op WON ids here, delimited by semi-colons (eg, "12345;23223;123123"). mp_authicons must be 1 for this to work.
    mp_serverops 302302
    mp_authicons 1
    //maxrate setting for 16players in 256k upload
    sv_maxrate 2000
Sign In or Register to comment.