Generating statistics from Warband logs

Generating statistics from Warband logs

Unread postby pomke » 28 Nov 11, 10:46 am

The log file format in Warband captures kills as well as chat, does it also capture the type of kill? (falling, melee, ranged, headshot) etc?

If there was some way I could get an example log file with some different types of kills and perhaps a way of seeing the score for each map cycle etc.. I could very easily write a bit of software which would keep track of kills and assign them to the name of the player. This could be interesting to watch over time, we could have monthly leader-boards for total kills, a wooden spoon award for the person who killed themselves the most etc.

I understand that it is against the rules to give out log files (with all of the chat etc in them) but perhaps if I had an example I could write a script you could run nightly on the server which would update some static html files for everyone to see?

Best wishes,

Pomke
pomke

Player
 
Offline
Posts: 13
Joined: 18 Sep 11, 4:24 pm

Re: Generating statistics from Warband logs

Unread postby lee. » 28 Nov 11, 10:53 am

Games On Net will not release any logs.
Image
lee.

User avatar
Moderator
 
Offline
Posts: 1704
Joined: 7 Jan 05, 10:06 pm
Location: Perth

Re: Generating statistics from Warband logs

Unread postby pomke » 28 Nov 11, 10:55 am

lee. wrote:Games On Net will not release any logs.


Yep, that's why I was suggesting if I could get an example of the log file format I could write a script that ACC could run on the warband server himself. That way I'd never need to see the log files, ACC could host the statistics on a website somewhere :)
pomke

Player
 
Offline
Posts: 13
Joined: 18 Sep 11, 4:24 pm

Re: Generating statistics from Warband logs

Unread postby lee. » 28 Nov 11, 10:56 am

Then I'd say that either setting up a server yourself or a bit of a Google will be your best bet :)
Image
lee.

User avatar
Moderator
 
Offline
Posts: 1704
Joined: 7 Jan 05, 10:06 pm
Location: Perth

Re: Generating statistics from Warband logs

Unread postby ACC1 » 28 Nov 11, 3:40 pm

The kill type doesn't show, only a kill or FF kill.
Run by fools.
ACC1

Padawan
 
Offline
Posts: 237
Joined: 9 Feb 10, 12:47 pm

Re: Generating statistics from Warband logs

Unread postby Laszlo » 28 Nov 11, 8:58 pm

Hey Pomke, sounds interesting. I don't know how viable your idea is (I don't doubt you can write a good script, but GoN may not be happy with the idea of us uploading a program onto the server, etc.)

Anyway, here's the log format:

HH:MM:SS - player_name <img=ico_CAUSE> killed_player

where CAUSE can be:

spear
swordone
swordtwo
blunt
maul
headshot
bow
crossbow
axeone
axetwo
axethrow
javelin
couchedlance
horseimpact

That's just the standard stuff anyone can see when they host a server off their machine.

E.g.

11:12:32 - KoS_Laszlo <img=ico_swordtwo> Pomke
Laszlo

Warband Admin
 
Offline
Posts: 40
Joined: 7 Apr 11, 10:18 am
Location: Canberra, Australia.

Re: Generating statistics from Warband logs

Unread postby ACC1 » 28 Nov 11, 10:26 pm

I should have mentioned this ^ lol. I wasn't thinking and was too lazy to check.

But the annoying thing is it lists alot of weapons as spears !
Run by fools.
ACC1

Padawan
 
Offline
Posts: 237
Joined: 9 Feb 10, 12:47 pm

Re: Generating statistics from Warband logs

Unread postby Laszlo » 29 Nov 11, 8:36 am

Yep, the categories are a bit strange. Like, 'spear' includes some infantryman stabbing someone with a pike AND a horseman lancing someone with a heavy lance. Those are two totally different fighting styles and they get lumped together. :(
Laszlo

Warband Admin
 
Offline
Posts: 40
Joined: 7 Apr 11, 10:18 am
Location: Canberra, Australia.

Re: Generating statistics from Warband logs

Unread postby pomke » 29 Nov 11, 9:15 am

Laszlo wrote:Hey Pomke, sounds interesting. I don't know how viable your idea is (I don't doubt you can write a good script, but GoN may not be happy with the idea of us uploading a program onto the server, etc.)


What scripting facilities are available on the server? is it unix? windows? so like shell script, .BAT, perl, python?
pomke

Player
 
Offline
Posts: 13
Joined: 18 Sep 11, 4:24 pm

Re: Generating statistics from Warband logs

Unread postby Laszlo » 29 Nov 11, 2:34 pm

I'm really not qualified to answer that sort of stuff, and I also don't know how much information I'm allowed to divulge, so I'll first talk to my superiors before trying to answer. :)
Laszlo

Warband Admin
 
Offline
Posts: 40
Joined: 7 Apr 11, 10:18 am
Location: Canberra, Australia.


Return to Mount&Blade

Who is online

Users browsing this forum: No registered users and 1 guest

x

#{title}

#{text}