Author Topic: Tremulous Game Server Log Analyzer..  (Read 5102 times)

meren

  • Posts: 37
  • Turrets: +18/-2
    • http://meren.org/
Tremulous Game Server Log Analyzer..
« 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):

Code: [Select]
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,
http://meren.org/
"Never argue with an idiot. He'll drag you down to his level and beat you with experience."

sleekslacker

  • Posts: 407
  • Turrets: +10/-35
Tremulous Game Server Log Analyzer..
« Reply #1 on: September 06, 2007, 06:02:31 pm »
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.
y last name is Jones, the family motto is "Jones' never give up!"

Currently ignoring all of your spams.

beerbitch

  • Posts: 195
  • Turrets: +11/-19
Tremulous Game Server Log Analyzer..
« Reply #2 on: September 06, 2007, 06:12:40 pm »
Python ftw, slaughterer
Beerbitch - "Some days you're the pigeon, other days you're the statue"

meren

  • Posts: 37
  • Turrets: +18/-2
    • http://meren.org/
Tremulous Game Server Log Analyzer..
« Reply #3 on: September 06, 2007, 06:17:47 pm »
Quote from: "sleekslacker"
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,
http://meren.org/
"Never argue with an idiot. He'll drag you down to his level and beat you with experience."

Annihilation

  • Posts: 684
  • Turrets: +162/-197
Tremulous Game Server Log Analyzer..
« Reply #4 on: September 06, 2007, 09:40:21 pm »
p

s

y

c

h

o

how much free time do u have? XD
[11:33:20 PM] Kaine:
Quote from: KobraKaine
How do you perform goon-copulation if he doesn't play?
Quote from: PowerOverwhelming
We just get on VC and listen to camels dying until we orgasm

meren

  • Posts: 37
  • Turrets: +18/-2
    • http://meren.org/
Tremulous Game Server Log Analyzer..
« Reply #5 on: September 06, 2007, 11:58:20 pm »
Quote from: "Annihilation"
how much free time do u have? XD


Not much :)
http://meren.org/
"Never argue with an idiot. He'll drag you down to his level and beat you with experience."

Vector_Matt

  • Posts: 732
  • Turrets: +2/-1
Tremulous Game Server Log Analyzer..
« Reply #6 on: September 07, 2007, 12:34:23 am »
I've spotted an error in the slaughterer part
Quote
<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.

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Tremulous Game Server Log Analyzer..
« Reply #7 on: September 07, 2007, 01:33:20 am »
Quote from: "Vector_Matt"
I've spotted an error in the slaughterer part
Quote
<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.
Quote
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 :<
benmachine

meren

  • Posts: 37
  • Turrets: +18/-2
    • http://meren.org/
Tremulous Game Server Log Analyzer..
« Reply #8 on: September 07, 2007, 01:34:43 am »
Hi,

Quote from: "Vector_Matt"
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,
http://meren.org/
"Never argue with an idiot. He'll drag you down to his level and beat you with experience."

tehOen

  • Guest
Tremulous Game Server Log Analyzer..
« Reply #9 on: September 07, 2007, 01:44:03 am »
good job I dont where I can use it though

Death On Ice

  • Posts: 1287
  • Turrets: +126/-141
Tremulous Game Server Log Analyzer..
« Reply #10 on: September 07, 2007, 02:00:24 am »
Quote from: "tehOen"
good job I dont where I can use it though


Thought you left, however, I am glad that you're back.

[Kcorp]Noobius

  • Posts: 197
  • Turrets: +3/-4
Tremulous Game Server Log Analyzer..
« Reply #11 on: September 07, 2007, 10:01:15 am »
i know i'm a noob but doesn't tremstats do the same thing? oO
It's actualy Noobius but i can't be bothered to change it ^^

Quick, name two famous female inventors. Too tough? Ok, just name one.

meren

  • Posts: 37
  • Turrets: +18/-2
    • http://meren.org/
Tremulous Game Server Log Analyzer..
« Reply #12 on: September 07, 2007, 02:20:25 pm »
Hi,

Quote from: "[Kcorp
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,
http://meren.org/
"Never argue with an idiot. He'll drag you down to his level and beat you with experience."