Network: WoW Gold | WoW Accounts | MPS Games | FPSowned
MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides
Homepage »      Register »      Hall of Fame »      Ranks And Awards »      Advertise »      Marketplace »
 
Sign up



Do you like this excellent information? Then Donate HERE to remove ads and support the MMOwned community.


Go Back   MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides > World of Warcraft > Bots and Programs

Bots and Programs Botting and Hacking programs for World of Warcraft.
[NO QUESTIONS HERE]

Reply
 
LinkBack Thread Tools
  #1  
Old 05-13-2006
Cypher's Avatar
Cypher is offline.
Kynox's sister's pimp
Legendary User
  
 
Join Date: Apr 2006
Location: ntdll.dll
Posts: 4,567
Nominated 63 Times in 4 Posts
Nominated TOTM/W Award(s): 1
Reputation: 1120
Points: 64,006, Level: 37
Points: 64,006, Level: 37 Points: 64,006, Level: 37 Points: 64,006, Level: 37
Level up: 43%, 2,194 Points needed
Level up: 43% Level up: 43% Level up: 43%
Activity: 19.4%
Activity: 19.4% Activity: 19.4% Activity: 19.4%

Nominated Star [Program] Re-login on Disconnect

Taken from the WoWGlider Members area. Enjoy

Took a while... well anyways here it is. Enjoy.
Should work on almost all resolutions windowed now
Edit: Final revision - everything is accounted for

Code:
; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.1.0
; Author:         Glider #99<>
;
; Script Function:
;    Restarts WoW, re-attaches , FINAL VERSION
; ----------------------------------------------------------------------------

;###########
; Globals
;###########

AutoItWinSetTitle(random(10, 1000000, 1))
$win_title = "World of Warcraft"

func act()
sleep(20)
WinSetOnTop($win_title, "", 0)
sleep(20)
WinActivate($win_title, "")
sleep(10)
endfunc

Sleep(random(1000, 2000, 1))

$title = random(10, 1000000, 1)
$restarted = 1
$checktimes = 0
$verify = 0


$top_border_height = 23
$left_border_width = 4

checkwindow()

$dimensions = WinGetClientSize($win_title, "")
$screen_width = $dimensions[0]
$screen_height = $dimensions[1]

$win_pos = WinGetPos($win_title, "")
$win_x = $win_pos[0] + $left_border_width
$win_y = $win_pos[1] + $top_border_height


$level1color = "0xFDFC51"
$level2color = "0x000000"
$level3color = "0x000000"
$level4color = "0x0083DF"
$hearthY = $win_y + 0.8761574074 * $screen_height ;titans
$hearthY2 = $win_y + 0.9016203704 * $screen_height ;no titan

;finally, a resolution checker
if $screen_width = 800 then
    $level1color = "0xFAFB46"
    $level3color = "0x110D00"
    $level4color = "0x0082DD"
    $hearthX = $win_x + 0.9875 * $screen_width
        $hearth1color = "0x2C2C2C"
        $hearth2color = "0x222221"    
elseif $screen_width = 1024 then
    $level1color = "0xFCFC4E"
    $level4color = "0x0083DE"
    $hearthX = $win_x + 0.9875 * $screen_width
        $hearth1color = "0x282727"
        $hearth2color = "0x1A1A1A"
elseif $screen_width = 1152 then
    $hearthX = $win_x + 0.9375 * $screen_width
        $hearth1color = "0x4C4D4C"
        $hearth2color = "0x565656"
elseif $screen_width = 1280 then
    if $screen_height = 960 then
        $level1color = "0xFFFB5A"
        $level3color = "0x010101"
        $level4color = "0x0080DA"
        $hearthX = $win_x + 0.9375 * $screen_width
            $hearth1color = "0x464746"
            $hearth2color = "0x565756"
    elseif $screen_height = 1024 then
        $level1color = "0x081021"
        $level3color = "0xCC9F00"
        $level4color = "0x0076C9"
        $hearthX = $win_x + 0.9625 * $screen_width
            $hearth1color = "0x4D4E4E"
            $hearth2color = "0x575656"
    else 
        msg("Unknown screen resolution. Support for all square resolutions only.")
        exit
    endif
