What's new

Archery Training Razor Script

Vem

Journeyman
Description
Raises Archery through the use of backstab which increases your skill gain chance by a lot. (at 86 archery my skill gain chance was 24% vs 2%)
Your character will attempt to backstab a zoo creature every 20 seconds.
Uses far less ammo than trying to train without backstab.
Semi-AFK due to zoo creatures sometimes disappearing.
Also trains Tactics along side Archery.

Requirements
100 Hiding
100 Stealth
Bolts
extra Heavy Crossbows

Script
You will need to create a Script Variable for the 'monster' by adding a mobile you'll be attacking at Prevalia Zoo. Name it monster
Extra 100ms wait to account for latency. If your latency is 200+ you may need to increases the wait times for it to function smoothly.
Code:
//100 hiding 100 stealth
//Lots of Bolts
//Extra Heavy Crossbows
if lhandempty
    dclicktype 0x13FD
    wait 600
endif
skill 'hiding'
//Add another 100ms if you -
//get must wait system message
wait 10100
skill 'stealth'
hotkey 'Toggle War/Peace'
wait 500
//Create Script Variable
//add Zoo mobile, name monster
attack 'monster'
wait 100
hotkey 'Toggle War/Peace'
wait 9500
loop
 
Last edited:

Vem

Journeyman
That's an impressive result wnb, thanks for sharing!
Archery GM'd within 24 hours, great stuff!
 
  • Like
Reactions: wnb

oroechimaru

Grandmaster
It should cost 5000-6000 bolts using overweight low dex/low stamina method with heavy xbows

Roughly 2-3k bolts using stealth method. Make sure to use a heavy xbow and if desired lower dex/stamina
 

Staguar

Neophyte
Description
Raises Archery through the use of backstab which increases your skill gain chance by a lot. (at 86 archery my skill gain chance was 24% vs 2%)
Your character will attempt to backstab a zoo creature every 20 seconds.
Uses far less ammo than trying to train without backstab.
Semi-AFK due to zoo creatures sometimes disappearing.
Also trains Tactics along side Archery.

Requirements
100 Hiding
100 Stealth
Bolts
extra Heavy Crossbows

Script
You will need to create a Script Variable for the 'monster' by adding a mobile you'll be attacking at Prevalia Zoo. Name it monster
Extra 100ms wait to account for latency. If your latency is 200+ you may need to increases the wait times for it to function smoothly.
Code:
//100 hiding 100 stealth
//Lots of Bolts
//Extra Heavy Crossbows
if lhandempty
    dclicktype 0x13FD
    wait 600
endif
skill 'hiding'
//Add another 100ms if you -
//get must wait system message
wait 10100
skill 'stealth'
hotkey 'Toggle War/Peace'
wait 500
//Create Script Variable
//add Zoo mobile, name monster
attack 'monster'
wait 100
hotkey 'Toggle War/Peace'
wait 9500
loop

How do I create a script variable by adding a mobile?
 

Zavgard

Neophyte
!Loop
Assistant.Macros.IfAction|100|1|100|31
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.DoubleClickTypeAction|5117|True
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.UseSkillAction|21
Assistant.Macros.PauseAction|00:00:10.5000000
Assistant.Macros.UseSkillAction|47
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.HotKeyAction|1196|
Assistant.Macros.PauseAction|00:00:03
Assistant.Macros.HotKeyAction|2059|
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|2059|
Assistant.Macros.PauseAction|00:00:07.5000000

for razor! pretty simple, get 100 stealth and hiding first or you will shot bolts without stealth.
just shoot at a target in the zoo to get "last combatant".

EDIT: i changed it a bit. its still lazy but it will reequip now heavy crossbows and it will stop when you hit 100 archery.
i changed the timer a bit aswell, now you will shoot exactly one time before you hide again. before it can happen that he shoot two times.
 
Last edited:

syntaks

