SaintSeiya
New Member
- Joined
- Jan 3, 2015
- Messages
- 27
- Reaction score
- 0
Hi guys, after running /clean, it says that the Game world is under maintenance. Please re-connect in a while.
I know Global Map it's really huge, but isn't there a way to don't force logging out?
I'm using TFS 1.0 on Ubuntu 12.04.
That's my clean.lua:
I know Global Map it's really huge, but isn't there a way to don't force logging out?
I'm using TFS 1.0 on Ubuntu 12.04.
That's my clean.lua:
Code:
function onSay(cid, words, param)
local player = Player(cid)
if not player:getGroup():getAccess() then
return true
end
if player:getAccountType() < ACCOUNT_TYPE_GOD then
return false
end
local itemCount = cleanMap()
if itemCount > 0 then
player:sendTextMessage(MESSAGE_STATUS_WARNING, "Cleaned " .. itemCount .. " item" .. (itemCount > 1 and "s" or "") .. " from the map.")
end
return false
end