|
Macai Newbie
Joined: 12 Jul 2004 Posts: 6 Location: USA
|
Posted: Mon Jul 12, 2004 1:46 pm
Infinite loop detected.... |
...there was an 'infinite loop' error. Basically, I have an alias that calls upon itself again, like recursion.
I don't want this error.
THe loop is supposed to be infinite.
Any ideas? I'd appreciate any help! |
|
|
|
mr_kent Enchanter
Joined: 10 Oct 2000 Posts: 698
|
Posted: Mon Jul 12, 2004 3:32 pm |
Use the tilde(~) character before the alias name in the commands-to-be-executed section of your alias.
quote:
THe loop is supposed to be infinite.
Instead of trying to create an infinite alias, you'd be better off using an #ALARM or another construct to repeat actions indefinitely. |
|
|
|
Old_Dreamer Newbie
Joined: 26 Oct 2005 Posts: 1
|
Posted: Wed Oct 26, 2005 2:45 pm |
It's been a while since this post, but I was having the same problem. My fix was to enclose it in a #WHILE loop and get rid of the alias calling itself.
i.e.,
#VAR NeverEnding 1
#WHILE NeverEnding {
Put your script here
} |
|
|
|
xenapan Wanderer
Joined: 26 May 2004 Posts: 68
|
Posted: Wed Oct 26, 2005 2:56 pm |
what is it that requires you to continually use these commands? i would split it into two parts.. the alias, then a trigger to set off the alias which triggers the trigger AFTER its done. or you could use a wait in the alias. but zmud wont allow you to have an infinite loop.. mainly cause it can send a whole lot of commands to the game which will prolly result in your connection being dropped.
|
|
_________________ Player on Realms of Despair. realms.game.org port 4000. Join us today! |
|
|
|
|
|