AdrenalineX Forums

General => Off-Topic => Topic started by: [MAF]Epoxi on December 13, 2012, 07:37:18 pm

Title: AX Recorder
Post by: [MAF]Epoxi on December 13, 2012, 07:37:18 pm
Hi all, thought I may as well release the single player version of my AX Recorder and Plotter which let you visualise your SA:MP sessions.

Recorder.exe records you SA:MP coords, and Plotter.exe plots them.

I have also included record_SAMP.bat, which can be used to run recorder.exe and samp.exe at the same time. Edit this with notepad (i.e. change address of samp.exe to what it is on your computer) and use it to replace your SA:MP shortcuts to make the Recorder.exe run every time you play.

Instructions (readme.txt)

Code: [Select]
***************************
*                         *
* AX Plotter and Recorder *
*                         *
***************************

by [MAF]Epoxi




Description
-----------

This program logs your in-game San Andreas coordinates at regular intervals (default 1000ms) and lets you plot them.


How to Record
-------------

1. Set up settings.ini with desired preferences using Notepad

Filename - Output filename

Overwrite - Set to 1 to overwrite existing log (WARNING! This will delete your existing log when you run record.exe!)
Set to 0 to continually add points to the existing log

Interval - Interval in milliseconds between each time your position is logged (set to 1000 to log your position once a second)

Enable_Beeps - Set to 1 to enable beep noises every time logging is started or stopped
Set to 0 to disable these beeps

2. Run Record.exe

3. Play San Andreas!



How to Plot the log
-------------------

1. Start Plotter.exe

2. Press 'O' to Open a file

3. Navigate to log file


Options Keys for Plotter.exe
----------------------------

1 - Toggle trails (dots joining)

2 - Toggle dots

3 - Toggle info text

4 - Toggle dots colour

Mouse Scrollwheel - Zoom in and out

Click and Drag mouse - Pan around plotted map

Screenshots

(http://i.imgur.com/MQRna.jpg)
(http://i.imgur.com/6UbXp.png)

Download (Attached Below)
Title: Re: AX Recorder
Post by: [MAF]Karlis on December 13, 2012, 07:49:34 pm
source please  ;)
Title: Re: AX Recorder
Post by: [MAF]Epoxi on December 13, 2012, 08:14:09 pm
I have shown the source code to Karlis, he will tell you if it is full of viruses and hacks to make your car slower than mine.  :L
Title: Re: AX Recorder
Post by: musicloveR on December 13, 2012, 08:43:07 pm
what is this
Title: Re: AX Recorder
Post by: [MAF]Epoxi on December 13, 2012, 11:32:49 pm
what is this

The recorder makes a file containing a log of all your coordinates as you are playing SA or SA:MP. You can then view a map of these coordinates. More frequently visited areas will be in a stronger colour/brightness.
Title: Re: AX Recorder
Post by: [MAF]PyroFox on December 13, 2012, 11:41:16 pm
That's great :) good job
Title: Re: AX Recorder
Post by: musicloveR on December 14, 2012, 03:16:59 pm
ahhhhh i get it now, i thought so epoxi. i wasnt sure tho :P

cool stuff! gonna try it now
Title: Re: AX Recorder
Post by: [MAF]Epoxi on December 18, 2012, 06:35:52 pm
I think I need to re-code the Plotter, it took me over 30 seconds just to render this.  :L

(http://i.imgur.com/h3EbV.png)

^Data from the AX Server logs made by Karlis. It contains damage data, player IDs and score so I also want to make plots of where people crash and stuff.