1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
function explode(div, str) 	if (div == '') then return false end 	 	local pos, arr = 0, {} 	 	for st, sp in function() return string.find(str, div, pos, true) end do 		table.insert(arr, string.sub(str, pos, st - 1)) 		pos = sp + 1 	end 	 	table.insert(arr, string.sub(str,pos)) 	return arr end function FileExists(file) 	if(io.open(file, 'r') ~= nil) then 		return true 	else 		return false 	end end function lines_from(file) 	if not FileExists(file) then return {} end 	 	local lines = {} 	 	for line,k in io.lines(file, 'r') do 		table.insert(lines, explode("\t", line)) 	end 	 	return lines end
[15:12:26] LUA ERROR: /home/admin script.lua:113: bad argument #1 to '(for generator)' (invalid option)
113 = 28
Before new version it was works ;c