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
➜ Lua
➜ loadlib is nil! Why?
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Madjack
Ukraine (16 posts) 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) | Top |
|
Posted by
| Ked
Russia (524 posts) 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. | Top |
|
Posted by
| Flannel
USA (1,230 posts) 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. | Top |
|
Posted by
| Madjack
Ukraine (16 posts) Bio
|
Date
| Reply #3 on Mon 18 Apr 2005 04:32 AM (UTC) |
Message
| Thanks!!!! |
Macbook pro late 2008 (MB471) | 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.
20,974 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top