I did
CLEANSERVERDELAY= 999999999999,
for a test and items still despawn after 1 minute (I think)
I don't think CLEANSERVERDELAY does anything (I changed from items to server I also changed the line that uses it)
Oh and @ Masea: it doesn't work...
function Monster:pos(x, y) 	if not x and not y then 		return self.x, self.y else if not occupied(x,y,self.id) then 		 self.x, self.y = x or self.x, y or self.y end 		for all = 1, 17 do 			if player(all,"exists") and player(all,"health") > 0 then 				if player(all,"x") >= self.x-800 and player(all,"x") <= self.x+800 and player(all,"y") >= self.y-800 and player(all,"y") <= self.y+800 then imagepos(self.image, self.x, self.y, self.imgang) imagealpha(self.image, 1) break 				end 			end 			if all == 17 then 				imagealpha(self.image, 0) 			end 		end 	end 	return true end
LUA ERROR: sys/lua/cs2dtibia/monsters.lua:1421: attempt to call global 'occupied' (a nil value) -> sys/lua/cs2dtibia/monsters.lua:1421: in function 'pos' -> sys/lua/cs2dtibia/monsters.lua:1447: in function 'move' -> sys/lua/cs2dtibia/monsters.lua:1399: in function <sys/lua/cs2dtibia/monsters.lua:1325>
occupiedfunction.