PDA

View Full Version : Something wrong with this Thrak/Mant script??



100% Wool
03-15-2004, 08:23 PM
Here's the script I found on the forums
-----------------------

#Manticore Hunter(circle start)
ECHO Syntax .mant <stance>


put stand
pause
put stance %1
waitfor You
goto nig

nig:
put exp
MATCH Hunt Your mind is as clear as a bell.
MATCH Hunt Your mind is fresh and clear.
MATCH Hunt Your mind is clear.
MATCH RestHunt Your mind is muddled.
MATCH RestHunt Your mind is becoming numbed.
MATCH RestHunt Your mind is numbed.
MATCH Rest Your mind can't take much
MATCHWAIT

Hunt:
put get my %weapon
pause 1
put look
MATCH Circle [The Slope, Circle of Stones]
MATCH Glen [The Slope, Glen]
MATCH CliffT [The Slope, Cliff Top]
MATCH CliffB [The Slope, Cliff Bottom]
MATCH Forest [The Slope, Forest Trail]
MATCH Valley [Valley]
MATCH Hillside [Hillside, Trail]
MATCH HillsideTrail [Hillside, Trail]
MATCH HillsideCrest [Hillside, Crest]
MATCH BraeSlope [Aillidh Brae, Slope]
MATCH BraeValley [Aillidh Brae, Vale]

MATCHWAIT

Forest:
put l
MATCH Forest1 Obvious paths: south, east.
MATCH Forest2 Obvious paths: north, west.
MATCH Forest3 Obvious paths: south, northeast.
MATCH Forest4 Obvious paths: north, southeast, southwest.
MATCH Forest5 Obvious paths: south.
MATCHWAIT

BraeValley:
MATCH BraeValley1 Obvious paths: east, southwest.
MATCH BraeValley27 Obvious paths: west, northeast.
MATCH BraeValley3 Obvious paths: east, southwest.
MATCH BraeValley4 Obvious paths: west, southeast.
MATCH BraeValley5 Obvious paths: northwest, southwest.
MATCH BraeValley6 Obvious paths: northeast, southwest.
MATCH BraeValley8 Obvious paths: east, northwest.
MATCH BraeValley9 Obvious paths: northwest, southeast.
MATCHWAIT

RestHunt:
put l
MATCH Circle1 [The Slope, Circle of Stones]
MATCH Glen [The Slope, Glen]
MATCH CliffT [The Slope, Cliff Top]
MATCH CliffB [The Slope, Cliff Bottom]
MATCH Forest [The Slope, Forest Trail]
MATCH Valley [Valley]
MATCH Hillside [Hillside, Trail]
MATCH HillsideTrail [Hillside, Trail]
MATCH HillsideCrest [Hillside, Crest]
MATCH BraeSlope [Aillidh Brae, Slope]
MATCH BraeValley [Aillidh Brae, Vale]
MATCHWAIT

Rest:
put look
MATCH Circle1 [The Slope, Circle of Stones]
MATCH 1Glen [The Slope, Glen]
MATCH 1CliffT [The Slope, Cliff Top]
MATCH 1CliffB [The Slope, Cliff Bottom]
MATCH 1Forest [The Slope, Forest Trail]
MATCH 1Valley [Valley]
MATCH 1Hillside [Hillside, Trail]
MATCH 1HillsideTrail [Hillside, Trail]
MATCH 1HillsideCrest [Hillside, Crest]
MATCH 1BraeSlope [Aillidh Brae, Slope]
MATCH 1BraeValley [Aillidh Brae, Vale]
MATCHWAIT

1Forest:
put l
MATCH 1Forest1 Obvious paths: south, east.
MATCH 1Forest2 Obvious paths: north, west.
MATCH 1Forest3 Obvious paths: south, northeast.
MATCH 1Forest4 Obvious paths: north, southeast, southwest.
MATCH 1Forest5 Obvious paths: south.
MATCHWAIT

1BraeValley:
MATCH 1BraeValley1 Obvious paths: east, southwest.
MATCH 1BraeValley27 Obvious paths: west, northeast.
MATCH 1BraeValley3 Obvious paths: east, southwest.
MATCH 1BraeValley4 Obvious paths: west, southeast.
MATCH 1BraeValley5 Obvious paths: northwest, southwest.
MATCH 1BraeValley6 Obvious paths: northeast, southwest.
MATCH 1BraeValley8 Obvious paths: east, northwest.
MATCH 1BraeValley9 Obvious paths: northwest, southeast.
MATCHWAIT


Circle:
move o
move w
move d
move n
move e
move n
move ne
move n
move go path
move go foot
goto StartHunt

Glen:
move w
move d
move n
move e
move n
move ne
move n
move go path
move go foot
goto StartHunt

