Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- Error with npc system. ShopModule.onBuy
- This is the error msg that comes in console.
- Code:
- [Warning - Markwin] NpcSystem:
- ShopModule.onBuy - Item not found on shopItems list
- I find this error msg confusing, since the npc doesn't sell anything as you can see from these scripts.
- Lua Code:
- <?xml version="1.0" encoding="UTF-8"?>
- <npc name="Markwin" script="data/npc/scripts/Markwin.lua" walkinterval="2000" floorchange="0">
- <health now="100" max="100"/>
- <look type="23" head="0" body="0" legs="0" feet="0" addons="0"/>
- </npc>
- Lua Code:
- local keywordHandler = KeywordHandler:new()
- local npcHandler = NpcHandler:new(keywordHandler)
- NpcSystem.parseParameters(npcHandler)
- function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
- function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
- function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
- function onThink() npcHandler:onThink() end
- npcHandler:addModule(FocusModule:new())
- I use TFS 04, Rev 3884
- Does anyone have a clue as to what this might be? The console is spammed with different npc who have these errors, and none of the sells anything.
- Posted this here since someone just made me aware that it's forbidden in the regular support forum to ask for TFS 04 support =)
- * Like
- Quick reply to this message Reply Reply With Quote Reply With Quote Multi-Quote This Message
- #
- 5th July 2011 13:49 #2
- Siramix
- * View Profile
- * View Forum Posts
- * Private Message
- * View Blog Entries
- * View Articles
- * Add as Contact
- * Send Email
- мммммммм.... Siramix's Avatar
- Join Date
- Jan 2010
- Location
- Europe
- Posts
- 2,131
- Blog Entries
- 4
- Reputation
- Siramix has disabled reputation
- Status
- Siramix is offline
- Send a message via MSN to Siramix Send a message via Skype™ to Siramix
- As I said in the regular support board, you will have to change NPC lib folder with another one that fits thunderion datapack. Find it in the thunderion release thread
- * Like
- 'Botters are not players...' a quote by a Tibian player.
- Siramix's Mapping School - VISIT AND LEARN!
- Quick reply to this message Reply Reply With Quote Reply With Quote Multi-Quote This Message
- #
- 5th July 2011 15:41 #3
- Kyran
- * View Profile
- * View Forum Posts
- * Private Message
- * View Blog Entries
- * View Articles
- * Add as Contact
- Premium User
- Join Date
- Jan 2009
- Posts
- 43
- Reputation
- Kyran is on a distinguished road
- Status
- Kyran is offline
- Thank you. I'll try that
- * Like
- Quick reply to this message Reply Reply With Quote Reply With Quote Multi-Quote This Message
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement