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

Rune NPC Don't Work

Thunder

New Member
Joined
Jan 2, 2008
Messages
7
Reaction score
0
Any can help my i have a 8.22 Server and my rune NPC dont work more...
he have can sell in bps the runes....
....but in last time nothing go more....
and when buy alone a rune only with 1 Use (HELP ME!)

Here The Script

-- Made by Coltain13 // Coltain --
-- If you use or edit, please give credit to me --

local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

function onCreatureAppear(cid) npcHandler:eek:nCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:eek:nCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:eek:nCreatureSay(cid, type, msg) end
function onThink() npcHandler:eek:nThink() end

local shopModule = ShopModule:new()
npcHandler:addModule(shopModule)

shopModule:addBuyableItemContainer({'bp sd'}, 2003, 2268, 8000, 5, 'Backpack of sudden death')
shopModule:addBuyableItemContainer({'bp uh'}, 2002, 2273, 5000, 5, 'Backpack of ultimate healing')
shopModule:addBuyableItemContainer({'bp gfb'}, 2000, 2304, 2500, 5, 'Backpack of great fireball')
shopModule:addBuyableItemContainer({'bp hmm'}, 2001, 2311, 3000, 5, 'Backpack of heavy magic missile')
shopModule:addBuyableItemContainer({'bp exp'}, 2001, 2313, 4500, 5, 'Backpack of explosion rune')
shopModule:addBuyableItemContainer({'bp hp'}, 1998, 7618, 900, 1, 'backpack health potion')
shopModule:addBuyableItemContainer({'bp strong mp'}, 1998, 7589, 1600, 1, 'Backpack strong mana potion')
shopModule:addBuyableItemContainer({'bp great hp'}, 1998, 7591, 3800, 1, 'backpack great health potion')
shopModule:addBuyableItemContainer({'bp ultimate hp'}, 1998, 8377, 6200, 1, 'backpack ultimate health potion')
shopModule:addBuyableItemContainer({'bp mp'}, 2004, 7620, 1000, 1, 'Backpack mana potion')
shopModule:addBuyableItemContainer({'bp strong hp'}, 2004, 7588, 2000, 1, 'Backpack strong health potion')
shopModule:addBuyableItemContainer({'bp great mp'}, 2004, 7590, 2400, 1, 'Backpack great mana potion')
shopModule:addBuyableItemContainer({'bp great sp'}, 2004, 8376, 3800, 1, 'Backpack great spirit potion')


