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
GenericGun
Beginner


Joined: 23 Jul 2009
Posts: 12

PostPosted: Fri Nov 20, 2009 9:50 pm   

[3.12] Serious wrapping/trigger bug.
 
The trigger randomly fires (every second time) or causes much more serious irregularities (overlapping and unreadable lines).

Here is a simplified sample:

Enable Wrapping, disable Autowrapping, set the Wrapping to 90, Indent to 0.

Trigger 1:
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
  <trigger priority="12440" regex="true" copy="yes">
    <pattern>(small ghost)</pattern>
    <value>#SUB {%1" (Ghosty)"}</value>
  </trigger>
</cmud>


Trigger 2:
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
  <trigger priority="10950" copy="yes">
    <pattern>^A (*) hits you with (*).$</pattern>
    <value>#SUB {%1" >> "%2}</value>
  </trigger>
</cmud>


Test line:
Code:
#SH A small ghost hits you with aaaaaaa bbbbbb cccccccccccc dddd aaaaa aaa dddd ggggg aaa asddasdd.


Result (two consecutive test lines):
Code:
small ghost >> aaaaaaa bbbbbb cccccccccccc dddd aaaaa aaa dddd ggggg aaa asddasdd
small ghost (Ghosty) >> aaaaaaa bbbbbb cccccccccccc dddd aaaaa aaa dddd ggggg aaa asddasdd


Thanks for any help.
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