Page 1 of 1
Request: Read kill statistics from GTA2
Posted: 16 Jan 2011, 17:56
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 :>
Re: Request for B-Ship or another programer
Posted: 16 Jan 2011, 20:48
by Cuban-Pete
perhaps this can be read from the replay file. not sure.

Re: Request for B-Ship or another programer
Posted: 17 Jan 2011, 06:23
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.
Re: Request for B-Ship or another programer
Posted: 17 Jan 2011, 07:19
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.
Re: Request for B-Ship or another programer
Posted: 17 Jan 2011, 18:21
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...
Re: Request for B-Ship or another programer
Posted: 17 Jan 2011, 19:00
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.
Re: Request for B-Ship or another programer
Posted: 01 Feb 2011, 06:03
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

Re: Request for B-Ship or another programer
Posted: 01 Feb 2011, 11:24
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

When this is implemented, we can have a big international tournament.
Al thought, the ping might make it a more localised international tournament.
Re: Request: Read kill statistics from GTA2
Posted: 01 Feb 2011, 16:30
by BenMillard
Various national or continental tournaments already take place. They are run by other forums around the web, or informally within Game Hunter.
Re: Request: Read kill statistics from GTA2
Posted: 01 Feb 2011, 16:37
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.