Not a member yet? Register for your free account!

 

Go Back   elitepvpers > Other Online Games > Darkfall > Darkfall Macros

[AutoIt] Uber Fishing Macro (works on rafts!)

This is a discussion on [AutoIt] Uber Fishing Macro (works on rafts!) within the Darkfall Macros forum part of the Darkfall category; UberFish Macro: - Allows you to adjust how long you fish (Defualt is 10mins) and how long to rest. -Auto ...


Reply
 
LinkBack Thread Tools
Old 08-14-2009, 12:28   #1
Senior Member
 
Join Date: Jan 2008
Posts: 113
Received Thanks: 45
[AutoIt] Uber Fishing Macro (works on rafts!)

UberFish Macro:

- Allows you to adjust how long you fish (Defualt is 10mins) and how long to rest.
-Auto switchs fishingpoles (Places as many as you'd like on Bar2)
-Allows eating before resting for quicker stam recovery!
-Works on Rafts, and on Shores!
-Auto Zoom's and and looks at water!
-Setup your own keys!

Start by resting then standing up with your Fishing Pole sheathed and in cross hair mode.

Let me know if there is anything I can add to this!

Code:
Dim $c, $r, $e, $f
Global $Paused
HotKeySet("`", "TogglePause")
HotKeySet("{ESC}", "Terminate")
$f = InputBox( "Question", "How Long to Fish? Default is 10mins", "600000" )
$c = InputBox( "Question", "How Long to Rest?", "160000" )
$r = InputBox( "Question", "Hotbar number for Rest?", "0" )
$e = InputBox( "Question", "Would like to use Food? 1 yes, 2 for no", "2" )
If $e = 1 Then
	$h = InputBox( "Question", "Hotbar number for Food?", "9" )
MsgBox( 0, "Alert", "Start by resting then standing up with your Fishing Pole sheathed and in crosshair mode. Then click OK and Alt + Tab into Darkfall to start the script. Press Grave to Pause, and Esc to Cancel.  Macro made by Arthin Skystone" )
WinWaitActive( "Darkfall Online" )

While 1
	Sleep ( 2000 )
	Send( "R" )
	Sleep ( 500 )
	Call( "NewPole" )
	Sleep ( 500 )
	Call( "FishClick" )
	Sleep ( 500 )
	Call( "Eat" )
	Sleep ( 1000 )
	Call( "Rest" )
WEnd

ElseIf $e = 2 Then
	MsgBox( 0, "Alert", "Start by resting then standing up with your Fishing Pole sheathed and in crosshair mode. Then click OK and Alt + Tab into Darkfall to start the script. Press Grave to Pause, and Esc to Cancel. Macro made by Arthin Skystone" )
	WinWaitActive( "Darkfall Online" )

While 1
	Sleep ( 2000 )
	Send( "R" )
	Sleep ( 500 )
	Call( "FishClick" )
	Call( "Rest" )
WEnd

Else
	MsgBox( 0, "Alert", "You must choose yes or no to the food question" )
	Exit
EndIf

Func FishClick( )
	Sleep( 500 )
	Send( "{DOWN 200}" )
	MouseWheel("up",10)
	Sleep( 500 )
	MouseClick( "Left" )
	Sleep( $f )
EndFunc

Func Rest( )
	Sleep( 2000 )
	Send( "{UP 300}" )
	Send( "R" )
	Sleep( 500 )
	Send( $r )
	Sleep( 500 )
	MouseClick( "Left" )
	Sleep( $c )
	Send( "{SPACE}" )
	Sleep( 500 )
EndFunc

Func Eat( )
	Sleep( 2000 )
	Send( $h )
	Sleep( 500 )
EndFunc

Func NewPole( )
	Sleep( 1000 )
	Send( "{SHIFTDOWN}" )
	Send( "2" )
	Send( "{SHIFTUP}" )
	Sleep( 100 )
	Send( "1" )
	Sleep( 250 )
	Send( "2" )
	Sleep( 250 )
	Send( "3" )
	Sleep( 250 )
	Send( "4" )
	Sleep( 250 )
	Send( "4" )
	Sleep( 250 )
	Send( "5" )
	Sleep( 250 )
	Send( "6" )
	Sleep( 250 )
	Send( "7" )
	Sleep( 250 )
	Send( "8" )
	Sleep( 250 )
	Send( "9" )
	Sleep( 250 )
	Send( "0" )
	Sleep( 1000 )
	Send( "{SHIFTDOWN}" )
	Send( "1" )
	Send( "{SHIFTUP}" )
	Sleep( 500 )
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   Reply With Quote
The Following User Says Thank You to Penakle For This Useful Post:
haskan (09-18-2009)
 
Old 01-18-2010, 10:10   #2
Junior Member
 
Join Date: Dec 2005
Posts: 25
Received Thanks: 0
Quote:
Originally Posted by Penakle View Post
UberFish Macro:

- Allows you to adjust how long you fish (Defualt is 10mins) and how long to rest.
-Auto switchs fishingpoles (Places as many as you'd like on Bar2)
-Allows eating before resting for quicker stam recovery!
-Works on Rafts, and on Shores!
-Auto Zoom's and and looks at water!
-Setup your own keys!

Start by resting then standing up with your Fishing Pole sheathed and in cross hair mode.

Let me know if there is anything I can add to this!

Code:
Dim $c, $r, $e, $f
Global $Paused
HotKeySet("`", "TogglePause")
HotKeySet("{ESC}", "Terminate")
$f = InputBox( "Question", "How Long to Fish? Default is 10mins", "600000" )
$c = InputBox( "Question", "How Long to Rest?", "160000" )
$r = InputBox( "Question", "Hotbar number for Rest?", "0" )
$e = InputBox( "Question", "Would like to use Food? 1 yes, 2 for no", "2" )
If $e = 1 Then
	$h = InputBox( "Question", "Hotbar number for Food?", "9" )
MsgBox( 0, "Alert", "Start by resting then standing up with your Fishing Pole sheathed and in crosshair mode. Then click OK and Alt + Tab into Darkfall to start the script. Press Grave to Pause, and Esc to Cancel.  Macro made by Arthin Skystone" )
WinWaitActive( "Darkfall Online" )

While 1
	Sleep ( 2000 )
	Send( "R" )
	Sleep ( 500 )
	Call( "NewPole" )
	Sleep ( 500 )
	Call( "FishClick" )
	Sleep ( 500 )
	Call( "Eat" )
	Sleep ( 1000 )
	Call( "Rest" )
WEnd

ElseIf $e = 2 Then
	MsgBox( 0, "Alert", "Start by resting then standing up with your Fishing Pole sheathed and in crosshair mode. Then click OK and Alt + Tab into Darkfall to start the script. Press Grave to Pause, and Esc to Cancel. Macro made by Arthin Skystone" )
	WinWaitActive( "Darkfall Online" )

While 1
	Sleep ( 2000 )
	Send( "R" )
	Sleep ( 500 )
	Call( "FishClick" )
	Call( "Rest" )
WEnd

Else
	MsgBox( 0, "Alert", "You must choose yes or no to the food question" )
	Exit
EndIf

Func FishClick( )
	Sleep( 500 )
	Send( "{DOWN 200}" )
	MouseWheel("up",10)
	Sleep( 500 )
	MouseClick( "Left" )
	Sleep( $f )
EndFunc

Func Rest( )
	Sleep( 2000 )
	Send( "{UP 300}" )
	Send( "R" )
	Sleep( 500 )
	Send( $r )
	Sleep( 500 )
	MouseClick( "Left" )
	Sleep( $c )
	Send( "{SPACE}" )
	Sleep( 500 )
EndFunc

Func Eat( )
	Sleep( 2000 )
	Send( $h )
	Sleep( 500 )
EndFunc

Func NewPole( )
	Sleep( 1000 )
	Send( "{SHIFTDOWN}" )
	Send( "2" )
	Send( "{SHIFTUP}" )
	Sleep( 100 )
	Send( "1" )
	Sleep( 250 )
	Send( "2" )
	Sleep( 250 )
	Send( "3" )
	Sleep( 250 )
	Send( "4" )
	Sleep( 250 )
	Send( "4" )
	Sleep( 250 )
	Send( "5" )
	Sleep( 250 )
	Send( "6" )
	Sleep( 250 )
	Send( "7" )
	Sleep( 250 )
	Send( "8" )
	Sleep( 250 )
	Send( "9" )
	Sleep( 250 )
	Send( "0" )
	Sleep( 1000 )
	Send( "{SHIFTDOWN}" )
	Send( "1" )
	Send( "{SHIFTUP}" )
	Sleep( 500 )
EndFunc

Func TogglePause( )
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Func Terminate( )
    Exit 0
EndFunc
einfach nur kopieren?
just simply copy it?
Azereus is offline   Reply With Quote
Old 02-24-2010, 13:42   #3
Junior Member
 
Join Date: Oct 2009
Posts: 4
Received Thanks: 0
Anyone gotten this to work ?
sjarewin is offline   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 On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 20:45.


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

Contact | FAQ | Impressum | Advertising
Copyright ©2010 Heroic Studios UG (haftungsbeschränkt) All Rights Reserved.