CliffT:
move d
move n
move e
move n
move ne
move n
move go path
move go foot
goto StartHunt

CliffB:
move n
move e
move n
move ne
move n
move go path
move go foot
goto StartHunt

Forest1:
move e
move n
move ne
move n
move go path
move go foot
goto StartHunt

Forest2:
move n
move ne
move n
move go path
move go foot
goto StartHunt

Forest3:
move ne
move n
move go path
move go foot
goto StartHunt

Forest4:
move n
move go path
move go foot
goto StartHunt

Forest5:
move go path
move go foot
goto StartHunt

Valley:
move go foot
goto StartHunt

Hillside:
goto StartHunt

HillsideTrail:
move d
goto StartHunt

HillsideCrest:
move nw
move d
goto StartHunt

BraeSlope:
move w
move nw
move d
goto StartHunt

BraeValley1:
move sw
move w
move nw
move d
goto StartHunt

BraeValley27:
move w
put sw
pause
put nw
pause
put nw
pause
move w
move nw
move d
goto StartHunt

BraeValley3:
move sw
move w
move sw
move w
move nw
move d
goto StartHunt

BraeValley4:
move w
move sw
move w
move sw
move w
move nw
move d
goto StartHunt

BraeValley5:
move nw
move w
move sw
move w
move sw
move w
move nw
move d
goto StartHunt

BraeValley6:
move sw
move w
move nw
move nw
move w
move nw
move d
goto StartHunt

BraeValley8:
move nw
move nw
move w
move nw
move d
goto StartHunt

BraeValley9:
move nw
move w
move nw
move d
goto StartHunt

Circle1:
put put %weapon in my %container
pause 350
goto nig1

1Glen:
move w
move d
move n
move e
move n
move ne
move n
move go path
move go foot
goto Bak

1CliffT:
move d
move n
move e
move n
move ne
move n
move go path
move go foot
goto Bak

1CliffB:
move n
move e
move n
move ne
move n
move go path
move go foot
goto Bak

1Forest1:
move e
move n
move ne
move n
move go path
move go foot
goto Bak

1Forest2:
move n
move ne
move n
move go path
move go foot
goto Bak

1Forest3:
move ne
move n
move go path
move go foot
goto Bak

1Forest4:
move n
move go path
move go foot
goto Bak

1Forest5:
move go path
move go foot
goto Bak

1Valley:
move go foot
goto Bak

1Hillside:
goto Bak

1HillsideTrail:
move d
goto Bak

1HillsideCrest:
move nw
move d
goto Bak

1BraeSlope:
move w
move nw
move d
goto Bak

1BraeValley1:
move sw
move w
move nw
move d
goto Bak

1BraeValley27:
move w
put sw
pause
put nw
pause
put nw
pause
move w
move nw
move d
goto Bak

1BraeValley3:
move sw
move w
move sw
move w
move nw
move d
goto Bak

1BraeValley4:
move w
move sw
move w
move sw
move w
move nw
move d
goto Bak

1BraeValley5:
move nw
move w
move sw
move w
move sw
move w
move nw
move d
goto Bak

1BraeValley6:
move sw
move w
move nw
move nw
move w
move nw
move d
goto Bak

1BraeValley8:
move nw
move nw
move w
move nw
move d
goto Bak

1BraeValley9:
move nw
move w
move nw
move d
goto Bak

Bak:
move go foot
move go path
move s
move sw
move s
move w
move s
move u
move e
move go cir
goto nig

nig1:
ECHO *** RESTING ***
ECHO *** RESTING ***
ECHO *** RESTING ***
put %weapon in my %container
pause 350
goto nig




StartHunt:
COUNTER SET 1
Goto 1Room
1Room:
save u
GOTO RoomCheck

2Room:
save se
GOTO RoomCheck

3Room:
save e
GOTO RoomCheck

4Room:
save ne
GOTO RoomCheck

5Room:
save e
GOTO RoomCheck

6Room:
save ne
GOTO RoomCheck

7Room:
save e
GOTO RoomCheck

8Room:
save se
GOTO RoomCheck

9Room:
save sw
GOTO RoomCheck

10Room:
save sw
GOTO RoomCheck

11Room:
save w
GOTO RoomCheck

12Room:
save nw
GOTO RoomCheck

13Room:
save nw
GOTO RoomCheck

14Room:
save w
GOTO RoomCheck

15Room:
save nw
GOTO RoomCheck

16Room:
save d
GOTO RoomCheck

17Room:
COUNTER SET 1
goto 1Room


RoomCheck:
COUNTER ADD 1
put %s
goto Dawg

