PDA

View Full Version : Problems with my spectre script



Hassassin
07-13-2005, 03:57 AM
For some reason my script just stops going once I come through the arch and says "GOTO not found" any help on what's going wrong? Also, how would I be able to put paladin spells in there?


#spectres

prestart:
setvariable outofmana no
setvariable return no2


ROOM:
put L
MATCH INTABLE Obvious exits: out
MATCH Tables tables
MATCH TC The bustling town
MATCH 1a Obvious exits: northeast, southeast
MATCH 2a Obvious exits: south, northwest
MATCH 3a Obvious exits: southeast, down
MATCH 4a Obvious exits: east, southwest, up
MATCH 5a Obvious exits: west, up, down
MATCH 6a Obvious exits: north, up, down
MATCH 7a Obvious paths: east, down
MATCH 8a Obvious paths: southeast, west
MATCH 9a Obvious paths: southwest, northwest
MATCH 10a Obvious exits: northeast
MATCH 11a Obvious exits: up
MATCH atNODE Obvious exits: none
matchwait

INTABLE:
put stand
move o
goto tables

Tables:
put stand
waitfor you
put get my blade from my cloak
put climb stair
move o
move n
move n
move n
move n
move e
move e
move e
move e
put go gate
move e
move e
move ne
put climb trail
move u
move u
move e
move se
move n
move ne
move ne
move e
move se
put go brid
put go arch
goto room

TC:
put stand
put get my blade from my cloak
move e
move e
move e
move e
move e
put go gate
move e
move e
move ne
put climb trail
move u
move u
move e
move se
move n
move ne
move ne
move e
move se
put go brid
put go arch
goto room

atnode:
put stand
put get my blade from my cloak
put stance defensive
put go trap
goto room



1a:
setvariable room 1
goto %outofmana

1:
put look
match filter a snow spec
match cont1 obvious
matchwait

cont1:
move se

2a:
setvariable room 2
goto %outofmana

2:
put look
match filter a snow spec
match cont2 obvious
matchwait

cont2:
move nw

3a:
setvariable room 3
goto %outofmana

3:
put look
match filter a snow spec
match cont3 obvious
matchwait

cont3:
move d

4a:
setvariable room 4
goto %outofmana

4:
put look
match filter a snow spec
match cont4 obvious
matchwait

cont4:
move e

5a:
setvariable room 5
goto %outofmana

5:
put look
match filter a snow spec
match cont5 obvious
matchwait

cont5:
move u

6a:
setvariable room 6
goto %outofmana

6:
put look
match filter a snow spec
match cont6 obvious
matchwait

cont6:
move u

7a:
setvariable room 7
goto %outofmana

7:
put look
match filter a snow spec
match cont7 obvious
matchwait

cont7:
move e

8a:
setvariable room 8
goto %outofmana

8:
put look
match filter a snow spec
match cont8 obvious
matchwait

cont8:
move se

9a:
setvariable room 9
goto %outofmana

9:
put look
match filter a snow spec
match cont9 obvious
matchwait

cont9:
move sw

10a:
setvariable room 10
goto %outofmana

10:
put look
match filter a snow spec
match cont10 obvious
matchwait

cont10:
move ne
move nw
move w
MOVE D
MOVE D
move w
move sw
goto %return

11a:
setvariable room 11
goto %outofmana

11:
put look
match filter a snow spec
match cont11 obvious


cont11:
MOVE u
goto ROOM


filter:
match cont%room% Also here
match cont%room% Also in the room
match cont%room% disk
match kill obvious exits
match kill obvious paths
matchwait


