Register for your free account! | Forgot your password?

You last visited: Today at 15:18

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[AutoIt] 5Staff-Macro

Discussion on [AutoIt] 5Staff-Macro within the General Gaming Discussion forum part of the General Gaming category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2008
Posts: 113
Received Thanks: 56
[AutoIt] 5Staff-Macro

I want to start by saying, the guys doing the coding on some of these macros are awesome. I DID NOT DO THIS MYSELF. It is....edited using bits and pieces from a few dif macros. Props to the Harvesting with rest guy and...the strait Harvester macro that was put out here. I used my little knowledge of programming to make this work. Staff slots are 1-5. Rest is 0. Spell slot is 6. This can be used to cast multiple spells, gonna have to edit it a bit, and the delay between the clicks will be the same no matter what. Check it out. Once again thanks to the guys who did the original coding.

EDIT: Rest is set by defualt to 1min 20 seconds. Can change this easily at the bottom in the rest function, "80000" to whatever you want. (Remember millisecond) Also the number of casts is set to 19. If you want to change that go to the While loop in the Harvest function!
EDIT2: The coding is sloppy I know, but it works, and pretty well too!
EDIT3: Do NOT go off the slots on the top of the code, i forgot to take them out!

Code:
; Simple Harvesting related AutoIt script by TeabagGus
; This script will equip a weapon first and then your harvesting tool. This makes sure you always have the tool equiped.
; It runs 2 loops of 50 attempts
; Rest is Slot 5
; Tool is slot 3
; Weapon is slot 0
Global $Paused
HotKeySet("`", "TogglePause")
HotKeySet("{DEL}", "Terminate")
$a = InputBox( "Question", "Delay between clicks?", "11250" )
$b = 0
WinActivate ("Darkfall Online")
Sleep( 2000 )
Sleep (2000)
$i = 0
While $i <= 100000
Sleep (1000)
Harvest()
Sleep (1000)
Rest()
Sleep (1000)
$i = $i + 1
Wend
 
Func Harvest()
$m = 0
$b = 0
Send("r")
While $m < 19
    $b = $b + 1
    If $b = 1 Then Sleep(500)
    If $b = 1  Then Send("1")
    If $b = 1 Then sleep(500)
    If $b = 1 Then Send("6")
    If $b = 1 Then $m = $m + 1
    If $b = 1 Then sleep(500)
    If $b = 2  Then Send("2")
    If $b = 2  Then sleep(500) 
    If $b = 2  Then Send("6")
    If $b = 2 Then $m = $m + 1
    If $b = 2 Then sleep(500)
    If $b = 3  Then Send("3")
    If $b = 3  Then sleep(500) 
    If $b = 3  Then Send("6")
    If $b = 3 Then $m = $m + 1
    If $b = 3 Then sleep(500)
    If $b = 4  Then Send("4")
    If $b = 4  Then sleep(500) 
    If $b = 4  Then Send("6")
    If $b = 4 Then $m = $m + 1
    If $b = 4 Then sleep(500)
    If $b = 5  Then Send("5") 
    If $b = 5  Then sleep(500) 
    If $b = 5  Then Send("6") 
    If $b = 5 Then $m = $m + 1
    If $b = 5 Then sleep(500)
    If $b = 5  Then $b = 0     
MouseClick( "Left" )
Sleep( $a )
WEnd
Send("r")
EndFunc
 
Func Rest()
Send ("0")
Sleep (1000)
MouseClick ("left")
Sleep(1000)
Send("2")
Sleep (80000)
Send ("w")
Sleep (1000)
EndFunc
 
Func EquipWeapon()
    Sleep (1000)
Send ("0") ; Weapon
Sleep (1000)
EndFunc
 
Func TogglePause( )
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script is "Paused"',0,0)
WEnd
ToolTip("")
EndFunc
 
Func Terminate( )
Exit 0
EndFunc
Penakle is offline  
Old 02/26/2010, 16:45   #2
 
elite*gold: 0
Join Date: Feb 2010
Posts: 5
Received Thanks: 0
All Threads of you get Closed !

Accepted in 5 -7 !

Now you get an new Chance from E*Pvp, to write helpfull Story's !

Your new Golden Rules is called > "Dont Copy and Past, Learn it!"

Thanks but i need to Close this, too.

Soz in all !

#Pinned
#Report

~Closed~
вʅɑɔʞ•ʀɑɲɡɛ™ is offline  
Reply


Similar Threads Similar Threads
Autoit BG macro
09/05/2010 - World of Warcraft - 0 Replies
Looking for a new autoit bg join/leave macro the old 1 that i have doesnt work anymore instead of pressing the join bg button now it opens the bags :).
Macro/AutoIT für 40/40 set
07/05/2008 - Guild Wars - 13 Replies
Hey, kann man n script schreiben das der jeweile char vor jedem casten (1-8) Z.B. auf F2 in sein 40/40 set wechselt?wenn das gehen würde könntet ihr bitte sowas erstellen...ich denke für euch is das nich wirklich ein problem...aber ich kenn mich damit halt gar nich aus... danke im vorraus :) mfg
Macro/AutoIt für Heldenkämpfe
06/26/2008 - Guild Wars - 3 Replies
Hey, bin neu hier und ich hab kA wie man was mit den programmen macht...also mein idee war: Heldenkämpfe: 1 monk (selber) 3 ranger (heros) würde es gehen das man wenn man zb. "T" drückt,die helden in nem bruchteil von ner sekunde alle die 1. und direkt danach die 2. fertigkeit benutzen aber ohne das die 1. unterbrochen wird...normaler ranger spike halt...Falls ja sagt mir bitte wie... danke im vorraus mfg
macro autoit
06/19/2008 - Cabal Online - 10 Replies
Hi. I'm french.Sorry for my bad english. My version of cabal is europea. I tried to make myself a macro but it is only 2 days that I practice autoit. I therefore know quite limited. I like to share with you my program. I've tested but has no effect on the game like most other programs of the forum that I tested. I'd like to know why.it's really a simple program you will not hurt to understand?:confused: $x = 1 $y = 1 WinWaitActive("CABAL") ;activation of the window cabal...



All times are GMT +2. The time now is 15:18.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.