else 
msg("Unknown screen resolution. Support for all square resolutions only.")
exit
endif

;##############################
;Easy Set Values
;##############################
$charx = $win_x + 0.8645833333 * $screen_width
$char1y = $win_y + 0.1469907407 * $screen_height
$char2y = $win_y + 0.2164351852 * $screen_height
$char3y = $win_y + 0.2858796296 * $screen_height
$char4y = $win_y + 0.3553240741 * $screen_height
$char5y = $win_y + 0.4363425926 * $screen_height
$char6y = $win_y + 0.505787037 * $screen_height
$char7y = $win_y + 0.5810185185 * $screen_height
$char8y = $win_y + 0.65625 * $screen_height
$char9y = $win_y + 0.7372685185 * $screen_height
$passboxX = $win_x + 0.4782986111 * $screen_width
$passboxY = $win_y + 0.6157407407 * $screen_height
$errx = $win_x + 0.5338541667 * $screen_width
$erry = $win_y + 0.5173611111 * $screen_height
$err2x = $win_x + 0.5043402778 * $screen_width
$err2y = $win_y + 0.5636574074 * $screen_height
$errcharx = $win_x + 0.5364583333 * $screen_width
$errchary = $win_y + 0.5173611111 * $screen_height
$errx2 = $win_x + 0.8211805556 * $screen_width ;suggest a realm
$erry2 = $win_y + 0.9490740741 * $screen_height
$errx3 = $win_x + 0.703125 * $screen_width ;help to disconnect
$erry3 = $win_y + 0.7916666667 * $screen_height
$arrx = $win_x + 0.4852430556 * $screen_width
$arr2x = $win_x + 0.5173611111 * $screen_width
$arry = $win_y + 0.9699074074 * $screen_height
;##############################

HotKeySet("{END}", "request_end")

func checkwindow()
$dimensions = WinGetClientSize($win_title, "")
if @error then
msg("Open WoW and put it into windowed mode before starting the offline check!")
Exit 0
endif
endfunc

act()

msg("This bot needs windowed mode and the hearthstone in bottom right action bar, in the last slot.  Use the END key to terminate it.")
$password = InputBox($title, "Enter your password.")
$times = InputBox($title, "# of times to sucessfully restart? This will keep from re-afking...")

slot()

func slot()
$slot = InputBox($title, "Choose your character slot (1-9).  The topmost is number 1.")
if $slot = 1 then
Global $chary = $char1y
elseif $slot = 2 then
Global $chary = $char2y
elseif $slot = 3 then
Global $chary = $char3y
elseif $slot = 4 then
Global $chary = $char4y
elseif $slot = 5 then
Global $chary = $char5y
elseif $slot = 6 then
Global $chary = $char6y
elseif $slot = 7 then
Global $chary = $char7y
elseif $slot = 8 then
Global $chary = $char8y
elseif $slot = 9 then
Global $chary = $char9y
else
msg("You can only choose a character slot between 1 and 9.")
slot()
endif
endfunc

   $MB_YESNO = 4
   $MB_YES = 6
    if MsgBox($MB_YESNO, $title, "Using glider in invisible mode?") == $MB_YES then
    $invis = "yes"
    else
    $invis = "no"
    endif

if $invis = "no" then
    Msg("Move your mouse over the glider attach button and press ENTER.")

    $mouserPOS = MouseGetPos()

    $GliX2 = $mouserPOS[0]
    $gliY = $mouserPOS[1]
    $gliX1 = $gliX2 - 80
endif

starter()

