Jump to content
Sign in to follow this  
shadowsin

Script Help

Recommended Posts

This is a script for WoW i have been working on

;+--------------------------------+----------------------------------+
;|                     Sin's Auto BG Bot                        |
;+--------------------------+-----+-------+--------------------------+
;                          | Version .01 BETA |
;   +----------------------+-------------+----------------------+
; +--+By using this in conjunction with World of Warcraft you are+--+
; |violating your EULA and TOS.  Using this bot can result in a temp|
; |or even a permanent ban (Even though it will never happen).    |
; +-----+Open Source Meaning Tweak it up however you want because i am stuck.+----+
;    +-+------------------------------------------------------+--+
;    | Written for my friends at http://rpg-exploiters.shoq.net/ |
;    +-----------------------------------------------------------+
;
; ******************* Bot Start
   Start_BG()
; ***** Start_BG Func
; ***** Activates WoW and asks to start
   Func Start_BG()
      If Not WinExists("World of Warcraft") Then
         MsgBox(0, Random(0, 100), "WoW must be opened.")
         Exit
      EndIf
      WinActivate("World of Warcraft")
      WinSetOnTop("World of Warcraft", "", 0)
      Sleep(500)
  EndFunc  
; ***** Que Start
    Bg_Que()
; ***** Start Auto Que For SW AB
 Func Bg_Que()
     $coord = PixelSearch( 0, 0, 1152, 864, 0x8E5F59, 2 )
If @error Then
    MsgBox(16, "Error", "First color not found.")
Else
    MouseMove($coord[0], $coord[1])
EndIf
Sleep(2000); 2sec delay
MouseClick("Right")
MouseMove(162,288)
MouseCLick("Left")
Mousemove(218,555)
MouseClick("Left")
EndFunc
Sleep(Random(60000, 24000))
Anti_AFK()
; ***** Anti-AFK Function
Func Anti_AFK()
    While 1
        Send("(=)")
        Sleep(240000)
    WEnd
EndFunc

However im stuck :). when i leave the battleground i dont know how to make the bot Rejoin it. in other words i leave from this place and teleport somewhere else in order to go back to that battleground i have to talk to a person.

Share this post


Link to post
Share on other sites

could you bring screenshots.. i dont get a damn sh1t about what you just said and try to post it with [autoit ] code [/autoit ]

then you get something like this:

;+--------------------------------+----------------------------------+
;|                       Sin's Auto BG Bot                        |
;+--------------------------+-----+-------+--------------------------+
;                           | Version .01 BETA |
;    +----------------------+-------------+----------------------+
; +--+By using this in conjunction with World of Warcraft you are+--+
; |violating your EULA and TOS.  Using this bot can result in a temp|
; |or even a permanent ban (Even though it will never happen).      |
; +-----+Open Source Meaning Tweak it up however you want because i am stuck.+----+
;     +-+------------------------------------------------------+--+
;     | Written for my friends at http://rpg-exploiters.shoq.net/ |
;     +-----------------------------------------------------------+
;
; ******************* Bot Start
   Start_BG()
; ***** Start_BG Func
; ***** Activates WoW and asks to start
   Func Start_BG()
      If Not WinExists("World of Warcraft") Then
         MsgBox(0, Random(0, 100), "WoW must be opened.")
         Exit
      EndIf
      WinActivate("World of Warcraft")
      WinSetOnTop("World of Warcraft", "", 0)
      Sleep(500)
  EndFunc  
; ***** Que Start
    Bg_Que()
; ***** Start Auto Que For SW AB
Func Bg_Que()
     $coord = PixelSearch( 0, 0, 1152, 864, 0x8E5F59, 2 )
If @error Then
    MsgBox(16, "Error", "First color not found.")
Else
    MouseMove($coord[0], $coord[1])
EndIf
Sleep(2000); 2sec delay
MouseClick("Right")
MouseMove(162,288)
MouseCLick("Left")
Mousemove(218,555)
MouseClick("Left")
EndFunc
Sleep(Random(60000, 24000))
Anti_AFK()
; ***** Anti-AFK Function
Func Anti_AFK()
    While 1
        Send("(=)")
        Sleep(240000)
    WEnd
EndFunc

which is much easier to read.

Thanks.


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

Share this post


Link to post
Share on other sites

could you bring screenshots.. i dont get a damn sh1t about what you just said

Now you know how we feel :P

and try to post it with [autoit ] code [/autoit ]

which is much easier to read.

Thanks.

Just be thankful he/she used code tags at all :) Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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  

×
×
  • Create New...