• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Error when starting up server

razr55

New Member
Joined
Mar 26, 2011
Messages
26
Reaction score
0
Getting this error when starting up the server. Anyone have any idea whats causing it?

Apr 20 16:59:57 vps234855 systemd[1429]: Started The Forgotten Server.
Apr 20 16:59:57 vps234855 tfs[8178]: The Forgotten Server - Version 1.3
Apr 20 16:59:57 vps234855 tfs[8178]: Compiled with GNU C++ version 5.4.0 20160609
Apr 20 16:59:57 vps234855 tfs[8178]: Compiled on Apr 20 2019 03:10:19 for platform x64
Apr 20 16:59:57 vps234855 tfs[8178]: A server developed by Mark Samman
Apr 20 16:59:57 vps234855 tfs[8178]: Visit our forum for updates, support, and resources: OTLand (http://otland.net/).
Apr 20 16:59:57 vps234855 tfs[8178]: >> Loading config
Apr 20 16:59:57 vps234855 tfs[8178]: >> Establishing database connection... MySQL 5.7.25
Apr 20 16:59:57 vps234855 tfs[8178]: >> Running database manager
Apr 20 16:59:57 vps234855 tfs[8178]: >> Loading vocations
Apr 20 16:59:57 vps234855 tfs[8178]: >> Loading items
Apr 20 16:59:57 vps234855 tfs[8178]: >> Loading script systems
Apr 20 16:59:57 vps234855 tfs[8178]: >> Loading lua libs
Apr 20 16:59:57 vps234855 tfs[8178]: [Warning - Scripts::loadScripts] Can not load folder 'scripts/lib'.
Apr 20 16:59:57 vps234855 tfs[8178]: > ERROR: Unable to load lua libs!
Apr 20 16:59:57 vps234855 tfs[8178]: > ERROR: Failed to load script systems
Apr 20 16:59:57 vps234855 tfs[8178]: >> No services running. The server is NOT online.
Apr 20 16:59:58 vps234855 systemd[1429]: tfs.service: Service hold-off time over, scheduling restart.
Apr 20 16:59:58 vps234855 systemd[1429]: Stopped The Forgotten Server.
Apr 20 16:59:58 vps234855 systemd[1429]: tfs.service: Start request repeated too quickly.
Apr 20 16:59:58 vps234855 systemd[1429]: Failed to start The Forgotten Server.
Apr 20 16:59:58 vps234855 systemd[1429]: tfs.service: Unit entered failed state.
Apr 20 16:59:58 vps234855 systemd[1429]: tfs.service: Failed with result 'start-limit-hit'.
 
He just linked it in his post. Download the latest TFS and pull it from the zip.
Wow my bad! Somehow I look right over the link he posted lol

Thank you so much! Server started right up but still got an error. Any idea what causing this?

tfs.service - The Forgotten Server
Loaded: loaded (/home/otsmanager/.config/systemd/user/tfs.service; disabled; vendor preset: enabled)
Active: active (running) since Sat 2019-04-20 23:52:14 EDT; 1min 1s ago
Main PID: 11789 (tfs)
CGroup: /user.slice/user-1001.slice/[email protected]/tfs.service
└─11789 /home/otsmanager/forgottenserver/build/tfs

Apr 20 23:52:15 vps234855 tfs[11789]: /home/otsmanager/forgottenserver/data/scripts/talkactions/position.lua
Apr 20 23:52:15 vps234855 tfs[11789]: ...er/forgottenserver/data/scripts/talkactions/position.lua:3: attempt to index local... value)
Apr 20 23:52:15 vps234855 tfs[11789]: stack traceback:
Apr 20 23:52:15 vps234855 tfs[11789]: [C]: in function '__newindex'
Apr 20 23:52:15 vps234855 tfs[11789]: ...er/forgottenserver/data/scripts/talkactions/position.lua:3: in main chunk
Apr 20 23:52:15 vps234855 tfs[11789]: > position.lua [error]
Apr 20 23:52:15 vps234855 tfs[11789]: ^
Apr 20 23:52:15 vps234855 tfs[11789]: >> Checking world type... PVP
Apr 20 23:52:15 vps234855 tfs[11789]: >> Loading map
Apr 20 23:52:29 vps234855 tfs[11789]: > Map size: 33760x33023.
Hint: Some lines were ellipsized, use -l to show in full.
 
