Lua Error has written
LUA ERROR: sys/lua/medieval mod.lua:417: attempt to perform arithmetic on field '?' (a nil value)
This is the error line:
1
2
3
2
3
function MM.killcount(id) 	fragcount[id][MM.class[id]]=fragcount[id][MM.class[id]]+1 end
and all the lines with the same fragcount[id] thing:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function initArray2(f,v) 	local array = {} 	for c = 1, f do 		array[c] = v 	end 	return array end ---- fragcount=initArray2(32,initArray2(7,0)) ---- Every single class has fragcount stuff; ---- if (fragcount[id][MM.class[id]]<10) then 	class stuff end
Now I don't know what the error actually means. Help plz?