Jump to content

How does "AdLib" work?


Vegar
 Share

Recommended Posts

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:

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...