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.
Entire forum
➜ MUSHclient
➜ Lua
➜ Lua version plans
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Kevnuke
USA (145 posts) Bio
|
Date
| Sun 28 Jul 2019 01:14 AM (UTC) |
Message
| I was on the version history page on Lua.org and was wondering if you have any plans to update Lua to 5.1.5 or any newer major version. Are there any differences in the newer versions that would be relevant to MUD coding which would justifying going to a newer version? I saw discussion about adding quality of life features in 5.2 (I think) like setn for tables to simplify getting their size. | Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #1 on Sun 28 Jul 2019 03:54 PM (UTC) |
Message
| You may be interested in https://github.com/keplerproject/lua-compat-5.3 |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #2 on Sun 28 Jul 2019 08:51 PM (UTC) Amended on Mon 29 Jul 2019 06:05 AM (UTC) by Nick Gammon
|
Message
| See http://www.gammon.com.au/forum/?id=14028
The changes in Lua 5.2 made it incompatible with the general way things are done in the client plugins, particularly that functions setfenv and getfenv were removed.
This may not be as big a problem with 5.1.5, however I'm not sure about the DLL compatibilites. There are quite a few DLLs that I make available here (eg. to do SQL, LuaSocket, COM, etc.). I would want to be sure that they worked with 5.1.5.
Meanwhile Fiendish's suggestion of the compatability module might go a fair way towards letting you use some of the newer features. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
11,476 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top