PDA

View Full Version : Help with Pooka script



Volstock
11-19-2004, 03:36 PM
It's been a while since I wrote a hunting so I tried writing one again. The script looks alot like Old Insomniac scripts because he's the one that taught me how to script. Anyhow if anyone can help me It'd be great appreciated.

Latrinsorm
11-19-2004, 04:28 PM
What are you having trouble with? Does it poach or stall when it should attack?

The script, to me, looks awfully overcomplicated. I've also never seen a movement subroutine like that, and am curious about it's efficiency.

Drew
11-19-2004, 04:30 PM
Would you mind posting the script so I don't have to download it?

Volstock
11-19-2004, 04:32 PM
It's fixed for now thanks. Stupid Period was the cause of it's hang up. I Don't think it'sover complicate Insomniac taught me about it and I micmick alot of his old hunting scripts so it might look familiar with some people here.

Here's the working Pooka hunting script for a 2hander.


#PookaCmd

#Pooka
Main:
put stand
put look
MATCH caught Game Master
MATCH caught none
match caught out
match caught GameMaster
match caught GameHost
match caught Game Host
match caught [Scripting Violation Limbo]
match resting [A Dark Crevice]
match begin Obvious
put look
matchwait

begin:
pause 1
put exp
match dead You are a ghost!
match rest much more of this!
match start2 bell
match start2 numbed
match start2 muddled
match start2 clear
matchwait

dead:
echo You are dead!
put quit

start2:
pause 1
put group close
put stance defensive
goto n2

N:
pause 1
put n
match caught [Scripting Violation Limbo]
MATCH n2 Also in the room
MATCH n2 Also here
MATCH n2 cloud
MATCH n2 A ghostly pooka
MATCH n2 A ghostly pooka
MATCH n2 A ghostly pooka
MATCH NCheck Obvious
MATCHWAIT

Ncheck:
pause 1
put look
match caught [Scripting Violation Limbo]
MATCH nkill1 A ghostly pooka
MATCH nkill2 A ghostly pooka
MATCH nkill3 A ghostly pooka
MATCH n2 Obvious
MATCHWAIT

nkill1:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match nkill1 A ghostly pooka
match n2 obvious
matchwait

nkill2:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match nkill2 A ghostly pooka
match n2 obvious
matchwait

nkill3:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match nkill3 A ghostly pooka
match n2 obvious
matchwait

n2:
pause 1
put Look
match caught [Scripting Violation Limbo]
MATCH NE northeast,
MATCH NE northeast
MATCH NW northwest,
MATCH NW northwest
MATCH N north,
MATCH N north
MATCH SE southeast,
MATCH SE southeast
MATCH SW southwest,
MATCH SW southwest
MATCH E east,
MATCH E east
MATCH W west,
MATCH W west
MATCH S south,
MATCH S south
MATCHWAIT

S:
wait

put s
match caught [Scripting Violation Limbo]
MATCH s2 Also in the room
MATCH s2 Also here
MATCH s2 cloud
MATCH s2 A ghostly pooka
MATCH s2 A ghostly pooka
MATCH s2 A ghostly pooka
MATCH SCheck Obvious
MATCHWAIT

Scheck:
pause 1
put look
match caught [Scripting Violation Limbo]
MATCH skill1 A ghostly pooka
MATCH skill2 A ghostly pooka
MATCH skill3 A ghostly pooka
MATCH s2 Obvious
MATCHWAIT

skill1:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match skill1 A ghostly pooka
match s2 obvious
matchwait

skill2:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match skill2 A ghostly pooka
match s2 obvious
matchwait

skill3:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match skill3 A ghostly pooka
match s2 obvious
matchwait

s2:
pause 2
put look
match caught [Scripting Violation Limbo]
MATCH SW southwest,
MATCH SW southwest
MATCH SE southeast,
MATCH SE southeast
MATCH S south,
MATCH S south
MATCH NW northwest,
MATCH NW northwest
MATCH NE northeast,
MATCH NE northeast
MATCH W west,
MATCH W west
MATCH E east,
MATCH E east
MATCH N north,
MATCH N north
MATCHWAIT

E:
wait
put e
match caught [Scripting Violation Limbo]
MATCH e2 Also in the room
MATCH e2 Also here
MATCH e2 cloud
MATCH e2 A ghostly pooka
MATCH e2 A ghostly pooka
MATCH e2 A ghostly pooka
MATCH ECheck Obvious
MATCHWAIT

