Page 1 of 1

lua script trivia not work

Posted: Monday 18 June 2018 12:38
by Nebunu
hi all i heav some problem with trivia script for verlihub
my system debian x64

i install verlihub and all necesary for run lua i use instruction from (Verlihub install-manual on Debian by Trumpy)
i plug lua mod
i upload trivia script

<!-:-Eve> - Loading...
<!-:-Eve> - Number of categories - 11...
<!-:-Eve> - Total number of questions - 80209 Displayed questions - 4...
<!-:-Eve> - Questions are OK!...
<!-:-Eve> - Settings are OK!...
<!-:-Eve> - Messages are OK!...
<!-:-Eve> *** I'm ready. *** Have Fun! ***
<!-:-Eve> !-:-Eve (Leon changed By OWK) started! Ok Boss!!!

script run... but not all i get some error
Trivia.lua:1631: attempt to index global 'socket' (a nil value)
Trivia.lua:2591: attempt to index local 'handle' (a nil value)

Code: Select all

	
	        require "socket"
1631--	tli = socket.gettime()
	        else
	        tli = os.time()
	        end

Code: Select all

	
        	nrmj = nmj
2591--	handle:close()
        	nmj = 0

i try all version for lua 5.1 5.2 .. luasocket luarocks 2.0.2 2.2.2 2.4.4 ... all -dev for all
so what ii miss ?