func starter()
while $restarted
act()
startcheck()
;DEBUG LINE FOLLOWS
;sleep(7000)
sleep(60 * 1000 * random(5, 10, 1))
checkwindow()
wend
endfunc

func startcheck()
if $times = 0 then
    msg("Max restart times reached.  Exiting...")
    Exit
endif
$checklevel1 = "0x" & Hex(PixelGetColor ( $win_x + 0.126736111 * $screen_width , $win_y + 0.1261574074 * $screen_height ), 6)
if $checklevel1 = $level1color then
    $checklevel2 = "0x" & Hex(PixelGetColor ( $win_x + 0.0190972222 * $screen_width , $win_y + 0.0324074074 * $screen_height ), 6)
    if $checklevel2 = $level2color then
        $checklevel3 = "0x" & Hex(PixelGetColor ( $win_x + 0.4409722222 * $screen_width , $win_y + 0.9849537037 * $screen_height ), 6)
        if $checklevel3 = $level3color OR $checklevel3 = "0x020101" then
            $checklevel4 = "0x" & Hex(PixelGetColor ( $win_x + 0.5 * $screen_width , $win_y + 0.9282407407 * $screen_height ), 6)
            if $checklevel4 = $level4color then
                start_bot()
;            else
;            msg("level 4 failed, was looking for " & $level4color & " and found " & $checklevel4)
            endif
;        else
;        msg("level 3 failed, was looking for " & $level3color & " and found " & $checklevel3)
        endif
;    else
;    msg("level 2 failed, was looking for " & $level2color & " and found " & $checklevel2)
    endif
;else
;msg("level 1 failed, was looking for " & $level1color & " and found " & $checklevel1)
endif
endfunc

func start_bot()
checkwindow()
    sleep(random(10, 20, 1))
    MouseMove($passboxX, $passboxY, 1)
    MouseClick("left", $passboxX, $passboxY, 1, 1)
    sleep(random(10, 20, 1))
    MouseClick("left", $passboxX, $passboxY, 1, 1)
    sleep(random(1000, 2000, 1))
Send ( $password , 1 )
sleep(random(1000, 2000, 1))
send ("{ENTER}")
sleep(60 * 1000 * random(0.4, 0.5, 0.01))
        $checkloggedon = "0x" & Hex(PixelGetColor ( $win_x + 0.0190972222 * $screen_width , $win_y + 0.0324074074 * $screen_height ), 6)
        if $checkloggedon = $level2color then
            Global $restarted = 1
                MouseMove($errx, $erry, 1)
                send("{ENTER}")
                    sleep(random(1000, 2000, 1))
                MouseClick("left", $errx, $erry, 1, 1)
                    sleep(random(500, 1000, 1))
                MouseClick("left", $err2x, $err2y, 1, 1)
                    sleep(random(500, 1000, 1))
                MouseClick("left", $errx2, $erry2, 1, 1)
                    sleep(random(500, 1000, 1))
                MouseClick("left", $errx3, $erry3, 1, 1)
            starter()
        else
            checkcharload()
            if $verify = 1 then
                Global $restarted = 0
                    MouseMove($charx, $chary, 1)
                    MouseClick("left", $charx, $chary, 1, 1)
                Global $arr1 = Hex(PixelGetColor ( $arrx , $arry ), 6)
                Global $arr2 = Hex(PixelGetColor ( $arr2x , $arry ), 6)
                    MouseClick("left", $charx, $chary, 1, 1)
                    send("{ENTER}")
                        sleep(Int( (60 * 1000 * 0.75) ))
                        Ingame()
            else
                Global $restarted = 1
                starter()
            endif
        endif
endfunc

