[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  Aliases not loading in 4.04
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Aliases not loading in 4.04
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please)
Maximum of 6000 characters. Text only please, no HTML.
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Nick Gammon   Australia  (19,614 posts)  [Biography] bio   Forum Administrator
Date Thu 19 Apr 2007 09:49 PM (UTC)  quote  ]
Message
Ah that explains why I didn't see the message. If you check the UTF-8 box it sets the flag when processing regular expressions (whatever they may have in them), and then the PCRE routine warned it hadn't been compiled with that support in it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Norbert   USA  (61 posts)  [Biography] bio
Date Thu 19 Apr 2007 09:08 PM (UTC)  quote  ]
Message
None of my aliases were UTF-8, I only had the UTF-8 block checked in Global preferences. And it did it to all aliases, including the ones inside plugins, but those weren't deleted. I was able to load my saved alias file for that world so I didn't lose too many, but I still get the error messages when I open the world, and I've unchecked UTF-8 in the Global preferences and saved the world file.

Norbert

-Do you know what it's like to fall in the mud and get kicked... in the head... with an iron boot?
Of course you don't, no one does. It never happens
It's a dumb question... skip it.
[Go to top] top

Posted by Nick Gammon   Australia  (19,614 posts)  [Biography] bio   Forum Administrator
Date Thu 19 Apr 2007 09:06 PM (UTC)  quote  ]
Message
Quote:

It's kind of hard since launching 4.04 ate all of my aliases and triggers. (And overwrote the worldfile so they are truly and finally gone.)


Ach! Sorry about that, that is so annoying when that happens.

I know it is a bit late, but my advice is to save your world files (and plugins) before upgrading. In fact, regular backups will also help if you accidentally delete something you want to keep.

Quote:

None of them used UTF-8 and the world file itself wasn't UTF-8.


It isn't totally clear to me why you had the problem if you are not using UTF-8 anywhere.

I had the UTF-8 option turned on in a file called "internal.h" however the newer version of PCRE switched to using "config.h", and thus the option was no longer processed. And as I don't normally use Unicode I didn't notice it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Shaun Biggs   USA  (644 posts)  [Biography] bio
Date Thu 19 Apr 2007 07:55 PM (UTC)  quote  ]
Message
This is why I save my world files before upgrading. I also noticed that when I upgraded to 4.03, then downgraded to 4.01, the saved state of Onoitsu's spellup script was eaten up somewhere. I started manually adding all 40 spells before remembering that I could just copy over the saved state.

I haven't tried 4.04 yet, since I'd like to get a speedwalk script down before upgrading again.

It is much easier to fight for one's ideals than to live up to them.
[Go to top] top

Posted by Shadowfyr   USA  (1,776 posts)  [Biography] bio
Date Thu 19 Apr 2007 06:55 PM (UTC)  quote  ]
Message
Dang! Good thing I didn't run into that bug... Mine is intact after running 4.04.

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Isthiriel   (111 posts)  [Biography] bio
Date Thu 19 Apr 2007 01:54 PM (UTC)  quote  ]
Message
It's kind of hard since launching 4.04 ate all of my aliases and triggers. (And overwrote the worldfile so they are truly and finally gone.)

None of them used UTF-8 and the world file itself wasn't UTF-8. They were all regular expressions, one of them being an alias for ".*", i.e:
  <alias
   name="OnCommand"
   script="OnCommand"
   match="^(.*)$"
   enabled="y"
   regexp="y"
   sequence="50"
  >

[Go to top] top

Posted by Nick Gammon   Australia  (19,614 posts)  [Biography] bio   Forum Administrator
Date Thu 19 Apr 2007 01:33 PM (UTC)  quote  ]

Amended on Thu 19 Apr 2007 01:39 PM (UTC) by Nick Gammon

Message
Yes it looks like the way the PCRE people renamed configuration files and everything, that one slipped through. I will do a new version tomorrow with the UTF-8 support added back in.

It would still help if you posted an example alias that uses UTF-8, for testing purposes.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nick Gammon   Australia  (19,614 posts)  [Biography] bio   Forum Administrator
Date Thu 19 Apr 2007 01:18 PM (UTC)  quote  ]

Amended on Thu 19 Apr 2007 01:19 PM (UTC) by Nick Gammon

Message
Can you paste the alias itself (one that fails)? See:

http://mushclient.com/copying

That regexp seems to work for me, however it is possible that I overlooked enabling UTF-8 support when upgrading the PCRE engine.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Norbert   USA  (61 posts)  [Biography] bio
Date Thu 19 Apr 2007 11:19 AM (UTC)  quote  ]

Amended on Thu 19 Apr 2007 11:22 AM (UTC) by Norbert

Message
I get pages and pages of similar errors like the following
Quote:
Line 72: Error "Failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0
" processing regular expression "^\#snoop (.*?)$" (alias not loaded)

This one is from the aliases in the Lua_chat plugin, but none of the aliases in the world file were loaded either.
Any suggestions on how to fix this?

Amended: There is a block character after the 0 that did not show up when I pasted the error into the formum, not sure if that helps out or not.

Norbert

-Do you know what it's like to fall in the mud and get kicked... in the head... with an iron boot?
Of course you don't, no one does. It never happens
It's a dumb question... skip it.
[Go to top] 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.


4,237 views.

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Web site powered by FutureQuest.Net]