GOOD server changes

For all the help you need with Armagetron!
Post Reply
PAQUEX
Posts: 9
Joined: Wed Dec 12, 2012 4:00 pm

GOOD server changes

Post by PAQUEX »

What are some good modifications that we can do to the gameplay? Such as changing the wall colors or making the game play with 3 bots in case only 1 human player connects to the server, or having no bots when 5 human players connect.

A bit of extra info, we are running Armagetron on Windows Server 2012 with the most recent version.
THANKS
PAQUEX
Posts: 9
Joined: Wed Dec 12, 2012 4:00 pm

Re: GOOD server changes

Post by PAQUEX »

Like how would we apply these changes in our server (DOS screen)
http://wiki.armagetronad.org/index.php/Console_Commands
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: GOOD server changes

Post by LOVER$BOY »

Commands that include config

Code: Select all

INCLUDE   # Simply loads a config file from your "config" folder.
RINCLUDE  # Remote loading. This is where you can use to load configs from resource or website
SINCLUDE  # Same as INCLUDE but won't display the errors that might occur during loading of config commands
For dedicated server, it is easier to write your commands and save them in "settings_custom.cfg" inside your "config" folder. That way you won't need to keep on loading the commands manually. To use that, simply download pspad (it's free) and through that make a *.cfg file.

Using Commands
As for the list of so many commands there, Alpha Project servers have a wider range of usages if your interested in using our service. There's a wiki dedicated to our work actually. It's here: Alpha Project - Wiki. More content will be added soon once I get my content straight. Well right now there isn't a windows build for sty+ct+ap (because I never publish them) but I will upload them to an online resource storage system and post the links here if you like :)

Applying changes to commands
Currently, when you press the ~ button in your client, you should get something saying "Con: ". There you enter the command, example:

Code: Select all

CYCLE_RUBBER
If you did not setup a server name yet, it'll be displayed as:

Code: Select all

CYCLE_RUBBER is currently set to ...
the ... is where the value will be displayed. Most of those commands behavior is self explanatory.

If ever you want to change the values, simply do:

Code: Select all

CYCLE_RUBBER {new_value}
Simply replace {new_value} with the value you want the rubber to be at. Don't put it below 0, otherwise cycles will keep dying the moment they spawn onto the grid.

What else?
mmm... A lot I guess. To be perfectly honest with you, there are a lot of settings for you to go through. For example the LADDERLOG_WRITE_ commands if your going to make a script externally and then feed something back. Then there's the RACE_ settings if you want to setup your own racing server. There are a LOT of commands available in there. If you plan on using sty+ct+ap, there is a command:

Code: Select all

LIST_ALL_COMMANDS
Basically it writes all available commands that you can use to ...\AppData\Roaming\Armagetron\var\commands_list.txt (Your using Windows 7, I'm guessing). That will give you some idea on what commands to choose from.

I would say that you will need to experiment, trail and error and do many more if your going to learn to use those commands for a friendly battles in LAN ;)

Download Links
Here are the download links to sty+ct+ap version windows builds:
Client
Dedicated

Good luck with it ;)
Image
User avatar
Phytotron
Formerly Oscilloscope
Posts: 5042
Joined: Thu Jun 09, 2005 10:06 pm
Location: A site or situation, especially considered in regard to its surroundings.
Contact:

Re: GOOD server changes

Post by Phytotron »

I'm betting you gave him WAY more there than he's looking to do, not to mention not answering his specific questions. You should be able to deduce he's new to not only hosting a server, but the game itself. I don't think he's looking for the exaggerated game modes and "special features," scripting, all that crap. In which case, PAQUEX, ignore that sty+... stuff. The only part of that post you should really pay attention to at this time is the first section about configs.


PAQUEX wrote:What are some good modifications that we can do to the gameplay?
Well, you'll have to decide that for yourself and your tastes. As with that wiki page you linked (note that many of those are client-side only, and therefore won't have any affect on your server), the config files themselves have brief explanations for what the various settings do. Main ones you may want to experiment with may include:

Code: Select all

CYCLE_SPEED
CYCLE_ACCELERATION
WALLS_LENGTH
SIZE_FACTOR
CYCLE_BRAKE
SCORE_KILL
SCORE_DIE
SCORE_WIN
LIMIT_ROUNDS
Just try different values and see what you like.
Such as changing the wall colors
That is client-side only. If you want to change them, you locate the textures folder and change rim_wall.png. Alternatively, use a moviepack. Info about all that is on the wiki.
or making the game play with 3 bots in case only 1 human player connects to the server, or having no bots when 5 human players connect.
That's determined by settings like [SP_]MIN_PLAYERS and [SP_]MIN_TEAMS. I forget now exactly how those interact. Note that all settings beginning with the SP_ prefix apply to Single-Player mode.
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: GOOD server changes

Post by LOVER$BOY »

