taultunleashed http://www.taultunleashed.com/phpbb3/ |
|
exp script http://www.taultunleashed.com/guild-wars-submissions/exp-script-t29479.html |
Page 1 of 1 |
Author: | cinderbrood [ February 10th, 2006, 7:02 pm ] |
Post subject: | exp script |
this script is ideal for lower lvled characters who want to jump a few lvls fast allowed me to jump from lvl 1 to lvl 10 fast scripts needs autoit fully installed to work im not sure how these forums prefer the macros so ill post the sorce code so all u have to do is copy and paste into yout text editor (notepad) load the script login to guild wars alt tab to the script gui and hit the start box then alt tab back and its will start it auto targets closest enemy and will attack using evry thing in boxes 2,3 and 4 of the skills bar ............copy from below this text.................. ; ---------------------------------------------------------------------------- ; ; AutoIt Version: 3.1.0 ; Author:cinder ; Name:Killbot ; Script Function:For afk killing with Guild Wars. ; ; ; ---------------------------------------------------------------------------- ;~~~~~~~~~~~~~~~ #NoTrayIcon #Include<GUIConstants.au3> Global $Paused ;~~~~~~~~~~~~~~~ HotKeySet("{Pause}", "Pause") HotKeySet("{End}", "Hide") HotKeySet("{Home}", "Show") ;~~~~~~~~~~~~~~~ GuiCreate("Killbot", 100, 50,(@DesktopWidth-100)/2, (@DesktopHeight-50)/2, $WS_DLGFRAME) WinSetOnTop("Killbot", "", 1) ;~~~~~~~~~~~~~~~ $startKB = GuiCtrlCreateCheckbox("Start", 4, 1, 50, 20) $Button_1 = GuiCtrlCreateButton("X", 95, 3, 18, 18) $ButtonHelp = GUICtrlCreateButton("Help", 60, 3, 35, 18) GuiSetState() ;~~~~~~~~~~~~~~~ While 1 $msg = GuiGetMsg() ;~~~~~~~~~~~~~~~ Select Case GUICtrlRead($startKB) <> 4 While GUICtrlRead($startKB) <> 4 Kill() WEnd Case GUICtrlRead($startKB) = -15 ExitLoop EndSelect ;~~~~~~~~~~~~~~~ Select Case $msg = $ButtonHelp msgbox(0, "Help", "Press (Pause) to pause, press (End) to hide the window and press (Home) to show the window.Killbot was created for educational purposes only.") EndSelect ;~~~~~~~~~~~~~~~ Select Case $msg = $Button_1 ExitLoop EndSelect WEnd ;~~~~~~~~~~~~~~~ Func Pause() $Paused = NOT $Paused While $Paused sleep(100) ToolTip('GWit is currently paused.',0,0) WEnd ToolTip("") EndFunc ;~~~~~~~~~~~~~~~ Func Hide() GUISetState(@SW_HIDE) EndFunc ;~~~~~~~~~~~~~~~ Func Show() GUISetState(@SW_SHOW) EndFunc ;~~~~~~~~~~~~~~~ ; ;Funtion Kil Func Kill() ; Sleep(100) $CoordsA = PixelSearch(400, 300, 700, 550, 0xE3C243) ; Gold items $CoordsB = PixelSearch(400, 300, 700, 550, 0xBB88EE) ; Purple items $CoordsC = PixelSearch(400, 300, 700, 550, 0x99EEFF) ; Blue items ; ; If IsArray($CoordsA) Then Sleep(500) ; The colour A was found MouseClick('Left', $CoordsA[0], $CoordsA[1], 1, 0) Sleep(500) Else ; The color A was not found EndIf ; If IsArray($CoordsB) Then Sleep(500) ; The color B was found MouseClick('Left', $CoordsB[0], $CoordsB[1], 1, 0) Sleep(500) Else ; The color B was not found EndIf ; If IsArray($CoordsC) Then Sleep(500) ; The color C was found MouseClick('Left', $CoordsC[0], $CoordsC[1], 1, 0) Sleep(500) Else ; The color C was not found EndIf ; Sleep(100) ; Send("{Alt down}") ; ; hold (alt) Sleep(100) Send("{c down}") Sleep(15) Send("{c up}") Sleep(25) ; ; This is the attack sequence. ; ; Send("{SPACE down}") Sleep(15) Send("{SPACE up}") Sleep(15) Send("{2 down}") Sleep(15) Send("{2 up}") Sleep(15) Send("{3 down}") Sleep(15) ; ; Skills sequence. ; ; Send("{3 up}") Sleep(15) Send("{4 down}") Sleep(15) Send("{4 up}") Sleep(15) Send("{Alt up}") Sleep(100) EndFunc ...................copy above the line............ this is my first addition so let me know what u think edit thank yes it stutters for me no idea why im still wondering i think it may be to do with the keypress info over welming gw somehow no idea what though any one have anyideas to what causes it it only seems to jump when u run. |
Author: | kallick [ February 11th, 2006, 8:27 am ] |
Post subject: | |
Seems to work ok. i think the script is missing a few brackets (autoit picked them up on line 23), but I corrected them myself. Do all macros make the game stutter? It did on mine. According to Task manager it didn't seem to be processor intensive so not sure what's going on there. Good first effort. |
Author: | Tault_admin [ February 11th, 2006, 5:29 pm ] |
Post subject: | |
Yay or any for premium? |
Author: | kallick [ February 12th, 2006, 2:14 am ] |
Post subject: | |
It does what it says it does. If anyone can help with the stutter issue and perhaps an idea for moving the character elsewhere (when it's killed everything on it's radar it stops) it would be a much nicer experience. #edit# it seems very similar to this macro on this site already : http://www.taultunleashed.com/phpbb2/vi ... hp?t=28110 What's up with that? #double edit# this post is more informative as to how to get it to work etc though. |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |