|
General Altitude Discussion Discuss anything Altitude related that doesn't belong in another forum. |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
my programming code
Hello everybody,
In short words I like to share my code which I had written in my time running an Altitude server. (About 1.5 years now) First one is based on an old version of PALP (PHP Altitude Log Parser): I tried to evolve a clan-based rating ladder; sadly there was not enough response to achieve a decent competition.... But here is the PHP code. It’s not really cleaned or finished, but maybe someone has a use for it -->Attachement edit: Newer version of PALP can be found here My attachement is only for historical reason, and if i want to look up something... ---- Second one is a modified version based on a Java program I found here in the forum. I cannot recall the post or find it anymore. If you do know which post it is, pls send the link to me so I can add the link here. Now on to some tech stuff: I uploaded the Java Maven project into Google's subversion. svn checkout http://another-alti-log-parser.googl...com/svn/trunk/ another-alti-log-parser-read-only To get the whole package (runnable jar with samples and source code) you need to download a 2 MB ZIP from Google: http://another-alti-log-parser.googl...ck_one_jar.zip So what does it need? It requires a MySQL database and tail (linux). Maybe it’s running on Windows too, but I never tried MySQL Scheme is included in source code. What does it do? The program has different modes, which are: - counting goals, kills, deaths and displaying them in-game as rank - counting turret kills for coop and displaying them in-game as rank - Map-based configuration for coop points to achieve time and a rank (one can say it’s a micro version of a ranking system) I made most of the parts configurable, so you can edit the messages send by the server and a lot of other things. I also tried to document the config... I really tried... most of the classes and methods in the code are not documented at all. So you will find a basic documentation and a lot of comments in the files. Why did I do this? Simple answer, just for fun Just to make sure: This is no framework or anything like that. It's not easy to use for most ppl and will cause a question mark above some ppls head. That's all folks... cybs out edit: added new PALP version thx to Aki1024 and of course phong changed filename and added database_scheme for php Last edited by cybernaut; 10-31-2011 at 08:15 PM. |
#2
|
|||
|
|||
Hey you should join us in the altitude IRC channel (irc.freenode.org #altitude ) there are other guys who work on Alti stuff there like Ladder match stats and what not.
|
#3
|
|||
|
|||
A couple things:
The main reason there has never been a primary statistical addon (like hlstats in CS) is because none has ever been 100% finished or maintained. People want to be able to install a full featured package with few instructions and have it work properly as most are not developers/system admins. |
#5
|
|||
|
|||
@tekn0: Maybe I should give IRC a try... thx for the information
@phong: Thank you for your response, I appreciate it. But that version I posted is not to be run anymore and not really finished. It will have some flaws and bugs Maybe I should remove it... Anyway, I added database scheme and library file. @Aki1024: Thx for link, added it in the OP |
|
|