Phytotron wrote:I'm betting you gave him WAY more there than he's looking to do, not to mention not answering his specific questions. You should be able to deduce he's new to not only hosting a server, but the game itself. I don't think he's looking for the exaggerated game modes and "special features," scripting, all that crap. In which case, PAQUEX, ignore that sty+... stuff. The only part of that post you should really pay attention to at this time is the first section about configs.
Yes py, I was aware this person is new to tron. Although I had to admit I got carried away, I didn't want to leave the guy/girl in the dark. Wanted to shed some light on him (I too was in the same position on 2006 when I started tron myself). Anyway, I was hoping someone else will fill in the holes I left.
Phytotron wrote:
or making the game play with 3 bots in case only 1 human player connects to the server, or having no bots when 5 human players connect.
That's determined by settings like [SP_]MIN_PLAYERS and [SP_]MIN_TEAMS. I forget now exactly how those interact. Note that all settings beginning with the SP_ prefix apply to Single-Player mode.
Those two commands are a total confusion, I tell you. Half the time I had no idea why AI keep spawning when when I set them to 0. Then I realised, I had:

Code: Select all

SP_TEAMS_MAX 10
SP_TEAMS_MIN 4
TEAMS_MAX 10
TEAMS_MIN 4
Fixed the problem once I changed the _MIN value :)
Image
PAQUEX
Posts: 9
Joined: Wed Dec 12, 2012 4:00 pm

Re: GOOD server changes

Post by PAQUEX »

Do we just enter the codes on the DOS server?
For example if we want to limit rounds do we just type LIMIT[7]ROUNDS--------- for 7 rounds
Attachments
IMG_20121212_092920 %281%29.jpg
User avatar
Phytotron
Formerly Oscilloscope
Posts: 5042
Joined: Thu Jun 09, 2005 10:06 pm
Location: A site or situation, especially considered in regard to its surroundings.
Contact:

Re: GOOD server changes

Post by Phytotron »

No no, those underscores aren't blanks, they're spaces between words in the command—like you used to have to make file names in Windows. Just look at your config files, man. You'll see all this. You'll see it written, for example:

Code: Select all

LIMIT_ROUNDS 7
As to where to enter them, there are two points:

To apply settings temporarily while in the game, for experimentation purposes, you'll have to set up login authorities (see wiki). Then while connected to the server with your game client, you'll first log in as Administrator. You'll then press your chat key and type the preface /admin, then the command and value. So, for example:

Code: Select all

/admin CYCLE_SPEED 15
To make those settings permanent, you'll enter them into your config files for the dedicated server. As to how to do that, please, read the wiki.



*****
LOVER$BOY wrote:To use that, simply download pspad (it's free)
By the way, just noticed this bit. Why are you telling him to download that? All he needs is a regular text editor. On Windows, that'd be Notepad, I believe. You just have to make sure to save it as plain/raw text format, not rich.

Also, who is py?
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: GOOD server changes

Post by LOVER$BOY »

Phytotron wrote:No no, those underscores aren't blanks, they're spaces between words in the command—like you used to have to make file names in Windows. Just look at your config files, man. You'll see all this. You'll see it written, for example:

Code: Select all

LIMIT_ROUNDS 7
You might also want to look into SP_ commands. the SP stands for Single Player and those commands only take effect once only one human is present on the field.
Phytotron wrote:To make those settings permanent, you'll enter them into your config files for the dedicated server. As to how to do that, please, read the wiki.
If your going to give him such wonderful advice, at-least point him in the right direction. Not just vaguely say
Phytotron wrote:please, read the wiki.
He's a newbie and will get lost. We've been in the game and know our way around the wiki. It should be easy for us to get the stuff he needs lol, much quicker than he himself would do, im sure. You should know this better than me. You've been in this forums FAR longer than I :P

@PAQUEX , Here are the links that'll help you understand them better:
Configuration Files
Server_Administration_Guide#Configuration_Files
Take a look at this once you feel your ready to face the advanced stuff: Advanced_Server_Administration_Guide
Phytotron wrote:
LOVER$BOY wrote:To use that, simply download pspad (it's free)
By the way, just noticed this bit. Why are you telling him to download that? All he needs is a regular text editor. On Windows, that'd be Notepad, I believe. You just have to make sure to save it as plain/raw text format, not rich.

Also, who is py?
Sorry, I was in a hurry to finish my message that I accidentally spelled your name wrong. I'm really sorry.

Yes, Notepad is a the default choice for windows users but I feel it's restricted. Instead, I prefer a free type system like the pspad. For example, if I want to go to a line far away, I just need to click on it. In notepad however you need to keep hitting spaces or tabs until you get there. I still use notepad for basic stuff like taking down urgent notes and things like that but when it comes down to arma codes, I prefer pspad.

Also, whenever I did my config files in linux, when I open them again in Windows, all the commands became attached in a single line. It was extremely annoying, so I went searching around the wiki and finally found a wiki page advising people on what program to use that best suits the needs for this type of server command settings. That wiki page should be there, somewhere under making maps manually or something.
Image
Post Reply