Altitude Game: Forums  

Go Back   Altitude Game: Forums > Altitude Support > Dedicated Server
FAQ Community Calendar

Dedicated Server Discuss technical issues related to hosting your own servers.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-06-2009, 10:54 PM
phong phong is offline
Senior Member
 
Join Date: Jul 2009
Location: Chicago
Posts: 372
Default Offical Servers

Are the servers listed as *official* really official?

I'd be willing to host a few *official* low ms (<200ms?) arenas for the US/CA. Located in Chicago so most broadband connections should have sub 100ms.
Reply With Quote
  #2  
Old 07-06-2009, 11:04 PM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default

At the moment, everything listed as "Official" is running on servers paid for by Nimbly Games.

We're always happy to have more servers -- I've posted the launcher_config.xml we use for our official servers if you'd like to copy it (and lower the max ping) -- or you can send an email to support@nimblygames.com if you'd like to offer boxes/bandwidth for us to run servers on.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<ServerLauncherConfig updatePort="50000">
  <servers>
    <AltitudeServerConfig port="50001" downloadMaxKilobytesPerSecond="1000" serverName="Official #1 - TBD - maxPing=400" maxPlayers="18" lanServer="false" rconEnabled="true" maxPing="400" minLevel="0" maxLevel="0" secretCode="">
      <adminsByVaporID />
      <mapList>
      </mapList>
      <mapRotationList>
        <String value="tbd_lostcity" />
        <String value="tbd_asteroids" />
        <String value="tbd_middleground" />
        <String value="tbd_core" />
        <String value="tbd_cave" />
        <String value="tbd_hills" />
        <String value="tbd_woods" />
        <String value="tbd_mayhem" />
      </mapRotationList>
      <FreeForAllGameMode scoreLimit="0" RoundLimit="1" roundTimeSeconds="420" />
      <BaseDestroyGameMode RoundLimit="3" roundTimeSeconds="0" />
      <BotConfig numberOfBots="4" botDifficulty="MEDIUM" botsBalanceTeams="true" botSpectateThreshold="6" />
    </AltitudeServerConfig>
    <AltitudeServerConfig port="50002" downloadMaxKilobytesPerSecond="1000" serverName="Official #2 - FFA+TBD - maxPing=400" maxPlayers="18" lanServer="false" rconEnabled="true" maxPing="400" minLevel="0" maxLevel="0" secretCode="">
      <adminsByVaporID />
      <mapList>
      </mapList>
      <mapRotationList>
        <String value="ffa_hills" />
        <String value="tbd_middleground" />
        <String value="tbd_hills" />
        <String value="tbd_asteroids" />
        <String value="ffa_cave" />
        <String value="tbd_lostcity" />
        <String value="tbd_core" />
        <String value="ffa_lostcity" />
        <String value="tbd_cave" />
	<String value="ffa_core" />
        <String value="tbd_woods" />
	<String value="ffa_mayhem" />
        <String value="tbd_mayhem" />
      </mapRotationList>
      <FreeForAllGameMode scoreLimit="0" RoundLimit="2" roundTimeSeconds="420" />
      <BaseDestroyGameMode RoundLimit="2" roundTimeSeconds="0" />
      <BotConfig numberOfBots="4" botDifficulty="MEDIUM" botsBalanceTeams="true" botSpectateThreshold="6" />
    </AltitudeServerConfig>
    <AltitudeServerConfig port="50003" downloadMaxKilobytesPerSecond="1000" serverName="Official #3 - FFA+TBD - no max ping" maxPlayers="18" lanServer="false" rconEnabled="true" maxPing="0" minLevel="0" maxLevel="0" secretCode="">
      <adminsByVaporID />
      <mapList>
      </mapList>
      <mapRotationList>
        <String value="ffa_hills" />
        <String value="tbd_middleground" />
        <String value="tbd_hills" />
        <String value="tbd_asteroids" />
        <String value="ffa_cave" />
        <String value="tbd_lostcity" />
        <String value="tbd_core" />
        <String value="ffa_lostcity" />
        <String value="tbd_cave" />
	<String value="ffa_core" />
        <String value="tbd_woods" />
	<String value="ffa_mayhem" />
        <String value="tbd_mayhem" />
      </mapRotationList>
      <FreeForAllGameMode scoreLimit="0" RoundLimit="2" roundTimeSeconds="420" />
      <BaseDestroyGameMode RoundLimit="2" roundTimeSeconds="0" />
      <BotConfig numberOfBots="4" botDifficulty="MEDIUM" botsBalanceTeams="true" botSpectateThreshold="6" />
    </AltitudeServerConfig>
    <AltitudeServerConfig port="50004" downloadMaxKilobytesPerSecond="1000" serverName="New Players Join Here - maxLevel=25" maxPlayers="18" lanServer="false" rconEnabled="true" maxPing="0" minLevel="0" maxLevel="25" secretCode="">
      <adminsByVaporID />
      <mapList>
      </mapList>
      <mapRotationList>
        <String value="ffa_hills" />
        <String value="tbd_middleground" />
        <String value="tbd_hills" />
        <String value="tbd_asteroids" />
        <String value="ffa_cave" />
        <String value="tbd_lostcity" />
        <String value="tbd_core" />
        <String value="ffa_lostcity" />
        <String value="tbd_cave" />
	<String value="ffa_core" />
        <String value="tbd_woods" />
	<String value="ffa_mayhem" />
        <String value="tbd_mayhem" />
      </mapRotationList>
      <FreeForAllGameMode scoreLimit="0" RoundLimit="3" roundTimeSeconds="420" />
      <BaseDestroyGameMode RoundLimit="1" roundTimeSeconds="0" />
      <BotConfig numberOfBots="4" botDifficulty="MEDIUM" botsBalanceTeams="true" botSpectateThreshold="6" />
    </AltitudeServerConfig>
  </servers>
</ServerLauncherConfig>
Reply With Quote
  #3  
Old 07-07-2009, 04:39 PM
phong phong is offline
Senior Member
 
Join Date: Jul 2009
Location: Chicago
Posts: 372
Default

Does the update port need to be open from the outside as well or just the server port?
Reply With Quote
  #4  
Old 07-07-2009, 05:01 PM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default

The launcher will send and receive UDP packets on the update port -- the servers can still run if the update port's blocked, but it's really handy to have the servers auto-update without manual intervention.
Reply With Quote
  #5  
Old 07-07-2009, 11:56 PM
phong phong is offline
Senior Member
 
Join Date: Jul 2009
Location: Chicago
Posts: 372
Default

Is there a list of configuration options? Using your config its binding to ipv6 default but not ipv4?

netstat -an| grep 50001
udp6 0 0 :::50001 :::*

Anyway to specify bind?

Last edited by phong; 07-08-2009 at 12:01 AM.
Reply With Quote
  #6  
Old 07-08-2009, 12:04 AM
Karl Karl is offline
Administrator
 
Join Date: May 2008
Posts: 1,206
Default

every option can be configured using the "Altitude Server Configurator"->"C:\Program Files\Altitude\server_configurator.exe"

Altitude just asks the OS to bind a port for it. So I'm not sure what you mean by it's only binding to IPv6. Could you clarify what's going on?
Reply With Quote
  #7  
Old 07-08-2009, 12:19 AM
phong phong is offline
Senior Member
 
Join Date: Jul 2009
Location: Chicago
Posts: 372
Default

It's weird. I was putting it up on a test box before moving it to production. My test box has ipv6 enabled also but no addresses (just localhost).

I start the launcher process, everything looks good:
Code:
INFO  : Initialized console logger
INFO  : Loading ServerLauncher config: /home/jro/altitude/servers/launcher_config.xml
INFO  : Loading ban list: /home/jro/altitude/servers/ban_list.xml
INFO  : Resolving update server vapor.nimblygames.com
INFO  : Update server is 205.234.203.34:31383
INFO  : Initializing update module on local UDP port 50000
INFO  : Initializing 'US/CA - TBD - maxPing=200' on UDP port 50001
INFO  : Starting server on port 50001
INFO  : Changing map: tbd_lostcity
INFO  : FPM: initializing bot on port 1
INFO  : FPM: initializing bot on port 2
INFO  : FPM: initializing bot on port 3
INFO  : FPM: initializing bot on port 4
INFO  : Starting 1 game servers
INFO  : Starting update poller
INFO  : [Data Transfer Since Launch] Outgoing: 0.000 GB, Incoming: 0.000 GB
WARN  : Server hitch detected: 859.0 milliseconds, free memory is 43.6 / 66.4 MB
INFO  : Handling join request from 0.0.0.0:1 -> sB@1f<vaporId=00000000-0000-0000-0000-000000000000, nickName=Bot 1, loggedIn=true, ip=0.0.0.0:1, sessionId=00000000-0000-0000-0000-000000000000>
INFO  : Adding client 'Bot 1' from 0.0.0.0:1, playerId=0
INFO  : Handling join request from 0.0.0.0:2 -> sB@1f<vaporId=00000000-0000-0000-0000-000000000000, nickName=Bot 2, loggedIn=true, ip=0.0.0.0:2, sessionId=00000000-0000-0000-0000-000000000000>
INFO  : Adding client 'Bot 2' from 0.0.0.0:2, playerId=1
INFO  : Handling join request from 0.0.0.0:3 -> sB@1f<vaporId=00000000-0000-0000-0000-000000000000, nickName=Bot 3, loggedIn=true, ip=0.0.0.0:3, sessionId=00000000-0000-0000-0000-000000000000>
INFO  : Adding client 'Bot 3' from 0.0.0.0:3, playerId=2
INFO  : Handling join request from 0.0.0.0:4 -> sB@1f<vaporId=00000000-0000-0000-0000-000000000000, nickName=Bot 4, loggedIn=true, ip=0.0.0.0:4, sessionId=00000000-0000-0000-0000-000000000000>
INFO  : Adding client 'Bot 4' from 0.0.0.0:4, playerId=3
INFO  : Update check result: LOCAL_VERSION_IS_UP_TO_DATE, free memory: 41.9 / 66.4 MB
WARN  : Server hitch detected: 2091.0 milliseconds, free memory is 41.0 / 67.1 MB
Server doesn't show up in the list.

Looking at the netstat info:
Code:
udp6       0      0 :::50001                :::*
It's listening on the ipv6 global address port 50001, not the ipv4 global (0.0.0.0) 50001.

Code:
Linux2.6.26-gentoo-r1 #1 SMP Sun Sep 7 15:24:15 CDT 2008 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
java -version
java version "1.4.2-03"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-03)
Java HotSpot(TM) Client VM (build Blackdown-1.4.2-03, mixed mode)

Last edited by phong; 07-08-2009 at 12:30 AM.
Reply With Quote
  #8  
Old 07-08-2009, 12:24 AM
phong phong is offline
Senior Member
 
Join Date: Jul 2009
Location: Chicago
Posts: 372
Default

In the server-configurator, there is no option for listening or bind ip address. You can only specify the port information.

If I have a box with multiple public IPs and I don't want it listening on all IP addresses how do I specify?

Also from the altitude console, is there a way to manually specify a host to connect to without using the game list? There is a disconnect option but no "connect" option.

Last edited by phong; 07-08-2009 at 12:27 AM.
Reply With Quote
  #9  
Old 07-08-2009, 12:32 AM
phong phong is offline
Senior Member
 
Join Date: Jul 2009
Location: Chicago
Posts: 372
Default

Maybe allow the config to specify the net:bind address? default to 0.0.0.0 if not specified?
Reply With Quote
  #10  
Old 07-08-2009, 12:41 AM
phong phong is offline
Senior Member
 
Join Date: Jul 2009
Location: Chicago
Posts: 372
Default

Got it to work, but that might be a good option to add.

Thanks
Reply With Quote
  #11  
Old 07-08-2009, 12:52 AM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default

Glad to hear it's working -- the next patch (due sometime this week) will include a "Bind IP" field in the server configurator.
Reply With Quote
  #12  
Old 07-08-2009, 01:58 PM
phong phong is offline
Senior Member
 
Join Date: Jul 2009
Location: Chicago
Posts: 372
Default

Was there anything for a "connect" command from the client console? Also, I noticed that new servers wont show up on the server list until you close/open the list again. Refreshing by itself doesn't seem to do the trick which didn't help me when trying to figure out what was going wrong.

Thank you!

Last edited by phong; 07-08-2009 at 02:01 PM.
Reply With Quote
  #13  
Old 07-08-2009, 02:24 PM
phong phong is offline
Senior Member
 
Join Date: Jul 2009
Location: Chicago
Posts: 372
Default

Anyway to modify the idle limit? Also, would it be possible to add options to allow for differences in the amount of players that can join vs actually playing? Such that spectators can join to watch games without over crowding the actual game play.

MaxConnections = 50
MaxTeamSize = 10

If 20 (10+10) were already in ships, players connecting would automatically be placed in spec (up to 30). If they tried to ship change it would just say full until someone either spectated or left the server.

Since team size is technically 1 in FFA, should allow up to MaxConnections to be in game.

Last edited by phong; 07-08-2009 at 04:06 PM.
Reply With Quote
  #14  
Old 07-08-2009, 04:29 PM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default

To retrieve a new server list you need to click "Update" -- "Refresh" just re-pings the list you have.

No connect command or spectator options yet, but they're on the TODO list.
Reply With Quote
  #15  
Old 07-08-2009, 08:56 PM
phong phong is offline
Senior Member
 
Join Date: Jul 2009
Location: Chicago
Posts: 372
Default

You can delete this threat, moved suggestions to the correct forums.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:02 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
2008 Nimbly Games LLC