local talk = TalkAction("/pos")

function talk.onSay(player, words, param)
if player:getGroup():getAccess() and param ~= "" then
local split = param:split(",")
player:teleportTo(Position(split[1], split[2], split[3]))
else
local position = player:getPosition()
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Your current position is: " .. position.x .. ", " .. position.y .. ", " .. position.z .. ".")
end
return false
end

talk:separator(" ")
talk:register()


This is my position.lua
 
tfs.service - The Forgotten Server
Loaded: loaded (/home/otsmanager/.config/systemd/user/tfs.service; disabled; vendor preset: enabled)
Active: active (running) since Sun 2019-04-21 01:46:43 EDT; 7s ago
Main PID: 12685 (tfs)
CGroup: /user.slice/user-1001.slice/[email protected]/tfs.service
└─12685 /home/otsmanager/forgottenserver/build/tfs

Apr 21 01:46:44 vps234855 tfs[12685]: Lua Script Error: [Scripts Interface]
Apr 21 01:46:44 vps234855 tfs[12685]: /home/otsmanager/forgottenserver/data/scripts/talkactions/position.lua
Apr 21 01:46:44 vps234855 tfs[12685]: ...er/forgottenserver/data/scripts/talkactions/position.lua:3: attempt to index local 'talk' (a userdata value)
Apr 21 01:46:44 vps234855 tfs[12685]: stack traceback:
Apr 21 01:46:44 vps234855 tfs[12685]: [C]: in function '__newindex'
Apr 21 01:46:44 vps234855 tfs[12685]: ...er/forgottenserver/data/scripts/talkactions/position.lua:3: in main chunk
Apr 21 01:46:44 vps234855 tfs[12685]: > position.lua [error]
Apr 21 01:46:44 vps234855 tfs[12685]: ^
Apr 21 01:46:44 vps234855 tfs[12685]: >> Checking world type... PVP
Apr 21 01:46:44 vps234855 tfs[12685]: >> Loading map

Found it. But after I unregistered it, I got this error
 
Make sure it's not registered in talkactions.xml
Also make sure that 'data/lib/compat.lua' is updated aswell
Thanks for the reply! Still getting this though

Lua Script Error: [Scripts Interface]
Apr 21 05:11:14 vps234855 tfs[14705]: /home/otsmanager/forgottenserver/data/scripts/actions/spellbook.lua
Apr 21 05:11:14 vps234855 tfs[14705]: ...nager/forgottenserver/data/scripts/actions/spellbook.lua:3: attem
Apr 21 05:11:14 vps234855 tfs[14705]: stack traceback:
Apr 21 05:11:14 vps234855 tfs[14705]: [C]: in function '__newindex'
Apr 21 05:11:14 vps234855 tfs[14705]: ...nager/forgottenserver/data/scripts/actions/spellbook.lua:
Apr 21 05:11:14 vps234855 tfs[14705]: > spellbook.lua [error]
Apr 21 05:11:14 vps234855 tfs[14705]: ^
Apr 21 05:11:14 vps234855 tfs[14705]: >> ["talkactions"]
Apr 21 05:11:14 vps234855 tfs[14705]: Lua Script Error: [Scripts Interface]
Apr 21 05:11:14 vps234855 tfs[14705]: /home/otsmanager/forgottenserver/data/scripts/talkactions/position.l
Apr 21 05:11:14 vps234855 tfs[14705]: ...er/forgottenserver/data/scripts/talkactions/position.lua:1: attem
Apr 21 05:11:14 vps234855 tfs[14705]: stack traceback:
Apr 21 05:11:14 vps234855 tfs[14705]: [C]: in function '__newindex'
Apr 21 05:11:14 vps234855 tfs[14705]: ...er/forgottenserver/data/scripts/talkactions/position.lua:
Apr 21 05:11:14 vps234855 tfs[14705]: > position.lua [error]
 
Download the entire data folder and run the server with the default folder, then apply your changes to it, as it seems you are missing something
 
Back
Top