MrSalit0s' Lua Mod

  • mniip
    31st Oct 2012 Developer 0 Permalink
    @mrsalit0s (View Post)
    yeah, dont take my corrections as insults, I just try to put you onto the right path
  • boxmein
    31st Oct 2012 Former Staff 0 Permalink
    @mrsalit0s (View Post)
    They are actual advice. Not "Maybe you should kind of add local to the variables" or "That script is so cool, but it could be better". Critiques usually outline exactly what you need to do to make it better. It's an amazing source of learning.
  • mrsalit0s
    4th Nov 2012 Member 0 Permalink

    @mniip (View Post)

    @boxmein (View Post)

    i misunderstood mniip's post. help is always welcome :)


    Changed the old tpt.el.x.id commands to the Lua API commands for compatibility with the current version 84.

  • boxmein
    4th Nov 2012 Former Staff 0 Permalink
    @mrsalit0s (View Post)
    woo, new API!
  • mrsalit0s
    4th Nov 2012 Member 0 Permalink
  • jacob1
    4th Nov 2012 Developer 0 Permalink
    @mrsalit0s (View Post)
    when I tried NANO earlier, I could only go up and left or else it would disappear. I don't know if you fixed that by now.

    And I fixed the bug preventing tpt.el.X.Y = Z commands from working (I hope for the next version but I can't be sure), but using the new commands is always good when possible
  • mrsalit0s
    5th Nov 2012 Member 0 Permalink

    @jacob1 (View Post)

    Changed some variables for NANO but it was working for me since i created this thread. you could try it again if you have time and could tell me if this bug is still present.

     

    Thanks for fixing it. BALL is disabled on pastebin until the fix is in the official.

     

    I found another bug with the element SPRK. If you try to change some things via Lua it gets solid. Try my NEON script for example. it won't work with current versions of TPT.

  • jacob1
    5th Nov 2012 Developer 0 Permalink
    @mrsalit0s (View Post)
    It might just have been that I was going right and pressed left or something and it crashed into the METL. It seems to work now.

    And I see the problem with spark. For some reason, tpt++ can't add on to existing element functions, it has to replace them. I can try fixing that though, so that it can add on to sprk like you did. There are many bugs in the lua console now that are different from tpt, my lua script was broken too. I haven't looked into any differences though. If you see any more bugs or differences, tell me.
  • mrsalit0s
    5th Nov 2012 Member 0 Permalink

    @jacob1 (View Post)

    Okay, then i will add a feature that prevents that happening if it is possible.

    Would be nice if you could fix it, because so far i haven't found a way to bring NEON back to run.

    Sure, if i find any bugs i will let you know.

  • lorddeath
    17th Nov 2012 Member 1 Permalink

    Lol, I failed I didn't know it was Lua make more dude!