• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Błąd i lag 10 minutowy.

Reins

Member
Joined
Apr 9, 2009
Messages
586
Reaction score
8
Witam

Serwer nagle łapie lag 10 minutowy, w consoli ostatni wpis to jak ktoś zalogował czyli normalnie, po 10-15 minutach nagle serwer się odmula,można zalogować a w consoli zobaczyłem

Code:
15:10:43.760] Grubson has logged out.
[15:10:44.462] xf has logged in.
[15:10:48.382] xd has logged out.
^[^[
[15:19:35.384] [Error - MoveEvents Interface]
[15:19:35.384] data/movements/scripts/closingdoor.lua:onStepOut
[15:19:35.384] Description:
[15:19:35.384] (luaDoTransformItem) Item not found
> Broadcasted message: "Pomoz w reklamowaniu serwera, wyslij Ip swoim znajomym!.".
[15:19:35.413] xg has logged out.
[15:19:35.423] xh has logged out.

W czym problem twki?

Closingdor.lua

LUA:
function onStepOut(cid, item, position, fromPosition)
	local newPosition = {x = position.x, y = position.y, z = position.z}
	if isInArray(verticalOpenDoors, item.itemid) == TRUE then
		newPosition.x = newPosition.x + 1
	else
		newPosition.y = newPosition.y + 1
	end
	doRelocate(position, newPosition)

	local tmpPos = {x = position.x, y = position.y, z = position.z, stackpos = -1}
	local tileCount = getTileThingByPos(tmpPos)
	local i = 1
	local tmpItem = {uid = 1}
	while(tmpItem.uid ~= 0 and i < tileCount) do
		tmpPos.stackpos = i
		tmpItem = getTileThingByPos(tmpPos)
		if tmpItem.uid ~= item.uid and tmpItem.uid ~= 0 and isMoveable(tmpItem.uid) == TRUE then
			doRemoveItem(tmpItem.uid)
		else
			i = i + 1
		end
	end
	doTransformItem(item.uid, item.itemid - 1)
	return TRUE
end
 
gdb mogę podłączyć po tym jak zalaguję czy tylko przed lagiem ?
 
Back
Top