Skip to content
Outlands Hub

Razor script

Fishing frenzy V3

by nev0r · 154 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

Script to detect and harvest fishing frenzy spots in the world of UO Outlands You can input the name of your "escape script" down below ("//--->" marked area) if you want to use auto escape with tracking

GatheringFishingTracking
Fishing frenzy V3.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/0dd6cc95-779d-4669-bfc4-1ab3d136139f for latest2# Automation by Jaseowns3## Script: Fishing frenzy V34## Created by: nev0r#05#############################################6 7//Script to detect and harvest fishing frenzy spots in the world of UO Outlands8//You can input the name of your "escape script" down below ("//--->" marked area) if you want to use auto escape with tracking9 10//Activate Tracking11if skill "Tracking" >= 50 and not findbuff "Tracking Hunting" 12    if insysmsg "now tracking"13    endif14    while cooldown "Skill"15    endwhile16    while not gumpexists 426746765917        skill "tracking"18    endwhile19    gumpresponse 6 426746765920    waitforgump 4267467659 50021    gumpclose 426746765922endif23 24setvar! activeKoi 025 26setvar!  fishingTimerCD 300027settimer fishingTimer fishingTimerCD28 29settimer overheadTimer 400030 31createlist labelIsCheckedList32clearlist  labelIsCheckedList33 34@clearignore35if insysmsg "The fishing frenzy subsides."36endif37 38while not dead39    40    // Tracking detection check41    if insysmsg "now tracking"42        overhead "|*** RED ALERT ***|" 3343        overhead "|*** RED ALERT ***|" 3344        overhead "|*** RED ALERT ***|" 3345//--->  insert the name of your escape script and remove "//" below if you want to use auto escape46//        hotkey "Play Script: Escape Script"47        stop48 49    // No fishing pole in inventory50    elseif not findtype "fishing pole" self and timer overheadTimer > 300051 52        overhead "** No fishing pole **" 3353        settimer overheadTimer 054    55    // Frenzy done56    elseif insysmsg "The fishing frenzy subsides."57        58        overhead "* Frenzy done *"59        @ignore activeKoi60        setvar! activeKoi 061        clearlist labelIsCheckedList62        settimer overheadTimer 063 64    // Equip fishing pole65    elseif find activeKoi ground -1 -1 8 and not findtype "fishing pole" lefthand and findtype "fishing pole" backpack as myStick66 67        dclick myStick68        wait 60069 70    // Start fishing71    elseif find activeKoi ground -1 -1 8 and timer fishingTimer > fishingTimerCD72 73        overhead "* Fishing *"74        overhead "Fishing" 68 activeKoi75        overhead "   �   " 68 activeKoi76        dclick activeKoi77        settimer fishingTimer 078 79    // Fishing failed - try again80    elseif find activeKoi ground -1 -1 8 and timer fishingTimer > 1500 and not findtype "dragon flame badge" ground -1 -1 8 and not insysmsg! "The fishing frenzy subsides."81        82        dclick activeKoi83        settimer fishingTimer 0 84 85    // Continue fishing86    elseif find activeKoi ground -1 -1 8 and timer fishingTimer < fishingTimerCD87 88        wait 5089 90    // Check for a fishing frenzy, standard range of sight is 18 tiles, range for fishing is 8 tiles91    elseif findtype "koi" ground -1 -1 892        93        // Set closest frenzy as target94        if findtype "koi" ground -1 -1 1 as localKoi95            setvar! activeKoi localKoi96        elseif findtype "koi" ground -1 -1 2 as localKoi97            setvar! activeKoi localKoi98        elseif findtype "koi" ground -1 -1 3 as localKoi99            setvar! activeKoi localKoi100        elseif findtype "koi" ground -1 -1 4 as localKoi101            setvar! activeKoi localKoi102        elseif findtype "koi" ground -1 -1 5 as localKoi103            setvar! activeKoi localKoi104        elseif findtype "koi" ground -1 -1 6 as localKoi105            setvar! activeKoi localKoi106        elseif findtype "koi" ground -1 -1 7 as localKoi107            setvar! activeKoi localKoi108        elseif findtype "koi" ground -1 -1 8 as localKoi109            setvar! activeKoi localKoi110        endif111        112        if not inlist labelIsCheckedList activeKoi113            getlabel activeKoi activeKoiLabel114            if "fishing frenzy" in activeKoiLabel115                pushlist labelIsCheckedList activeKoi116            else117                @ignore activeKoi118                setvar! activeKoi 0119                clearlist labelIsCheckedList                120            endif121        endif122 123    // Frenzy on screen but too far to use124    elseif findtype "koi" ground -1 -1 18 as localKoi125        126        setvar! activeKoi 0127        128        if not inlist labelIsCheckedList localKoi129            getlabel localKoi localKoiLabel130            if "fishing frenzy" in localKoiLabel131                pushlist labelIsCheckedList localKoi132            else133                @ignore localKoi134                continue135            endif136            settimer overheadTimer 2000137        endif138        139        if timer overheadTimer > 2000140            overhead "* Found frenzy *" 43141            overhead "Move closer"  43 localKoi142            overhead "     ��    "  43 localKoi143            settimer overheadTimer 0144        endif145 146    // No frenzy on screen147    elseif timer overheadTimer > 4000148        149        overhead "* Searching Frenzy *"150        settimer overheadTimer 0151 152    endif153 154endwhile