func ingame()
checkconnect()
if $kickedoff = 0 then
    checkwindow()
    checkhearthstone()

    if $invis = "no" then
        MouseMove($glix2, $gliy, 1)          ;movemouse to the attach button
            sleep(random(10, 20, 1))
        MouseClick("left", $glix2, $gliy, 1, 1)
            sleep(random(3000, 4000, 1))
        MouseMove($glix1, $gliy, 1)          ;movemouse to the glide button
            sleep(random(10, 20, 1))
        MouseClick("left", $glix1, $gliy, 1, 1)
            sleep(random(3000, 4000, 1))
    elseif $invis = "yes" then
        send("{CTRLDOWN}")
            sleep(random(10, 20, 1))
        send("{CTRLUP}")
            sleep(random(40, 50, 1))
        send("{CTRLDOWN}")
            sleep(random(10, 20, 1))
        send("{CTRLUP}")
        act()
            sleep(random(400, 500, 1))
        send("G")
    endif
    act()
    sleep(random(10, 20, 1))
    Global $restarted = 1
    Global $times = $times - 1
    Global $checktimes = $checktimes + 1
    starter()
else
$checkloggedon = "0x" & Hex(PixelGetColor ( $win_x + 0.0190972222 * $screen_width , $win_y + 0.0324074074 * $screen_height ), 6)
    if $checkloggedon = $level2color then
        Global $restarted = 1
        starter()
    else
        Global $restarted = 0
            MouseMove($charx, $chary, 1)
            MouseClick("left", $charx, $chary, 1, 1)
                Global $arr1 = Hex(PixelGetColor ( $arrx , $arry ), 6)
                Global $arr2 = Hex(PixelGetColor ( $arr2x , $arry ), 6)
            MouseClick("left", $charx, $chary, 1, 1)
            send("{ENTER}")
            sleep(Int( (60 * 1000 * 0.75) ))
                Ingame()
    endif
endif
endfunc

func checkhearthstone()  ;Set to work with hearthstone in bottom right action bar, last slot
$checkhearth = "0x" & Hex(PixelGetColor ( $hearthx , $hearthy ), 6) ;with titan panel bottom installed
if $checkhearth = $hearth1color then
    Global $times = 0
    act()
    sleep(random(1000, 2000, 1))
    send ("{ENTER}")
    sleep(random(500, 1000, 1))
    send ("/exit", 1 )
    sleep(random(1000, 2000, 1))
    send ("{ENTER}")
    sleep(random(500, 1000, 1))
    msg("Hearthstone found used.  You were followed.  Ending program...")
    Exit
endif
$checkhearth = "0x" & Hex(PixelGetColor ( $hearthx , $hearthy2 ), 6) ;no titan panels
if $checkhearth = $hearth2color then
    Global $times = 0
    act()
    sleep(random(1000, 2000, 1))
    send ("{ENTER}")
    sleep(random(500, 1000, 1))
    send ("/exit", 1 )
    sleep(random(1000, 2000, 1))
    send ("{ENTER}")
    sleep(random(500, 1000, 1))
    msg("Hearthstone found used.  You were followed.  Ending program...")
    Exit
endif
endfunc

func checkconnect()
act()
    sleep(random(40, 60, 1))
        send("{ENTER}")
    sleep(random(60, 70, 1))
        send("{ENTER}")
    sleep(random(2000, 3000, 1))
                $arr1test = Hex(PixelGetColor ( $arrx , $arry ), 6)
                $arr2test = Hex(PixelGetColor ( $arr2x , $arry ), 6)
if $arr1test = $arr1 AND $arr2test = $arr2 then
    Global $kickedoff = 1
else
    Global $kickedoff = 0
endif
endfunc

func checkcharload()
$errleft = $win_x + 0.6163194444 * $screen_width
$errright = $win_x + 0.6302083333 * $screen_width
$errbottom = $win_y + 0.5983796296 * $screen_height
$errtop = $win_y + 0.4027777778 * $screen_height
    MouseMove($errcharx, $errchary, 1)
    sleep(1000)
    MouseClick("left", $errcharx, $errchary, 1, 1)
    sleep(1500)
