jafo
10-15-2004, 12:43 AM
This is a very elegant kiramon hunter i made for maximizing my xxx. Its for a two handed weapon user. You can't use loot to left hand and stow left with kiramon, so it will require match tables if you want the gems. However, I put for the hook for the match table in the script along with a check for more gems for the occasional kiramon with 2-3 gems.
Since its geared towards a two-handed warrior:
A. it avoids rooms with multiple kiramon
B. it waits for the kiramon to attack first
C. it has checks to keep from moving to the next room in offensive
The nice thing about it waiting for the kiramon to attack first is that it affords you anti-poach by also matching a leap from hiding, a disk, a cough, etc.
Since its a xxx script of mine, it starts in the sauna by EN kiramon and returns there (since kiramon only drop gems).
I hunt kiramon, if I catch you afk scripting with this script, I will kill you.
This is my first script using stormfront regular expressions, if you have any comments or so more things I could combine feel free to comment.
----------------------------------------------------
start:
put ready weapon
put close my %container
put look
match R1 Caverns, Entryway
match continuehunt Hot Springs
matchwait
R1:
counter set 1
put sign of shields
put sign of warding
waitfor !
put sign of defending
put sign of swords
waitfor !
put sign of striking
put sign of smiting
waitfor !
put e
goto checkroom
R2:
put nw
goto checkroom
<insert your own room map, teras, EN, DS>
R37:
counter set 1
put exp
match gorest You must rest
match checkroom2 Your mind is
matchwait
checkroom:
counter add 1
match R%c You can't go there
match R%c I could not find what
match R%c disk
match filter1 worker
match filter2 defender
matchre R%c /Obvious (paths|exits)/
matchwait
checkroom2:
put look
match checkroom2 ..wait
match R%c disk
match filter1 worker
match filter2 defender
matchre R%c /Obvious (paths|exits)/
matchwait
filter1:
save worker
goto filter3
filter2:
save defender
goto filter3
filter3:
put look
match R%c Also here:
matchre R%c /appears (stunned|dead)/
match R%c lying down
matchre R%c /(worker|defender)( and|,)/
match R%c disk
match R%c cough
match check Obvious
matchwait
check:
put look %s
match preatt You see a
match R%c I could not find what you were referring to.
matchwait
preatt:
matchre preat2 /(defender|worker) (claws|thrusts|charges|struggles)/
match R%c cough
match R%c leaps from hiding
match R%c dies
matchre R%c /(defender|worker) (arrives|darts|heads)/
matchwait
preat2:
put stance offensive
goto attack
attack:
put att %s
match attack ...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 gone I could not find
match gone You currently have no valid target
match gone referring to
matchwait
gone:
put stance defensive
goto R%c
dead:
put stance defensive
match dead ...wait
match loot stance
matchwait
gorest:
move out
move down
move down
move down
move down
move go trail
move go steps
put store weapon
put sign of thought
goto xploop
xploop:
pause 30
put exp
match continuehunt clear
match continuehunt muddled
match xploop must
match xploop numb
matchwait
continuehunt:
put ready weapon
move go step
move go tra
move up
move up
move up
move cli face
move go creva
goto R1
loot:
put loot
match loot wait
match gemmatch It carried a
match checkroom2 interest
match checkroom2 Obvious
goto gemmatch
gemmatch:
<insert your own match tables here>
getgem:
put get %s
match checkroom2 Get What
match checkroom2 could not find
match stowgem You pick
matchwait
stowgem:
put open my %container
waitfor You
put put %s in my %container
waitfor You
put close my %container
waitfor You
put look
goto gemmatch
[Edited on 10-15-2004 by jafo]
Since its geared towards a two-handed warrior:
A. it avoids rooms with multiple kiramon
B. it waits for the kiramon to attack first
C. it has checks to keep from moving to the next room in offensive
The nice thing about it waiting for the kiramon to attack first is that it affords you anti-poach by also matching a leap from hiding, a disk, a cough, etc.
Since its a xxx script of mine, it starts in the sauna by EN kiramon and returns there (since kiramon only drop gems).
I hunt kiramon, if I catch you afk scripting with this script, I will kill you.
This is my first script using stormfront regular expressions, if you have any comments or so more things I could combine feel free to comment.
----------------------------------------------------
start:
put ready weapon
put close my %container
put look
match R1 Caverns, Entryway
match continuehunt Hot Springs
matchwait
R1:
counter set 1
put sign of shields
put sign of warding
waitfor !
put sign of defending
put sign of swords
waitfor !
put sign of striking
put sign of smiting
waitfor !
put e
goto checkroom
R2:
put nw
goto checkroom
<insert your own room map, teras, EN, DS>
R37:
counter set 1
put exp
match gorest You must rest
match checkroom2 Your mind is
matchwait
checkroom:
counter add 1
match R%c You can't go there
match R%c I could not find what
match R%c disk
match filter1 worker
match filter2 defender
matchre R%c /Obvious (paths|exits)/
matchwait
checkroom2:
put look
match checkroom2 ..wait
match R%c disk
match filter1 worker
match filter2 defender
matchre R%c /Obvious (paths|exits)/
matchwait
filter1:
save worker
goto filter3
filter2:
save defender
goto filter3
filter3:
put look
match R%c Also here:
matchre R%c /appears (stunned|dead)/
match R%c lying down
matchre R%c /(worker|defender)( and|,)/
match R%c disk
match R%c cough
match check Obvious
matchwait
check:
put look %s
match preatt You see a
match R%c I could not find what you were referring to.
matchwait
preatt:
matchre preat2 /(defender|worker) (claws|thrusts|charges|struggles)/
match R%c cough
match R%c leaps from hiding
match R%c dies
matchre R%c /(defender|worker) (arrives|darts|heads)/
matchwait
preat2:
put stance offensive
goto attack
attack:
put att %s
match attack ...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 gone I could not find
match gone You currently have no valid target
match gone referring to
matchwait
gone:
put stance defensive
goto R%c
dead:
put stance defensive
match dead ...wait
match loot stance
matchwait
gorest:
move out
move down
move down
move down
move down
move go trail
move go steps
put store weapon
put sign of thought
goto xploop
xploop:
pause 30
put exp
match continuehunt clear
match continuehunt muddled
match xploop must
match xploop numb
matchwait
continuehunt:
put ready weapon
move go step
move go tra
move up
move up
move up
move cli face
move go creva
goto R1
loot:
put loot
match loot wait
match gemmatch It carried a
match checkroom2 interest
match checkroom2 Obvious
goto gemmatch
gemmatch:
<insert your own match tables here>
getgem:
put get %s
match checkroom2 Get What
match checkroom2 could not find
match stowgem You pick
matchwait
stowgem:
put open my %container
waitfor You
put put %s in my %container
waitfor You
put close my %container
waitfor You
put look
goto gemmatch
[Edited on 10-15-2004 by jafo]