PDA

View Full Version : Dark Vysan Need Help!



SoupyPoopy
12-30-2008, 02:00 PM
So Ive been pulling bits of pieces of other scripts trying to get one to work for something other then a rat script for starting out. It does just fine until I kill something and loot it. After it loots it looks and tries to kill. After that it just sits. If someone could take a look and let me know what im doing wrong or need to fix that would be great!


start:
put look
match resting [Mossy Caverns, Shrine]
match begin [Mossy Caverns
matchwait

begin:
put w
counter set 1
goto checkroom

move1:
pause 1
put w
counter set 2
goto checkroom

move2:
pause 1
put nw
counter set 3
goto checkroom

move3:
pause 1
put n
counter set 4
goto checkroom

move4:
pause 1
put n
counter set 5
goto checkroom

move5:
pause 1
put n
counter set 6
goto checkroom

move6:
pause 1
put ne
counter set 7
goto checkroom

move7:
pause 1
put ne
counter set 8
goto checkroom

move8:
pause 1
put ne
counter set 9
goto checkroom

move9:
pause 1
put ne
counter set 10
goto checkroom

move10:
pause 1
put se
counter set 11
goto checkroom

move11:
pause 1
put se
counter set 12
goto checkroom

move12:
pause 1
put se
counter set 13
goto checkroom

move13:
pause 1
put se
counter set 14
goto checkroom

move14:
pause 1
put s
counter set 15
goto checkroom

move15:
pause 1
put s
counter set 16
goto checkroom

move16:
pause 1
put s
counter set 17
goto checkroom

move17:
pause 1
put sw
counter set 18
goto checkroom

move18:
pause 1
put w
goto checkexp


checkroom:
match move%c% You can't go there
match move%c% I could not find what
match filter a dark vysan
match move%c% Obvious paths
match move%c% Obvious exits
match logoff ...wait
match logoff dead
match logoff ghost
match logoff [The Cell
match logoff [Consultation
match logoff [Scripting
matchwait

filter:
put look
match move%c% Also here:
match attack Obvious paths
match attack Obvious exits
matchwait

attack:
put kill
match logoff You are a
match move%c% You wave to a
match move%c% Surely you
match dead ground motionless.
match dead one last time and goes still.
match omgwait Roundtime
match waitsec Wait
match waitsec ...wait
match logoff stunned.
matchwait

omgwait:
pause 1
goto attack

dead:
goto continue

continue:
pause 2
put search vysan
match stow1 diopside
match stow2 cordierite
match stow3 ring
match stow4 statue
match stow5 crystal
match stow6 quartz
match stow7 lapis
match stow8 amethyst
match stow9 sapphire
match stow0 gem
match stow11 coral
match stow22 stone
match stow33 jade
match stow44 ivory
match stow55 pearl
match stow66 ruby
match stow77 spinel
match stow88 opal
match stow99 wand
match stow00 nugget
match stow111 diamond
match stow222 jasper
match stow333 emerald
match stow444 topaz
match stow555 zircon
match stow666 garnet
match stow777 tourmaline
match stow888 amber
match stow999 scroll
match stow000 paper
match stow1111 papyrus
match stow2222 vellum
match filter cold mist of evaporating ice.
matchwait

checkexp:
put exp
match gohome Your mind can't take much more
match checkstart Your mind is numbed
match checkstart Your mind is becoming numbed
match checkstart Your mind is muddled
match checkstart Your mind is clear
match checkstart Your mind is fresh and clear
match checkstart Your mind is as clear as a bell
matchwait

checkstart:
match begin I could not find
match delay You don't
matchwait

logoff:
put quit

waitsec:
pause 4
goto attack

stow1:
put get diopside
put stow diopside
goto filter

stow2:
put get cordierite
put stow cordierite
goto filter

stow3:
put get ring
put stow ring
goto filter

stow4:
put get statue
put stow statue
goto filter

stow5:
put get crystal
put stow crystal
goto filter

stow6:
put get quartz
put stow quartz
goto filter

stow7:
put get lapis
put stow lapis
goto filter

stow8:
put get amethyst
put stow amethyst
goto filter

stow9:
put get sapphire
put stow sapphire
goto filter

stow0:
put get gem
put stow gem
goto filter

stow11:
put get coral
put stow coral
goto filter

stow22:
put get stone
put stow stone
goto filter

stow33:
put get jade
put stow jade
goto filter

stow44:
put get ivory
put stow ivory
goto filter

stow55:
put get pearl
put stow pearl
goto filter

stow66:
put get ruby
put stow ruby
goto filter

stow77:
put get spinel
put stow spinel
goto filter

stow88:
put get opal
put stow opal
goto filter

stow99:
put get wand
put stow wand
goto filter

stow00:
put get nugget
put stow nugget
goto filter

stow111:
put get diamond
put stow diamond
goto filter

stow222:
put get jasper
put stow jasper
goto filter

stow333:
put get emerald
put stow emerald
goto filter

stow444:
put get topaz
put stow topaz
goto filter

stow555:
put get zircon
put stow zircon
goto filter

stow666:
put get garnet
put stow garnet
goto filter

stow777:
put get tourmaline
put stow tourmaline
goto filter

stow888:
put get amber
put stow amber
goto filter

stow999:
put get scroll
put stow scroll
goto filter

stow000:
put get paper
put stow paper
goto filter

stow1111:
put get papyrus
put stow papyrus
goto filter

stow2222:
put get vellum
put stow vellum
goto filter

gohunt:
move go bridge
goto begin

gohome:
move go bridge
goto resting

delay:
pause 120
goto checkstart

resting:
put exp
match notyet Your mind can't take much more
match notyet Your mind is numbed
match notyet Your mind is becoming numbed
match gohunt Your mind is muddled
match gohunt Your mind is clear
match gohunt Your mind is fresh and clear
match gohunt Your mind is as clear as a bell
matchwait

notyet:
pause 120
goto resting

Senglent
12-30-2008, 05:39 PM
Not sure if this helps but this is the treasure part of a script I run for hunting.
Grabbed it from another script posted on here to save the effort of typing then had to do some adding and modifing to it so it would work.

Hope it helps.



put search (critter)
goto checktre

checktre:
match getscroll scroll
match getvell vellum
match getpaper paper
match getpapyrus papyrus
match getzircon zircon
match gettopaz topaz
match getlock lock
match getwand wand
match getring gold ring
match getbox box
match getstrong strongbox
match gettrunk trunk
match getchest chest
match getcoffer coffer
match getcoral coral
match getstatue small statue
match getamber amber
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 getamu amulet
match getopal opal
match getdiamond diamond
match getemerald emerald
match getcrystal crystal
match getcube cube
match getcordierite cordierite
match aftertreasure still alive
match aftertreasure I could not find what you were referring to.
match aftertreasure A greater kappa
matchwait

getcube:
save cube
goto gettreasure

getlock:
save lock
goto gettreasure

getchest:
save chest
goto gettreasure

getpapyrus:
save papyrus
goto gettreasure

getcordierite:
save cordierite
goto gettreasure

getcrystal:
save crystal
goto gettreasure

getpaper:
save paper
goto get treasure

getamu:
save amulet
goto gettreasure

getscroll:
save scroll
goto gettreasure

getvell:
save vellum
goto gettreasure

getcoffer:
save coffer
goto gettreasure

getamber:
save amber
goto gettreasure

getstrong:
save strongbox
goto gettreasure

gettrunk:
save trunk
goto gettreasure

getemerald:
save emerald
goto gettreasure

getcoral:
save coral
goto gettreasure

getring:
save ring
goto gettreasure

getfaenor:
save faenor
goto gettreasure

getzircon:
save zircon
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

getquartz:
save quartz
goto gettreasure

getame:
save amethyst
goto gettreasure

gettou:
save tourmaline
goto gettreasure

getopal:
save opal
goto gettreasure

getdiamond:
save diamond
goto gettreasure

getbox:
save box
goto gettreasure

getstro:
save strongbox
goto gettreasure

getsto:
save stone
goto gettreasure

getspin:
save spinel
goto gettreasure


gettreasure:
put put broad in my harn
waitfor You put a
put get %s
match treasurefinal I could not find
match continuetre You pick up
matchwait

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

treasurefinal:
put get my broad
waitfor You remove
goto aftertreasure

SoupyPoopy
12-30-2008, 06:36 PM
This picks up and stows treasure just fine, also I am running SF. Problem is after i pick up treasure and such it attacks once and just sits there. Not sure what I did wrong.

Senglent
12-30-2008, 07:09 PM
Your filter: and attack: both look like you could use a couple more variables to make sure if something happens your character will stil do something. Here's a copy of those parts from my Kappa script. This is for SF too if anyone is wondering (and cause you said you were working with SF)

filter:
put look
match start You can't go there.
match mover Also here
match M%c Also here
match attkap a greater kappa
match attkap Obvious exits
match attkap Obvious paths
matchwait

attkap:
put stance for
put att kappa
match mover you referring to
match mover You currently have no valid target
match dead dies
match dead dead
match dead goes still
match dead motionless
match dead A little bit
match attkap only type ahead
match attkap Please wait
match attkap scampers in!
match omgwait Roundtime
match omgwait Wait
match start I could not find
matchwait


And Since I am quitting GS in a couple weeks what the Hell here's the whole script for anyone who has a use for it. One bug when he hits the [black sands, the seam] the persona will stall unless you L (look) I never felt like fixing it, call it lazy or the fact I just never cared enough to fix it (wich equals Lazy anyway :) ) It started as the Hob script posted here then I redid it so it worked for Greater Kappa's.



Code:
#Hunts kappa's like crazy (landing)
#Original script based off rats by Kranar
#Editted to improve performance by Arius
#Edited to work for kappa's by Senglent

counter set 0

start:
pause 1
put look
match checkexp [Black Sands, The Seam]
match hunting Obvious
match hunting [black sands
match hunting sands]
match restorhunt [Town Square Central]
match logoff [Scripting Violation Limbo]
match logoff [Consoltation Lounge]
match logoff [The Cell]
match lost Obvious exits:
match filter a hobgoblin
matchwait

hunting:
match filter greater kappa
match goback You can't go there
match goback I could not find what
match mover Obvious
matchwait

mover:
put look
match start Sorry, you may only type ahead
match goback You can't go there
match goback I could not find what
match filter a greater kappa
match checkexp The landscape is wild and challenging here
match M%c Obvious paths:
match M%c Obvious exits:
matchwait

goback:
put look
counter subtract
goto M%c

m0:
counter set 1
move w
goto mover

m1:
counter set 2
move w
goto mover

m2:
counter set 4
move w
goto mover

m4:
counter set 5
move nw
goto mover

m5:
counter set 6
move sw
goto mover

m6:
counter set 7
move w
goto mover

m7:
counter set 8
move w
goto mover

m8:
counter set 9
move w
goto mover

m9:
counter set 10
move e
goto mover

m10:
counter set 11
move e
goto mover

m11:
counter set 12
move e
goto mover

m12:
counter set 13
move ne
goto mover

m13:
counter set 14
move se
goto mover

m14:
counter set 15
move e
goto mover

m15:
counter set 16
move e
goto mover

m16:
counter set 17
move e
goto mover

m17:
goto checkexp

lost:
pause 1
put look
match filter a greater kappa
match checkexp footpath
match hunting Sands]
match restorhunt [Town Square
matchwait

checkexp:
put exp
match gorest you must rest
match m0 your mind is
matchwait

filter:
put look
match start You can't go there.
match mover Also here
match M%c Also here
match attkap a greater kappa
match attkap Obvious exits
match attkap Obvious paths
matchwait

attkap:
put stance for
put att kappa
match mover you referring to
match mover You currently have no valid target
match dead dies
match dead dead
match dead goes still
match dead motionless
match dead A little bit
match attkap only type ahead
match attkap Please wait
match attkap scampers in!
match omgwait Roundtime
match omgwait Wait
match start I could not find
matchwait

omgwait:
pause 1
goto attkap

dead:
dead:
put stance def
pause
put skin Kappa
match skinned You skinned
match attkap You might want
match continue You botched
match continue You can only skin creatures
match continue been skinned
matchwait

continue:
put stance def
put put broad in my harn
waitfor You put
put get my broad
waitfor You remove
put search kappa
goto checktre

checktre:
match getscroll scroll
match getvell vellum
match getpaper paper
match getpapyrus papyrus
match getzircon zircon
match gettopaz topaz
match getwand wand
match getring gold ring
match getbox box
match getstrong strongbox
match gettrunk trunk
match getchest chest
match getcoffer coffer
match getcoral coral
match getstatue small statue
match getamber amber
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 getamu amulet
match getopal opal
match getdiamond diamond
match getcube cube
match getlock lock
match getemerald emerald
match getcrystal crystal
match getcordierite cordierite
match aftertreasure still alive
match aftertreasure I could not find what you were referring to.
match aftertreasure A greater kappa
matchwait

getlock:
save lock
goto gettreasure

getcube:
save cube
goto gettreasure

getchest:
save chest
goto gettreasure

getpapyrus:
save papyrus
goto gettreasure

getcordierite:
save cordierite
goto gettreasure

getcrystal:
save crystal
goto gettreasure

getpaper:
save paper
goto get treasure

getamu:
save amulet
goto gettreasure

getscroll:
save scroll
goto gettreasure

getvell:
save vellum
goto gettreasure

getcoffer:
save coffer
goto gettreasure

getamber:
save amber
goto gettreasure

getstrong:
save strongbox
goto gettreasure

gettrunk:
save trunk
goto gettreasure

getemerald:
save emerald
goto gettreasure

getcoral:
save coral
goto gettreasure

getring:
save ring
goto gettreasure

getfaenor:
save faenor
goto gettreasure

getzircon:
save zircon
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

getquartz:
save quartz
goto gettreasure

getame:
save amethyst
goto gettreasure

gettou:
save tourmaline
goto gettreasure

getopal:
save opal
goto gettreasure

getdiamond:
save diamond
goto gettreasure

getbox:
save box
goto gettreasure

getstro:
save strongbox
goto gettreasure

getsto:
save stone
goto gettreasure

getspin:
save spinel
goto gettreasure


gettreasure:
put put broad in my harn
waitfor You put a
put get %s
match treasurefinal I could not find
match continuetre You pick up
matchwait

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

treasurefinal:
put get my broad
waitfor You remove
goto aftertreasure

aftertreasure:
pause .1
put look
match filter a Greater kappa
match M%c Obvious exits:
match M%c Obvious paths:
matchwait

skinned:
put sheath
waitfor You put a
put get fin
put stow my fin
waitfor You put a
put Get my broad
waitfor You remove
put search kappa
goto start

restorhunt:
put exp
match gohunt Your mind is muddled
match gohunt Your mind is clear
match gohunt Your mind is fresh and clear
match gohunt Your mind is as clear as a bell
match rest Your mind
matchwait

gohunt:
put get my broad
waitfor You
put remove shield
waitfor You sling
pause 3
move nw
move n
move n
move e
move n
pause
move go gate
put stance def
move nw
move nw
move nw
put go road
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 w
move w
move w
move w
move w
move w
move w
goto start

gorest:
put look in my man
match sellfurrier fin
match moverest and a
match moverest and an
matchwait

moverest:
move e
move e
move e
move e
move e
move go pa
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 put broad in harn
waitfor You
put wear shield
waitfor You
put go gate
move s
move w
move s
move s
move se
pause
goto rest

sellfurrier:
move e
move e
move e
move e
move e
move e
move e
move e
move go pa
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 put broad in harn
waitfor You
put wear shield
waitfor You
put go gate
move s
move go furr
put remove my Man
waitfor You remove
put sell my man
waitfor Dakris takes
put wear my man
waitfor You drape
move out
move w
move s
move s
move s
move go bank
move go arch
goto bankdepo

bankdepo:
pause 1
put depo all
match gobankrest You
matchwait

gobankrest:
move go arch
move out
move e
goto rest

rest:
pause 65
put exper
match rest Your mind can't take much more
match rest Your mind is numbed
match gohunt Your mind is becoming numbed
match gohunt Your mind is muddled
match gohunt Your mind is clear
match gohunt Your mind is fresh and clear
match gohunt Your mind is as clear as a bell
matchwait

logoff:
put exit

SHAFT
02-16-2009, 03:30 AM
eat shit