Requesting a Script

Discussion about the technical aspects of scripting. Ask about all issues involving your freelance projects here.
Locked
User avatar
Ironbender
Elder Scribe
Reactions:
Posts: 152
Joined: Wed Feb 23, 2011 2:02 pm
Location: Pennsburg, PA

Requesting a Script

Post by Ironbender »

Attention Script Writters. I would LOVE a scrip that does the following... (If possible)


FISHING Script.

Features:
Uses Fishing Pole, Targets Water 2-3 tiles away from current location. Pauses till either a fish is pulled up, or msg appears that attempt failed.

Script ENDS if a Sea Serpent is Fished Up. (Yes, I understand I would have to keep re-starting the script after every Sea Serp fished up, but this would also be a feature that would prevent AFK Fishing)
[Maybe even add a Attack Nearest Non-Friendly if Sea Serp is fished up would be an added BONUS]

Ship moves foward 10-12 tiles forward if msg appears that fish aren't bitten in this spot.
Then Loops

If you manage to create such a script please post it here for all to have, and PM me ingame to let me know it's availible.


Thank you

Ironbender
Image
User avatar
anarchy
Legendary Scribe
Reactions:
Posts: 1610
Joined: Wed Nov 04, 2009 10:34 am

Re: Requesting a Script

Post by anarchy »

i used razor to do this and was very easy. + you can fish and kill a monster at the same time lol

for razor i did target location.
User avatar
Ironbender
Elder Scribe
Reactions:
Posts: 152
Joined: Wed Feb 23, 2011 2:02 pm
Location: Pennsburg, PA

Re: Requesting a Script

Post by Ironbender »

I have a great Razor Macro for Fishing also, but I want one for EUO instead, so I can run a different macro on Razor while Fishing. I like having options.
Image
User avatar
Xavian
Legendary Scribe
Reactions:
Posts: 485
Joined: Sun Dec 25, 2011 4:09 pm

Re: Requesting a Script

Post by Xavian »

I'm too lazy to look at what the ID of a fishing pole is. Figure that out and sub it in for XXX in the top finditem line and you should be set. Should cast, attack and move as needed. Untested of course because I don't care enough to try it out. It's free, what do you expect from me.

top:
finditem XXX C ;XXX is fishing pole ID
if #findkind = 1
event macro 22 0
click 490 270
wait 1s
gosub attack
scanjournal 1
set %jrnl #jindex
{
if #jindex > %jrnl
{
set %jrnl %jrnl + 1
scanjournal %jrnl
if is_attacking_you in #journal
event macro 1 0 forward
wait 4s
event macro 1 0 stop
}
}
goto top
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
SUB attack
EVENT macro 27
FINDITEM KI G_7
RETURN
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Sub Enemy
FOR !_range 1 !_maxrange
{
FINDITEM KI G_7
IF #FINDKIND <> -1
{
SET #LTARGETID #FINDID
SET !_enemy #FINDID
GOSUB attack
}
}
SET !_range 0
Return
User avatar
Stilton
Master Scribe
Reactions:
Posts: 50
Joined: Fri Feb 03, 2012 9:10 am

Re: Requesting a Script

Post by Stilton »

There is a good 4x4 fishing macro for razor.
Trythis beauty.

Just jam it all into a text file and save it as fishing.macro in your razor macro folder. [Possibly %APPDATA%/Razor/Macros]

Code: Select all


!Loop
Assistant.Macros.DoubleClickTypeAction|3520|True
Assistant.Macros.WaitForTargetAction|2
Assistant.Macros.TargetRelLocAction|-2|-2
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.IfAction|4|0|the fish don't seem to be biting here.
Assistant.Macros.SpeechAction|0|690|3|ENU|2|16|90| forward one
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:07.5000000
Assistant.Macros.DoubleClickTypeAction|3520|True
Assistant.Macros.WaitForTargetAction|2
Assistant.Macros.TargetRelLocAction|-2|1
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.IfAction|4|0|the fish don't seem to be biting here.
Assistant.Macros.SpeechAction|0|690|3|ENU|2|16|90| forward one
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:07.5000000
Assistant.Macros.DoubleClickTypeAction|3520|True
Assistant.Macros.WaitForTargetAction|2
Assistant.Macros.TargetRelLocAction|2|-2
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.IfAction|4|0|the fish don't seem to be biting here.
Assistant.Macros.SpeechAction|0|690|3|ENU|2|16|90| forward one
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:07.5000000
Assistant.Macros.DoubleClickTypeAction|3520|True
Assistant.Macros.WaitForTargetAction|2
Assistant.Macros.TargetRelLocAction|2|1
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.IfAction|4|0|the fish don't seem to be biting here.
Assistant.Macros.SpeechAction|0|690|3|ENU|2|16|90| forward one
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:07.5000000
Locked