Page 1 of 1

Errors loading Lua

Posted: Mon May 10, 2010 7:19 pm
by Sohl
Recently when I I connect to a MUD, I see the following:

[INFO] local manual: /Users/name/.config/mudlet
[INFO] old LuaGlobal.lua removed successfully
[INFO] LuaGlobal.lua restored successfully
[INFO] old db.lua removed successfully
[INFO] db.lua restored successfully
Lua error:[string "require "rex_pcre""]:1: module 'rex_pcre' not found:
no field package.preload['rex_pcre']
no file './rex_pcre.lua'
no file '../Frameworks/lua/share/5.1/rex_pcre.lua'
no file '../Frameworks/lua/share/5.1/rex_pcre/init.lua'
no file '../Frameworks/lua/lib/5.1/rex_pcre.lua'
no file '../Frameworks/lua/lib/5.1/rex_pcre/init.lua'
no file './rex_pcre.dylib'
no file '../Frameworks/lua/lib/5.1/rex_pcre.dylib'
no file '../Frameworks/lua/lib/5.1/loadall.dylib'
[INFO] LuaGlobal.lua loaded successfully.
[INFO] db.lua loaded successfully.
[INFO] looking up the IP address of server:127.0.0.1:1234 ...
[INFO] The IP address of 127.0.0.1 has been found. It is: 127.0.0.1
[INFO] trying to connect to 127.0.0.1:1234 ...
[INFO] A connection has been established successfully.

Certain colours with cecho and showColors() don't work at all anymore. What is this/how can I fix it? Thanks.

Re: Errors loading Lua

Posted: Mon May 10, 2010 7:20 pm
by Sohl
Forgot to mention, I'm running 1.1.1 on OS X 10.6.2

Re: Errors loading Lua

Posted: Mon May 10, 2010 8:04 pm
by ixokai
Did you build this yourself or are you using the official mac build?

Re: Errors loading Lua

Posted: Tue May 11, 2010 7:45 am
by Sohl
Official mac build.

Re: Errors loading Lua

Posted: Tue May 11, 2010 3:08 pm
by naftali
I've had something similar happen as well, generally after a crash. Restart fixes the problem. Also on the official mac build

Re: Errors loading Lua

Posted: Fri May 28, 2010 1:20 pm
by Nivek
I have the same problem in Mudlet for Ubuntu installed using the PPA from the Mudlet downloads page. When I start a Mud I get
[INFO] local manual: /home/kevin/.config/mudlet
[INFO] old LuaGlobal.lua removed successfully
[INFO] LuaGlobal.lua restored successfully
[INFO] old db.lua removed successfully
[INFO] db.lua restored successfully
Lua error:[string "require "rex_pcre""]:1: module 'rex_pcre' not found:
no field package.preload['rex_pcre']
no file './rex_pcre.lua'
no file '/usr/local/share/lua/5.1/rex_pcre.lua'
no file '/usr/local/share/lua/5.1/rex_pcre/init.lua'
no file '/usr/local/lib/lua/5.1/rex_pcre.lua'
no file '/usr/local/lib/lua/5.1/rex_pcre/init.lua'
no file '/usr/share/lua/5.1/rex_pcre.lua'
no file '/usr/share/lua/5.1/rex_pcre/init.lua'
no file './rex_pcre.so'
no file '/usr/local/lib/lua/5.1/rex_pcre.so'
no file '/usr/lib/lua/5.1/rex_pcre.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
[INFO] found Lua module luasql.sqlite3
[INFO] LuaGlobal.lua loaded successfully.
[INFO] db.lua loaded successfully.
[INFO] looking up the IP address of server:midkemiaonline.com:23 ...
[INFO] The IP address of midkemiaonline.com has been found. It is: 209.212.147.74
[INFO] trying to connect to 209.212.147.74:23 ...
[INFO] A connection has been established successfully.

I can play the Mud fine but None of my triggers work and my Map scrip is really buggy. I don't stand a chance against enemy players as most people are triggered up to their eyeballs. Any help or insight appreciated.
Thanks Kev