Running on windows 7, the 32 bit works fine, had huge troubles with x64. Tried marks commit https://github.com/otland/forgottenserver/commit/b6b7d29c8e91528957d3f468cdce88a61da0e7e1 and today it's been working without issues
Please keep in mind that filenames is case sensitive in Linux, if the file is Myriapods/Wiggler.xml then it must be so in monsters.xml too <monster name="Wiggler" file="Myriapods/Wiggler.xml"/> not <monster name="Wiggler" file="Myriapods/wiggler.xml"/> as it is now. Same problem with Deepling Warrior, Deepling Elite, Deepling Scout and many more, also with some NPC's.
So running tfs with this datapack on Linux gives a lot of errors and not the correct monster spawns. Easy to fix but time consuming when there is many of them.
It keeps crashing every now and then, the interval is random. Sometimes more, sometimes less times.
It just straight up crashes.
I know that /clean crashes the server, is there an auto cleaner in the actual server? If so, where do I remove it?
For those of you that have the server working, are you using x32 or x64?
I'm an experienced OT hoster and all, but this error.. Nope. Don't get why it's there.
Hello.
I'm hosting it for test but OTS broke after 24h online says Game World will be up soon something like this and some commands not working for god like /i
IP: rl.modernots.eu
just a demo server
I will see what wrong with the commands.
Best Regards
mlody.1039
local function serverSave()
if shutdownAtServerSave then
Game.setGameState(GAME_STATE_SHUTDOWN)
end
if cleanMapAtServerSave then
cleanMap()
end
saveServer()
Game.setGameState(GAME_STATE_NORMAL)
end
Server Save is initiated once every 24 hours in globalevents.xml, it invokes the script serversave.lua. I had the same problem as you that after server save I could not login. The problem seems to occur when you do not set it to shutdown at server save and hence starting it another way, it never returns from the flag Game.setGameState(GAME_STATE_STARTUP).
To quickly solve it I added Game.setGameState(GAME_STATE_NORMAL) after saveServer()
Code:local function serverSave() if shutdownAtServerSave then Game.setGameState(GAME_STATE_SHUTDOWN) end if cleanMapAtServerSave then cleanMap() end saveServer() Game.setGameState(GAME_STATE_NORMAL) end
However its not a good solution, if one is to use it in that way it should be rewritten to fit the situation. Also it doesn't make sense to initiate GAME_STATE_STARTUP before GAME_STATE_SHUTDOWN.
if shutdownAtServerSave then
Game.setGameState(GAME_STATE_SHUTDOWN)
end
That wouldn't solve the problem tho because if local shutdownAtServerSave = false then it will never do Game.setGameState(GAME_STATE_SHUTDOWN).That isen't a good ide at all, config.lua => shutdownAtServerSave == no.
Or remove the
Code:if shutdownAtServerSave then Game.setGameState(GAME_STATE_SHUTDOWN) end
function onTime(interval)
broadcastMessage("Server is saving game in 5 minutes. Please go to a safe place.", MESSAGE_STATUS_WARNING)
Game.setGameState(GAME_STATE_STARTUP)
addEvent(firstServerSaveWarning, 120000)
return not shutdownAtServerSave
end
That wouldn't solve the problem tho because if local shutdownAtServerSave = false then it will never do Game.setGameState(GAME_STATE_SHUTDOWN).
The problem is it never recovers from Game.setGameState(GAME_STATE_STARTUP) in
Code:function onTime(interval) broadcastMessage("Server is saving game in 5 minutes. Please go to a safe place.", MESSAGE_STATUS_WARNING) Game.setGameState(GAME_STATE_STARTUP) addEvent(firstServerSaveWarning, 120000) return not shutdownAtServerSave end
local shutdownAtServerSave = false
local cleanMapAtServerSave = false
local function serverSave()
if cleanMapAtServerSave then
cleanMap()
end
saveServer()
end
local function secondServerSaveWarning()
broadcastMessage("Server is saving game in one minute. Please go to a safe place.", MESSAGE_STATUS_WARNING)
addEvent(serverSave, 60000)
end
local function firstServerSaveWarning()
broadcastMessage("Server is saving game in 3 minutes. Please go to a safe place.", MESSAGE_STATUS_WARNING)
addEvent(secondServerSaveWarning, 120000)
end
function onTime(interval)
broadcastMessage("Server is saving game in 5 minutes. Please go to a safe place.", MESSAGE_STATUS_WARNING)
addEvent(firstServerSaveWarning, 120000)
return not shutdownAtServerSave
end
Your layout is bugged, clean out for footer php file(I think thats the problem - I prefer gesior ).I have decided to host it!
If anyone wants to try it or whataver!
mastercores.zapto.org
Code:local shutdownAtServerSave = false local cleanMapAtServerSave = false local function serverSave() if cleanMapAtServerSave then cleanMap() end saveServer() end local function secondServerSaveWarning() broadcastMessage("Server is saving game in one minute. Please go to a safe place.", MESSAGE_STATUS_WARNING) addEvent(serverSave, 60000) end local function firstServerSaveWarning() broadcastMessage("Server is saving game in 3 minutes. Please go to a safe place.", MESSAGE_STATUS_WARNING) addEvent(secondServerSaveWarning, 120000) end function onTime(interval) broadcastMessage("Server is saving game in 5 minutes. Please go to a safe place.", MESSAGE_STATUS_WARNING) addEvent(firstServerSaveWarning, 120000) return not shutdownAtServerSave end
That script won't turn the server off, if you wanna do a restart like rl / shadowcores you smth to restart the server, auto restarter.
I will try autorestarter and see how it go.
Engine looks cool only need find a way to get my RME working
Its my first time doing with ots higher then 8.6 new expirance
Best Regards
mlody.1039
I would do it, been working slowly on it. But my main problem is time, and since its me and 2??, who only changes NPC files, its gonna take a long time to get it perfcet. But if you are just after the posibility to kill the bosses and not the missions etc pm me.The Warzones are not working properly right?
Would be awesome if someone could make it work like RL.
I'll pay 5€ if someone fix it.
Aruda NPC is not working in Thais
Hello or Hi and no respond at all
Best Regards
mlody.1039
Lua Script Error: [MoveEvents Interface]
data/movements/scripts/bigfoot burden quest/bigfootBurdenQuestGTCS.lu
.../scripts/bigfoot burden quest/bigfootBurdenQuestGTCS.lua:35: attem
a nil value
stack traceback:
[C]: in function '__index'
.../scripts/bigfoot burden quest/bigfootBurdenQuestGTCS.lua:3
ion <.../scripts/bigfoot burden quest/bigfootBurdenQuestGTCS.lua:17>
Lua Script Error: [MoveEvents Interface]
data/movements/scripts/bigfoot burden quest/bigfootBurdenQuestGTCS.lu
.../scripts/bigfoot burden quest/bigfootBurdenQuestGTCS.lua:35: attem
a nil value
stack traceback:
[C]: in function '__index'
.../scripts/bigfoot burden quest/bigfootBurdenQuestGTCS.lua:3
ion <.../scripts/bigfoot burden quest/bigfootBurdenQuestGTCS.lua:17>
Position: [X: 32783] [Y: 31026] [Z: 9].
dragonling mount decorative ribon
music box(18511) fix
wild horse mount fix sugar oat
four-cleaf clover
Position: [X: 32128] [Y: 32686] [Z: 5].
Position: [X: 32848] [Y: 32277] [Z: 9
Position: [X: 32832] [Y: 32277] [Z: 10].
Position: [X: 32828] [Y: 32238] [Z: 12].
Position: [X: 32767] [Y: 32357] [Z: 15]. -> Position: [X: 32754] [Y: 32365] [Z: 15].
Position: [X: 32739] [Y: 32392] [Z: 14].
[X: 32826] [Y: 32232] [Z: 11]. REWARDS + doors
Position: [X: 32824] [Y: 32223] [Z: 12]. - anyone can enter.
Position: [X: 32320] [Y: 32258] [Z: 9]. - no one can enter.
Position: [X: 32716] [Y: 32344] [Z: 7]. - demon oak doesn't work + oldrak doesn't work etc hallowed axe + when you visit the infested area he just dissmisses you. (tp inside and create a hallowed axe and kill all the mobs works, and the quest room and grave works.)
Lua Script Error: [Action Interface]
data/actions/scripts/other/taming.lua:onUse
data/compat.lua:29: attempt to index a nil value
stack traceback:
[C]: in function '__index'
data/compat.lua:29: in function 'isSummon'
data/actions/scripts/other/taming.lua:53: in function <data/actions/scri
pts/other/taming.lua:46>
Lua Script Error: [Action Interface]
data/actions/scripts/other/taming.lua:onUse
data/compat.lua:29: attempt to index a nil value
stack traceback:
[C]: in function '__index'
data/compat.lua:29: in function 'isSummon'
data/actions/scripts/other/taming.lua:53: in function <data/actions/scri
pts/other/taming.lua:46>
Lua Script Error: [Action Interface]
data/actions/scripts/other/taming.lua:onUse
data/compat.lua:29: attempt to index a nil value
stack traceback:
[C]: in function '__index'
data/compat.lua:29: in function 'isSummon'
data/actions/scripts/other/taming.lua:53: in function <data/actions/scri
pts/other/taming.lua:46>
Lua Script Error: [Action Interface]
data/actions/scripts/other/taming.lua:onUse
data/compat.lua:29: attempt to index a nil value
stack traceback:
[C]: in function '__index'
data/compat.lua:29: in function 'isSummon'
data/actions/scripts/other/taming.lua:53: in function <data/actions/scri
pts/other/taming.lua:46>
Lua Script Error: [Action Interface]
data/actions/scripts/tools/pick.lua:onUse
data/actions/scripts/tools/pick.lua:4: attempt to index local 'i' (a nil value)
stack traceback:
[C]: in function '__index'
data/actions/scripts/tools/pick.lua:4: in function <data/actions/scripts
/tools/pick.lua:1>
Lua Script Error: [MoveEvents Interface]
data/movements/scripts/pits of inferno quest/pitsOfInfernoQuestShortcuts.lua:onS
tepIn
...ts/pits of inferno quest/pitsOfInfernoQuestShortcuts.lua:3: attempt to compar
e boolean with number
stack traceback:
[C]: in function '__lt'
...ts/pits of inferno quest/pitsOfInfernoQuestShortcuts.lua:3: in functi
on <...ts/pits of inferno quest/pitsOfInfernoQuestShortcuts.lua:1>