armagetron-dedicated-0.2.6.0-TPR released.
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6712
- Joined: Thu Dec 18, 2003 7:03 pm
armagetron-dedicated-0.2.6.0-TPR released.
Ok, after messing around in the 0.2.6.0 dedicated source code I bring you the features you are seeing on many servers. However, since I'm doing it built in to the app, it should take less memory, blah blah blah. But, I'm sure you want the features, so I'll tell you all them.
CONSOLE_MESSAGE now prints new line at the end of your message!
MESSAGE_OF_DAY_5 is another line to the welcome message!
ROUND_CENTER_MESSAGE is a center message printed every round!
ROUND_CONSOLE_MESSAGE_1 is a console message printed every round!
ROUND_CONSOLE_MESSAGE_2 is another line!
ROUND_CONSOLE_MESSAGE_3 is another line!
ROUND_CONSOLE_MESSAGE_4 is another line!
ROUND_CONSOLE_MESSAGE_5 is another line!
Plus, chat is now displayed in the server console, and I've tweaked the output of players.txt some so it's a little easier to parse in programs, etc.
Well, now you are wondering where to get it right?
You can get it at http://mxii.com/tron/download/setup_arm ... icated.zip (recomended)
or you can get it at http://guru3.sytes.net/temp/armagetron- ... .0-TPR.zip
Right, that's the other thing, it's currently only available to windows users... But I'll fix that soon.
CONSOLE_MESSAGE now prints new line at the end of your message!
MESSAGE_OF_DAY_5 is another line to the welcome message!
ROUND_CENTER_MESSAGE is a center message printed every round!
ROUND_CONSOLE_MESSAGE_1 is a console message printed every round!
ROUND_CONSOLE_MESSAGE_2 is another line!
ROUND_CONSOLE_MESSAGE_3 is another line!
ROUND_CONSOLE_MESSAGE_4 is another line!
ROUND_CONSOLE_MESSAGE_5 is another line!
Plus, chat is now displayed in the server console, and I've tweaked the output of players.txt some so it's a little easier to parse in programs, etc.
Well, now you are wondering where to get it right?
You can get it at http://mxii.com/tron/download/setup_arm ... icated.zip (recomended)
or you can get it at http://guru3.sytes.net/temp/armagetron- ... .0-TPR.zip
Right, that's the other thing, it's currently only available to windows users... But I'll fix that soon.

- Tank Program
- Forum & Project Admin, PhD
- Posts: 6712
- Joined: Thu Dec 18, 2003 7:03 pm
I am pretty sure these changes would not speed up the release, as I am a C++ amature, and I probably did not do these the cleanest way possible, but the exe is only like 4kb larger... Anyway... It works and it's pretty nifty. Next feature: remote control, use in chat types password followed by command, and server executes command... That's whay I'm working on now, seems like that would be handy, kick spammers
.


hmm ok but i'll encouraage you to send a copy of the changes to Z-man anyway (you can either use the official website or the sourceforge site, it shouldn't matter), that way it can be made progressively better by other coders as well as get implemented in the other OS'es...
does it help if i say please?
btw how easily could one make the following antispam measure? (just an idea):
- last two chat lines are buffered for each user
- server does a quick comparison with any new chatline from user within lets say half a minute (or more)
- if the content is equal the chatline isn't displayed (maybe if this happens more than one time the built in silencing could be activated)
- if the content is not equal it is displayed
- each of the buffered chatlines have their own "timestamp" which either expires after like half or minute or is reset when new (unique) chatlines are displayed (these then take the place of the old in the buffer)
do you get what i'm thinking about?
does it help if i say please?

btw how easily could one make the following antispam measure? (just an idea):
- last two chat lines are buffered for each user
- server does a quick comparison with any new chatline from user within lets say half a minute (or more)
- if the content is equal the chatline isn't displayed (maybe if this happens more than one time the built in silencing could be activated)
- if the content is not equal it is displayed
- each of the buffered chatlines have their own "timestamp" which either expires after like half or minute or is reset when new (unique) chatlines are displayed (these then take the place of the old in the buffer)
do you get what i'm thinking about?
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6712
- Joined: Thu Dec 18, 2003 7:03 pm
sorry i know you've just begun, and the source is spagetticode written in C so yes it is difficult. but this is partly why i go on about the project site, it is a good place to contribute/cooperate on the project codewise.
to be very precise: the GNU GPL license requires (yes it is actually legally required) ppl that make changes to notify the author/owner of the program about those changes in full, this is an attempt to avoid code-forking and make sure all the source is shared.
i should read c/c++ myself but my studies are java so... afterwards it will be quicker to learn though.
don't worry too much about my idea (i don't), just have fun
to be very precise: the GNU GPL license requires (yes it is actually legally required) ppl that make changes to notify the author/owner of the program about those changes in full, this is an attempt to avoid code-forking and make sure all the source is shared.
i should read c/c++ myself but my studies are java so... afterwards it will be quicker to learn though.
don't worry too much about my idea (i don't), just have fun

- Tank Program
- Forum & Project Admin, PhD
- Posts: 6712
- Joined: Thu Dec 18, 2003 7:03 pm
yes, you're absolutely correct.
from what little c++ i've read i like it a lot better than java (if i could choose absokutely freely i'd start with c, then c++, then java). I'm a real newbie in programming but seems to me java lost a lot by its main goal of being 100% platform&device independent - a kind of lowest common denominator effect.
btw i'm actually kinda in the opposite situation as i had just read enough c++ to get the grasp of their objects but then i had to start on java lol *totally confused*
from what little c++ i've read i like it a lot better than java (if i could choose absokutely freely i'd start with c, then c++, then java). I'm a real newbie in programming but seems to me java lost a lot by its main goal of being 100% platform&device independent - a kind of lowest common denominator effect.
btw i'm actually kinda in the opposite situation as i had just read enough c++ to get the grasp of their objects but then i had to start on java lol *totally confused*

- Tank Program
- Forum & Project Admin, PhD
- Posts: 6712
- Joined: Thu Dec 18, 2003 7:03 pm
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6712
- Joined: Thu Dec 18, 2003 7:03 pm