Author Topic: Need info about killlogs  (Read 2444 times)

0 Members and 1 Guest are viewing this topic.

Offline MR X

  • Soldier
  • **
  • Posts: 148
  • Soldat Rulezz and must be played forever
Need info about killlogs
« on: April 18, 2008, 05:49:09 am »
Hello, im creating a ofline log viewer that uses SQLlite to store information. now i have a question about a kill log.

i have one and it say's:
--- 08-04-17 18:50:03
Sniper
-=Teqskater=-
Selfkill


Sniper is the killer right? and -=Teqskater=- is the victim? Selfkill is the "weapon", but does it mean that -=Teqskater=- killed himself? if so there is no way to see how he killed himself for example with a knife grenade or m79 bullet?

are there some other things i need to know about killogs?

Thanks!
Soldat Rulezz and must be played forever

Offline Spacewing

  • Soldier
  • **
  • Posts: 184
Re: Need info about killlogs
« Reply #1 on: April 18, 2008, 05:56:53 am »
I think it means that Sniper selfkilled and got -=Teqskater=- killed at the same time, and no, then you can't see what weapon he used.

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Re: Need info about killlogs
« Reply #2 on: April 18, 2008, 05:58:26 am »
There's a bug with kill logging that makes all USSOCOM kills display as selfkills. Check if the weapon is selfkill, and if killer != victim then change weapon into USSOCOM and you're fine (USSOCOM suicides are extremely rare anyway).

Offline MR X

  • Soldier
  • **
  • Posts: 148
  • Soldat Rulezz and must be played forever
Re: Need info about killlogs
« Reply #3 on: April 18, 2008, 06:12:37 am »
Thanks Toumaz and Spacewing.
Now i need the statement of Spacewing confirmed and im al good i think.

Edit#1:

I've killed myself a couple of times with diffrent weapons and this is what the killlog ouputs:
Quote
--- 08-04-18 13:14:25
-=Teqskater=-
-=Teqskater=-
Grenade
--- 08-04-18 13:14:55
-=Teqskater=-
-=Teqskater=-
M79
--- 08-04-18 13:15:15
-=Teqskater=-
-=Teqskater=-
Combat Knife

So i think Spacewing is right but i still need it confirmed
« Last Edit: April 18, 2008, 06:17:47 am by MR X »
Soldat Rulezz and must be played forever

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Re: Need info about killlogs
« Reply #4 on: April 18, 2008, 07:01:47 am »
So i think Spacewing is right but i still need it confirmed

Selfkills are displayed as such:

Time of death
Player suiciding
Player suiciding
Selfkill weapon

So no, Spacewing was incorrect, at least based on his original explanation.

Offline MR X

  • Soldier
  • **
  • Posts: 148
  • Soldat Rulezz and must be played forever
Re: Need info about killlogs
« Reply #5 on: April 18, 2008, 08:14:14 am »
I meant that i was thinking that spacewing was right with his

Quote
I think it means that Sniper selfkilled and got -=Teqskater=- killed at the same time, and no, then you can't see what weapon he used.

about
Quote
--- 08-04-17 18:50:03
Sniper
-=Teqskater=-
Selfkill

Or isnt he right? If he isnt then please tell me what is standing right there then if you can.
Soldat Rulezz and must be played forever

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Re: Need info about killlogs
« Reply #6 on: April 18, 2008, 08:16:56 am »
I meant that i was thinking that spacewing was right with his

Quote
I think it means that Sniper selfkilled and got -=Teqskater=- killed at the same time, and no, then you can't see what weapon he used.

about
Quote
--- 08-04-17 18:50:03
Sniper
-=Teqskater=-
Selfkill

Or isnt he right? If he isnt then please tell me what is standing right there then if you can.

... no, he wasn't right about that. As I told you already, there's is a bug in the kill logging that causes any kills with the USSOCOM to display as selfkills. Which in this case means that Sniper killed Teqskater using a USSOCOM.

Offline MR X

  • Soldier
  • **
  • Posts: 148
  • Soldat Rulezz and must be played forever
Re: Need info about killlogs
« Reply #7 on: April 18, 2008, 08:32:36 am »
Alright. Sorry. Now i understand it. thanks.  [retard]  :D
Soldat Rulezz and must be played forever

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Need info about killlogs
« Reply #8 on: April 18, 2008, 02:52:40 pm »
Don't forget that there is a bug where the weapon isn't recorded, only the date, killer, and victim, which makes the kill entry only take up three lines instead of the normal four.

Here's an example on how to get around this bug in php. Convert it to your language.
http://soldat.jrgp.org/stuff/logfixer.phps
There are other worlds than these

Offline MR X

  • Soldier
  • **
  • Posts: 148
  • Soldat Rulezz and must be played forever
Re: Need info about killlogs
« Reply #9 on: April 18, 2008, 03:01:10 pm »
Damm i would wish i could read that but i cant  :(.

Quote
Don't forget that there is a bug where the weapon isn't recorded, only the date, killer, and victim, which makes the kill entry only take up three lines instead of the normal four.

I gonna create a workaround with the help of your description because i don't know PHP.
What should i do with that corrupt "entry"? delete it or...?

Thanks


EDIT#1: I created a workaround for it in my programming language and when it detects a "corrupted entry" it deletes it and outputs it in a parse log in my program like this:



Thanks jrgp for the hint
« Last Edit: April 19, 2008, 08:03:08 am by MR X »
Soldat Rulezz and must be played forever