local node1 = keywordHandler:addKeyword({'runes'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell Healing, Support, Attack, Summon, and Field Runes.'})

shopModule:addBuyableItem({'blank', 'rune'}, 2260, 10, 'blank rune')

local node2 = keywordHandler:addKeyword({'healing'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can sell you Antidote, Intense Healing, and Ultimate Healing Runes.'})

shopModule:addBuyableItem({'antidote', 'antidote'}, 2266, 65, 1, 'antidote rune')
shopModule:addBuyableItem({'intense healing', 'ih'}, 2265, 95, 1, 'intense healing rune')
shopModule:addBuyableItem({'ultimate healing', 'uh'}, 2273, 175, 1, 'ultimate healing rune')

local node3 = keywordHandler:addKeyword({'support'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can sell you Chameleon, Desintegrate, Destroy Field, Magic Wall, and Paralyze Runes.'})

shopModule:addBuyableItem({'chameleon', 'chameleon'}, 2291, 210, 1, 'chameleon rune')
shopModule:addBuyableItem({'desintegrate', 'desintegrate'}, 2310, 80, 1, 'desintegrate rune')
shopModule:addBuyableItem({'destroy field', 'destroy field'}, 2261, 45, 3, 'destroy field rune')
shopModule:addBuyableItem({'magic wall', 'mw'}, 2293, 350, 1, 'magic wall rune')
shopModule:addBuyableItem({'paralyze', 'paralyze'}, 2278, 700, 1, 'paralyze rune')


local node4 = keywordHandler:addKeyword({'attack'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can sell you Avalanche, Explosion, Fireball, Great Fireball, Heavy Magic Missile, Icicle, Light Magic Missile, Soulfire, Stalagmite, Stone Shower, Sudden Death, Thunderstorm Runes.'})

shopModule:addBuyableItem({'avalanche', 'avalanche'}, 2274, 180, 1, 'avalanche rune')
shopModule:addBuyableItem({'explosion', 'explo'}, 2274, 190, 1, 'explosion rune')
shopModule:addBuyableItem({'great fireball', 'gfb'}, 2304, 180, 1, 'great fireball rune')
shopModule:addBuyableItem({'fireball', 'fb'}, 2302, 150, 1, 'fireball rune')
shopModule:addBuyableItem({'heavy magic missile', 'hmm'}, 2311, 120, 1, 'heavy magic missile rune')
shopModule:addBuyableItem({'icicle', 'icicle'}, 2271, 150, 1, 'icicle rune')
shopModule:addBuyableItem({'light magic missile', 'lmm'}, 2287, 40, 1, 'light magic missile rune')
shopModule:addBuyableItem({'soulfire', 'sf'}, 2308, 140, 1, 'soulfire rune')
shopModule:addBuyableItem({'stalagmite', 'stalagmite'}, 2292, 120, 1, 'stalagmite rune')
shopModule:addBuyableItem({'stone shower', 'ss'}, 2288, 150, 1, 'stone shower rune')
shopModule:addBuyableItem({'sudden death', 'sd'}, 2268, 325, 1, 'sudden death rune')
shopModule:addBuyableItem({'thunderstorm', 'thunderstorm'}, 2315, 150, 1, 'thunderstorm rune')

local node5 = keywordHandler:addKeyword({'summon'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can sell you Animate Dead and Convince Creature Runes.'})

shopModule:addBuyableItem({'animate dead', 'animate dead'}, 2316, 375, 1, 'animate dead rune')
shopModule:addBuyableItem({'convince creature', 'cc'}, 2302, 80, 1, 'convince creature rune')

local node6 = keywordHandler:addKeyword({'field'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can sell you Energy Bomb, Energy Wall, Fire Bomb, Fire Wall, Poison Bomb, and Poison Wall Runes.'})

shopModule:addBuyableItem({'energy bomb', 'energybomb'}, 2262, 325, 1, 'energy bomb rune')
shopModule:addBuyableItem({'energy wall', 'ew'}, 2279, 340, 1, 'energy wall rune')
shopModule:addBuyableItem({'fire bomb', 'firebomb'}, 2305, 235, 1, 'fire bomb rune')
shopModule:addBuyableItem({'fire wall', 'fw'}, 2303, 245, 1, 'fire wall rune')
shopModule:addBuyableItem({'poison bomb', 'pb'}, 2286, 170, 1, 'poison bomb rune')
shopModule:addBuyableItem({'poison wall', 'pw'}, 2289, 210, 1, 'poison wall rune')


local node7 = keywordHandler:addKeyword({'potions'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell Health, Mana, Strong Health, Strong Mana, Great Health, Great Mana, Ultimate Health, and Great Spirit Potions.'})

shopModule:addBuyableItem({'great spirit potion', 'gsp'}, 8376, 190, 1, 'great spirit potion')
shopModule:addBuyableItem({'ultimate health potion', 'uhp'}, 8377, 310, 1, 'ultimate health potion')
shopModule:addBuyableItem({'great mana potion', 'gmp'}, 7590, 120, 1, 'great mana potion')
shopModule:addBuyableItem({'great health potion', 'ghp'}, 7591, 190, 1, 'great health potion')
shopModule:addBuyableItem({'strong health potion', 'shp'}, 7588, 100, 1, 'strong health potion')
shopModule:addBuyableItem({'strong mana potion', 'smp'}, 7589, 80, 1, 'strong mana potion')
shopModule:addBuyableItem({'health potion', 'hp'}, 7618, 45, 1, 'health potion')
shopModule:addBuyableItem({'mana potion', 'mp'}, 7620, 50, 1, 'mana potion')

local node8 = keywordHandler:addKeyword({'wands'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell Wand of Vortex, Wand of Dragonbreath, Wand of Decay, Wand of Draconia, Wand of Cosmic Energy, Wand of Voodoo, Wand of Starstorm and Wand of Inferno.'})

shopModule:addBuyableItem({'wand of vortex', 'wov'}, 2190, 100, 'wand of vortex')
shopModule:addBuyableItem({'wand of dragonbreath', 'wodb'}, 2191, 1000, 'wand of dragonbreath')
shopModule:addBuyableItem({'wand of decay', 'wod'}, 2188, 5000, 'wand of decay')
shopModule:addBuyableItem({'wand of cosmic energy', 'woce'}, 2189, 10000, 'wand of cosmic energy')
shopModule:addBuyableItem({'wand of inferno', 'woi'}, 2187, 15000, 'wand of inferno')
shopModule:addBuyableItem({'wand of voodoo', 'voodoo'}, 8922, 22000, 'wand of voodoo')
shopModule:addBuyableItem({'wand of draconia', 'plague'}, 8921, 7500, 'wand of draconia')
shopModule:addBuyableItem({'wand of starstorm', 'starstorm'}, 8920, 18000, 'wand of starstorm')

local node10 = keywordHandler:addKeyword({'rods'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell Snakebite Rod, Moonlight Rod, Necrotic Rod, Northwind Rod, Terra Rod, Springsprout Rod, Underworld Rod and Hailstorm Rod.'})

shopModule:addBuyableItem({'northwind rod', 'northwind'}, 8911, 7500, 'northwind rod')
shopModule:addBuyableItem({'underworld rod', 'underworld'}, 8910, 22000, 'underworld rod')
shopModule:addBuyableItem({'hailstorm rod', 'hailstorm rod'}, 2183, 15000, 'hailstorm rod')
shopModule:addBuyableItem({'terra rod', 'terra'}, 2181, 10000, 'terra rod')
shopModule:addBuyableItem({'snakebite rod', 'snakebite'}, 2182, 500, 'snakebite rod')
shopModule:addBuyableItem({'necrotic rod', 'necrotic'}, 2185, 5000, 'necrotic rod')
shopModule:addBuyableItem({'moonlight rod', 'moonlight'}, 2186, 1000, 'moonlight rod')
shopModule:addBuyableItem({'springsprout rod', 'springsprout'}, 8912, 18000, 'springsprout rod')


npcHandler:addModule(FocusModule:new())

When i delte this
shopModule:addBuyableItemContainer({'bp sd'}, 2003, 2268, 8000, 5, 'Backpack of sudden death')
shopModule:addBuyableItemContainer({'bp uh'}, 2002, 2273, 5000, 5, 'Backpack of ultimate healing')
shopModule:addBuyableItemContainer({'bp gfb'}, 2000, 2304, 2500, 5, 'Backpack of great fireball')
shopModule:addBuyableItemContainer({'bp hmm'}, 2001, 2311, 3000, 5, 'Backpack of heavy magic missile')
shopModule:addBuyableItemContainer({'bp exp'}, 2001, 2313, 4500, 5, 'Backpack of explosion rune')
shopModule:addBuyableItemContainer({'bp hp'}, 1998, 7618, 900, 1, 'backpack health potion')
shopModule:addBuyableItemContainer({'bp strong mp'}, 1998, 7589, 1600, 1, 'Backpack strong mana potion')
shopModule:addBuyableItemContainer({'bp great hp'}, 1998, 7591, 3800, 1, 'backpack great health potion')
shopModule:addBuyableItemContainer({'bp ultimate hp'}, 1998, 8377, 6200, 1, 'backpack ultimate health potion')
shopModule:addBuyableItemContainer({'bp mp'}, 2004, 7620, 1000, 1, 'Backpack mana potion')
shopModule:addBuyableItemContainer({'bp strong hp'}, 2004, 7588, 2000, 1, 'Backpack strong health potion')
shopModule:addBuyableItemContainer({'bp great mp'}, 2004, 7590, 2400, 1, 'Backpack great mana potion')
shopModule:addBuyableItemContainer({'bp great sp'}, 2004, 8376, 3800, 1, 'Backpack great spirit potion')

Then he sell me the 1xUse Runes....

PLEASE HELP :(
 
You have to change the amount of charges on the rune. I dont really understand what your saying though. Are you wanting him to sell bp of runes or not?
 
Back
Top