help with setting up mac dedicated server

For all the help you need with Armagetron!
Nom
Posts: 8
Joined: Tue Jan 18, 2011 11:55 pm

help with setting up mac dedicated server

Post by Nom »

im trying to set up a dedicated server for mac, have been going through the very few resources available for help, i have changed stuff but it won't seem to load on the internet, or at all, can someone please take the time and post something like a step by step tutorial, if you can it will be greatly appreciated. :)
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Re: help with setting up mac dedicated server

Post by Tank Program »

http://wiki.armagetronad.net/index.php? ... ic_Servers

Specifically what doesn't work? (And what have you done so far?)
Image
Nom
Posts: 8
Joined: Tue Jan 18, 2011 11:55 pm

Re: help with setting up mac dedicated server

Post by Nom »

i am honestly like lost, modified everything, and even did it where i had it on terminal, but i don't see server anywhere :S plus i tried following that guide, i was confused by what they meant by .plist, i didn't see any
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: help with setting up mac dedicated server

Post by Z-Man »

.plist? What's that and where does anyone talk about it? *searching the wiki* Oh. Mac stuff. Sorry, can't help there. Looks straightforward enough, though. Edit in your server's path, the rest seems fixed. Anyway, you can stick to running the server directly from the console for starters, the .plist is just to run it in the background.

First, when you put your server up, you should check that you can see it in the LAN game list. If it's there, it's running, which is preferable over it not running.

My master server shows no trace of any server from your IP. Which means you haven't set TALK_TO_MASTER in your configuration. Do that, and set up port forwarding. The page Tank linked to gives you more instructions. Yes, it's a tad complicated. You'll need to chew your way through. I see it as our 'moron filter', keeping servers of people who really shouldn't be running servers off the list.
Nom
Posts: 8
Joined: Tue Jan 18, 2011 11:55 pm

Re: help with setting up mac dedicated server

Post by Nom »

so for the TALK_TO_MASTER, which of the files do i edit? grr this is challenging for macs

sry for sounding like a noob O.o
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: help with setting up mac dedicated server

Post by Z-Man »

You probably should create the folder
~/Library/Application Support/Armagetron Advanced/config
and put a text file called 'settings_custom.cfg' there. All your configuration changes then go there.
Nom
Posts: 8
Joined: Tue Jan 18, 2011 11:55 pm

Re: help with setting up mac dedicated server

Post by Nom »

and so anything i wanna change, whether its name or rubber, i put into settings_custom.cfg?
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Re: help with setting up mac dedicated server

Post by Tank Program »

That should be correct. Remember that any settings you enter in the console afterwards are not persistent; they will go away on next server start.
Image
Nom
Posts: 8
Joined: Tue Jan 18, 2011 11:55 pm

Re: help with setting up mac dedicated server

Post by Nom »

okay, so i have everything i want in a file called settings_custom.cfg under /Macintosh HD/Library/Application Support/Armagetron Advanced/config/settings_custom.cfg, started up game, went to LAN, couldn't find it,

so copied the file and put it under /Users/daniel/Desktop/Armagetron Advanced Dedicated/config/settings_custom.cfg

still nothing

is there something else i have to do?
Nom
Posts: 8
Joined: Tue Jan 18, 2011 11:55 pm

Re: help with setting up mac dedicated server

Post by Nom »

UPDATE: okay, so i feel a bit accomplished, i dragged the /Users/daniel/Desktop/Armagetron\ Advanced\ Dedicated/armagetronad-dedicated into terminal after the terminal script "cd /Users/daniel/Desktop/Armagetron\ Advanced\ Dedicated" and i got a bunch of text, then it said it didn't find any users

I went onto armagetron into LAN

VOILA!! my server with the name i chose

However, the game is still not on the internet, this is all the stuff i ahve in my document:
TALK_TO_MASTER 1

SERVER_NAME CC| friendly server
CM_LOCY -0.5

MESSAGE_OF_DAY_TIMEOUT 60
TITLE_OF_DAY Message of the Day

MESSAGE_OF_DAY welcome CC| members and anyone else that decides to join :) /n Rules of the server are: /n No Camping /n No Closing (try not to please) /n And no verbal abuse :) /n Enjoy the game!

# no play time
PLAY_TIME_TOTAL 0
PLAY_TIME_ONLINE 0
PLAY_TIME_TEAM 0

