Tremulous Forum
General => General Discussion => Topic started by: meren on September 06, 2007, 05:38:22 pm
-
Hi,
I was looking for a good log analyzer for tremulous. I couldn't find what exactly I was looking for. Then I decided to write one from scratch. I started to work on it 2 days ago and I didn't have so much time to contribute. But I have a very early stage pre-alpha version of it with an object oriented design. You can see the first web page of it from here:
http://cekirdek.pardus.org.tr/~meren/temp/games_test.html
Weapons and Users page are not ready yet. I'm also planning to add some overall clan efficiency evaluation procedures. But I pretty have every kind of relational information about games, users, weapons and structures in my classes, so it's a matter of time to get the rest of the pages done.
I need to re-factor the code especially for the sake of modularity, it's not ready yet. But if you're interested, you can see the code here:
http://sudrap.org/repository/users/meren/tremloganalyzer.py
In my Linux box (by using python interactive shell) I run it like this (as an example, just in case if you'd like to try):
import tremloganalyzer
logfile = tremloganalyzer.LogFile("games.log")
games = logfile.process()
webPages = tremloganalyzer.WebPages('/tmp', 'test', games)
webPages.create()
I need some help at least about this matter: I need more server side game logs to test it, especially crowded games which played nowadays. I don't know who should I talk to, if you can provide me some, I'd appreciate. Shafe from Beer-Garden provided me a very big and old log, the example page is created by analyzing that log, thanks to him. But I need more.
Also any ideas and suggestions would be most welcome.
Best,
-
Not to nitpick on your work, but "slaughter of the game" means someone who gets slaughtered a lot ( I think ). Try slaughterer. Good work. It looks interesting.
-
Python ftw, slaughterer
-
Not to nitpick on your work, but "slaughter of the game" means someone who gets slaughtered a lot ( I think ).
Eheh thanks. This is not my native language. So the language at the interface will be the next thing that I'm gonna need some help to make clearer, obviously :)
I changed that word in the code with your suggestion though.
Thanks,
-
p
s
y
c
h
o
how much free time do u have? XD
-
how much free time do u have? XD
Not much :)
-
I've spotted an error in the slaughterer part
<world> (Natural), killed 11 times in total, and 10 of them were with his/her Machine Gun Turret
It looks like the alien was killed by a turret, but <world> got the last shot in. Or perhaps <world> did more damage than the turret.
Whatever happened though, humans can't fire turrets (unless you are using a modification that I do not know of), so that entry is very strange.
-
I've spotted an error in the slaughterer part <world> (Natural), killed 11 times in total, and 10 of them were with his/her Machine Gun Turret
It looks like the alien was killed by a turret, but <world> got the last shot in. Or perhaps <world> did more damage than the turret.
Whatever happened though, humans can't fire turrets (unless you are using a modification that I do not know of), so that entry is very strange.
<world> is the name to which Tremulous attributes all the kills from environment hazards or buildables, e.g.
Kill: 1022 0 39: <world> killed UnnamedPlayer by MOD_MGTURRET
Kill: 1022 0 37: <world> killed benmachine by MOD_HSPAWN
Kill: 1022 1 19: <world> killed Moo ||>ETA<|| by MOD_FALLING
just some I found in my games.log
..I miss moo :<
-
Hi,
Whatever happened though, humans can't fire turrets (unless you are using a modification that I do not know of), so that entry is very strange.
Actually <world> is not a real player (the race of it indicated as Natual). <world> is everything on the map which can kill someone other than the real players; <world> uses weapons like mg turret, reactor damage, tesla against humans, acid tube, overmind damage, hive against aliens. It's normal to get confused though, there must be an explanation about it.
I kept <world> because it gives a good idea about a game. If <world> is close to the top players with its efficiency, it means real players were not that good in that game and we definitely can say that that wasn't a great game if <world> is the most efficient player of any game. The more players do camp the more <world> get efficiency points etc. I thought this would be a good evaluation parameter about a game.
Basically it's not a bug but a feature :)
Best,
-
good job I dont where I can use it though
-
good job I dont where I can use it though
Thought you left, however, I am glad that you're back.
-
i know i'm a noob but doesn't tremstats do the same thing? oO
-
Hi,
Noobius"]i know i'm a noob but doesn't tremstats do the same thing? oO
Basically we can say that in general, but it requires an sql server to run and a web server with php support to show the stats (keeping data in sql is better in many cases, but most of the people just want to evaluate a scrim or a bunch of games together, quickly).
Best,