kill:
put mana
match kill2 Remaining: 3
match kill2 Remaining: 4
match kill2 Remaining: 5
match kill2 Remaining: 6
match kill2 Remaining: 7
match kill2 Remaining: 8
match kill2 Remaining: 9
match kill2 Remaining: 10
match kill2 Remaining: 11
match kill2 Remaining: 12
match kill2 Remaining: 13
match kill2 Remaining: 14
match kill2 Remaining: 15
match kill2 Remaining: 16
match kill2 Remaining: 17
match kill2 Remaining: 18
match kill2 Remaining: 19
match kill2 Remaining: 20
match kill2 Remaining: 21
match kill2 Remaining: 22
match kill2 Remaining: 23
match kill2 Remaining: 24
match kill2 Remaining: 25
match kill2 Remaining: 26
match kill2 Remaining: 27
match kill2 Remaining: 28
match kill2 Remaining: 29
match kill2 Remaining: 30
match kill2 Remaining: 31
match kill2 Remaining: 32
match kill2 Remaining: 33
match kill2 Remaining: 34
match kill2 Remaining: 35
match kill2 Remaining: 36
match kill2 Remaining: 37
match kill2 Remaining: 38
match kill2 Remaining: 39
match kill2 Remaining: 40
match kill2 Remaining: 41
match kill2 Remaining: 42
match kill2 Remaining: 43
match kill2 Remaining: 44
match kill2 Remaining: 45
match kill2 Remaining: 46
match kill2 Remaining: 47
match kill2 Remaining: 48
match kill2 Remaining: 49
match kill2 Remaining: 50
match kill2 Remaining: 51
match kill2 Remaining: 52
match kill2 Remaining: 53
match kill2 Remaining: 54
match kill2 Remaining: 55
match kill2 Remaining: 56
match kill2 Remaining: 57
match kill2 Remaining: 58
match kill2 Remaining: 59
match kill2 Remaining: 60
match kill2 Remaining: 61
match kill2 Remaining: 62
match kill2 Remaining: 63
match kill2 Remaining: 64
match kill2 Remaining: 65
match kill2 Remaining: 66
match kill2 Remaining: 67
match kill2 Remaining: 68
match kill2 Remaining: 69
match kill2 Remaining: 70
match nomana mana
matchwait

nomana:
setvariable outofmana yes
setvariable return yes2
goto room

no:
goto %room

yes:
goto cont%room

kill2:
put prep 903
put stance offensive
put cast snow spectre
match gone what?
match gone misfires
match goon gesture
match calmed can't
match kill enraged
matchwait


calmed:
put stance guarded
waitfor enraged
goto kill

goon:
put stance guarded
put look
match loot that appears dead
match continue obvious
matchwait

continue:
pause 3
goto room

loot:
put loot
goto looting



looting:
pause 1
put look
match diamond large yellow diamond
match diamond uncut diamond
match crystal blue crystal
match crystal black crystal
match crystal white crystal
match crystal shard of tigerfang crystal
match crystal rock crystal
match strongbox strongbox
match coffer coffer
match trunk trunk
match box box
match chest chest
match gem gem
match sapphire sapphire
match spinel spinel
match wand wand
match amethyst amethyst
match clasp clasp
match tourmaline tourmaline
match opal opal
match ruby ruby
match talisman talisman
match statue small statue
match amulet amulet
match shell shell
match scroll scroll
match palim palim
match stone smooth stone
match sardonyx sardonyx
match stone green avent
match paper paper
match vellum vellum
match zircon zircon
match nothing exits
match nothing paths
matchwait

sardonyx:
put get sardonyx
put put my sardonyx in my cloak
goto looting

clasp:
put get clasp
put put my clasp in my cloak
goto looting

stone:
put get stone
put put my stone in my cloak
goto looting

crystal:
put get crystal
put put my crystal in my cloak
goto looting

amethyst:
put get amethyst
put put my amethyst in my cloak
goto looting

jasper:
put get jasper
put put my jasper in my cloak
goto looting

zircon:
put get zircon
put put my zircon in my cloak
goto looting

scroll:
put get scroll
put put my scroll in my cloak
goto looting

palim:
put get palim
put put my palim in my cloak
goto looting

paper:
put get paper
put put my paper in my cloak
goto looting

vellum:
put get vellum
put put my vellum in my cloak
goto looting

amulet:
put get amulet
put put my amulet in my cloak
goto looting

ruby:
put get ruby
put put my ruby in my cloak
goto looting

talisman:
put get talisman
put put my talisman in my cloak
goto looting

statue:
put get small statue
put put my small statue in my cloak
goto looting

opal:
put get opal
put put my opal in my cloak
goto looting