Echeck:
pause 1
put look
match caught [Scripting Violation Limbo]
MATCH ekill1 A ghostly pooka
MATCH ekill2 A ghostly pooka
MATCH ekill3 A ghostly pooka
MATCH e2 Obvious
MATCHWAIT

ekill1:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match ekill1 A ghostly pooka
match e2 obvious
matchwait

ekill2:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match ekill2 A ghostly pooka
match e2 obvious
matchwait

ekill3:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match ekill3 A ghostly pooka
match e2 obvious
matchwait

e2:
pause 2
put look
match caught [Scripting Violation Limbo]
MATCH NE northeast,
MATCH NE northeast
MATCH SE southeast,
MATCH SE southeast
MATCH E east,
MATCH E east
MATCH NW northwest,
MATCH NW northwest
MATCH SW southwest,
MATCH SW southwest
MATCH N north,
MATCH N north
MATCH S south,
MATCH S south
MATCH W west,
MATCH W west
MATCHWAIT

W:
wait
put w
match caught [Scripting Violation Limbo]
MATCH w2 Also in the room
MATCH w2 Also here
MATCH w2 cloud
MATCH w2 A ghostly pooka
MATCH w2 A ghostly pooka
MATCH w2 A ghostly pooka
MATCH WCheck Obvious
MATCHWAIT

Wcheck:
pause 1
put look
match caught [Scripting Violation Limbo]
MATCH wkill1 A ghostly pooka
MATCH wkill2 A ghostly pooka
MATCH wkill3 A ghostly pooka
MATCH w2 Obvious
MATCHWAIT

wkill1:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match wkill1 A ghostly pooka
match w2 obvious
matchwait

wkill2:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match wkill2 A ghostly pooka
match w2 obvious
matchwait

wkill3:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match wkill3 A ghostly pooka
match w2 obvious
matchwait

w2:
pause 1
put look
match caught [Scripting Violation Limbo]
MATCH SW southwest,
MATCH SW southwest
MATCH NW northwest,
MATCH NW northwest
MATCH W west,
MATCH W west
MATCH SE southeast,
MATCH SE southeast
MATCH NE northeast,
MATCH NE northeast
MATCH S south,
MATCH S south
MATCH N north,
MATCH N north
MATCH E east,
MATCH E east
MATCHWAIT

NE:
wait
put ne
match caught [Scripting Violation Limbo]
MATCH ne2 Also in the room
MATCH ne2 Also here
MATCH ne2 cloud
MATCH ne2 A ghostly pooka
MATCH ne2 A ghostly pooka
MATCH ne2 A ghostly pooka
MATCH NeCheck Obvious
MATCHWAIT

Necheck:
pause 1
put look
match caught [Scripting Violation Limbo]
MATCH nekill1 A ghostly pooka
MATCH nekill2 A ghostly pooka
MATCH nekill3 A ghostly pooka
MATCH ne2 Obvious
MATCHWAIT

nekill1:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match nekill1 A ghostly pooka
match ne2 obvious
matchwait

nekill2:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match nekill2 A ghostly pooka
match ne2 obvious
matchwait

nekill3:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match nekill3 A ghostly pooka
match ne2 obvious
matchwait

ne2:
pause 1
put look
match caught [Scripting Violation Limbo]
MATCH NE northeast,
MATCH NE northeast
MATCH NW northwest,
MATCH NW northwest
MATCH N north,
MATCH N north
MATCH SE southeast,
MATCH SE southeast
MATCH E east,
MATCH E east
match S south
match S south,
match W , west
match W : west
MATCH SW southwest,
MATCH SW southwest
MATCHWAIT

SE:
wait
put se
match caught [Scripting Violation Limbo]
MATCH se2 Also in the room
MATCH se2 Also here
MATCH se2 cloud
MATCH se2 A ghostly pooka
MATCH se2 A ghostly pooka
MATCH se2 A ghostly pooka
MATCH SeCheck Obvious
MATCHWAIT

Secheck:
pause 1
put look
match caught [Scripting Violation Limbo]
MATCH Sekill1 A ghostly pooka
MATCH Sekill2 A ghostly pooka
MATCH Sekill3 A ghostly pooka
MATCH Se2 Obvious
MATCHWAIT

