Jump to content
Sign in to follow this  
Vegar

How does "AdLib" work?

Recommended Posts

Vegar

Hello..

i need some help with adlib..

i'm making a game bot, and i have to prevent a process from opening that fucks up the game...

and i heard that it was possible to use adlib ("loops") in some way, but have not figured out how it works :S

so could someone plz help me :mellow:

Share this post


Link to post
Share on other sites
dbzfanatic

So you have to stop a gameguard? This isn't really the place for that but it is possible. Also,ever hear of the helpfile? It's this nifty thing they ship free with every autoit purchase that lists all the included functions and examples on how to use them.

Share this post


Link to post
Share on other sites
Vegar

yes i've seen the help file, but have not figured out how it works as i wrote in the first post....

so is there anyone that knows how it works?? :mellow:

Share this post


Link to post
Share on other sites
ludocus

Adlib just calls a function every ones in a while..

Like this:

$gamewatcher = 'somegamewatcher.exe'
AdlibEnable('_StopGameWatcher', 1000)
While 1
    sleep(500);keep CPU usage low..
WEnd

func _StopGameWatcher();this function gets called every second to stop the gamewatcher..
    ProcessClose($gamewatcher)
EndFunc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×