PunkBuster Hates AHK and I can't find a better program

Ask gaming related questions (AHK v1.1 and older)
Bugattikid2012
Posts: 11
Joined: 20 Oct 2014, 20:27

PunkBuster Hates AHK and I can't find a better program

Post by Bugattikid2012 » 20 Oct 2014, 21:06

So as the title says, PB hates AHK because some people use scripting programs to do no recoil macros and the like, so most gaming things hate it. I want to find a work around. I have a simple script setup for essentially this:

Code: Select all

^*Second Key I want for the hotkey*::
Send {*chat button* down}
Delay 1
Send {*chat button* up}
SendInput *message here* Enter
Return
Rinse and repeat about 16 times for all my keybinds. They work fine even in BF4, but PB kicks me after anywhere from joining, to up to ~45 mins later. I can't live with this, however I REALLY want to keep these keybinds. Note I am not spamming with these, most are just simply, "We're losing Alpha!" or the like. The rest are just for jokes with my friends. They send fine, but you just have to not press anything on the keyboard for ~.5-1 second before sending the hotkey. I've check around with alternative programs, and none are easy to get working with BF4, as you need a delay between the chat button down and up, so without that it's pretty much impossible to get working. If it's too hard to get this working, I'm thinking it's time I start learning C++ like I've always wanted to and setup a simple .exe to do what I want this macro to do. It shouldn't be too hard, just add a few libraries for low level chat input, and delays, then something to compile it as an .exe... But of course everything is harder than it first appears, and Murphy's Law always applies.

Thanks for all the help I recieve, and thanks for the awesome program!

User avatar
joedf
Posts: 9000
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: PunkBuster Hates AHK and I can't find a better program

Post by joedf » 21 Oct 2014, 22:20

Right, I don't have BF4, but do you launch it via origin?
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

Bugattikid2012
Posts: 11
Joined: 20 Oct 2014, 20:27

Re: PunkBuster Hates AHK and I can't find a better program

Post by Bugattikid2012 » 22 Oct 2014, 10:41

Yes, I do launch it via origin. It then opens a "battlelog" page in my web browser, and from there I can choose a server, and pretty much do everything. So You start via origin, then go to battlelog, then choose a server, and then start playing.

Coco
Posts: 771
Joined: 29 Sep 2013, 20:37
Contact:

Re: PunkBuster Hates AHK and I can't find a better program

Post by Coco » 22 Oct 2014, 11:02

Have you tried compiling your script? Or perhaps use an alternative build like v2 or AutoHotkey_H?

Bugattikid2012
Posts: 11
Joined: 20 Oct 2014, 20:27

Re: PunkBuster Hates AHK and I can't find a better program

Post by Bugattikid2012 » 22 Oct 2014, 14:33

I am already using it compiled, however I have not tried (or heard of) V2 or _H versions... Please explain, and link me to the documentation on them if possible.

User avatar
joedf
Posts: 9000
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: PunkBuster Hates AHK and I can't find a better program

Post by joedf » 22 Oct 2014, 16:26

I did some searching.. took me a while to find some exploits... But anyway... try this:
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

Bugattikid2012
Posts: 11
Joined: 20 Oct 2014, 20:27

Re: PunkBuster Hates AHK and I can't find a better program

Post by Bugattikid2012 » 22 Oct 2014, 16:34

This is... interesting... But couldn't I get banned for this? Like perma banned from all servers?

User avatar
joedf
Posts: 9000
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: PunkBuster Hates AHK and I can't find a better program

Post by joedf » 22 Oct 2014, 16:49

I dont know... but if it's sandboxed... it's pretty hard/impossible to detect anyway...
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

Bugattikid2012
Posts: 11
Joined: 20 Oct 2014, 20:27

Re: PunkBuster Hates AHK and I can't find a better program

Post by Bugattikid2012 » 22 Oct 2014, 17:34

If that's the case, why don't we see everyone using this to hack? Thanks though, this looks promising. I'll check it out.

vasili111
Posts: 747
Joined: 21 Jan 2014, 02:04
Location: Georgia

Re: PunkBuster Hates AHK and I can't find a better program

Post by vasili111 » 23 Oct 2014, 03:17

Sandboxie is not hack or exploit. It is mainly used for isolate programs from other software and OS. So I don't think that using legal not exploit and not hack software can get you banned. But they can detect not human behavior and ban you for that.
DRAKON-AutoHotkey: Visual programming for AutoHotkey.

Bugattikid2012
Posts: 11
Joined: 20 Oct 2014, 20:27

Re: PunkBuster Hates AHK and I can't find a better program

Post by Bugattikid2012 » 23 Oct 2014, 11:44

Hmm, so is it basically a VM? It just seems like if this would allow AHK to run, everyone would be running their no recoil scripts with this, and never worry about bans. Anyways, it looks really interesting, and if it's not perma bannable or anything, then I think I've found my solution. I'll post back here if I find anything of interest before I run this, and I will let you know how it turns out, and what is needed to make it work.

User avatar
joedf
Posts: 9000
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: PunkBuster Hates AHK and I can't find a better program

Post by joedf » 23 Oct 2014, 21:33

Good luck ;)
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

RHCP
Posts: 202
Joined: 30 Sep 2013, 10:59

Re: PunkBuster Hates AHK and I can't find a better program

Post by RHCP » 24 Oct 2014, 02:43

Have you tried using HotKeyIt's InjectAhkDll() function to inject the script into some other process e.g. chrome or notepad (not BF!), thereby hiding it inside another process. This is a common technique used by external hacks.

vasili111
Posts: 747
Joined: 21 Jan 2014, 02:04
Location: Georgia

Re: PunkBuster Hates AHK and I can't find a better program

Post by vasili111 » 24 Oct 2014, 05:10

Bugattikid2012 wrote:Hmm, so is it basically a VM?
No. Sandboxie is sandboxing software which allows you to isolate software from other software and OS. It does not emulates hardware as VM does.
DRAKON-AutoHotkey: Visual programming for AutoHotkey.

Bugattikid2012
Posts: 11
Joined: 20 Oct 2014, 20:27

Re: PunkBuster Hates AHK and I can't find a better program

Post by Bugattikid2012 » 24 Oct 2014, 12:00

RHCP wrote:Have you tried using HotKeyIt's InjectAhkDll() function to inject the script into some other process e.g. chrome or notepad (not BF!), thereby hiding it inside another process. This is a common technique used by external hacks.

I have not tried this, however if I am using hacking tricks, I'm imagining I might be receiving bans instead of kicks. I've been busy the past couple days, however as soon as I get a chance I will be trying these methods and seeing what happens.

Post Reply

Return to “Gaming Help (v1)”