Jump to content

WOW BG Script Question


seksy
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

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...