GM Drama
Member
- Joined
- Mar 13, 2013
- Messages
- 127
- Reaction score
- 6
My TFS worked like normal just a minute ago and now it crashed when I try to start it! Items , Actions , Spells and everything was loaded and said [Done] but the last thing it loaded before the crash was Creaturescripts but it still said [Done]
So I don't even see an error in the tfs. Please help
Now I know what caused the problem and I will tell you here and see if you could tell me why this caused the problem.
A rashid script caused the server to crash , why?
<globalevent name="rashid" interval="3600000" event="script" value="rashid.lua"/>
local days =
{
[1] = {x = 32328, y = 31782, z = 6}, --Sunday // Domingo
[2] = {x = 32207, y = 31155, z = 7}, --Monday // Lunes
[3] = {x = 32300, y = 32837, z = 7}, --Tuesday // Martes
[4] = {x = 32577, y = 32753, z = 7}, --Wednesday // Miercoles
[5] = {x = 33066, y = 32879, z = 6}, --Thursday // Jueves
[6] = {x = 33235, y = 32483, z = 7}, --Friday // Viernes
[7] = {x = 33166, y = 31810, z = 6} --Saturday // Sabado
}
local day = os.date("*t").wday
if days[day] then
doCreateNpc("Rashid", days[day])
else
print("[!] -> Cannot create Rashid. Day: " .. day .. ".")
end
So I don't even see an error in the tfs. Please help
Now I know what caused the problem and I will tell you here and see if you could tell me why this caused the problem.
A rashid script caused the server to crash , why?
<globalevent name="rashid" interval="3600000" event="script" value="rashid.lua"/>
local days =
{
[1] = {x = 32328, y = 31782, z = 6}, --Sunday // Domingo
[2] = {x = 32207, y = 31155, z = 7}, --Monday // Lunes
[3] = {x = 32300, y = 32837, z = 7}, --Tuesday // Martes
[4] = {x = 32577, y = 32753, z = 7}, --Wednesday // Miercoles
[5] = {x = 33066, y = 32879, z = 6}, --Thursday // Jueves
[6] = {x = 33235, y = 32483, z = 7}, --Friday // Viernes
[7] = {x = 33166, y = 31810, z = 6} --Saturday // Sabado
}
local day = os.date("*t").wday
if days[day] then
doCreateNpc("Rashid", days[day])
else
print("[!] -> Cannot create Rashid. Day: " .. day .. ".")
end
Last edited: