|
Dedicated Server Discuss technical issues related to hosting your own servers. |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Failure to download maps
I just installed my first instance of Altitude on a Linux server, set up a basic server using server_configurator. (All I set was a title, rcon password, and administrator, if that matters.) But my server fails to launch with server_launcher. Here are the relevant logs:
Code:
INFO [2009-07-16 15:02:26,940] [main]: ServerManager Downloading Official Map: tbd_lostcity.altx:743398:96321757 INFO [2009-07-16 15:02:27,116] [Thread-4]: Initiating map download from http://maps.altitudegame.com/0.0.210/tbd_lostcity.altx WARN [2009-07-16 15:02:27,438] [Thread-4]: HTTP downloaded resource mismatch: local 'tbd_lostcity.altx:284:3632179504' does not match remote 'tbd_lostcity.altx:743398:96321757' WARN [2009-07-16 15:02:27,441] [Thread-4]: HTTP Download Aborted java.io.IOException: Corrupt download! at jb.b(SourceFile:206) at jb.a(SourceFile:145) at sS.run(SourceFile:100) at java.lang.Thread.run(Unknown Source) ERROR [2009-07-16 15:02:27,480] [main]: java.lang.Exception: Map Download Failed java.lang.Exception: Map Download Failed Code:
<?xml version="1.0" encoding="UTF-8"?> <Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>0.0.210/tbd_lostcity.altx</Key><RequestId>5939C4EA562FA3D5</RequestId><HostId>7k/UNBE8gycktEO74nHDcB+RPYOsxy9mGjGEDkvNKMzygY9vj8WW+eH16LswARrz</HostId></Error> |
#2
|
|||
|
|||
OK, poking around a little more, I'm guessing that 0.0.210 comes from resource-config.xml, which starts with these lines:
Code:
<?xml version="1.0" encoding="UTF-8"?> <ResourceConfig> <version major="0" minor="0" micro="210" /> <resources> |
#3
|
|||
|
|||
This is a bug with the "deferred download" official map list functionality I pushed out a few days ago. Change your server to use an empty map list, let your server run/auto-update to the latest version, then wipe out your map directory, restart the launcher, and it should download the correct stuff. I'll fix this bug in the next patch/installers.
Your server tried to download the official maps based on its version at startup (210), but the map resources are only available for the latest version of the game (212). |
#4
|
|||
|
|||
The currently pushed installers are version 210 -- I haven't uploaded the 212 installers hence the need for auto-update. Sorry for the inconvenience, this will be fixed soon.
|
#5
|
|||
|
|||
Is there an easy way to autoupdate? The server won't run at all because of this, and Altitude itself also crashes for an unrelated reason. (I've submitted a couple crash reports. Looks like my Windows X-server doesn't support OpenGL.) Oh, OK, just changing 210 to 212 worked in this case, presumably only because the maps didn't change CRCs in the interim. Thanks!
|
#6
|
|||
|
|||
Now that the maps are downloaded make sure to change the version back to 210 so that the auto-update module will realize it needs to update, and download the updated jars from our update server. Auto-update occurs automatically while the server is running
|
#7
|
|||
|
|||
Ah, I see. Success, thanks!!
|
#8
|
|||
|
|||
Thanks for the bug report, this issue will be fixed in the next patch. Our content delivery network (where installers are hosted) can take a couple days to propagate updates, but after that this issue should never come up again.
|
|
|