USER_LEVEL <CC|NøM> <0>

MAX_CLIENTS 10

# default keyboard layout
KEYBOARD 333 PLAYER_BIND ZOOM_OUT 1
KEYBOARD 332 PLAYER_BIND ZOOM_IN 1
KEYBOARD 327 PLAYER_BIND BANK_DOWN 1
KEYBOARD 326 PLAYER_BIND BANK_UP 1
KEYBOARD 325 PLAYER_BIND LOOK_LEFT 1
KEYBOARD 324 PLAYER_BIND LOOK_RIGHT 1
KEYBOARD 276 PLAYER_BIND CYCLE_TURN_LEFT 2
KEYBOARD 275 PLAYER_BIND CYCLE_TURN_RIGHT 2
KEYBOARD 274 PLAYER_BIND SWITCH_VIEW 2
KEYBOARD 271 PLAYER_BIND MOVE_DOWN 1
KEYBOARD 270 PLAYER_BIND MOVE_UP 1
KEYBOARD 262 PLAYER_BIND LOOK_RIGHT 1
KEYBOARD 261 PLAYER_BIND MOVE_FORWARD 1
KEYBOARD 260 PLAYER_BIND LOOK_LEFT 1
KEYBOARD 259 PLAYER_BIND MOVE_RIGHT 1
KEYBOARD 258 PLAYER_BIND MOVE_BACK 1
KEYBOARD 257 PLAYER_BIND MOVE_LEFT 1
KEYBOARD 276 PLAYER_BIND GLANCE_LEFT 1
KEYBOARD 275 PLAYER_BIND GLANCE_RIGHT 1
KEYBOARD 274 PLAYER_BIND GLANCE_BACK 1
KEYBOARD 122 PLAYER_BIND CYCLE_TURN_LEFT 1
KEYBOARD 121 PLAYER_BIND CYCLE_TURN_LEFT 1
KEYBOARD 119 PLAYER_BIND CYCLE_TURN_LEFT 1
KEYBOARD 118 PLAYER_BIND CYCLE_BRAKE 1
KEYBOARD 120 PLAYER_BIND CYCLE_TURN_RIGHT 1
KEYBOARD 115 PLAYER_BIND CHAT 1
KEYBOARD 113 PLAYER_BIND BANK_UP 1
KEYBOARD 99 PLAYER_BIND SWITCH_VIEW 1
KEYBOARD 97 PLAYER_BIND BANK_DOWN 1
KEYBOARD 293 PLAYER_BIND INSTANT_CHAT_12 1
KEYBOARD 292 PLAYER_BIND INSTANT_CHAT_11 1
KEYBOARD 291 PLAYER_BIND INSTANT_CHAT_10 1
KEYBOARD 290 PLAYER_BIND INSTANT_CHAT_9 1
KEYBOARD 289 PLAYER_BIND INSTANT_CHAT_8 1
KEYBOARD 288 PLAYER_BIND INSTANT_CHAT_7 1
KEYBOARD 287 PLAYER_BIND INSTANT_CHAT_6 1
KEYBOARD 286 PLAYER_BIND INSTANT_CHAT_5 1
KEYBOARD 285 PLAYER_BIND INSTANT_CHAT_4 1
KEYBOARD 284 PLAYER_BIND INSTANT_CHAT_3 1
KEYBOARD 283 PLAYER_BIND INSTANT_CHAT_2 1
KEYBOARD 282 PLAYER_BIND INSTANT_CHAT_1 1
KEYBOARD 116 PLAYER_BIND INSTANT_CHAT_1 1
KEYBOARD 61 PLAYER_BIND INSTANT_CHAT_24 1
KEYBOARD 57 PLAYER_BIND INSTANT_CHAT_21 1
KEYBOARD 56 PLAYER_BIND INSTANT_CHAT_20 1
KEYBOARD 55 PLAYER_BIND INSTANT_CHAT_19 1
KEYBOARD 54 PLAYER_BIND INSTANT_CHAT_18 1
KEYBOARD 53 PLAYER_BIND INSTANT_CHAT_17 1
KEYBOARD 52 PLAYER_BIND INSTANT_CHAT_16 1
KEYBOARD 51 PLAYER_BIND INSTANT_CHAT_15 1
KEYBOARD 50 PLAYER_BIND INSTANT_CHAT_14 1
KEYBOARD 49 PLAYER_BIND INSTANT_CHAT_13 1
KEYBOARD 48 PLAYER_BIND INSTANT_CHAT_22 1
KEYBOARD 45 PLAYER_BIND INSTANT_CHAT_23 1
KEYBOARD 8 PLAYER_BIND INSTANT_CHAT_25 1
KEYBOARD 281 PLAYER_BIND MESS_DOWN 0
KEYBOARD 280 PLAYER_BIND MESS_UP 0
KEYBOARD 9 PLAYER_BIND SCORE 0
KEYBOARD 316 PLAYER_BIND SCREENSHOT 0
KEYBOARD 294 PLAYER_BIND SCREENSHOT 0
KEYBOARD 102 PLAYER_BIND TOGGLE_FULLSCREEN 0
KEYBOARD 96 PLAYER_BIND CONSOLE_INPUT 0
KEYBOARD 94 PLAYER_BIND CONSOLE_INPUT 0
KEYBOARD 19 PLAYER_BIND PAUSE_GAME 0
KEYBOARD 112 PLAYER_BIND PAUSE_GAME 0

