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

Gammon Forum

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

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Lua
. . -> [Subject]  loadlib is nil! Why?
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

loadlib is nil! Why?

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


Posted by Madjack   Ukraine  (16 posts)  [Biography] bio
Date Mon 18 Apr 2005 03:34 AM (UTC)
Message
I'am using latest MUSHClient version ( 3.65 ) under wine on FreeBSD 5.3. When i execute command: "/Note( loadlib )", nil printing! But when with this libraries of lua.dll and lualib.dll executing script with command line "wine lua.exe lua-loadlibtest.lua", lua interpreter prints this line: "function: 00137280". In file lua-loadlibtest.lua i typed this: "print( loadlib )".

Any suggestions???

Macbook pro late 2008 (MB471)
[Go to top] top

Posted by Ked   Russia  (524 posts)  [Biography] bio
Date Reply #1 on Mon 18 Apr 2005 04:16 AM (UTC)
Message
That's because of the Sandbox. Go to File->Global Preferences->Lua tab. There's the code for the Sandbox, you need to find the line that sets loadlib to nil and either comment it out or delete it. Then restart Mushclient.
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Reply #2 on Mon 18 Apr 2005 04:18 AM (UTC)
Message
You need to give loadlib something to load (do a search on loadlib and check out the post "Extending Lua... oh nevermind, here:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4915

That goes over using loadlib a few times (and tells you what different values mean).

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by Madjack   Ukraine  (16 posts)  [Biography] bio
Date Reply #3 on Mon 18 Apr 2005 04:32 AM (UTC)
Message
Thanks!!!!

Macbook pro late 2008 (MB471)
[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.


7,047 views.

It is now over 60 days since the last post. This thread is closed.     [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.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

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

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]