freshpro
Banned User
- Joined
- Jan 5, 2011
- Messages
- 246
- Reaction score
- 0
I can confirm the errors in the NPC library, they seem to be related to the luascript interface changes with TRUE/FALSE now being equal to true/false. I'll post a patch as soon as I have a proper fix.
EDIT: To fix the error, open data/npc/lib/npcsystem/npchandler.lua
Find function NpcHandlernWalkAway.
Replace:
with:Lua:local parseInfo = { [TAG_PLAYERNAME] = getPlayerName(cid) }
Lua:local playerName = getPlayerName(cid) if not playerName then playerName = -1 end local parseInfo = { [TAG_PLAYERNAME] = playerName }
The MySQL schema is forgottenserver.sql.
These errors can be ignored, they won't do any harm to the server, but I've fixed them for 0.2.10.
Your fix doesn't work if your using NPCs that uses the NPC chat instead of default chat window (which npcs stopped using from 8.2 i think?) I don't know if you fixed this in 0.2.10 and if you did please tell me how to fix it, this looping error that npcs makes causes extremely much lagg.