tourmaline:
put get tourmal
put put my tourmal in my cloak
goto looting

gem:
put get gem
put put my gem in my cloak
goto looting

sapphire:
put get sapp
put put my sapphire in my cloak
goto looting

spinel:
put get spinel
put put my spinel in my cloak
goto looting

wand:
put get wand
put put my wand in my cloak
goto looting

shell:
put get shell
put put my shell in my cloak
goto looting

diamond:
put get diamond
put put my diamond in my cloak
goto looting

chest:
put get chest
put put my chest in my cloak
goto looting

box:
put get box
put put my box in my cloak
goto looting

trunk:
put get trunk
put put my trunk in my cloak
goto looting

strongbox:
put get strongbox
put put my strongbox in my cloak
goto looting

coffer:
put get coffer
put put my coffer in my cloak
goto looting

nothing:
pause 2
goto %room%a


gone:
put stance guarded
pause 4
goto %room%a


yes2:
goto node

no2:
goto expcheck2

expcheck2:
put exp
match room numbed
match room clear
match room muddled
match room becoming
match unload can't
matchwait


unload:
put go arch
move e
move nw
move w
move sw
move sw
move s
move nw
move w
move d
move d
move d
move sw
move w
put give guard 5
put go gate
put put my blade in my cloak
move w
move w
move w
move w
move w
move go bank
put withdraw 10000 silver
move o
move s
put go store
put go door
goto prelocksmithing



prelocksmithing:
put look
match backtotown also here:
match locksmithing Obvious exits:
matchwait


locksmithing:
put look in my cloak
match strongboxs strongbox
match coffers coffer
match trunks trunk
match chests chest
match boxs box
match donesmithing you see
matchwait

strongboxs:
save strongbox
goto smithing

coffers:
save coffer
goto smithing

trunks:
save trunk
goto smithing

boxs:
save box
goto smithing

chests:
save chest
goto smithing

smithing:
put get my %s% from my cloak
waitfor you
put put my %s% on counter
put ring bell
put pay 5000
pause 1
put get %s% from counter
put open my %s%
put get coin
pause
put empty my %s% into my cloak
pause 4
put drop my %s%
goto locksmithing


donesmithing:
goto backtotown

backtotown:
put go door
move o
move s
put go gemshop
put remove my cloak
waitfor you
put sell my cloak
put wear my cloak
waitfor you
move o
move n
move n
put go bank
put deposit all
put withdraw 5
move o
move s
move s
move s
move s
move go shop
put climb stair
put go table
goto %society

col:
put spellup auto
pause 60
put sign wracking
pause 60
put spellup stop
goto expwaittable

voln:
put spellup auto
pause 60
put spellup stop
goto expwaittable

expwaittable:
pause 30
put xp
match donewaitingtable muddled
match donewaitingtable clear
match expwaittable mind
matchwait

donewaitingtable:
put get my blade from my blade
move o
put climb stair
move o
move n
move n
move n
move n
move e
move e
move e
move e
put go gate
move e
move e
move ne
put climb trail
move u
move u
move e
move se
move n
move ne
move ne
move e
move se
put go brid
put go arch
goto room

node:
move se
move s
move d
move d
put go hole
put stance offensive
put put my blade in my cloak
setvariable outofmana no
setvariable return no2
pause 240

donewaiting:
put get my blade from my cloak
put stance defensive
put go trapdoor
goto room

Zebbry
07-13-2005, 09:21 AM
Your label 'ROOM' is set in allcaps while your reference to that label after going through the arch is set to 'room' (lowercase).

These two must match in order for the script to continue.

Hassassin
07-13-2005, 03:14 PM
Could someone just u2u me a version that works with the wizard for a paladin? I'd really appreciate it. really really appreciate it.

AnticorRifling
07-13-2005, 06:14 PM
You could just add your spells into the donewaitingtable set and yeah it was posted your ROOMs don't match up. I won't fix it for you but I'll let you know if I see any other issues with it.

Hassassin
07-14-2005, 02:01 AM
OK, how bout this... I will give a gift of adventure for whomever can give me a proper spectre script. thanks

Laccon
07-15-2005, 03:32 PM
wow, some people are just so lazy