SHUFFLE_SPAM_MESSAGES_PER_ROUND 3
SPAM_PROTECTION_REPEAT 5.
SPAM_PROTECTION 4.0
SPAM_PROTECTION_VOTE 50.0
SPAM_PROTECTION_CHAT .3
SPAM_PENALTY 0.0
SPAM_AUTOKICK 14.0
SPAM_AUTOKICK_COUNT 3
SPAM_MAXLEN 80

ALLOW_VOTING 1
MAX_VOTES 5
MAX_VOTES_PER_VOTER 2
ALLOW_VOTING_SPECTATOR
VOTING_PRIVACY 1
VOTING_TIMEOUT 60
VOTING_TIMEOUT_PER_VOTER
VOTING_DECAY 60

FLOOR_RED .2
FLOOR_GREEN .2
FLOOR_BLUE .1

CYCLE_SPEED 20.0
CYCLE_RUBBER 15.0
CYCLE_BRAKE 50
CYCLE_BRAKE_DEPLETE 0.0
CYCLE_RUBBER_DELAY .0234758
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: help with setting up mac dedicated server

Post by Z-Man »

Congratulations so far. TALK_TO_MASTER is working, your server is making contact with the masters. However, it does not answer to pings. That means you now need to wrestle with your router's configuration to get port forwarding set up. Relevant WIKI pointers:
http://www.portforward.com/english/appl ... 3index.htm <- guide to a different game, but it's the easiest way to go. Just pick your router model and follow the step by step illustrated instructions.
http://wiki.armagetronad.net/index.php? ... e_wrong.3F
http://wiki.armagetronad.net/index.php? ... forwarding

You may also have to fiddle with your mac's firewall configuration:
http://wiki.armagetronad.net/index.php? ... #Firewalls
Nom
Posts: 8
Joined: Tue Jan 18, 2011 11:55 pm

Re: help with setting up mac dedicated server

Post by Nom »

once again, not to sound like a noob, but i don't know my router type, searched on internet but nothing returned a name on that list, help?
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: help with setting up mac dedicated server

Post by Z-Man »

You need to locate your router, then, the type MUST be written on it somewhere. If you're on a wired connection, just follow the network wire going out of your mac, the box it connects to next either is a switch/hub or the router. Just find out what it calls itself and post it, we'll find out what it is and whether you need to follow more wires.
If you have a wireless LAN, the router typically is the box with the antenna.
Nom
Posts: 8
Joined: Tue Jan 18, 2011 11:55 pm

Re: help with setting up mac dedicated server

Post by Nom »

-.- so figured out what router was, plugged external ip address into internet, however, i need to provide a username and password for the verizon router, so im trying to think of a way to ask my dad... but thanks for the help everyone :)
worship
On Lightcycle Grid
Posts: 11
Joined: Sun Jan 09, 2011 7:24 pm

Re: help with setting up mac dedicated server

Post by worship »

download port map http://www.macupdate.com/app/mac/27342/port-map you can forward ports without the pass... oh and mac a tutorial or somthing im kind of having trouble following :oops:
I trust people. It's the Devil inside of them i don't trust.
Post Reply