| Date: 23-05-18  Time: 07:22 am
collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online

  • Dot Guests: 37
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Search


Author Topic: Introducing SAPDKeys - Making IG radio as effective as TS  (Read 2607 times)

0 Members and 1 Guest are viewing this topic.

Offline Chase_Greggor

  • Citizen
  • Posts: 10
  • With us since: 17/10/2014
    YearsYearsYearsYears
Introducing SAPDKeys - Making IG radio as effective as TS
« on: August 04, 2016, 03:14:48 am »
Since keybinds have been legalized on Argonath for some time now, I decided to try to make in game radio as effective as teamspeak.

Before I dive into details, let me make a short disclaimer: This should not be a substitute for partners, it's always best to have a partner to give more detailed descriptions such as landmarks, and also to have your back in dire situations! Nor should this be a tool to spam the radio. If I see people constantly misusing this, I WILL take it down.

SAPDKeys is scripted using autohotkey and a 3rd party memory reading library thanks to https://github.com/paul-phoenix

It is meant to make officers' duties in situations like pursuits as productive as possible, making it almost as effective as teamspeak.

How it works? The script READS memory from your game. Don't worry, it does not WRITE. So far it can get your in game location and direction.

Current keybinds are:
Numpad / opens toll
Numpad 2 updates location
Numpad * updates location with your direction (very good for pursuits)

To view the current code or download it, you can go to https://github.com/Chaser98/SAPDKeys and the main source file will be SAPD.ahk (SAMP.ahk is the library)
To use: You can either download autohotkey at https://autohotkey.com/ and compile the script yourself and run it, OR you can download the pre compiled version at https://github.com/Chaser98/SAPDKeys/releases/

Note that this is only the first version, I will update it as I get good ideas from you guys. And if anyone here knows autohotkey script, feel free to contribute and make pull requests to my github repo.

So, please give me feedback and suggestions so I can continue making updates.

Go catch some bad guys!

Offline Lionel Valdes

  • [SA:MP] Command Advisor
  • *****
  • Posts: 3009
  • With us since: 13/09/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #1 on: August 04, 2016, 03:20:21 am »
I find this to be a wonderful piece of code that will certainly make things easier. Just like the disclaimer suggests, this is far from being an alternative to a patrol partner. Always find someone to patrol with because the true value of police roleplay emerges when you have someone beside you to share the experience.

Once again, good work Chase. I'll be looking forward to seeing progress made as far as this tool is concerned.

LIONEL VALDES
FORMER DEPUTY CHIEF, CHIEF OF ADMINISTRATIVE SERVICES


Offline DinoKid23

  • Citizen
  • Posts: 388
    • Skype - dinokid23
  • With us since: 13/06/2014
    YearsYearsYearsYears
  • SA-MP: hehe xd
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #2 on: August 04, 2016, 04:07:58 am »
so if you do numpad and the asterisk it'll automaticcaly do something like
/r heading westbound at market etc???

Offline Chase_Greggor

  • Citizen
  • Posts: 10
  • With us since: 17/10/2014
    YearsYearsYearsYears
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #3 on: August 04, 2016, 04:38:20 am »
Yes

Offline Alex Williams

  • Citizen
  • Posts: 230
  • With us since: 08/02/2015
    YearsYearsYears
  • Badge-ID: #126
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #4 on: August 04, 2016, 13:18:10 pm »
Nice!


Alex Williams



Offline ImamRasyid

  • [SA:MP] TCL Member
  • Citizen
  • Posts: 36
    • Skype - ImamRasyid22
  • With us since: 13/07/2015
    YearsYearsYears
  • Badge-ID: Ex. #124
  • SA-MP: [TCL]Imam
  • VC:MP: LittleJacob
  • IV:MP: Altobello
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #5 on: December 03, 2016, 18:30:29 pm »
Downloaded the 3 files. How to install it and use it?

| HezCl Youtube Channel | TCL Member |
※The power is not from gun, it is from the man behind the gun※

Offline Jimmy Ross

  • Citizen
  • Posts: 239
  • Worst driver of ARPD
  • With us since: 31/12/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYears
  • Badge-ID: #AR2464
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #6 on: January 12, 2017, 14:53:47 pm »
Downloaded the 3 files. How to install it and use it?

this, how to install?
Regards,

Officer Ross, ARPD.

Offline Dutch_Hunter

  • SA;MP Veteran
  • Citizen
  • Posts: 8
    • Skype - Dit.is.wesley
  • With us since: 28/05/2016
    YearsYears
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #7 on: January 17, 2017, 16:20:28 pm »
so. downloeded the three files. but no ReadME included. any one able to tell me how to install it?

Offline Dutch_Hunter

  • SA;MP Veteran
  • Citizen
  • Posts: 8
    • Skype - Dit.is.wesley
  • With us since: 28/05/2016
    YearsYears
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #8 on: January 17, 2017, 16:32:06 pm »
so. downloeded the three files. but no ReadME included. any one able to tell me how to install it?

nvm found out how.

