Jump to content

Recommended Posts

Posted

Hey Guys, I'm very new to AutoIt, and am trying to tweak this script to work properly. What the script does, is reads a log file of a Bot. And when the bot is disconnected (because it changes areas) the script, re-attaches it, and then begins to bot. Nevertheless, for some reason, its basically skipping most of the scripting and going straight to the error, which will exit the loop. This is the part of the script that I believe is the problem. I'm not sure if its all right. Any help or ideas, would be great.

While 1

$line = FileReadLine($file)

$text = StringMid($line, 10,17)

If $text = "ReadProcessMemory" Then

If $inside = 0 Then

ClearLog()

StartBotting()

$inside = 1

;BG HAS BEEN JOINED! START BOTTING

Else

ClearLog()

;StopBotting()

$inside = 0

Sleep(Random(35000,40000))

ReBG()

;BOT HAS LEFT THE BG!

Endif

If @error = -1 Then ExitLoop

EndIf

Sleep(Random(28000,31000))

Send("{SPACE}")

WEnd

Posted

I can see that.

I can see that you can see that.

The bot is fake! Abandon it and write something from scratch! I don't know what I'm saying.. Kids... drinking is bad... remember that..

Posted

I can see that you can see that.

The bot is fake! Abandon it and write something from scratch! I don't know what I'm saying.. Kids... drinking is bad... remember that..

Thanks for the help guys :)

I figured it out, and no its not fake.. :P

Posted

Thanks for the help guys :)

I figured it out, and no its not fake.. :party:

Congrats :D and dont listen to him.. he got only 10 more posts then you :D

THnk :P

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

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
×
×
  • Create New...