Basically want to make a macro script

Casey via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Nov 12 11:35:39 PST 2014


On Wednesday, 12 November 2014 at 08:02:06 UTC, ketmar via 
Digitalmars-d-learn wrote:
> On Wed, 12 Nov 2014 04:56:39 +0000
> Casey via Digitalmars-d-learn 
> <digitalmars-d-learn at puremagic.com> wrote:
>
> D has nothing to do with your task, WinAPI does. and you'll 
> need alot
> of expirience in reverse engineering, 'cause f... punkbuster 
> shits it's
> pants almost for anything. it's a rootkit, and very badly 
> written one.
> what you have to do is to fight with rootkit, making it think 
> that it
> is still functional. so learn assembler, x86 archtecture, 
> winapi,
> windows driver development, nt kernel internals and so on.
>
> and don't even dream that it will be portable.

I don't need to do this I'm pretty sure... I just need to write 
something that will send the chat messages as described in my 
first post.  I don't need to rootkit PunkBuster, it's not trying 
to ban programs that send chat messages....  It's simply trying 
to ban macro programs like AutoHotKey.  AHK can be used to make 
no recoil scripts, so they added an option so that server owners 
can choose to kick those players /if they want to/.

Again, I'm writing a simple program to send chat messages at a 
lowish level once a hotkey/keybind has been pressed.  All it 
needs is to add a delay in between the chat key presses (Like 
*chat key* down, then 1 ms later, chat key up)(Forgot to mention 
that last night), typing my actual message as quickly as 
possible, then to send the message.

In other words, it needs to recignise my keybind, press the chat 
button down, then up with a small delay in between, send my 
message and press enter.

PB nor any other program should find this as a cheating program.  
It's not a cheat at all.  It's not a mod, hack, nor advantage 
that others can't do.  It's not unfair, it's not too good, it's 
just something simple that I'm trying to make work.  It doesn't 
need a GUI, it just needs what I've described above.  No 
rootkits, nothing like that afaik.  If it's not a hack/cheat, PB 
isn't going to look at it like it is one (hopefully).

Thank you for your interest and reply.


More information about the Digitalmars-d-learn mailing list