Here Is a Simple Bot

02/23/2008 22:51 Bobs16#16
Quote:
Originally Posted by DeadBabies View Post
it works!! thx, now i just need autopot when i get to 50% health left

neone mind sharing where i can get it? i searched for it, cant find nething...
Something like this is logically simple. Here is a sample code This code does not work only to guide you
Code:
While 1
WinActivate("CABAL")
If  = PixelSearch (x, y, bx, by, 0xFFFFFF, 2, 1) Then ;Looks for the color black on the HP BAR
Send("6") ;This is the hp pot key
Sleep (500) ;Wait 1/2 second
If Not @error Then
  Sleep (50)
	EndIf	
EndIf
WEnd
This will not work and I am at a place right now where I can not test it but you can get a basic idea of how to change it to work. So try to code the rest of it and post here your results.

After If and before = needs to be "$coord" without the quotes it will not let me put it in.
02/26/2008 06:47 gwntd#17
Quote:
Originally Posted by Bobs16 View Post
Something like this is logically simple. Here is a sample code This code does not work only to guide you
Code:
While 1
WinActivate("CABAL")
If  = PixelSearch (x, y, bx, by, 0xFFFFFF, 2, 1) Then ;Looks for the color black on the HP BAR
Send("6") ;This is the hp pot key
Sleep (500) ;Wait 1/2 second      
If Not @error Then    ;  [B]Hmm.. I sorta dont get this part[/B]
  Sleep (50)
	EndIf	
EndIf
WEnd

Is the second If statement inside the first If statement? or are they both part of the While statement?
03/06/2008 21:00 TestingXD#18
cool bot, thnx
03/08/2008 02:26 PhoneCall#19
Quote:
Originally Posted by Bobs16 View Post
It does not specifically click monsters it spams click so as the screen rotates have the cursor on you or around you so when the monsters are near you it clicks them. Was just using it for 3+ hours so I know it works. And Winactive? If you read the script it is already codded to run when the CABAL is running. ALso this is probably only for NA/CN version unless you have a GG bypass for EU. Message me back if this did not help.


Hmm it works for me but i get dc'd ALOT it seems so maybe your by-pass is better than mine? or i'm doing something wrong =oooo:( cause without the bypass it doesn't work at all only clickes the mouse where it is pointed at and nothing else but with the bypass in it works but dc's @_@
03/09/2008 05:55 waja29#20
everything works great but i get alot of DC. is it my By-Pass or the Bot?
03/09/2008 07:42 MirrorConflict#21
Can some1 please right me a 50% HP auto pot for resolution 1280x800,window mode that goes with this scrip? I've been sitting here for 3 hours and still can't figure it out...
03/16/2008 17:36 ruston1234#22
i dont get how to set the bot up