1
2
3
4
5
2
3
4
5
LUA ERROR: sys/lua/cs2dtibia/functions.lua:341: attempt to index field '?' (a ni l value) -> sys/lua/cs2dtibia/functions.lua:341: in function 'gettile' -> sys/lua/cs2dtibia/monsters.lua:545: in function <sys/lua/cs2dtibia/monsters. lua:529>
-functions lua : 341 :
1
2
3
2
3
function gettile(x,y) 	return TILEZONE[y][x] end
monsters lua : 545:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name = 'Golge Haramisi', health = 145000, image = 'gfx/weiwen/pokemon/163.png', scalex = 2, scaley = 2, 		atk = 565, def = 28.3, spd = 25, atkspd = 23, x = 0, y = 0, ang = 0, imgang = 0, spawnchance = 40, runat = 0, range = 68, spawn1 = {23, 227}, spawn2 = {39, 228}, 		exp = 1080000, money = 151300, loot = {{chance = 1800, id = 102},{chance = 1800, id = 107}}, 		spc = {500, function(self, id, dist) 			local range,dmg,erange,rept,gr,xx,yy = 300,15,128,math.random(10,20),0,self.x,self.y 			radiusmsg("Gölge Haramisi Meteor Firlatti!.", self.x, self.y) 			radiussound("materials/glass3.wav", self.x, self.y) 			repeat 				xx,yy=self.x,self.y 				xx=xx+math.random(1,range)-math.random(1,range) 				yy=yy+math.random(1,range)-math.random(1,range) 				parse('explosion ' .. xx .. ' ' .. yy .. ' ' .. erange .. ' ' .. dmg .. ' 0') 				parse("effect \"colorsmoke\" "..xx.." "..yy.." 100 96 0 0 0") 				radiussound("cs2d_tibia/blizz.ogg", self.x, self.y) 				gr = gr + 1 			until gr >= rept 		end}, 	}, :545: }
529
1
exp = 1080000, money = 151300, loot = {{chance = 1800, id = 102},{chance = 1800, id = 107}},
HELP ME Pl<