1. Unpack SAPDkeys-0.1
2. drag it into gta sa dictory
3. drag SAPD.exe in the same dictory
(C:\Program Files (x86)\Rockstar Games\GTA San Andreas)
4. run sapd keys.
5. done

Offline Jackson Smith

  • [SA:MP] S.W.A.T Rookie [SA:MP] STAR Sup. Pilot Officer
  • [SA:MP] Senior Officer
  • **
  • Posts: 210
  • [WS]Dexter Smith
    • Skype - ankit.hans
  • With us since: 05/02/2011
    YearsYearsYearsYearsYearsYearsYears
  • Badge-ID: #141
  • SA-MP: [WS]Dexter_Smith
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #9 on: January 17, 2017, 17:27:01 pm »
so. downloeded the three files. but no ReadME included. any one able to tell me how to install it?

nvm found out how.

1. Unpack SAPDkeys-0.1
2. drag it into gta sa dictory
3. drag SAPD.exe in the same dictory
(C:\Program Files (x86)\Rockstar Games\GTA San Andreas)
4. run sapd keys.
5. done
Or just download the .exe file and execute it.
An eye for an eye will make the whole world blind - Mahatama Gandhi

Offline Chase_Greggor

  • Citizen
  • Posts: 10
  • With us since: 17/10/2014
    YearsYearsYearsYears
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #10 on: March 18, 2017, 22:04:36 pm »
I'd like to remind folks that I am still actively looking for suggestions or improvements for SAPDKeys. You can suggest here or open a github issue, I don't mind either way. :police:

Offline Gregory Parker

  • [SA:MP] Chief of Police
  • *********
  • Posts: 1834
  • [R*]Younes
    • Skype - younes.ar1
  • With us since: 09/07/2014
    YearsYearsYearsYears
  • Badge-ID: #134
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #11 on: December 18, 2017, 22:07:34 pm »
Got this issue. Anyone found a fix?



LCPD Medal of Valor ~2017

January, 2017 - Officer of the month (SAPD)



