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
Aleron
Wanderer


Joined: 01 Aug 2005
Posts: 76

PostPosted: Fri Mar 16, 2007 2:33 pm   

What's wrong with #SLOW?
 
Is there a known problem of #SLOW just sending the entire path string to the mud, rather than sending the first direction and then starting the whole pathing process? This is screwing up my scripts, making them unusable at the moment.

Create a new mud session. Then created a module at the root level (not under the window) named Mod1. Under Mod1 create a class named Class1, and two paths named path1 and path2, respectively. Give the two paths the same direction string (I chose '2n2s'). Under Class1, create two aliases named test1 and test2, respectively. test1 is defined as
Code:
#SLOW path1

and test2 is defined as
Code:
#SLOW path2


When I execute either test1 or test2, I see the following in my session window (where the bold text is what was sent to the mud):

Quote:
<prompt>2n2s


I've reproduced this so far on both my home and work machine. Can anyone else reproduce this?
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Mar 16, 2007 4:39 pm   
 
Select the Edit Session action on the main screen, then go to the Files tab. Make sure you are loading the English Directions (and English Keypad if you want) packages. Otherwise CMUD doesn't know that "n" is a direction character. If it's not in the list, click the + button and select the English Directions.pkg file.

Also, click on your module (btw, Modules are *always* at the root level and never within the window). Make sure the English Directions package is enabled for the module in the list on the right.
Reply with quote
Aleron
Wanderer


Joined: 01 Aug 2005
Posts: 76

PostPosted: Fri Mar 16, 2007 4:56 pm   
 
Zugg wrote:
btw, Modules are *always* at the root level and never within the window


I assume you mean they are always created at the root level? You can in fact drag them under a window or its settings.
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Mar 16, 2007 5:09 pm   
 
Yes. The are always created a the root level and I need to disable the ability to drag them under a window or its settings since that will cause them to stop working and could cause a package to become corrupted. The fact that you can drag a module to another window or settings is therefore a bug.
Reply with quote
Ice
Beginner


Joined: 07 Sep 2005
Posts: 12

PostPosted: Fri Jun 29, 2007 11:33 pm   
 
I've had the same problem with my scripts, both in zMUD and CMUD. The problem for me though is that it seems to come on random occasions in both programs. I first encountered the problem in zMUD, then tried in CMUD, hoping it would be gone, but it's not. And yet the same problem remains with todays version of CMUD 1.34.

I am executing the path itself from a variable, using:

#SLOW %db(@Var,CurrentPath)

I have also tried these forms:
#SLOW .%db(@Var,CurrentPath) as well as
#SLOW %db(@Var,CurrentPath).

and doing this it almost seems as it's about 50% chance that the slow walk will start, while it in the other 50% of the times the path line is sent.

Ice
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