|
kewlkidbrent Beginner
Joined: 21 Mar 2009 Posts: 12
|
Posted: Sat Mar 21, 2009 2:40 am
Trigger loop |
ok here the problem im making a quest alias to do alot of quest but it gets 90% done then i get a pop up saying its detecting a infinite loop when there is none can i shut the infinate loop thing off? or can i make the trigger so it doesnt think its looping like make it all one alias?
|
|
|
|
Xerit Newbie
Joined: 20 Mar 2009 Posts: 5
|
Posted: Sat Mar 21, 2009 6:24 am |
Don't know if this will help in your specific situation but I once had an issue where I wanted to make a character run around and around a zone, the obvious way was to trigger off of a string in one of the rooms to give him a set of directions the end of which would lead him back to that room.
However I found out that when i did that it eventually hit the "infinite loop" like yours.
The way I got around it was to put in a couple aliases instead and break the "loop" into 4 segments, each segment triggered off a separate room and initiated an alias which gave the directions to the beginning of the next "segment".
Something similar might work for you. |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sat Mar 21, 2009 8:17 am |
Without seeing your code, there's not a lot we can do to help. This code is triggered when something is infinitely recursing for some reason, so you need to find the point in your code that that's happening and change it.
|
|
|
|
kewlkidbrent Beginner
Joined: 21 Mar 2009 Posts: 12
|
Posted: Sat Mar 21, 2009 1:51 pm THis is very long sorry |
1
N
N
N
N
Ne
Ne
N
N
N
Nw
N
N
N
N
N
N
N
N
Nw
W
W
N
N
settarget woman
n
n
fight
#wait 20000
Berdonq(next aliases)
settarget berdon
w
fight
#wait 20000
Woodq
settarget woodcutter
e
s
s
s
s
1
e
ne
fight
#wait 2500
woodq2
s
fight
#wait 10000
1
#wait 25000
n
sw
e
se
s
s
s
s
s
s
s
s
se
s
s
s
sw
sw
s
s
s
s
#wait 10000
Orinq
settarget boar
s
s
s
s
s
s
get tripod
get dirk
s
s
s
s
sw
se
s
s
w
w
down
fight
#wait 6500
get knife
up
e
e
n
n
nw
ne
n
n
n
n
n
n
n
n
n
n
#wait 7000
n
n
n
n
ne
ne
n
n
n
nw
n
n
n
n
n
n
n
n
ne
n
ne
n
n
e
e
n
n
w
n
n
n
#wait 10000
S
e
ne
ne
n
n
ne
ne
n
get broom
ne
e
ne
get whip
sw
w
sw
s
sw
sw
s
s
sw
sw
w
n
e
n
#wait 10000
give bragor to fergon
n
n
n
n
n
n
n
n
n
n
e
e
ne
ne
ne
ne
e
ne
e
e
ne
w
ne
give berdon to cleonna
sw
e
sw
w
w
sw
w
sw
sw
sw
sw
w
w
s
s
s
s
s
s
s
s
s
s
#wait 10000
s
w
sw
search body
ne
e
n
n
n
n
n
n
n
n
n
n
n
w
w
nw
ne
ne
ne
ne
ne
ne
se
se
se
ne
give letter to koldar
sw
nw
nw
nw
give knife to orin
give dirk to orin
give whip to orin
#wait 10000
sw
sw
sw
sw
sw
sw
se
e
e
s
s
s
s
s
s
s
s
s
s
#wait 10000
s
s
s
e
s
s
w
w
s
s
sw
s
sw
s
s
s
s
s
s
s
s
se
s
s
s
sw
sw
s
s
s
s
#wait 10000
Travalot
1
s
s
s
s
s
s
s
s
s
s
sw
se
s
s
s
s
give pitchfork to farmer
w
greet alhazar
#wait 7000
e
s
give broom to woman
w
w
w
sw
nw
w
w
w
w
nw
get pitchfork
se
e
e
e
e
se
ne
e
give pitchfork to farmer
e
e
n
#wait 10000
n
n
n
n
nw
ne
n
n
n
n
n
n
n
n
n
n
1
#wait 10000
Crossely
w
w
nw
nw
w
w
sw
sw
sw
sw
sw
give broom to woman
sw
sw
sw
sw
sw
sw
w
sw
s
sw
sw
sw
s
sw
s
sw
s
sw
sw
sw
sw
sw
sw
sw
sw
sw
sw
#wait 15000
nw
u
u
get sextant
d
d
se
sw
sw
sw
sw
sw
sw
sw
sw
sw
sw
sw
w
w
w
w
w
w
w
w
w
give sextant to arduros
e
e
e
e
e
e
e
e
e
ne
ne
ne
ne
ne
ne
ne
ne
ne
ne
ne
#wait 10000
settarget goblin
1
ne
ne
ne
ne
ne
ne
ne
ne
ne
ne
e
ne
e
7
#wait 25000
1
#wait 40000
w
sw
w
sw
sw
sw
sw
sw
sw
sw
sw
sw
sw
give gremdal to velcar
#wait 10000
ne
ne
ne
ne
ne
ne
ne
ne
ne
ne
n
ne
n
ne
n
ne
ne
ne
n
ne
e
ne
ne
ne
ne
ne
ne
ne
ne
ne
ne
ne
e
e
se
se
e
e
#wait 10000
1
Crosstoos(this is where it starts screwing up)
w
w
nw
nw
w
w
sw
sw
sw
sw
sw
sw
sw
sw
sw
sw
nw
w
w
nw
w
nw
nw
nw
nw
nw
ne
ne
ne
ne
ne
e
e
e
e
e
e
ne
ne
ne
ne
get fish
#wait 10000
sw
sw
sw
sw
w
n
get beef
give fish to jacamo
s
e
ne
ne
ne
ne
give beef to feldan
ask feldan rum
board boat
get net
out
w
give net to fisherman
e
#wait 10000
netq
#wait 10000
sw
sw
sw
sw
w
w
w
w
w
w
sw
sw
sw
sw
sw
se
se
se
se
se
e
se
e
e
se
ne
ne
ne
ne
ne
ne
ne
ne
ne
ne
e
e
se
se
e
e
1
#wait 10000 |
|
|
|
That Guy Newbie
Joined: 28 Apr 2009 Posts: 2
|
Posted: Tue Apr 28, 2009 11:21 am |
If it messes up at 'Crosstoos' Then that's the code we'll need to see.
I'd also recommend putting your movement directions into a speedwalk, if for nothing more than to be organized. |
|
|
|
ShadowsPirate Beginner
Joined: 15 Jun 2007 Posts: 17
|
Posted: Tue Apr 28, 2009 3:20 pm |
from 'crosstoos' to the 'netq' is his alias, I imagine. The alias names are the ones that aren't directions or commands, and they go until the next odd name.
|
|
|
|
|
|