Hi
please look at my:
globalevents.xml
globalevents/scripts/castle.lua
and i have that error in my console:
can someone help me?
i have tfs 0.4
i tried with only 18:30(not 18:30:30)
it works fine on tfs 0.3.6, but not on tfs 0.4
REPAIRED, LOOK AT MY NEXT POST
please look at my:
globalevents.xml
PHP:
<globalevent name="castle" time="18:30:00" event="script" value="castle.lua"/>
globalevents/scripts/castle.lua
PHP:
function onTimer()
if not(isInArray(CASTLE_DAYS, tonumber(os.date("%w")))) then
return true
else
Castle_enableSaving()
end
return true
end
and i have that error in my console:
Code:
[18:36:44.966] [Warning - Event::loadScript] Event onTime not found (data/globalevents/scripts/castle.lua)
can someone help me?
i have tfs 0.4
i tried with only 18:30(not 18:30:30)
it works fine on tfs 0.3.6, but not on tfs 0.4
REPAIRED, LOOK AT MY NEXT POST
Last edited: