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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Sat Feb 21, 2009 9:43 pm   

[3.03a] Parse Error
 
I have an alias 'wa' which I use to execute #walk commands (see below). Sometimes when I attempt to execute a #walk command while a walk is already in progress I get the following parse error. The 'wa dg' at the bottom was what I typed which generated the error.

This happens quite a bit because as discussed in another bug report, the slow walking is a bit buggy and sometimes it doesn't clear the last direction when I move. Thus if I then try to initiate a slow walk it hits this problem because it still has an item in the walk queue.

Code:

Parse Error
Error parsing command
System Error.  Code: 5.  Access is denied
wa dg


Code:

#if (%1 == to) {
  //
  ~walk %-1
  } {
  #queue 0
  #call %maplocked( 1)
  #if (!%null( %1)) {
    #var walk_destination %1
    #walk %1
    }
  }
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Sun Feb 22, 2009 2:47 am   
 
Have you tried inserting #stop before your #walk? I agree that it shouldn't cause an error, but hopefully that would be a workaround for now.
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Feb 23, 2009 5:46 pm   
 
Go into the Preferences and turn off the "Use threads for command line" option and see if that makes any difference. That will tell me if this problem is thread-related or not. I couldn't reproduce it here, but it sound like a specific timing issue from what you are saying.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Mon Feb 23, 2009 11:39 pm   
 
I tried to get this to happen on a clean session and was unable to replicate it.

I'm going to put this one on the back-burner until the new version comes out. I still have package corruption issues I haven't been able to clear out because of the current event importing bug. Perhaps once that has been corrected this will resolve itself as well.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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