$errsearch = PixelSearch($errleft, $errtop, $errright, $errbottom, 0x000000, 1, 1)
          if @error then
        Global $verify = 1
       
         else
        Global $verify = 0
        Send("{ESCAPE}")
            sleep(1000)
        MouseMove($win_x + 0.7317708333 * $screen_width, $win_y + 0.7916666667 * $screen_height, 1)
            sleep(1000)
        MouseClick("left", $win_x + 0.7317708333 * $screen_width, $win_y + 0.7916666667 * $screen_height, 1, 1)
        sleep(1500)
       endif
endfunc

func msg($text)
    MsgBox(0, $title, $text)
endfunc

func request_end()
    $MB_YESNO = 4
    $MB_YES = 6
    if MsgBox($MB_YESNO, $title, "End it? Restarted " & $checktimes & " times.") == $MB_YES then
        Exit
    endif
endfunc
And a compiled version if you don't have AutoIt. (Which you should )
[Only registered and activated users can see links. ]

Last edited by Matt; 05-13-2006 at 10:54 AM.
Reply With Quote


Donate to remove ads, get your "DONATOR title, and get access to the MMOwned community's elite Shoutbawx.

  #2  
Old 05-13-2006
Shanaar's Avatar
Shanaar is offline.
Contributor
  
 
Join Date: Apr 2006
Posts: 511
Reputation: 85
Points: 2,930, Level: 5
Points: 2,930, Level: 5 Points: 2,930, Level: 5 Points: 2,930, Level: 5
Level up: 17%, 670 Points needed
Level up: 17% Level up: 17% Level up: 17%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%

It has a content viewable to registered users only stuck on it- and i'm registered :P

and what does AutoIt do?
Reply With Quote
  #3  
Old 05-13-2006
Matt's Avatar
Matt is offline.
Founder
  
 
Join Date: Feb 2006
Location: New York City
Posts: 2,936
Nominated 2 Times in 1 Post
Reputation: 566
Points: 171,429, Level: 58
Points: 171,429, Level: 58 Points: 171,429, Level: 58 Points: 171,429, Level: 58
Level up: 91%, 571 Points needed
Level up: 91% Level up: 91% Level up: 91%
Activity: 0.8%
Activity: 0.8% Activity: 0.8% Activity: 0.8%

fixed it... sory
__________________
[Only registered and activated users can see links. ]Want to learn how I make a living off the Internet? Check out my new site for free money making ideas + forums [ [Only registered and activated users can see links. ] ]
Proud Administrator of [Only registered and activated users can see links. ]
Make Money Selling WoWInfinity to your Friends [Only registered and activated users can see links. ] Paying $7 per sale

Reply With Quote
  #4  
Old 05-13-2006
Shanaar's Avatar
Shanaar is offline.
Contributor
  
 
Join Date: Apr 2006
Posts: 511
Reputation: 85
Points: 2,930, Level: 5
Points: 2,930, Level: 5 Points: 2,930, Level: 5 Points: 2,930, Level: 5
Level up: 17%, 670 Points needed
Level up: 17% Level up: 17% Level up: 17%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%

kk, thanks :P
Reply With Quote
  #5  
Old 05-14-2006
Cypher's Avatar
Cypher is offline.
Kynox's sister's pimp
Legendary User
  
 
Join Date: Apr 2006
Location: ntdll.dll
Posts: 4,567
Nominated 63 Times in 4 Posts
Nominated TOTM/W Award(s): 1
Reputation: 1120
Points: 64,006, Level: 37
Points: 64,006, Level: 37 Points: 64,006, Level: 37 Points: 64,006, Level: 37
Level up: 43%, 2,194 Points needed
Level up: 43% Level up: 43% Level up: 43%
Activity: 19.4%
Activity: 19.4% Activity: 19.4% Activity: 19.4%

AutoIt is a tool that allows you to Automate tasks very easily. Check it out.

[Only registered and activated users can see links. ]
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On



All times are GMT -4. The time now is 03:49 AM.




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522