Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Asilient_1
Apprentice


Joined: 26 Apr 2007
Posts: 113

PostPosted: Mon Jul 23, 2007 9:56 am   

Odd problem with aliases? (1.34)
 
Okay. I've no idea what's causing this and couldn't find anything wrong in my code. Maybe someone will have experienced a similar problem.

I play Aetolia regularly and have had very few problems since the update in Cmud, however a particularly annoying problem I've run into is an alias firing off random words. For instance:

ts (alias to "touch shield".)

The alias itself works fine, however, the alias is also set off by random words I input. Example:

Snicker (touches shield)

I've checked the full package and cannot see anything wrong in it. So, uh, help?
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Mon Jul 23, 2007 12:09 pm   
 
Is this something you thought up just for an example or did this actually happen?

and

Typing the word, "Snicker" caused you to touch your shield or did you type, "Snicker (touches shield)"?
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
Caled
Sorcerer


Joined: 21 Oct 2000
Posts: 821
Location: Australia

PostPosted: Mon Jul 23, 2007 12:30 pm   
 
Yo Asi - Irru here.

Try replicating this in a blank settings file, if it still happens its clearly a really weird bug, if it doesn't then I'ma tell everyone back in Aet how much of a nublet you are >.>

Just kidding. Or maybe not, hmm.

Seriously though, I haven't seen anything like this so I think its some oddity with your settings. Did you convert your zmud system over? There might be some strange oninput trigger or rogue %lastcom command somewhere that is causing this. So test with blank settings.
_________________
Athlon 64 3200+
Win XP Pro x64
Reply with quote
Asilient_1
Apprentice


Joined: 26 Apr 2007
Posts: 113

PostPosted: Mon Jul 23, 2007 12:55 pm   
 
This really -did- happen. The alias is literally ts to execute touch shield. However, typing in "snicker" brought about the very same.

I changed the alias to tsh and it and it worked fine, however typing in "ctells" then set the alias off all over again. I honestly do NOT know what's wrong with it.

So to answer the question, yes I just type ts or snicker and I get shield up.

Caled: I converted my Zmud system over- this is by far the oddest problem I've hit with converting it over. O.o

I'll test on blank settings in a sec.

EDIT: Yeah, it happens on blank settings, too. Nothing in the package save for an alias (ts) and it still gets set off by random words. >.<
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jul 23, 2007 5:09 pm   
 
How are you creating the blank settings? Here is exactly what I did to test this:

1) Run CMUD. Close the Sessions window.

2) Type this in the command line:

#ALIAS ts {touch shield}

3) Now I typed "ts" in the command line (without the quotes) and it displayed "touch shield" like it should. I tried other words, such as "Snicker" and "ctells" and several other words and never saw anything cause this alias to fire.

So make sure you are testing it in this way. If you are loading any kind of other packages, then my guess is that you have some sort of ONINPUT trigger, or other trigger that is firing.
Reply with quote
Asilient_1
Apprentice


Joined: 26 Apr 2007
Posts: 113

PostPosted: Tue Jul 24, 2007 10:05 am   
 
I couldn't say if this is accurate yet, but unchecking "auto-append" seemed to resolve the problem I had. I'm still toying around with it, though.

EDIT: Apparently not. I did exactly as you described, Zugg and I'm still getting the same result. :/
Reply with quote
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Tue Jul 24, 2007 12:17 pm   
 
Is it a clean installation of CMUD 1.34? Or did you install it as an upgrade, over top of your previous CMUD? If the latter, I would recommend you uninstall, delete leftover files, and reinstall. It could be a matter of corruption caused by successive upgrades and using some old files with the new program. (Old files were sometimes corrupted from bugs in CMUD, basically.)
Reply with quote
Asilient_1
Apprentice


Joined: 26 Apr 2007
Posts: 113

PostPosted: Tue Jul 24, 2007 4:25 pm   
 
Yeah, it was a straight forward upgrade. (As were previous installations ever since I downloaded the original.)

I'll try reinstalling and see how that goes.
Reply with quote
Asilient_1
Apprentice


Joined: 26 Apr 2007
Posts: 113

PostPosted: Tue Oct 02, 2007 10:02 am   
 
Okay. Months later I finally worked out what was causing this.

Apparently there's a problem with unclassed aliases/variables where it will execute the wrong thing. (Sometimes Cmud would check a variable that isn't in a class rather than the variable it's supposed to be, etcetera.)

As far as I know this is still a problem only I've suffered, and may not be worth looking into.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net