This isn't bug I prefer calling it bot prevent.psilocibe said:Report!
Palladins can not attack with runes and spears at the same time.
This isn't bug I prefer calling it bot prevent.
Thanks for another release zhtek will be updated immedieatly just 1 question is the !save "10 fixed because the auto save is really long...
local SAVE_FREQUENCE = 35 -- seconds
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local saveTimer = SAVE_FREQUENCE
function onCreatureAppear(cid) npcHandlernCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandlernCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandlernCreatureSay(cid, type, msg) end
function onThink()
saveTimer = saveTimer - 1
if saveTimer == 0 then
saveData()
print("Server save...")
saveTimer = SAVE_FREQUENCE
end
end
npcHandler:addModule(FocusModule:new())
local CLEAN_FREQUENCE = 60 -- seconds
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local cleanTimer = CLEAN_FREQUENCE / 2 -- onThink for npc is fired every 2 seconds
function onCreatureAppear(cid) npcHandlernCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandlernCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandlernCreatureSay(cid, type, msg) end
function onThink()
cleanTimer = cleanTimer - 1
if cleanTimer == 150 then
doBroadcastMessage("Game map cleaning in 5 minutes.");
elseif cleanTimer == 90 then
doBroadcastMessage("Game map cleaning in 3 minutes.");
elseif cleanTimer == 30 then
doBroadcastMessage("Game map cleaning in 1 minute, please pick up your items!");
elseif cleanTimer == 0 then
cleanMap()
cleanTimer = CLEAN_FREQUENCE / 2
end
npcHandlernThink()
end
npcHandler:addModule(FocusModule:new())
Hmm... maybe add "save" to onThink or onLogin (creaturescript)?NPCs Don't Function.
Save:
Clean:
Need a change?
It is already fixed!save "10 = save per 10 mins
Broadcast In Color Plzplzplzplzplzplzplzplzplzplzplzplzplzplzplzplzplzplz