• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

Search results

  1. S

    Server migration

    Sorry for the downtime: the database crashed.
  2. S

    Server migration

    LuaForum.com has migrated from Godaddy to Amazon AWS. [x] migrate to aws [x] httpd -> nginx [x] https/tls [ ] email setup
  3. S

    Lua compiler

    How to install Lua on Windows
  4. S

    Lua compiler

    If you have Lua installed on your system, just run lua yourfile.lua in your terminal (or cmd).
  5. S

    Thread Rules

    I. Titles A title should describe the contents of a thread. A good rule of thumb is to write titles similar to what you would search for on Google. Bad title examples: “help please”, “I need help”, “problem”, “few questions”, “error”, etc. Good title example: “Is there a Lua function for...
  6. S

    G-Series API V8.45

    The Logitech G-Series uses Lua as its macro language. The API explains the following Lua functions: OnEvent GetMKeyState SetMKeyState Sleep OutputLogMessage GetRunningTime GetDate ClearLog PressKey ReleaseKey PressAndReleaseKey IsModifierPressed PressMouseButton ReleaseMouseButton...
  7. S

    Benefits of use Lua?

    The main benefit of using Lua is that you do not have to recompile large C++ projects. You can make changes, reload Lua scripts, and see its effect, while your C++ program is running. Lua scripts do not usually implement core/critical functionality, but is rather used for addon/extension...
  8. S

    Introduce Yourself

    Hey everyone, I've taken an idea from the Nginx forum to make Lua Forum more fun! New (and old) members can introduce themselves and their Lua experience in Member Chit Chat -> Introduce yourself
  9. S

    how to use goto or continue on LUA?

    You're just missing the end keyword after the last goto continue
  10. S

    Official Lua Forum GitHub

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

    Official Lua Forum GitHub

    There's now an official Lua Forum GitHub account! Any ideas on what we can build together? GitHub link: github.com/luaforum
  12. S

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

    In 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)
  13. S

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

    Nice. Btw, the ldoc link in the readme is broken. If the target audience is "Ruby users", then make the transition as easy as possible for them.
  14. S

    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...
  15. S

    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...
  16. S

    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
  17. S

    Forum For LuaRocks Authors

    We're honored to have you here Hisham :)
  18. S

    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);;
  19. S

    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.
  20. S

    need help please (WoW TBC delay/timer)

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