Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Opening a world error

Opening a world error

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Zeno   USA  (2,871 posts)  Bio
Date Sun 03 Aug 2003 06:11 AM (UTC)

Amended on Sun 03 Aug 2003 06:17 AM (UTC) by Zeno

Message
When I try to open a certain world, I get this error.

Unexpected file format.
Line 98: Value for attribute named 'match' not terminated (no closing quote) (problem in this file)

I didn't use scripts or anything, just triggers and timers. The world won't open because of this. Anyone know how to fix this?

Here's what it is

  <trigger
   enabled="y"
   match="
You are a mite peckish."
   regexp="y"
   sequence="100"
  >
Bold is line 98. I'm guessings having trouble because there's a linebreak there.
Should it be alright to delete the linebreak?
And why was it there in the first place? The trigger match in mushclient is one line.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 03 Aug 2003 07:50 AM (UTC)
Message
Yes, I would delete the linebreak. It shouldn't have been there, but possibly it got there because you copied and pasted from the MUD and inadvertently copied a line break. Normally you can't type them in.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #2 on Sun 03 Aug 2003 09:05 AM (UTC)
Message
Alright, it worked, thanks. I guess I'll have to remember no more copying to the trigger.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Tue 05 Aug 2003 05:56 AM (UTC)
Message
I have changed 3.43 to check for newlines in trigger match text. You are not supposed to have them (as the trigger is only one line) and if they work their way in they cause the problem you describe.

It is possible to do that in current versions by:

* pasting text with line breaks
* using Ctrl+Enter when using the big "edit box" you can access by clicking the "..." button.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


10,719 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.