jafo
06-15-2004, 12:26 AM
This is a SF script for hunting cyclops. It is geared towards a twohander or polearm user (or possibly magic user).
Anyhow, cyclops are dirt poor. I just stow whatever they drop with the autopickup (turn that option on or comment out those lines)
I left out the travel to and from town to make this script easier to review. Any feedback would be appreciated.
And thanks to the Complete Cyclops Hunter this is based on.
------------------------------------------
counter set 1
start:
put look
match filter a cyclops
match R1 Noman's Land
match continuehunt Obvious exits
match logoff [Scripting Violation Limbo]
match logoff [Consoltation Lounge]
match logoff [The Cell]
put look
matchwait
checkexp:
put exp
match gorest You must rest
match R1 Your mind is
matchwait
R1:
pause .5
put sw
counter set 2
goto checkroom
R2:
pause .5
put s
counter set 3
goto checkroom
R3:
pause .5
put e
counter set 4
goto checkroom
R4:
pause .5
put sw
counter set 5
goto checkroom
R5:
pause .5
put e
counter set 6
goto checkroom
R6:
pause .5
put e
counter set 7
goto checkroom
R7:
pause .5
put ne
counter set 8
goto checkroom
R8:
pause .5
put e
counter set 9
goto checkroom
R9:
pause .5
put s
counter set 10
goto checkroom
R10:
pause .5
put n
counter set 11
goto checkroom
R11:
pause .5
put e
counter set 12
goto checkroom
R12:
pause .5
put w
counter set 13
goto checkroom
R13:
pause .5
put w
counter set 14
goto checkroom
R14:
pause .5
put sw
counter set 15
goto checkroom
R15:
pause .5
put nw
counter set 16
goto checkroom
R16:
pause .5
put w
counter set 17
goto checkroom
R17:
pause .5
put n
counter set 18
goto checkroom
R18:
pause .5
put ne
counter set 19
goto checkroom
R19:
goto checkexp
checkroom:
match start Sorry, you may only type ahead
match R%c You can't go there
match R%c I could not find what
match R%c cyclops, a cyclops
match filter a cyclops,
match filter a cyclops.
match filter cyclops and
match R%c Obvious
matchwait
filter:
put look
match R%c Also here:
match R%c appears stunned
match R%c lying down
match R%c disk
match preatt cyclops
match R%c Obvious
matchwait
preatt:
put SIGN OF DEFENDING
put SIGN OF STRIKING
put SIGN OF SMITING
put SIGN OF SWORDS
waitfor A cyclops swings
goto attack
attack:
put stance offensive
put att
match wait ...wait
match dead dies
match dead dead
match dead motionless
match dead A little bit
match attack only type ahead
match attack Please wait
match attack Roundtime:
match attack Wait
match R%c I could not find
match R%c You currently have no valid target
matchwait
wait:
pause .5
goto attack
dead:
pause 1
put stance defensive
put loot
put stow left
goto checkc
checkc:
pause 1
put look cyclops
match attack You see a fairly
match R%c I could not find what you were referring to.
matchwait
gorest:
#go back to town
#sell cloak to gemshop
#go to bank
goto bankdepo
continuehunt:
#leave inn table
#go to climbable path
#store weapon(s)
goto climb
climb:
pause 1
put climb path
put ready weapon
waitfor You remove a
goto R1
bankdepo:
pause 1
put depo all
put check bal
move out
move e
move n
move go inn
move go arch
move go table
pause 1
put time
waitfor
put sign of thought
pause 620
goto continuehunt
logoff:
put exit
Anyhow, cyclops are dirt poor. I just stow whatever they drop with the autopickup (turn that option on or comment out those lines)
I left out the travel to and from town to make this script easier to review. Any feedback would be appreciated.
And thanks to the Complete Cyclops Hunter this is based on.
------------------------------------------
counter set 1
start:
put look
match filter a cyclops
match R1 Noman's Land
match continuehunt Obvious exits
match logoff [Scripting Violation Limbo]
match logoff [Consoltation Lounge]
match logoff [The Cell]
put look
matchwait
checkexp:
put exp
match gorest You must rest
match R1 Your mind is
matchwait
R1:
pause .5
put sw
counter set 2
goto checkroom
R2:
pause .5
put s
counter set 3
goto checkroom
R3:
pause .5
put e
counter set 4
goto checkroom
R4:
pause .5
put sw
counter set 5
goto checkroom
R5:
pause .5
put e
counter set 6
goto checkroom
R6:
pause .5
put e
counter set 7
goto checkroom
R7:
pause .5
put ne
counter set 8
goto checkroom
R8:
pause .5
put e
counter set 9
goto checkroom
R9:
pause .5
put s
counter set 10
goto checkroom
R10:
pause .5
put n
counter set 11
goto checkroom
R11:
pause .5
put e
counter set 12
goto checkroom
R12:
pause .5
put w
counter set 13
goto checkroom
R13:
pause .5
put w
counter set 14
goto checkroom
R14:
pause .5
put sw
counter set 15
goto checkroom
R15:
pause .5
put nw
counter set 16
goto checkroom
R16:
pause .5
put w
counter set 17
goto checkroom
R17:
pause .5
put n
counter set 18
goto checkroom
R18:
pause .5
put ne
counter set 19
goto checkroom
R19:
goto checkexp
checkroom:
match start Sorry, you may only type ahead
match R%c You can't go there
match R%c I could not find what
match R%c cyclops, a cyclops
match filter a cyclops,
match filter a cyclops.
match filter cyclops and
match R%c Obvious
matchwait
filter:
put look
match R%c Also here:
match R%c appears stunned
match R%c lying down
match R%c disk
match preatt cyclops
match R%c Obvious
matchwait
preatt:
put SIGN OF DEFENDING
put SIGN OF STRIKING
put SIGN OF SMITING
put SIGN OF SWORDS
waitfor A cyclops swings
goto attack
attack:
put stance offensive
put att
match wait ...wait
match dead dies
match dead dead
match dead motionless
match dead A little bit
match attack only type ahead
match attack Please wait
match attack Roundtime:
match attack Wait
match R%c I could not find
match R%c You currently have no valid target
matchwait
wait:
pause .5
goto attack
dead:
pause 1
put stance defensive
put loot
put stow left
goto checkc
checkc:
pause 1
put look cyclops
match attack You see a fairly
match R%c I could not find what you were referring to.
matchwait
gorest:
#go back to town
#sell cloak to gemshop
#go to bank
goto bankdepo
continuehunt:
#leave inn table
#go to climbable path
#store weapon(s)
goto climb
climb:
pause 1
put climb path
put ready weapon
waitfor You remove a
goto R1
bankdepo:
pause 1
put depo all
put check bal
move out
move e
move n
move go inn
move go arch
move go table
pause 1
put time
waitfor
put sign of thought
pause 620
goto continuehunt
logoff:
put exit