sekill1:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match sekill1 A ghostly pooka
match se2 obvious
matchwait

sekill2:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match sekill2 A ghostly pooka
match se2 obvious
matchwait

sekill3:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match sekill3 A ghostly pooka
match se2 obvious
matchwait

se2:
pause 1
put look
match caught [Scripting Violation Limbo]
MATCH SE southeast,
MATCH SE southeast
MATCH SW southwest,
MATCH SW southwest
MATCH S south,
MATCH S south
MATCH NE northeast,
MATCH NE northeast
MATCH E east,
MATCH E east
MATCH N north,
MATCH N north
MATCH W : west
MATCH W , west
MATCH NW northwest,
MATCH NW northwest
MATCHWAIT

NW:
wait
put nw
match caught [Scripting Violation Limbo]
MATCH nw2 Also in the room
MATCH nw2 Also here
MATCH nw2 cloud
MATCH nw2 A ghostly pooka
MATCH nw2 A ghostly pooka
MATCH nw2 A ghostly pooka
MATCH NwCheck Obvious
MATCHWAIT

Nwcheck:
pause 1
put look
match caught [Scripting Violation Limbo]
MATCH nwkill1 A ghostly pooka
MATCH nwkill2 A ghostly pooka
MATCH nwkill3 A ghostly pooka
MATCH nw2 Obvious
MATCHWAIT

nwkill1:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match nwkill1 A ghostly pooka
match nw2 obvious
matchwait

nwkill2:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match nwkill2 A ghostly pooka
match nw2 obvious
matchwait

nwkill3:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match nwkill3 A ghostly pooka
match nw2 obvious
matchwait

nw2:
pause 1
put look
match caught [Scripting Violation Limbo]
MATCH NW northwest,
MATCH NW northwest
MATCH NE northeast,
MATCH NE northeast
MATCH N north,
MATCH N north
MATCH SW southwest,
MATCH SW southwest
MATCH W west,
MATCH W west
MATCH S south,
MATCH S south
MATCH E : east
MATCH E , east
MATCH SE southeast,
MATCH SE southeast
MATCHWAIT

SW:
wait
put sw
match caught [Scripting Violation Limbo]
MATCH sw2 Also in the room
MATCH sw2 Also here
MATCH sw2 cloud
MATCH sw2 A ghostly pooka
MATCH sw2 A ghostly pooka
MATCH sw2 A ghostly pooka
MATCH SwCheck Obvious
MATCHWAIT

Swcheck:
pause 1
put look
match caught [Scripting Violation Limbo]
MATCH swkill1 A ghostly pooka
MATCH swkill3 A ghostly pooka
MATCH sw2 Obvious
MATCHWAIT

swkill1:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match swkill1 A ghostly pooka
match sw2 obvious
matchwait

swkill2:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match swkill2 A ghostly pooka
match sw2 obvious
matchwait

swkill3:
Put Stance offensive
Put attack A ghostly pooka
pause 1
put stance defensive
put search A ghostly pooka
put Look
match caught [Scripting Violation Limbo]
match swkill3 A ghostly pooka
match sw2 obvious
matchwait

sw2:
pause 1
put look
match caught [Scripting Violation Limbo]
MATCH SW southwest,
MATCH SW southwest
MATCH SE southeast,
MATCH SE southeast
MATCH S south,
MATCH S south
MATCH NW northwest,
MATCH NW northwest
MATCH W west,
MATCH W west
MATCH N north,
MATCH N north
MATCH E : east
MATCH E , east
MATCH SE southeast,
MATCH SE southeast
MATCH NE northeast,
MATCH NE northeast
MATCHWAIT

no:
echo ****************************
echo * GM Present or *
echo * Mana Supply Depleted *
echo * Script Will Exit *
echo * or still resting *
echo ****************************
put stance defensive
exit

rest:
put stand
put look
goto Nr

Nr:
wait
move n
goto n2r

n2r:
match gopark you see a mottled clay ramp
MATCH NEr northeast,
MATCH NEr northeast
MATCH NWr northwest,
MATCH NWr northwest
MATCH Nr north,
MATCH Nr north
MATCH SEr southeast,
MATCH SEr southeast
MATCH SWr southwest,
MATCH SWr southwest
MATCH Er east,
MATCH Er east
MATCH Wr west,
MATCH Wr west
MATCH Sr south,
MATCH Sr south
put LOOK
MATCHWAIT

