Sample Map for 2.8.3

For all the help you need with Armagetron!
User avatar
Destroyer
On Lightcycle Grid
Posts: 10
Joined: Sun Oct 09, 2005 2:19 pm

Sample Map for 2.8.3

Post by Destroyer »

Where can i get a sample map for 2.8_beta3?
Last edited by Destroyer on Wed Oct 26, 2005 12:27 pm, edited 3 times in total.
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

You probably mean version 0.2.8_beta3.
Sample maps are included in resource/included. Just look for .xml files there or activate them via the sample MAP_FILE lines in settings.cfg. All of the included maps follow the new formatting.

For docs, you probably should check out the wiki pages:
http://wiki.armagetronad.net/index.php/Map_Making
bg5
On Lightcycle Grid
Posts: 14
Joined: Sat Jul 30, 2005 12:00 pm

Big Probs with Map creating and activating

Post by bg5 »

Hello Z-Man,

i hope u can help us, we have big problems trying to make our one map active.

every time i try to use a different map the server gives an error back and clients can`t connect. for testing i renamed the standart map in

/usr/share/games/armagetron/resource/included/Anonymous/polygon/regular/square-1.0.1.aamap.xml in the same directory in test.xml

and than i add the correct name in settings.cfg

MAP_FILE Anonymous/polygon/regular/test.xml

but this dosn`t work to.

i am not an great linux/unix admin so i hope u can help me...i dont understand this problem.

.:greets:. bg5
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Hi and welcome, bg5.

I think you are mixing up the files for the client and the server. The path you gave (assuming the missing armagetronad is a typo) contains the client's data. The files for the server are below /usr/share/games/armagetronad-dedicated.
Also, it is a good idea to first test a map in a local game only; server-client operation has several additional sources for trouble, the most severe one that the client needs to be able to fetch the map file from somewhere.
If anything else goes wrong, please post the error messages you get.
bg5
On Lightcycle Grid
Posts: 14
Joined: Sat Jul 30, 2005 12:00 pm

Post by bg5 »

hello z-man,

first thx for ur fast help. this explains it i have only add the maps in the client path and ur right i forgot the armagetronad in the path (it a long one ;))

but the server path below ur talking about is not present in my system.

i take root about ur hint to test our maps on a local system.

but before i start work on this i already like to know how to enable my on maps on the server. if this dosnt work i have no need to make a map ;-)

did i understand u right that there to sections i have to add the new maps? client path and server path?

maybe u can give me an exactly explanation what i have to do to enable my own map. i already look at the tutorials but the informations in play my own map ist not very usefull.

at last, sorry about my worse english. we are located in germany too.

:.greets:. bg5
bg5
On Lightcycle Grid
Posts: 14
Joined: Sat Jul 30, 2005 12:00 pm

Post by bg5 »

maybe i forgot to say that we are running under a debian mashine? :D
bg5
On Lightcycle Grid
Posts: 14
Joined: Sat Jul 30, 2005 12:00 pm

Post by bg5 »

mom, is it possible that the only problem is that the clients cant get the map, did i have to change the resource server to make clients able to download our own map?

