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
➜ io.open can't enable
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| ShadowHywind
(5 posts) Bio
|
Date
| Tue 17 Mar 2009 11:59 PM (UTC) |
Message
| I have been a mushclient user for many many years now, I just ended up updating to the latest version after havint o do a OS reinstall. And Now i can't figure out how to get LUA to play nice with io.open. It keeps saying to look in the global prefrences, but I can't find nor change anything to make it work. Any help would be great | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Wed 18 Mar 2009 02:06 AM (UTC) |
Message
| Go to File menu -> Global Preferences -> Lua, and trust all worlds (and plugins if you want).
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| ShadowHywind
(5 posts) Bio
|
Date
| Reply #2 on Thu 19 Mar 2009 01:43 AM (UTC) |
Message
| I actually have that done allready. Any other ideas? | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Thu 19 Mar 2009 03:59 AM (UTC) |
Message
| Did you get the message "Function 'io.open' disabled in Lua sandbox - see MUSHclient global preferences"?
If so, you are sandboxed. Did you reload scripting after making that change? If not, the io.open stays sandboxed.
Try replacing the entire sandbox function (shown above) by a single comment (ie. "--"), reload your script file, and try again. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| ShadowHywind
(5 posts) Bio
|
Date
| Reply #4 on Thu 19 Mar 2009 02:56 PM (UTC) |
Message
| *Hangs head in shame* I forgot to reload the script.. I restarted mushclient, or at least i thought i did. But a reload of the script worked! Thanks for all the help! | 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.
15,423 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top