Dawg:
pause .5
put l
MATCH %CRoom cloud
MATCH LogOff GameMaster
MATCH LogOff Game Master
MATCH LogOff GameHost
MATCH LogOff Game Host
MATCH CritterCheck1 manticore
MATCH CritterCheck1 a manticore
MATCH CritterCheck1 a manticore,
MATCH CritterCheck1 a manticore.
MATCH CritterCheck2 thrak
MATCH CritterCheck2 a thrak
MATCH CritterCheck2 a thrak,
MATCH CritterCheck2 a thrak.
MATCH %CRoom Obvious
MATCHWAIT

CritterCheck1:
put look
MATCH %CRoom Also here
MATCH mant Obvious
MATCHWAIT

CritterCheck2:
put look
MATCH %CRoom Also here
MATCH thrak Obvious
MATCHWAIT

mant:
put attack mant
MATCH %CRoom I could not find what you were referring to.
MATCH Dead1 A manticore is already dead.
MATCH Dead1 dies
MATCH Pause1 Roundtime:
match dawg What were you referring to?
MATCHWAIT

thrak:
put attack thrak
MATCH %CRoom I could not find what you were referring to.
MATCH Dead2 A thrak is already dead.
MATCH Dead2 dies
MATCH Pause2 Roundtime:
match dawg What were you referring to?
MATCHWAIT

Pause1:
pause
goto mant

Pause2:
pause
goto thrak

Dead1:
pause 1
put search mant
PUT EXP
MATCH Dawg Your mind is as clear as a bell.
MATCH Dawg Your mind is fresh and clear.
MATCH Dawg Your mind is clear.
MATCH Dawg Your mind is muddled.
MATCH Dawg Your mind is becoming numbed.
MATCH Dawg Your mind is numbed.
MATCH Rest must rest!
MATCHWAIT

Dead2:
pause 1
put search thrak
PUT EXP
MATCH Dawg Your mind is as clear as a bell.
MATCH Dawg Your mind is fresh and clear.
MATCH Dawg Your mind is clear.
MATCH Dawg Your mind is muddled.
MATCH Dawg Your mind is becoming numbed.
MATCH Dawg Your mind is numbed.
MATCH Rest must rest!
MATCHWAIT

LogOff:
put exit

--------------------


The hunting script works fine,it attacks and everything. The thing is after it checks exp when I'm fried it doesn't do anything. I looked it over and couldn't find what was wrong with it. Can someone else over look the script?

Thanks

Bobmuhthol
03-15-2004, 08:26 PM
<<The thing is after it checks exp when I'm fried it doesn't do anything.>>

Not true. It pauses for 5 minutes, 50 seconds. Then it checks exp again.

100% Wool
03-15-2004, 09:26 PM
Aren't those pauses when it's in the node though?
The circle of stones

the way i see it is

--------
Dead1:
pause 1
put search mant
PUT EXP
MATCH Dawg Your mind is as clear as a bell.
MATCH Dawg Your mind is fresh and clear.
MATCH Dawg Your mind is clear.
MATCH Dawg Your mind is muddled.
MATCH Dawg Your mind is becoming numbed.
MATCH Dawg Your mind is numbed.
MATCH Rest must rest!
MATCHWAIT

Dead2:
pause 1
put search thrak
PUT EXP
MATCH Dawg Your mind is as clear as a bell.
MATCH Dawg Your mind is fresh and clear.
MATCH Dawg Your mind is clear.
MATCH Dawg Your mind is muddled.
MATCH Dawg Your mind is becoming numbed.
MATCH Dawg Your mind is numbed.
MATCH Rest must rest!
MATCHWAIT
--------------------

after i search a kill it matches
the exp levels
must rest makes it go to the REST table
which checks the room your in
and than is suppose to input directions back to a certain spawnpoint called BAK
and from BAK it goes to the circle of stones which is when the pauses start

[Edited on 3-16-2004 by 100% Wool]

Bobmuhthol
03-15-2004, 09:45 PM
I don't know or care when the pause it, but there is one, and the script has no flaws.

100% Wool
03-15-2004, 10:10 PM
ah the script has TWO pauses there was one i wasn't totally aware of

J-Tech
03-15-2004, 10:25 PM
----->Nevermind<-----

J.T.

[Edited on 3-16-2004 by J-Tech]

Fengus
03-16-2004, 02:20 PM
I see something wrong with it, some of the label names are seriously retarded. Looks like a very weak attempt to be in cool where there is no place for it.

J-Tech
03-16-2004, 03:24 PM
Originally posted by Fengus
I see something wrong with it, some of the label names are seriously retarded. Looks like a very weak attempt to be in cool where there is no place for it.

Ya, you can definently tell the person who wrote it is a far cry from a programmer. LOL.

J.T.

kazman32
05-05-2004, 05:59 AM
It doesn't work for me I start it in the circle and get this error sc ript error[match label %CRoom not found] near line 579