|
Chris_3413 Novice
Joined: 22 Mar 2004 Posts: 46 Location: Australia
|
Posted: Sat Apr 21, 2007 4:48 am
[1.29] Strange Alias Behavior |
This behavior has been occurring for a number of versions but ive only just gotten around to reporting it and its very odd.
Some of my aliases, particuarly ones with a few commands are adding either a 1 or 0 to the end of some of the commands.
In most cases this dosent affect the opperation and is just an oddity but with my deffing up alias for Imperian it causes the command Bond Wyvern to fail since when it sends to the mud it tags a 1 on the end so that the echo looks like Bond Wyvern 1.
The oddest part is that it dosent seem to make additions to ALL the commands in an alias.
At first I thought it was only that alias but ive been observing the command echos a bit more closely and its happening to several other unrelated ones also.
Ive tried to reproduce this by making a meaningless alias to do a few things and it dosent seem to want to cooperate.
Any insight into this oddness would be appreciated.
Heres the code of one of my smaller aliases that its making additions to:
#IF (@balance=1) {
bait pole with @bait
balwait
Cast pole @fdir
fishing=1
balance=0
}
The alias is adding a 1 on the end of the contents of the @bait and @fdir variables when it sends to the mud but it dosent seem to be limited to just variables in other aliases |
|
_________________ What do you mean, Fatal Error! |
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Sat Apr 21, 2007 9:50 am |
I can't reproduce that. If I use your alias and set
balance=1
fdir=north
bait=worms
then run the alias, it outputs
bait pole with worms
balwait
Cast pole north
which I expect is what it should do? |
|
_________________ CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;) |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sat Apr 21, 2007 5:10 pm |
Uncheck the Auto Append option for the alias and see if that fixes it.
|
|
|
|
Chris_3413 Novice
Joined: 22 Mar 2004 Posts: 46 Location: Australia
|
Posted: Mon Apr 23, 2007 9:09 am |
It was that auto append thing... it would be nice if that was turned OFF by default.
It was puzzling at first because I could right-click and execute the alias and it worked fine.
Thanks for the replies |
|
_________________ What do you mean, Fatal Error! |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Apr 23, 2007 4:56 pm |
Auto-Append *is* turned off by default. It is only turned on when you import aliases from zMUD (since this option emulates what zMUD does with most aliases).
But this still sounds like a bug with the auto-append option, so I'll add it to the bug list. |
|
|
|
XonDK Apprentice
Joined: 01 Dec 2006 Posts: 178
|
Posted: Thu Apr 26, 2007 11:29 am |
I can confirm that it also does similar to my converted zmud alias in fact a lot of them
am using 1.30 currently |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Apr 26, 2007 4:18 pm |
Auto Append is turned on by default for aliases imported from zMUD. This wouldn't be an issue if Auto Append was working as intended, but it's not. Just turn it off for the ones that don't need it.
|
|
|
|
|
|