• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community
  • The forum is currently open to new registrations. The registration will close for a short period of time when reaching 500 active members, to upgrade the server resources.

Search results

  1. M

    Official Lua Forum GitHub

    I really like the PGP idea. What use cases do you see there? I have some ideas, but I want to hear yours.
  2. M

    Official Lua Forum GitHub

    There's now an official Lua Forum GitHub account! Any ideas on what we can build together? I'll add your ideas to this list continuously: online Lua interpreter/playground (e.g. JSFiddle,) with an option to import the most popular rocks and frameworks (using Fengari) GUI for LuaRocks...
  3. M

    LuaForum now supports login with Google and Microsoft

    You can now register/login with your Google, GitHub or Microsoft account. LuaForum will support more identity providers in the near future. Using OpenID for authentication leads to a faster, more secure login. Supported identity providers: Google GitHub Microsoft Facebook (upcoming) Twitter...
  4. M

    [WIP] Restia: My dumb attempt at a web framework

    Referring to readme.md: Section: Building the Documentation: ldoc link https://github.com/DarkWiiPlayer/restia/blob/master/ldoc returns 404 not found, try in incognito mode Section: Contributing: ldoc link lunarmodules/LDoc, has a syntax error (comma at the end)
  5. M

    Frequently Asked Questions (FAQ)

    The following list is updated continuously: Will there be ads on the forum in the future? No
  6. M

    [WIP] Restia: My dumb attempt at a web framework

    I haven't had time to try it out yet, but I really like that it looks well thought out and organized. Btw, the ldoc link in the readme is broken. To your questions: I think an answer to the first question "What direction should I take this in?" implicitly answers the next two questions. In my...
  7. M

    Reliability in production

    Hi all :) I received this email from the CEO of a company: I've found that openresty lua is very good for MVP and prototyping, but can not be safely used in production. Particularly, socket connections to mysql and redis are dying silently on a high load condition. You connect, check that the...
  8. M

    Function luaDoTradeOrbs(cid, target, points) 0.4 -> 1.3

    The addRef method in TFS 0.4 is just incrementing a reference counter. The TFS 1.3 equivalent is incrementReferenceCounter(). If you look here you can see that TFS 0.4 player class has a transferContainer member, this does not exist in TFS 1.3 Btw, you still have the double semicolon syntax...
  9. M

    Function luaDoTradeOrbs(cid, target, points) 0.4 -> 1.3

    What errors are you getting? Try to replace: getEnv() with getScriptEnv() getPlayerByUID() with getPlayerByID() Take a look at luacript.h and luascript.cpp to see what functions are available in TFS 1.3
  10. M

    Forum For LuaRocks Authors

    We're honored to have you here Hisham :)
  11. M

    Function luaDoTradeOrbs(cid, target, points) 0.4 -> 1.3

    There is a syntax error in your code, the following line has a double semicolon: Item* Orb = new Item(7722);;
  12. M

    need help please (WoW TBC delay/timer)

    I'm not familiar with WoW TBC, but I think you can use C_Timer.After(duration, callback). It executes a function after a set amount of seconds.
  13. M

    need help please (WoW TBC delay/timer)

    You have a higher chance of getting help if you copy-paste your current script here.
  14. M

    How to add code to posts

    :LOL: It's fixed now. Thank you! Edit: the plugin I had to use to get Lua as the default language had a bug in it so I had to disable it.
  15. M

    Windows How to install Lua on Windows?

    Install Lua on Windows 10 (build from sources) This tutorial shows you how to build and install Lua on Windows 10 from sources. The tutorial is not meant for complete beginners. Download and install TDM-GCC Go to the downloads section or download TDM64-GCC-9.2.0.exe Run the executable Select...
  16. M

    Windows How to install Lua on Windows?

    Full Lua Installation on Windows 10 This tutorial shows you how to install Lua on Windows 10. The tutorial is meant for beginners. Download the Lua For Windows binaries Then, click and download the .exe (executable) Run the installer and click next with all the default settings (unless you...
  17. M

    How to add code to posts

    Thank you for letting me know. The forum software made changes to the user interface. I've updated the images and instructions.
  18. M

    How to add code to posts

    From the menu: 1. Click the three dots 2. Click on "</>" Next: 3. Select the programming language in the dropdown menu 4. Paste your code 5. Click on "continue" Or: Add your code between write: [CODE]Your code here[/CODE] Result: Your code here You can also...
  19. M

    Attempt to call global 'winners' (a table value)

    It's because winners is not a function; I think you meant print(win(classMates, winners)) on the last line.
  20. M

    :D

    :D
Top