taultunleashed logoAutoit script that helps looting Restricted items : VGExtreme General Discussion
newtopic  postreply
 [ 3 posts ] 
blue large dot

Autoit script that helps looting Restricted items : VGExtreme General Discussion

Posted: May 27th, 2007, 8:33 am
 
owner2119

Total Posts: 48
Joined: March 6th, 2007, 10:57 am
owner2119's Reps: 0
User avatar
I was botting for zaraj coins and i noticed that the bot could not loot them since they are quest items. i made this script to loot them. It can be adjusted to work on any loot. If yoiu want to use for other loot just change the color cords to be true on the loot that u want. Set your loot in vge to sleep 2000 after looting to give time for script to loot. If anyone know how to do this in vge then let me know and ill put it in my bot and release it. Loot follow mouse must be off.


; Detect windows by class name
opt("winTitleMatchMode", 4)
If @error Then
MsgBox(4096, "Error", "detect window")
endif

; Set Coordinate mode to relative to window
AutoItSetOption ( "PixelCoordMode", 2 )
AutoItSetOption ( "MouseCoordMode", 2 )
AutoItSetOption ( "SendKeyDownDelay", 50 )

global $Window = winGetHandle("classname=vgclientUnrealWWindowsViewportWindow")
If @error Then
MsgBox(4096, "Error", "Could not find the correct window")
endif





; Main Loop
While WinExists($Window)
Sleep(1000);


$lootbox = lootbox();
$coinyes = coinyes();




if $lootbox = 1 and $coinyes = 1 Then
MouseClick("left", 37, 77, 2)
sleep (1000);
MouseClick("left", 742, 424, 2)
EndIf

if $lootbox = 1 and $coinyes = 0 Then
MouseClick("left", 89, 267, 2)
EndIf



Wend


Func lootbox()
WinActivate ($Window);

$color1="0x3E371E"
If pixelgetcolor(98, 19) = $color1 then
WinActivate($Window);
return 1;
Else
return 0;
endif

EndFunc




Func coinyes()
WinActivate ($Window);

$color2="0x096B8F"
If pixelgetcolor(66, 64) = $color2 then
WinActivate($Window);
return 1;
Else
return 0;
endif

EndFunc


Reply with quote
Posted: May 27th, 2007, 4:44 pm
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
How is this related to VGExtreme?

_________________
Use Search first, ask questions later!


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 8 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of VGExtreme General Discussion RSS Feed 
Sitemap of VGExtreme General Discussion Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?