Errors loading Lua

Post Reply
Sohl
Posts: 13
Joined: Mon May 10, 2010 7:17 pm

Errors loading Lua

Post 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.
Last edited by Sohl on Mon May 10, 2010 7:21 pm, edited 1 time in total.

Sohl
Posts: 13
Joined: Mon May 10, 2010 7:17 pm

Re: Errors loading Lua

Post by Sohl »

Forgot to mention, I'm running 1.1.1 on OS X 10.6.2

ixokai
Posts: 63
Joined: Fri Dec 25, 2009 7:43 am

Re: Errors loading Lua

Post by ixokai »

Did you build this yourself or are you using the official mac build?

Sohl
Posts: 13
Joined: Mon May 10, 2010 7:17 pm

Re: Errors loading Lua

Post by Sohl »

Official mac build.

naftali
Posts: 138
Joined: Wed Jan 20, 2010 8:42 pm

Re: Errors loading Lua

Post by naftali »

I've had something similar happen as well, generally after a crash. Restart fixes the problem. Also on the official mac build

Nivek
Posts: 1
Joined: Fri May 28, 2010 1:17 pm

Re: Errors loading Lua

Post 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

Post Reply