• 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!

Lua NPC Problem

Hanoger

Member
Joined
Mar 7, 2011
Messages
247
Reaction score
6
Hello to everyone, today I started changing engine on RoXoR, but I've got 2 problems I don't understand.
So, here it is:

First one:
Lua:
[23/08/2012 19:00:05] [Warning] NpcSystem:
[23/08/2012 19:00:05] SubType missing for parameter item:
[23/08/2012 19:00:05] bottle,2007,3
[23/08/2012 19:00:05] [Warning] NpcSystem:
[23/08/2012 19:00:05] SubType missing for parameter item:
[23/08/2012 19:00:05] bucket,2005,4
[23/08/2012 19:00:05] [Warning] NpcSystem:
[23/08/2012 19:00:05] SubType missing for parameter item:
[23/08/2012 19:00:05] cup,2013,2
[23/08/2012 19:00:05] [Warning] NpcSystem:
[23/08/2012 19:00:05] SubType missing for parameter item:
[23/08/2012 19:00:05] jug,2014,10
[23/08/2012 19:00:05] [Warning] NpcSystem:
[23/08/2012 19:00:05] SubType missing for parameter item:
[23/08/2012 19:00:05] mug,2012,4
[23/08/2012 19:00:05] [Warning] NpcSystem:
[23/08/2012 19:00:05] SubType missing for parameter item:
[23/08/2012 19:00:05] pot,2562,30

And the second:
Lua:
[23/08/2012 19:00:05] [Error - Npc interface] 
[23/08/2012 19:00:05] data/npc/scripts/vip loot.lua
[23/08/2012 19:00:05] Description: 
[23/08/2012 19:00:05] data/lib/050-function.lua:223: attempt to index a boolean value
[23/08/2012 19:00:05] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/vip loot.lua
 
You're missing subtypes that's why it's throwing errors.

It's hard to locate the error in the 2nd problem when there's no script to look at.
 
Solved first problem, second - the script IS here, npc was working normally on TFS 0.2.8 (8.62), now I'm changing TFS from 0.2.8 to 0.3.6 V5 so it's bugging.
 
Last edited:
Back
Top