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 Mar 21, 2009 7:31 pm   

[3.05] Check Syntax not recognizing a local variable definition
 
Procedure:
1) Open Cmud, press escape to enter a blank session
2) Paste XML code below into the root of the blank session
3) Enter the lone trigger and select Editor->Check_Syntax or CTRL-K

You will get the message:
invalid local variable: player at row 1 col 12.

Even though you get this message, it is properly defined as seen by the fact that you can execute it and it works just fine.

XML Code:
Code:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
  <class name="test3" copy="yes">
    <trigger priority="150" case="true" regex="true" copy="yes">
      <pattern>^($player:[A-Z][a-z]+) hello</pattern>
      <value>#say hello $player</value>
    </trigger>
  </class>
</cmud>
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sun Mar 22, 2009 5:08 am   
 
Confirmed.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Mar 23, 2009 5:01 pm   
 
Confirmed and added to bug list.
Reply with quote
ReedN
Wizard


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

PostPosted: Sat Apr 18, 2009 4:25 pm   
 
The bug still exists in version 3.06. The original bug procedure still demonstrates the bug.
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Sat Apr 18, 2009 6:21 pm   
 
It might help Zugg if the titles were changed on these specific problems that remain from 3.05 to 3.06. Then again, it may not. I just thought I'd offer this suggestion to maybe allow the fixed bugs/posts to drift away while keeping known issues prominent.
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Sat Apr 18, 2009 6:31 pm   
 
Ack! I guess putting a "*FIXED*" tag on the resolved issues would be better.

And I didn't realize you had a list in another post. Great job ReedN!
Now please ignore my sillyness.
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Apr 20, 2009 5:26 pm   
 
Still on the bug list.
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