|
Rugbystyle Wanderer
Joined: 07 Oct 2001 Posts: 71
|
Posted: Wed Sep 20, 2006 6:46 am
[1.06] Expression triggers, etc. |
When I opened my zmud .mud settings file in cmud the converting looked to go smoothly, until I closed and reopened the session, then I received crashes, I could see in the editor where it would stall; first it was on my buttons, so I deleted all of those. Then it was the status bar, so I deleted that. Lastly it hung up on all of my expression triggers.
When I finally got the package working in cmud, I tried remaking the Expression triggers in cmud (thinking maybe it was just the converting that caused the error), after making the triggers, everything looked fine, until I closed and reopened the session, then it would crash everytime again, couldn't even get into the settings editor to delete the triggers. |
|
_________________ |
|
|
|
edb6377 Magician
Joined: 29 Nov 2005 Posts: 482
|
Posted: Wed Sep 20, 2006 7:35 am |
chances are there is some syntax problem. The conversion isnt and never will be perfect. Try to copy the settings out of the main package into the editor by exporting your script from ZMUD and then checking it as you use the editor in CMUD <-- syntax editor
|
|
_________________ Confucious say "Bugs in Programs need Hammer" |
|
|
|
Rugbystyle Wanderer
Joined: 07 Oct 2001 Posts: 71
|
Posted: Wed Sep 20, 2006 10:46 am |
I redid the expression trigger by hand in cmud, used the syntax checker and it checked out ok.
I even opened up a new session, clear of all settings, and made the one expression trigger and associated variables, closed session, and reopened... crash.
Type: Expression
Pattern: @currenthealth<=@basehealth and @autocast=0
Value: autoheal
I even verified that the variables were set so that the trigger would NOT fire, but still crashes and leaves you unable to open the settings editor again. |
|
_________________ |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Sep 20, 2006 7:17 pm |
Be sure to put parenthesis around your expressions. Otherwise the parser can get confused. The correct pattern should be:
(@currenthealth<=@basehealth) and (@autocast=0)
However, I do see some sort of problem with the expression triggers. I didn't get any crashes, but I noticed that when I changed autocast=1 and then autocast=0 then the trigger didn't fire again like it should.
As far as the conversion problem and crashes, email me your *.MUD settings file from zMUD that you tried to convert so that I can test it here. Email it to support@zuggsoft.com. |
|
|
|
Rugbystyle Wanderer
Joined: 07 Oct 2001 Posts: 71
|
Posted: Wed Sep 20, 2006 10:14 pm |
I did email my settings file, but just a quick update:
I created a new session and made the one expression trigger like you stated
(@currenthealth<=@basehealth) and (@autocast=0)
and the associated variables. However it still causes bugs on my end. When I close the session and reopen, instant hang ups and have to delete the session all together. |
|
_________________ |
|
|
|
|
|