 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4772 Location: Pensacola, FL, USA
|
Posted: Mon Jan 26, 2009 9:58 pm
[3.03a] %null item in string list causes freeze |
Code: |
<trigger priority="1000" repeat="true" id="9">
<pattern>({@mySkills})</pattern>
<value><![CDATA[$mat=%item(%replace(%1, " ", "|"), 2)
#SUB {<send ':%item(%names, 1):%1|:%item(%names, 1):materials $mat' 'craft $mat|materials'><color orange>%1</color></send>}]]></value>
</trigger> |
I believe this trigger caused CMUD to go unresponsive when @myskills has a member=%null.
Seems to have stopped doing so since i removed it at least. |
|
_________________ Discord: Shalimarwildcat |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
Posted: Mon Jan 26, 2009 11:36 pm |
Hrm, might be a problem with MXP. See if you can reproduce it using the #MXP command.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Jan 27, 2009 2:58 am |
Please post the exact value of your @mySkills variable so that we can test it here. The problem with nulls in triggers was fixed long ago, so there might be something else causing the problem. It might be with the "repeat=true" option.
|
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4772 Location: Pensacola, FL, USA
|
Posted: Tue Jan 27, 2009 4:43 am |
Code: |
<var name="mySkills" type="StringList" sorted="true" id="10">|this|that</var> |
is enough to lock up a blank session, when you try to say send or echo stuff |
|
_________________ Discord: Shalimarwildcat |
|
|
 |
|
|