• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

NPC NPC Conflict

Ravauvial

Member
Joined
Mar 19, 2009
Messages
186
Reaction score
8
Location
Stanwood, Washington, USA
Ok this is what I have I used a NPC Maker to make rune NPC's..OK
Now NPC's are made and put in... goto NPC type "hi" "trade" and you see nothing. The first one works perfectly see use and all.

Potion Patti

Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Patti" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
	<health now="185" max="185"/>
	<look type="149" addons="3" head="41" body="67" legs="9" feet="50" corpse="2317"/>
	<parameters>
		<parameter key="module_shop" value="1"/>
		<parameter key="message_greet" value="Welcome!"/>
		<parameter key="message_farewall" value="Bye..."/>
		<parameter key="message_walkaway" value="I will give you a poison potion next time!"/>
		<parameter key="shop_sellable" value="empty potion flask,8472,15;"/>
		<parameter key="shop_buyable" value="berserk potion,7439,175;bullseye potion,7443,175;mastermind potion,7440,175;great spirit potion,8472,175;antidote potion,8474,175;ultimate health potion,8473,175;great health potion,7591,175;strong health potion,7588,175;health potion,7618,175;great mana potion,7590,175;strong mana potion,7589,175;mana potion,7620,175;"/>
	</parameters>
</npc>

This one does not work:

Kyric's Attack Runes

Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Kyric" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
	<health now="185" max="185"/>
	<look type="130" addons="3" head="39" body="84" legs="93" feet="33" corpse="2317"/>
	<parameters>
		<parameter key="module_shop" value="1"/>
		<parameter key="message_greet" value="Welcome!"/>
		<parameter key="message_farewall" value="Bye..."/>
		<parameter key="message_walkaway" value="How rude!"/>
		<parameter key="shop_sellable" value="Blank Rune,2260,15;"/>
		<parameter key="shop_buyable" value="Poison Field,2285,150;Poison Bomb,2286,150;Poison Wall,2289,150;Fire Field,2301,150;Firebomb,2305,150;Fire Wall,2303,150;Soulfire,2308,150;Fireball,2302,150;Great Fireball,2304,1500;Energy Field,2277,150;Energybomb,2262,150;Energy Wall,2279,150;Light Magic Missile,2287,150;Heavy Magic Missile,2311,1500;Explosion,2313,150;Sudden Death,2268,150;Icicle,2271,150;Avalanche,2274,1500;Stone Shower,2288,1500;Thunderstorm,2315,1500;Stalagmite,2292,1500;Holy Missile,2295,1500;"/>
	</parameters>
</npc>

Both made with same program
 
Last edited:
This one (but you must add your mastermind potions etc.):
Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Patti" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="130" head="25" body="13" legs="45" feet="72" addons="2"/>
<parameters>
<parameter key="module_shop" value="1"/>
<parameter key="message_greet" value="Welcome |PLAYERNAME|. Write {trade} to see my offer."/>
<parameter key="shop_sellable" value="" />
<parameter key="shop_buyable" value="health potion,7618,45;mana potion,7620,50;strong health potion,7588,100;strong mana potion,7589,80;great health potion,7591,190;great mana potion,7590,120;great spirit potion,8472,190;ultimate health potion,8473,300;" />
</parameters>
</npc>
 
Add the end you see
mana potion,7620,175;"/>"
But it should be
mana potion,7620,175"/>

So the script will be:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Patti" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
	<health now="185" max="185"/>
	<look type="149" addons="3" head="41" body="67" legs="9" feet="50" corpse="2317"/>
	<parameters>
		<parameter key="module_shop" value="1"/>
		<parameter key="message_greet" value="Welcome!"/>
		<parameter key="message_farewall" value="Bye..."/>
		<parameter key="message_walkaway" value="I will give you a poison potion next time!"/>
		<parameter key="shop_sellable" value="empty potion flask,8472,15"/>
		<parameter key="shop_buyable" value="berserk potion,7439,175;bullseye potion,7443,175;mastermind potion,7440,175;great spirit potion,8472,175;antidote potion,8474,175;ultimate health potion,8473,175;great health potion,7591,175;strong health potion,7588,175;health potion,7618,175;great mana potion,7590,175;strong mana potion,7589,175;mana potion,7620,175"/>
	</parameters>
</npc>

The other one will be:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Kyric" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
	<health now="185" max="185"/>
	<look type="130" addons="3" head="39" body="84" legs="93" feet="33" corpse="2317"/>
	<parameters>
		<parameter key="module_shop" value="1"/>
		<parameter key="message_greet" value="Welcome!"/>
		<parameter key="message_farewall" value="Bye..."/>
		<parameter key="message_walkaway" value="How rude!"/>
		<parameter key="shop_sellable" value="Blank Rune,2260,15"/>
		<parameter key="shop_buyable" value="Poison Field,2285,150;Poison Bomb,2286,150;Poison Wall,2289,150;Fire Field,2301,150;Firebomb,2305,150;Fire Wall,2303,150;Soulfire,2308,150;Fireball,2302,150;Great Fireball,2304,1500;Energy Field,2277,150;Energybomb,2262,150;Energy Wall,2279,150;Light Magic Missile,2287,150;Heavy Magic Missile,2311,1500;Explosion,2313,150;Sudden Death,2268,150;Icicle,2271,150;Avalanche,2274,1500;Stone Shower,2288,1500;Thunderstorm,2315,1500;Stalagmite,2292,1500;Holy Missile,2295,1500"/>
	</parameters>
</npc>

~Sentielo
P.s. The console of The forgotten server will give you some error by the way, post it here next time (or if you still got the bug..)
 
Back
Top