Neophyte
You could just target the monster with your dagger or something before running your script. That should set it as your last target. Then just create a hot key for last target and use that instead of needing to specify the specific monster. Or you could just put in the name of the monster in the quotes after attack:

attack 'sandcrawler'

You could also use "setlasttarget" at the start of your script. This will pause your script at that point and allow you to target the monster. Then after that I would create a while loop with something that is always true like:

setlasttarget
while hits > 0
// All your code in here.
endwhile

Finally you could use "setvar". This will pause the script and wait for you to target something as a variable for your script. This example straight from docs:

setvar 'dummy' //The name of your variable to use later
// Script pauses, cursor should be up for you to set the monster to the variable named 'dummy'

cast 'magic arrow'
waitfortarget
target 'dummy' //Razor looks to the variable dummy you set above and tries to target it for magic arrow.

All of this can be found right outta the docs linked below:
 

SHAMBAMPOW

Neophyte
I modified this slightly, figured I'd share it.

Other things to note when using this script:
- When creating your character, lock your dex immediately at 10. (Once you're done training, you can easily turn on tracking skill "hunting" to easily gain your dex back up to 100 if you so desire. If you already have >25 dex, then just point it down and let another stat go to 100. You won't be able to get to 10, but the less your dex is, the better your skill gain chance will be for this method of training).
- Wear a wizards hat to get the -5 dex bonus, effectively giving you only 5 dex (or 19-20 dex if you have 24-25 raw dex).
- Stand behind the other people farming, and try to target a monster that is already being attacked by the other players, so you're not the one aggro'd - which would prevent you from re-hiding.
- Have 3-5 heavy xbows in your pack (plain ones from a vendor is fine and cheap).
- Have 2-3k bolts in pack, or replenish every so often with another character.
- Get 70 archery at the starter dungeon first.
- You also don't NEED 100 stealth/100 hiding. You could start when you have less, and gain the rest while training archery. (I started around 96 and it gained the rest while training archery)
- Ensure you're dismounted for stealthing...

* Also, if you need bolts, check each town. The bowyer(s), ranger(s), and provisioner(s) all sell them for 2gp/per. If you have no gold, you could craft bolts with wood and feathers on a new character with starter skills.

Here's what this version of the script does differently:
- Last target is set when first running the script.
- Stops archery once you reach 100. (but keeps hiding - for safety)
- Whispers guards while visible - for safety.
- Moved the pause so that you can hide immediately after firing, rather than staying visible for ~10s.
- Added checks to ensure hidden before attempting stealth.
- Added checks to hiding to only hide again if not already hidden.

Code:
//100 hiding 100 stealth
//Lots of Bolts
//Extra Heavy Crossbows
setlasttarget
while hits > 0
    if not hidden
        whisper 'guards'
        skill 'hiding'
        //Add another 100ms if you -
        //get must wait system message
        wait 10500
    endif
    if skill 'archery' < 100
        if lhandempty
            dclicktype 0x13FD
            wait 600
        endif
        if hidden
            skill 'stealth'
            wait 9900
            hotkey 'Toggle War/Peace'
            wait 500
            //Create Script Variable
            //add Zoo mobile, name monster
            if hidden
                attack lasttarget
            endif
            wait 100
            hotkey 'Toggle War/Peace'
        endif
    endif
endwhile
Note: At 99.9, the skill gain chance with 5 dex was 29.394%! In total, used about 1-1.5k bolts while training 70-100. (and got to 70 with just the archery starter arrows (300-500 in the Shelter Island dungeon before that). GM'd hiding, stealth, archery, tactics, arms lore in ~15h (probaby much less - as I disconnected at some point over night, gained the last 10 points in ~3 hours.). I forgot to start tracking, but that will be GM soon by just hunting passively set to "Always Get Closest" with NPC's in town.
2021-02-23_11-39-20.png

2021-02-23_11-44-55.png
 
Last edited: