PDA

View Full Version : Shelfae Chieftains & Soldiers (Levels 12-15)



GScript
10-08-2009, 02:45 PM
Some notes before using this script:
Shelfae Chieftains cast Quake. Running this AFK could result in frequent deaths. (So don't do it)
It is currently set for a two-handed user, edit it if you are sword/board etc.
Set using a backpack for treasure.
This does not pick up boxes.
Starts in the WL Park.
Does not sell.
Thanks to Dwarven Empath. Studying your scripts has made it easy to create/edit my own.


counter set 1

start:
put look
match filter1 a shelfae chieftain
match filter2 a shelfae soldier
match restorlevel Park]
match logoff [Scripting Violation Limbo]
match logoff [The Cell]
match lost Obvious paths:
match lost Obvious exits:
matchwait

lost:
goto R%c

checkexp:
put exp
match gorest You must rest
match R1 Your mind is
matchwait

R1:
pause .5
counter set 2
put nw
goto checkroom

R2:
pause .5
put d
counter set 3
goto checkroom

R3:
pause .5
put w
counter set 4
goto checkroom

R4:
pause .5
put e
counter set 5
goto checkroom

R5:
pause .5
put u
counter set 6
goto checkroom

R6:
pause .5
put se
counter set 7
goto checkroom

R7:
pause .5
put sw
counter set 8
goto checkroom

R8:
pause .5
put w
counter set 9
goto checkroom

R9:
pause .5
put sw
counter set 10
goto checkroom

R10:
pause .5
put w
counter set 11
goto checkroom

R11:
pause .5
put e
counter set 12
goto checkroom

R12:
pause .5
put ne
counter set 13
goto checkroom

R13:
pause .5
put e
counter set 14
goto checkroom

R14:
pause .5
put ne
counter set 15
goto checkroom

R15:
pause .5
put go bridge
counter set 16
goto checkroom

R16:
pause .5
put e
counter set 17
goto checkroom

R17:
pause .5
put e
counter set 18
goto checkroom

R18:
Pause .5
put e
Counter set 19
goto checkroom

R19:
Pause .5
put w
Counter set 20
goto checkroom

R20:
Pause .5
put w
Counter set 21
goto checkroom

R21:
Pause .5
put go bridge
Counter set 22

R22:
Pause .5
put w
Counter set 23
goto checkroom

R23:
goto checkexp

checkroom:
match standup You will have to stand up first or crawl there.
match start Sorry, you may only type ahead
match R%c You can't go there
match start I could not find what
match filter1 a shelfae chieftain
match filter2 a shelfae soldier
match R%c Obvious paths:
match R%c Obvious exits:
matchwait

filter1:
match start You can't go there.
match R%c Also here:
match preatt1 Obvious paths:
match preatt1 Obvious exits:
matchwait

filter2:
match start You can't go there.
match R%c Also here:
match preatt2 Obvious paths:
match preatt2 Obvious exits:
matchwait

preatt1:
goto attack1

preatt2:
goto attack2


attack1:
put att chieftain
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 stunned
match attack1 Wait
match start I could not find
matchwait

attack2:
put att soldier
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 stunned
match attack2 Wait
match start I could not find
matchwait


wait1:
pause 1
goto attack1

wait2:
pause 1
goto attack2


dead1:
pause 1
put skin chieftain
match skinned1 You skinned
match pauseskin1 ...wait
match attack1 You might want
match botch1 You cannot skin a ghost wolf
match botch1 You botched
match botch1 been skinned.
matchwait

pauseskin1:
pause 1
goto dead1

dead2:
pause 1
put skin soldier
match skinned2 You skinned
match pauseskin2 ...wait
match attack2 You might want
match botch2 You botched
match botch2 You can only skin creatures!
match botch2 been skinned.
matchwait

pauseskin2:
pause 1
goto dead2


continue1:
put search chieftain
goto checktre

continue2:
put search soldier
goto checktre


checktre:
match gettopaz topaz
match getwand wand
match getring gold ring
match getfaenor faenor-bloom
match getcoral coral
match getstatue small statue
match getgarnet garnet
match gettopaz topaz
match getgem gem
match getglim glim
match getsap sapphire
match getlap lapis
match getpearl pearl
match getruby ruby
match getame amethyst
match gettou tourmaline
match getopal opal
match getdiamond diamond
match getemerald emerald
match getspinel spinel
match getquartz quartz
match getstone stone
match aftertreasure still alive
match aftertreasure I could not find what you were referring to.
match aftertreasure A chieftain
match aftertreasure A soldier
matchwait

standup:
put stand
goto start

getstone:
save stone
goto gettreasure

getemerald:
save emerald
goto gettreasure

getquartz:
save quartz
goto gettreasure

getspinel:
save spinel
goto gettreasure

getcoral:
save coral
goto gettreasure

getring:
save ring
goto gettreasure

getfaenor:
save faenor
goto gettreasure

getwand:
save wand
goto gettreasure

getstatue:
save statue
goto gettreasure

getpearl:
save pearl
goto gettreasure

getgarnet:
save garnet
goto gettreasure

gettopaz:
save topaz
goto gettreasure

getglim:
save glim
goto gettreasure

getgem:
save gem
goto gettreasure

getsap:
save sapphire
goto gettreasure

getlap:
save lapis
goto gettreasure

getruby:
save ruby
goto gettreasure

getame:
save amethyst
goto gettreasure

gettou:
save tourmaline
goto gettreasure

getopal:
save opal
goto gettreasure

getdiamond:
save diamond
goto gettreasure


gettreasure:
put get %s
match treasurefinal Get what?
match continuetre You pick up
matchwait

continuetre:
put put %s in my backpack
waitfor You put
goto treasurefinal

treasurefinal:
goto aftertreasure

aftertreasure:
pause 1
put look
match filter1 a shelfae chieftain
match filter2 a shelfae soldier
match R%c Obvious
matchwait

skinned1:
put get crest
waitfor You pick up
put put crest in my backpack
waitfor You put a
goto continue1

skinned2:
put get scale
waitfor You pick up
put put scale in my backpack
waitfor You put a
goto continue2


botch1:
goto continue1

botch2:
goto continue2


restorlevel:
put exp
match levelup Exp. until next lvl: -
match rest Your mind
matchwait

moverest:
put go bridge
move e
move e
move e
move e
put go crevice
move w
put go path
move e
move ne
move e
move e
move e
move ne
move e
move e
move se
move se
move e
move e
move e
move se
move e
move e
put go road
move se
move se
move se
put go gate
move s
move w
move s
move s
move s
move s
move s
goto rest

rest:
pause 800
put infuse 1
match spellup1 You feel at full magical power again.
matchwait

continuehunt:
put stand
pause 10
put take claidhmore
move n
move n
move n
move n
move n
move e
move n
put go gate
move nw
move nw
move nw
put go road
pause 5
move w
move w
move nw
move w
move w
move w
move nw
move nw
move w
move w
move sw
move w
move w
move w
move sw
move w
put go path
move e
put go crevice
move w
move w
move w
put go brid
move w
goto start

spellup1:
goto continuehunt


gorest:
put look
goto moverest

levelup:
put exit

logoff:
put exit

Jiire
03-13-2010, 10:16 PM
Doesn't work, tried to go Nw, d, and so on from the small park. Im not very good at editing scripts so i can't find the problem

Erlyn3
12-08-2010, 01:39 PM
checkexp:
put exp
match gorest You must rest
match R1 Your mind is
matchwait

R1:
pause .5
counter set 2
put nw
goto checkroom


I'm no expert but this looks like as soon as you're done resting, it will start hunting without taking you to the hunting area.

-Darksomething

Alorn15
12-08-2010, 01:51 PM
Just use lich. This is madness.

Senglent
12-26-2010, 03:39 PM
easy fix actually just add

match continuehunt [Town Square, Small Park]

To the lost string, I'd also add it in place of the one that is in the Start string. I don't like using half-ass description matches in any of my scripts. To many chances at a bug that way.

Or you can just download lich and use bigshot to set up your hunt, would take less time then writing and debugging a script.