What version of core Lua does AMS7 use?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Buffman
    Indigo Rose Customer
    • Mar 2005
    • 187

    What version of core Lua does AMS7 use?

    I'm having some problems loading some Lua modules and packages and I think it might be related to 5.0 vs 5.1 differences. But I thought 5.1 was going to be used in AMS7...

    Is it still using Lua 5.0? Any chance of it being upgraded to 5.1?

    Thanks!
  • ShadowUK
    No longer a forum member
    • Oct 2007
    • 1322

    #2
    Dialog.Message(_VERSION, "") to find out.

    I think it is still 5.0 though.

    Comment

    • Intrigued
      Indigo Rose Customer
      • Dec 2003
      • 6138

      #3
      It's at 5.0.2 now.
      Intrigued

      Comment

      • Buffman
        Indigo Rose Customer
        • Mar 2005
        • 187

        #4
        Thanks, that explains what I was seeing...

        Comment

        • Lorne
          Indigo Rose Staff Member
          • Feb 2001
          • 2729

          #5
          Upgrading to 5.1 would break existing code because of syntax changes in the language.

          A version that used Lua 5.1 would no longer be compatible with previous versions of Autoplay.
          --[[ Indigo Rose Software Developer ]]

          Comment

          • RizlaUK
            Indigo Rose Customer
            • May 2006
            • 5552

            #6
            well in that case, if it aint broke......dont fix it!
            Embrace change in your life, you never know, it could all work out for the best

            Comment

            • Buffman
              Indigo Rose Customer
              • Mar 2005
              • 187

              #7
              Originally posted by Lorne View Post
              Upgrading to 5.1 would break existing code because of syntax changes in the language.

              A version that used Lua 5.1 would no longer be compatible with previous versions of Autoplay.
              Thanks Lorne, this makes sense.

              The only reason I was asking is because I'm having problems loading some Lua modules (LuaSocket in this case). And it seems that compat-5.1 is deprecated (the last update was 2 years ago). Recent versions of LuaSocket don't work with compat-5.1 (even outside of AMS), but I have no problems with Lua 5.1.

              One of the biggest things with Lua 5.1 is module support, and I think we're going to see more and more issues with external modules.

              I'd love to see AMS adopt Lua 5.1 as the new engine, but provide an option to allow 5.0 support. This way we can still have compatibility for old scripts, but give us the ability develop with the new version.

              Comment

              Working...
              X