i go for a coffee before i get nuts :-(
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

bg5 wrote:did i understand u right that there to sections i have to add the new maps? client path and server path?
Yes; if you want to enable local games or LAN games only, that would be the way. For an internet server, you'd have to set up the system so that the clients can automatically fetch the map. You have to upload the map somewhere and set MAP_URI to the download URL, or place the URL in parentheses behind the path to the map in MAP_FILE.
bg5 wrote:but the server path below ur talking about is not present in my system.
Hmm, how did you install the server? What does

Code: Select all

type armagetronad-dedicated
say?
bg5 wrote:at last, sorry about my worse english. we are located in germany too.
Well, if you're more comfortable in German, we can open another thread with [German] in the title and switch.

And for a real diagnosis and not just guesswork, I need the server's and client's output.
bg5
On Lightcycle Grid
Posts: 14
Joined: Sat Jul 30, 2005 12:00 pm

Post by bg5 »

hello z-man,

o.k. here is a server error message

[0] Warning in void FindConfigurationPath(const char*) in ../../src/tools/tDirectories.cpp:1120 :
[0] Could not determine path to configuration files. Using defaults or command line arguments.

client only says that something is wrong with the map. but i did not set a download URI. i will do this now.

do i have to add any map in the server strukture or is the download URI everything i need for server and client for a internet game?

sorry for bothering u :D

:.greets:.bg5
bg5
On Lightcycle Grid
Posts: 14
Joined: Sat Jul 30, 2005 12:00 pm

Post by bg5 »

sry forgot, armagetronad-dedicated starts the server, is only a command and no dir in my system.
bg5
On Lightcycle Grid
Posts: 14
Joined: Sat Jul 30, 2005 12:00 pm

Post by bg5 »

o.k. i add the following

MAP_URI http://bgs.ancientspledge.com/resource/ ... .aamap.xml

MAP_FILE Anonymous/polygon/regular/test-1.0.aamap.xml

it takes no effekt, the client reports an map error.

the map is same like square-1.0.1.aamap.xml
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Hmm, when I enter the settings you gave on my client, it works fine. The map gets downloaded, put into the right place, and I assume it is played.

This may be our clue:
[0] Warning in void FindConfigurationPath(const char*) in ../../src/tools/tDirectories.cpp:1120 :
[0] Could not determine path to configuration files. Using defaults or command line arguments.

It should have said something along the lines of
"Warning: MAP_FILE deviates from its default; clients older than beta3 won't be allowed to connect" if the setting had worked.

The server looks for its configuration files in /usr/[local/]share/armagetronad-dedicated, depending on where the binary is. And if that does not exist, as you said, it won't find it. This looks like an installation problem (in debian, the shared .deb should contain data for both client and server), I'll PM klax about it.

What configuration file did you edit?
bg5
On Lightcycle Grid
Posts: 14
Joined: Sat Jul 30, 2005 12:00 pm

Post by bg5 »

hi z-man,

i edit the configuration file in /etc/armagetronad/settings.cfg

this is the path where are all cfg files located.

i have tested a lot yesterday, now we build our own map and it works fine on a local system, it also works on our internet server if i add the map files by hand in every client and activate it in settings.cfg on our server.

so it seems that the client download is our only problem.

i have tryed 2 ways to enable cleint download functionality

1st:
MAP_URI http://bgs.ancientspledge.com/resource/
MAP_FILE bgs/dsmaps/dssquare-0.1.aamap.xml

2nd:
MAP_URI http://bgs.ancientspledge.com/resource/ ... .aamap.xml
MAP_FILE bgs/dsmaps/dssquare-0.1.aamap.xml

the map already exist on the server in the local map path, the directorys bgs/dsmaps are added.

but this takes no effekt, the client cant download the map.

i have tryed to change the resource server to an own domain, i rebuild the complete map strukture and add my path bgs/dsmaps but thie dont work too.

:(

i have worked about 10 hours on this shit and i cant get the client download to work.

:.greets:.bg5
bg5
On Lightcycle Grid
Posts: 14
Joined: Sat Jul 30, 2005 12:00 pm

Post by bg5 »

the server always says

"Warning: MAP_FILE deviates from its default; clients older than beta3 won't be allowed to connect" if the setting had worked.

here are the complete server starts message:

[0] Bound socket to *.*.*.*:56246.
[0] Bound socket to *.*.*.*:4534.
[0] Setting CYCLE_RUBBER_SPEED (Group: Cheating) deviates from its default value; clients older than 0.2.7.1 will not be allowed in.
[0] Setting MAP_FILE (Group: Breaking) deviates from its default value; clients older than 0.2.8_beta3 will not be allowed in.
[0] Connecting to master server...
[0] Killing user 0, ping 0.5.
[0] Login information sent. Waiting for reply...
[0] Login Succeeded. User Nr. 1
[0] Syncing with server...
[0] Relabeling NetObjects...
[0] Syncing again...
[0] Done!
[0] Sending my server info...
[0] Logging out...
[0] Done!
[0] Killing user 0, ping 0.256895.
[0] Closing socket bound to *.*.*.*:4534
[0] Bound socket to *.*.*.*:4534.
[0] Setting CYCLE_RUBBER_SPEED (Group: Cheating) deviates from its default value; clients older than 0.2.7.1 will not be allowed in.
[0] Setting MAP_FILE (Group: Breaking) deviates from its default value; clients older than 0.2.8_beta3 will not be allowed in.
[0] Ping charity changed from 100 to 100100.
[0] Nobody there. Taking a nap...
[0] Timestamp: 2005/10/27 12:27:26
[0] Closing socket bound to *.*.*.*:4534
[0] Bound socket to *.*.*.*:4534.
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Hmm, the server output looks all right, and the 2nd variant of the configuration is OK, too. How can I connect to the server to see what the client is trying to do?
Post Reply