Questions tagged [lua-scripting-library]

Lua Scripting Library, A Lua library used in World of Warcraft game scripting.

Lua Scripting Library, A Lua library used in World of Warcraft game scripting. It can change the text colors, it can read and write variables to a separate file and it even allows loading Lua scripts in game without having to reboot server.

22 questions
0
votes
0 answers

How can I write lua script or redis command to get all keys based on values?

I have following structure in redis. atp_sc:1111 "name" "tom1" "middleName" "jay1" "surName" "smith1" "age" "25" atp_sc:2222 "name" "tom2" "middleName" "jay2" "surName" "smith2" "age" "28" atp_sc:3333 "name" "tom3" "middleName" "jay3" "surName"…
Vishal Patil
  • 195
  • 2
  • 13
0
votes
1 answer

Logitech Script, 1st and 2nd click events with time reset

What I want to do is if I press the button on my mouse it uses a key like "E" and if I press the button again it uses the key "W" and after 2 seconds it resets, I mean if I don’t press the same button after 2 seconds it uses letter "e " again. Is…
0
votes
2 answers

How to Secure the lua scripts inside Nodemcu

I am writing a script having user personal information like "User Id", "Password", "Server detail", Bla bla bla. And I want to secure these all personal data. And you know, Script inside Nodemcu is not secure at all. Anybody can download the script…
0
votes
1 answer

Search a file inside n number of sub folder using LUA script

I want to Search a file inside n number of sub folder (in windows environment). Then copy that file and place in destination folder.
Snehasish
  • 11
  • 3
0
votes
2 answers

when I write require("socket"), error occurs

when I write socket = require("socket") This error occurs. How can I fix this errors? maybe I think this problem is about luasocket. no field package.preload['socket.core'] no file '.\socket\core.lua' no file 'e:\Program…
Jiman An
  • 49
  • 7
0
votes
0 answers

Not able to call Redis lua script for hmget from java

I am new to Redis.Please find the below redis lua script using which returns value from using redis hmget command.I am doing a nil check.If the value is not nil return the value which is retrived from redis pcall else return none. public static…
cmahi
  • 43
  • 3
-1
votes
1 answer

How to get timezone_offset(Eg: UTC+05:30) using Lua

In lua, i want to store the timezone_offset value(Eg: UTC+05:30) of my system to lua variable Please help to me get this value somehow using any inbuild function in lua, or custom written function in lua, or by running powershell command from lua or…
Vivek Raja
  • 1,009
  • 1
  • 5
  • 5
1
2