[SAMP] SAPD Chief [IV:MP] Ex-LCPD Deputy Chief  (#CL7335) [IVMP] Ex-CIU Inspector.
Serving since: 2014

Offline Gregory Parker

  • [SA:MP] Chief of Police
  • *********
  • Posts: 1834
  • [R*]Younes
    • Skype - younes.ar1
  • With us since: 09/07/2014
    YearsYearsYearsYears
  • Badge-ID: #134
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #12 on: December 18, 2017, 23:19:29 pm »
solved, all i had to do is update autohotkey to 1.1.

LCPD Medal of Valor ~2017

January, 2017 - Officer of the month (SAPD)



[SAMP] SAPD Chief [IV:MP] Ex-LCPD Deputy Chief  (#CL7335) [IVMP] Ex-CIU Inspector.
Serving since: 2014

Offline Chase_Greggor

  • Citizen
  • Posts: 10
  • With us since: 17/10/2014
    YearsYearsYearsYears
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #13 on: December 18, 2017, 23:57:50 pm »
0.2 Released -  https://github.com/Chaser98/SAPDKeys/releases/tag/0.2

Added support for the 0.3.7 R2 version of the client.

Note that once SAMP 0.3.8 fully releases it may take a while for me to get the updated memory addresses and update it.

Offline Kacper_Gorski

  • Citizen
  • Posts: 56
  • With us since: 09/12/2016
    YearsYears
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #14 on: December 20, 2017, 20:03:25 pm »
This is my problem
open if you want screen spam, but this is my issue
SA-MP 0.3.7-R2
Exception At Address: 0x03E15C67
Base: 0x03DB0000

Registers:
EAX: 0x00000000   EBX: 0x00000000   ECX: 0x0FFE0000   EDX: 0x0FFE1400
ESI: 0x0FFE1400   EDI: 0x0FFE1400   EBP: 0x1A76FF94   ESP: 0x1A76FF7C
EFLAGS: 0x00010246

Stack:
+0000: 0x0FFE140A   0x0FFE0000   0x73EF8744   0x00000000
+0010: 0x73EF8720   0x9AC59677   0x1A76FFDC   0x7715582D
+0020: 0x00000000   0x9E1D3162   0x00000000   0x00000000
+0030: 0x00000000   0xC0000005   0x00000000   0x1A76F5E0
+0040: 0x74849DE0   0x9E1D3162   0x1A76FFA0   0x1A76F5E0
+0050: 0x1A76FFE4   0x77169FD0   0xF374CFFE   0x00000000
+0060: 0x1A76FFEC   0x771557FD   0xFFFFFFFF   0x77176380
+0070: 0x00000000   0x00000000   0x0FFE1400   0x00000000
+0080: 0x00000000   0x43534552   0x00474553   0x00000001
+0090: 0x00000000   0x0000004B   0x0000004B   0x000002BA
+00A0: 0x002A7231   0x002A8291   0x00000000   0x00000000
+00B0: 0x00000000   0x00000000   0x00000000   0x00000000
+00C0: 0xFFFFFFFF   0xFFFFFFFF   0xFFFFFFFF   0xFFFFFFFF
+00D0: 0x00000000   0x00010000   0x0000002B   0x000014C8
+00E0: 0x00000000   0x00004F68   0x00008C04   0x0000E218
+00F0: 0x000121D5   0x00015EDE   0x0001B07C   0x0001FBA8
+0100: 0x0002286D   0x00024D7F   0x00028AFB   0x0002E3B5
+0110: 0x000321BB   0x00035ED4   0x00038BA0   0x0003D66B
+0120: 0x00041316   0x00044BE2   0x0004932B   0x0004D7F7
+0130: 0x0005196E   0x000562D0   0x00058F29   0x0005BCB8
+0140: 0x00060505   0x00064ADB   0x00068BFA   0x0006D099
+0150: 0x00070DC4   0x000755BB   0x0007A044   0x0007C0CD
+0160: 0x00080259   0x000843E6   0x00088509   0x0008CAD2
+0170: 0x0008F39B   0x0009237A   0x00096EC3   0x0009BB4A
+0180: 0x000A01A5   0x000A4335   0x000A7C06   0x00000000
+0190: 0x00000000   0x00000000   0x00000000   0x00000000
+01A0: 0x00000000   0x00000000   0x00000000   0x00000000
+01B0: 0x00000000   0x00000000   0x00000000   0x00000000
+01C0: 0x00000000   0x00000000   0x00000000   0x00000000
+01D0: 0x00000000   0x00000000   0x00000000   0x00000000
+01E0: 0x00000000   0x00000000   0x00000000   0x00000000
+01F0: 0x00000000   0x00000000   0x00000000   0x00000000
+0200: 0x00000000   0x00000000   0x00000000   0x00000000
+0210: 0x00000000   0x00000000   0x00000000   0x00000000
+0220: 0x00000000   0x00000000   0x00000000   0x00000000
+0230: 0x00000000   0x00000000   0x00000000   0x00000000
+0240: 0x00000000   0x00000000   0x00000000   0x00000000
+0250: 0x00000000   0x00000000   0x00000000   0x00000000
+0260: 0x00000000   0x00000000   0x00000000   0x00000000
+0270: 0x00000000   0x00000000   0x00000000   0x00000000

SCM Op: 0x685, lDbg: 0 LastRendObj: 6970

Game Version: US 1.0

State Information: Ped Context: 0
P0 (0,0) P1 (17,0) P2 (19,55) P3 (0,0)
P4 (18,1716) P5 (0,0) P6 (0,0) P7 (0,0)
P8 (19,1142) P9 (0,0) P10 (0,0) P11 (0,0)
P13 (0,0) P14 (18,1142) P15 (0,0)
P16 (0,0) P17 (0,0) P18 (19,1716) P19 (0,0)
P21 (0,0) P22 (0,0) P23 (0,0)
P24 (0,0) P25 (0,0) P26 (0,0) P27 (17,0)
P28 (0,0) P29 (0,0) P30 (33,0) P31 (0,0)
P32 (18,1716) P33 (0,0) P34 (0,0) P35 (33,0)
P36 (0,0) P37 (0,0) P38 (0,0) P39 (19,1656)
P40 (0,0) P41 (0,0) P42 (33,0) P43 (0,0)
P45 (0,0) P50 (0,0) P51 (0,0)
P53 (0,0) P58 (0,0) P60 (0,0) P61 (0,0) P64 (0,0) P67 (0,0)
P73 (0,0)

And this is my game file/folder

Spoiler (Click to expand)


Offline Chase_Greggor

  • Citizen
  • Posts: 10
  • With us since: 17/10/2014
    YearsYearsYearsYears
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #15 on: December 22, 2017, 13:14:09 pm »
Try making sure gta_sa.exe is ran as administrator as well as samp.exe. Whch version of windows are you on?

Offline Kacper_Gorski

  • Citizen
  • Posts: 56
  • With us since: 09/12/2016
    YearsYears
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #16 on: December 22, 2017, 14:58:17 pm »
Try making sure gta_sa.exe is ran as administrator as well as samp.exe. Whch version of windows are you on?
10

Offline Claudia

  • Former FBI Supervisory Special Agent
  • Citizen
  • Posts: 35
  • With us since: 01/07/2016
    YearsYears
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #17 on: December 30, 2017, 00:04:44 am »
You are a god damn hero, we need more people like you.

Offline Kacper_Gorski

  • Citizen
  • Posts: 56
  • With us since: 09/12/2016
    YearsYears
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #18 on: December 30, 2017, 01:14:20 am »
Try making sure gta_sa.exe is ran as administrator as well as samp.exe. Whch version of windows are you on?
Im on windows 10 pls fix:(

Offline Dimos

  • [SA:MP] Officer
  • **
  • Posts: 2433
  • With us since: 20/09/2011
    YearsYearsYearsYearsYearsYearsYears
  • SA-MP: Dimos.
  • IV:MP: DImos_
Re: Introducing SAPDKeys - Making IG radio as effective as TS
« Reply #19 on: December 30, 2017, 10:38:57 am »
put the files you download on your game file installed and it will work as i see above you don't have them in your game folder