armagetron-dedicated-0.2.6.0-TPR released.

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
Post Reply

Good/Bad/Don't Care

Good
3
60%
Bad
0
No votes
Don't Care
2
40%
 
Total votes: 5

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

armagetron-dedicated-0.2.6.0-TPR released.

Post by Tank Program »

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.
Image
User avatar
n54
MVP
Posts: 1587
Joined: Sun Dec 21, 2003 12:40 pm

Post by n54 »

hope you've mailed the changes to the official site, it might speed up the next official release :)
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

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 ;).
Image
User avatar
n54
MVP
Posts: 1587
Joined: Sun Dec 21, 2003 12:40 pm

Post by n54 »

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?
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

In essence, you want better spam protectionm right? Did I mention I am just learning c++? (I think I've said it 3 times now.) Maybe I can try and find these things, but the source is pretty confusing...
Image
Guest

Post by Guest »

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 :D
User avatar
n54
MVP
Posts: 1587
Joined: Sun Dec 21, 2003 12:40 pm

Post by n54 »

ok i forgot to log in but i guess you all knew anyway :)
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Well... I know Java too, and it is not necessarily the best language to know before c++. How objects work in c++ will be very confusing to you. (Probably, they were for me, coming from a Java background to c++.) But, yes, I guess I'll talk to z-man about this...
Image
User avatar
n54
MVP
Posts: 1587
Joined: Sun Dec 21, 2003 12:40 pm

Post by n54 »

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* :D
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Hehe, the easiest way to learn a language is to try and do something with it. Wether your result is useless or not, come up with some completely random idea and build it. You'd be suprise what other junk you learn acidently along the way...
Image
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Anyway... I just e-mailed z-man. We'll see what he says now :).
Image
Post Reply