• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

TFS 0.3.6 > TFS 0.4 problems

vexler222

Active Member
Joined
Apr 22, 2012
Messages
714
Solutions
15
Reaction score
47
i have problem with tfs 0.4. i transfer my datapack to tfs 0.4 from 0.3.6 and now i have errors in console

1.
Code:
[16:25:16.292] [Warning - Items::loadFromXml] No itemid found
[16:25:16.295] [Warning - Items::loadFromXml] No itemid found
[16:25:16.298] [Warning - Items::loadFromXml] No itemid found
[16:25:16.304] [Warning - Items::loadFromXml] No itemid found
[16:25:16.308] [Warning - Items::loadFromXml] No itemid found
[16:25:16.371] [Warning - Items::loadFromXml] No itemid found
[16:25:16.389] [Warning - Items::loadFromXml] Unknown slotType shield

2.
Code:
[16:25:18.144] [Warning - ConjureSpell::loadFunction] Function "conjureFood" does not exist.

3.
Code:
[16:25:34.570] [Error - LuaInterface::loadFile] cannot open data/npc/lib/npcsystem/main.lua: No such file or directory

4.
Code:
[16:25:48.277] [Error - GlobalEvent Interface]
[16:25:48.280] data/globalevents/scripts/zombie/onstartup.lua:onStartup
[16:25:48.284] Description:
[16:25:48.317] data/globalevents/scripts/zombie/onstartup.lua:2: attempt to call field 'executeQuery' (a nil value)
[16:25:48.325] stack traceback:
[16:25:48.327]  data/globalevents/scripts/zombie/onstartup.lua:2: in function <data/globalevents/scripts/zombie/onstartup.lua:1>

[16:25:48.343] [Error - GlobalEvent Interface]
[16:25:48.351] data/globalevents/scripts/start.lua:onStartup
[16:25:48.360] Description:
[16:25:48.364] data/globalevents/scripts/start.lua:2: attempt to call field 'executeQuery' (a nil value)
[16:25:48.376] stack traceback:
[16:25:48.380]  data/globalevents/scripts/start.lua:2: in function <data/globalevents/scripts/start.lua:1>
 
Solution
Thanks, it work!
Point 4 repaired, now i need help with 1/2/3 :)

ref

Okay let's try to make some sence out of this;

"No itemid found" -> is a registerd item without an id, have you added some items recently? Or did you replace the items.xml file?

"Unknown slotType" -> Name is either changed or it dosn't exist, since you only have 1 error try to serach for demon shield and see if that has another attribute.

"Function "conjureFood" does not exist" -> Scripts like this was moved from Lua to C++ and back each major version ... no reason why, you are trying to load a script from the sources when it should be made in Lua, find a 0.3.6 datapack and copy over conjureFood.lua and change the path in spells.xml.

"No such file or...
not sure about the first 3 but the 4th just put
LUA:
db.executeQuery = db.query
in compat file (its inside your lib folder)

Thanks, it work!
Point 4 repaired, now i need help with 1/2/3 :)

ref
 
Last edited by a moderator:
Thanks, it work!
Point 4 repaired, now i need help with 1/2/3 :)

ref

Okay let's try to make some sence out of this;

"No itemid found" -> is a registerd item without an id, have you added some items recently? Or did you replace the items.xml file?

"Unknown slotType" -> Name is either changed or it dosn't exist, since you only have 1 error try to serach for demon shield and see if that has another attribute.

"Function "conjureFood" does not exist" -> Scripts like this was moved from Lua to C++ and back each major version ... no reason why, you are trying to load a script from the sources when it should be made in Lua, find a 0.3.6 datapack and copy over conjureFood.lua and change the path in spells.xml.

"No such file or directory" -> Missing file, once again copy main.lua from another datapack.

"db.executeQuery" -> Function name is diffrent, as written above either create a compat function or replace them with db.query()
 
Solution
Back
Top