Sr:
wait
move s
goto s2r

s2r:
match gopark you see a mottled clay ramp
MATCH SWr southwest,
MATCH SWr southwest
MATCH SEr southeast,
MATCH SEr southeast
MATCH Sr south,
MATCH Sr south
MATCH NWr northwest,
MATCH NWr northwest
MATCH NEr northeast,
MATCH NEr northeast
MATCH Wr west,
MATCH Wr west
MATCH Er east,
MATCH Er east
MATCH Nr north,
MATCH Nr north
put LOOK
MATCHWAIT

Er:
wait
move e
goto e2r

e2r:
match gopark you see a mottled clay ramp
MATCH NEr northeast,
MATCH NEr northeast
MATCH SEr southeast,
MATCH SEr southeast
MATCH Er east,
MATCH Er east
MATCH NWr northwest,
MATCH NWr northwest
MATCH SWr southwest,
MATCH SWr southwest
MATCH Nr north,
MATCH Nr north
MATCH Sr south,
MATCH Sr south
MATCH Wr west,
MATCH Wr west
put LOOK
MATCHWAIT

Wr:
wait
move w
goto w2r

w2r:
match gopark you see a mottled clay ramp
MATCH SWr southwest,
MATCH SWr southwest
MATCH NWr northwest,
MATCH NWr northwest
MATCH Wr west,
MATCH Wr west
MATCH SEr southeast,
MATCH SEr southeast
MATCH NEr northeast,
MATCH NEr northeast
MATCH Sr south,
MATCH Sr south
MATCH Nr north,
MATCH Nr north
MATCH Er east,
MATCH Er east
put LOOK
MATCHWAIT

NEr:
wait
move ne
goto NE2r

NE2r:
match gopark you see a mottled clay ramp
MATCH NEr northeast,
MATCH NEr northeast
MATCH NWr northwest,
MATCH NWr northwest
MATCH Nr north,
MATCH Nr north
MATCH SEr southeast,
MATCH SEr southeast
MATCH Er east,
MATCH Er east
match Sr south
match Sr south,
match Wr , west
match Wr : west
MATCH SWr southwest,
MATCH SWr southwest
put LOOK
MATCHWAIT

SEr:
wait
move se
goto Se2r

Se2r:
match gopark you see a mottled clay ramp
MATCH SEr southeast,
MATCH SEr southeast
MATCH Sr south,
MATCH Sr south
MATCH Er : east
MATCH Er , east
MATCH SWr southwest,
MATCH SWr southwest
MATCH NEr northeast,
MATCH NEr northeast
MATCH Nr north,
MATCH Nr north
match Wr , west
match Wr : west
MATCH NWr northwest,
MATCH NWr northwest
put LOOK
MATCHWAIT

NWr:
wait
move nw
goto NW2r

NW2r:
match gopark you see a mottled clay ramp
MATCH NWr northwest,
MATCH NWr northwest
MATCH Nr north,
MATCH Nr north
match Wr , west
match Wr : west
MATCH NEr northeast,
MATCH NEr northeast
MATCH SWr southwest,
MATCH SWr southwest
MATCH Sr south,
MATCH Sr south
MATCH Er : east
MATCH Er , east
MATCH SEr southeast,
MATCH SEr southeast
put LOOK
MATCHWAIT

SWr:
wait
move sw
goto SW2r

SW2r:
match gopark you see a mottled clay ramp
MATCH SWr southwest,
MATCH SWr southwest
MATCH Sr south,
MATCH Sr south
match Wr , west
match Wr : west
MATCH SEr southeast,
MATCH SEr southeast
MATCH NWr northwest,
MATCH NWr northwest
MATCH Nr north,
MATCH Nr north
MATCH Er : east
MATCH Er , east
MATCH SEr southeast,
MATCH SEr southeast
put LOOK
MATCHWAIT

gopark:
put exp
match dead You are a ghost!
match gorest much more of this!
match n2 bell
match n2 numbed
match n2 muddled
match n2 clear
matchwait

gorest:
move climb ramp
move se
move e
move ne
move go crevice
goto no

resting:
put exp
match gohunt bell
match no muddled
match gohunt clear
match dead You are a ghost!
match no numbed
match no must rest!
matchwait

gohunt:
move up
move sw
move w
move nw
move climb ramp
goto start2

caught:
put 'Son of A
put look
pause 3