Request: Read kill statistics from GTA2

Anything to do with GTA1/GTA2 modding (tools, scripts and more).
Post Reply
Razor
Lunatic
Lunatic
Posts: 456
Joined: 19 Jul 2008, 14:14
GH nick: Razor, R
Location: Poland / Szczecin
Contact:

Request: Read kill statistics from GTA2

Post by Razor »

Hi, i would like to ask sb to do software with will work like that:

Software will read informations from GTA2 likes like:

Player x commited suicide
Player y killied player x.
You wasted player x.

Also frags of players. And then will create raports of match.

eg:

23:32 - Magnus killied Razor. State: Magnus 1 : 0 Razor

I just wrote simply example if its doable and sb want to take that case i can give details :>
User avatar
Cuban-Pete
Immortal
Posts: 909
Joined: 29 Jan 2010, 15:03
GH nick: Cuban-Pete

Re: Request for B-Ship or another programer

Post by Cuban-Pete »

perhaps this can be read from the replay file. not sure. :)
"Mmmm, your eyes are so beautiful."
User avatar
Sektor
Boss
Boss
Posts: 1423
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: Request for B-Ship or another programer

Post by Sektor »

Replay file just contains keystrokes. Kill information would have to be read from RAM or the exe could be modified to make it easy for other programs to read it.
Razor
Lunatic
Lunatic
Posts: 456
Joined: 19 Jul 2008, 14:14
GH nick: Razor, R
Location: Poland / Szczecin
Contact:

Re: Request for B-Ship or another programer

Post by Razor »

i know there was talk about that and you have it in your TODO list, but i would like to move things faster cose this feature could be used in many ways. Eg if you can also gain way of killing and make software (gta2/gh/or whatever) to do logs and save them then you can create online statistic + easly take care of tournaments/ sparings :> i think this feature will bring us a nice bag of new players and make some ghost (players that dont play anymore) to back.
User avatar
Cuban-Pete
Immortal
Posts: 909
Joined: 29 Jan 2010, 15:03
GH nick: Cuban-Pete

Re: Request for B-Ship or another programer

Post by Cuban-Pete »

Sektor wrote:Replay file just contains keystrokes.
It does not contain "location" information? Else you can just read the reply file and when the location is a start position it's -1. However you don't know who killed who, lol.
Sektor wrote:Kill information would have to be read from RAM or the exe could be modified to make it easy for other programs to read it.
I google on read from RAM, nothing useful. Is that possible? Like a hook? Perhaps vike knows more...
"Mmmm, your eyes are so beautiful."
User avatar
Sektor
Boss
Boss
Posts: 1423
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: Request for B-Ship or another programer

Post by Sektor »

It would be tough to find in RAM. It would be best if Vike just outputs the stats to a file, a hidden control or even the titlebar.
User avatar
Vike the Hube
Hitman
Hitman
Posts: 145
Joined: 28 Feb 2010, 22:34
GH nick: vike

Re: Request for B-Ship or another programer

Post by Vike the Hube »

I spoke to Sektor about this already and decided that title bar was easiest. Now to find time to do it :P
User avatar
Cuban-Pete
Immortal
Posts: 909
Joined: 29 Jan 2010, 15:03
GH nick: Cuban-Pete

Re: Request for B-Ship or another programer

Post by Cuban-Pete »

Vike the Hube wrote:I spoke to Sektor about this already and decided that title bar was easiest. Now to find time to do it :P
When this is implemented, we can have a big international tournament. :D

Al thought, the ping might make it a more localised international tournament.
"Mmmm, your eyes are so beautiful."
BenMillard
Immortal
Posts: 889
Joined: 16 May 2009, 06:14
GH nick: BenMillard
Location: London, UK
Contact:

Re: Request: Read kill statistics from GTA2

Post by BenMillard »

Various national or continental tournaments already take place. They are run by other forums around the web, or informally within Game Hunter.
User avatar
Sektor
Boss
Boss
Posts: 1423
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: Request: Read kill statistics from GTA2

Post by Sektor »

I'd use it for personal statistics or sending information to the channel during/after the game. I could make an automatically updated leaderboard but it would easy to cheat it.
Post Reply