PDA

View Full Version : Leaper/Relnak hunter in Vaalor



rinsfire2350
03-22-2007, 07:17 PM
This is a script I wrote in the style of Dwarven Empath. To change the weapons, just paste the script in notepad then ctrl+f for these lines:
#Weapons are pulled out here
#Weapons are put away here

They are commented into the script to make it easier to locate them. Any errors or desired features, do post here. I am working on a massive, menu controlled, script that will hunt a great many of the areas around the Vaalor area, so I'd like to make sure my style works.

Features of the script:
Stance Dances between Offensive and Defensive
Skins and Searches kills
Will pickup skins
Will sell skins
Deposits coins, if any are made, after every run

The script:
start:
put look
match restcheck Table]
match restcheck Court]
match restcheck Room]
match caught [Scripting Violation Limbo]
match caught [The Cell]
match lost Obvious paths:
match lost Obvious exits:
matchwait

lost:
put stance d
goto M%c

mindcheck:
put exp
match resttime You must rest
match M1 Your mind is
matchwait

M0:
goto M1

M1:
pause .1
counter set 2
put sw
goto roomcheck

M2:
pause .1
counter set 3
put s
goto roomcheck

M3:
pause .1
counter set 4
put w
goto roomcheck

M4:
pause .1
counter set 5
put s
goto roomcheck

M5:
pause .1
counter set 6
put e
goto roomcheck

M6:
pause .1
counter set 7
put s
goto roomcheck

M7:
pause .1
counter set 8
put w
goto roomcheck

M8:
pause .1
counter set 9
put s
goto roomcheck

M9:
pause .1
counter set 10
put e
goto roomcheck

M10:
pause .1
counter set 11
put se
goto roomcheck

M11:
pause .1
counter set 12
put ne
goto roomcheck

M12:
pause .1
counter set 13
put e
goto roomcheck

M13:
pause .1
counter set 14
put n
goto roomcheck

M14:
pause .1
counter set 15
put w
goto roomcheck

M15:
pause .1
counter set 16
put n
goto roomcheck

M16:
pause .1
counter set 17
put e
goto roomcheck

M17:
pause .1
counter set 18
put n
goto roomcheck

M18:
pause .1
counter set 19
put w
goto roomcheck

M19:
pause .1
counter set 20
put n
goto roomcheck

M20:
pause .1
counter set 21
put nw
goto roomcheck

M21:
goto mindcheck

moveback:
put stand
waitfor You
count subtract
goto M%c

roomcheck:
match moveback You can't do that while laying down.
match start Sorry, you may only type ahead
match M%c You can't go there
match start I could not find what
match found1 spotted leaper
match found2 striped relnak
match M%c Obvious paths:
match M%c Obvious exits:
matchwait

found1:
match start You can't go there.
match M%c Also here:
match attprep1 Obvious paths:
match attprep1 Obvious exits:
matchwait

found2:
match start You can't go there.
match M%c Also here:
match attprep2 Obvious paths:
match attprep2 Obvious exits:
matchwait

attprep1:
put stance o
goto preatt1

attprep2:
put stance o
goto preatt2

preatt1:
wait 1
goto attack1

preatt2:
wait 1
goto attack2

attack1:
put attack leaper
match wait1 ...wait
match dead1 dies
match dead1 dead
match dead1 motionless
match dead1 A little bit
match attack1 only type ahead
match attack1 Please wait
match lost You are
match lost What were you referring to?
match attack1 Roundtime
match attack1 Wait
match start I could not find
matchwait

attack2:
put att relnak
match wait2 ...wait
match dead2 dies
match dead2 dead
match dead2 motionless
match dead2 A little bit
match attack2 only type ahead
match attack2 Please wait
match lost You are
match lost What were you referring to?
match attack2 Roundtime
match attack2 Wait
match start I could not find
matchwait

wait1:
pause .1
goto attack1

wait2:
pause .1
goto attack2

dead1:
pause 1
put stance d
put skin leaper
match skincheck2 You skinned
match pauseskin1 ...wait
match attack1 You might want
match continue1 You botched
match continue1 You can only skin creatures!
match continue1 been skinned.
matchwait

dead2:
pause 1
put stance d
put skin relnak
match skincheck2 You skinned
match pauseskin2 ...wait
match attack2 You might want
match continue2 You botched
match continue2 You can only skin creatures!
match continue2 been skinned.
matchwait

pauseskin1:
pause 1
goto dead1

pauseskin2:
pause 1
goto dead2

continue1:
put search leaper
goto skincheck1

continue2:
put search relnak
goto skincheck2

skincheck1:
put get pelt
match foundpelt1 You pick up
match nopelt Get what?
matchwait

skincheck2:
put get sail
match foundpelt2 You pick up
match nopelt Get what?
matchwait

nopelt:
goto afterskin

foundpelt1:
put put pelt in my back
goto afterskin

foundpelt2:
put put sail in my back
goto afterskin

afterskin:
pause 1
put look
match attprep1 spotted leaper
match attprep2 striped relnak
match M%c Obvious paths:
match M%c Obvious exits:
matchwait


restcheck:
put exp
match timetohunt Your mind is fresh and clear
match timetohunt Your mind is as clear as a bell
match rest Your mind is
matchwait

resttime:
put look
put go gate
move nw
move nw
move w
move n
move n
move n
move n
move ne
move n
move ne
move ne
put go bri
move ne
move ne
put go gate
pause 1
#Weapons are put away here
put put hand in my pack
move n
move w
move n
move n
move n
move n
move n
move n
move e
move n
move e
move e
move e
move e
put go door
pause 1
put remove my pack
pause 1
put sell my pack
pause 1
put wear my pack
pause 1
move out
move e
move nw
put go bank
pause 1
put go arch
pause 1
put deposit all
pause 1
put check balance
pause 1
move out
move out
move se
move e
move s
move e
move s
move s
move s
move s
move s
move s
move w
move s
move w
move w
move w
put sit
goto rest

rest:
pause 1200
goto timetohunt

timetohunt:
put stand
pause 5
move w
move w
move w
pause 1
#Weapons are pulled out here
put get hand from my pack
pause 1
move go gate
move sw
move sw
move sw
move sw
move sw
move s
move sw
move s
move s
move s
move s
move se
move se
move e
put go gate
goto M1

caught:
put exit

Enuch
02-22-2016, 11:59 AM
Curious, what room does this start in? Is this at the Court? or does this start in the hunting area?