NPC Problem

Mu online season 21 - grand opening

LoMDiGiDJ

Dedicated Member
Dedicated Member
Nov 5, 2004
178
5
94
When i run my server and click my NPC nothing comes up. Here is the code:
--------------------------------------------------------------------------------------
[@main]
#IF
check [001] 1
#ACT
goto @main1
#ELSEACT
goto @special

[@exit_1]
Sorry you have already got your items. \
Now go save us from The *! \\
<Exit/@exit>\

[@main_1]
Hi traveler, welcome to * Server. \\

<Tell me more about the server/@more> \
<I Dont Care About This Server!/@exit>\

[@more]
For hundreds of years this server has been haunted by The *. \
He has killed many of our citizens, and stole their items! \
He comes out once a month for one night to kill as many people as he can! \
He then returns to his laire and count his riches. I ask that you stay on our server and help kill this monster. \
To help you I will give you a basic kit and money to start your quest to kill The *! \\

<Ok give me my Gear!/@items> \
<Nah Im too scared, im just a big girls blouse!/@exit> \

[@items]
Tell me what gender you are. \\
<Male/@male>\
<Female/@female>\

[@male]
What is your class? \\
<Warrior/@Mwarr>\
<Taoist/@MTao>\
<Wizard/@Mwiz>\

[@female]
What is your class? \\
<Warrior/@Fwarr>\
<Taoist/@FTao>\
<Wizard/@Fwiz>\

[@Mwarr]
Give HeavyArmour(m) 1
Give SpiritHelmet 1
Give GreatAxe 1
Give ClawNecklace
Give CoralRing 2
Give DeathGauntlet 2
Give BlueJadeneck 1
Give Fencing 1
Give Slaying 1
Give Thrusting 1
Give benedictionoil
goto @End

[@Fwarr]
Give HeavyArmour(F) 1
Give SpiritHelmet 1
Give ClawNecklace
Give GreatAxe 1
Give CoralRing 2
Give DeathGauntlet 2
Give BlueJadeneck 1
Give Fencing 1
Give Slaying 1
Give Thrusting 1
Give Benedictionoil
goto @End

[@Mtao]
Give Soularmour(m) 1
Give SpiritHelmet 1
Give SerpentSword 1
Give PlatinumRing 2
Give MonkBracelet 2
Give PearlNecklace 1
Give Healing 1
Give SpiritSword 1
Give Poisoning 1
Give SoulFireBall 1
Give SummonSkele 1
Give Hiding 1
Give MassHiding 1
Give SoulSheild 1
Give BlessedArmou 1
Give BenedictionOil
goto @End

[@Ftao]
Give Soularmour(f) 1
Give SerpentSword 1
Give SpiritHelmet 1
Give PlatinumRing 2
Give MonkBracelet 2
Give PearlNecklace 1
Give Healing 1
Give SpiritSword 1
Give Poisoning 1
Give SoulFireBall 1
Give SummonSkele 1
Give Hiding 1
Give MassHiding 1
Give SoulSheild 1
Give BlessedArmou 1
Give BenedictionOil
goto @End

[@MWiz]
Give MagicRobe(m) 1
Give SpiritHelmet 1
Give MageStaff
Give RubyRing 2
Give MagicBracelet 2
Give Lifenecklace 1
Give Fireball 1
Give Repulsion 1
Give Eshock 1
Give GreatFireBal 1
Give HellFire 1
Give ThunderBolt 1
Give Teleport 1
Give FireBang 1
Give FireWall 1
Give Lightning 1
goto @End

[@FWiz]
Give MagicRobe(F) 1
Give SpiritHelmet 1
Give MageStaff
Give RubyRing 2
Give MagicBracelet 2
Give Lifenecklace 1
Give Fireball 1
Give Repulsion 1
Give Eshock 1
Give GreatFireBal 1
Give HellFire 1
Give ThunderBolt 1
Give Teleport 1
Give FireBang 1
Give FireWall 1
Give Lightning 1
goto @End

[@Special]
#IF
checkitem *Drug 1
#ACT
take *Drug 1
#SAY
You have found the drug now you i will give you a special weapon in return! \\
<Ok give me it!/@special1> \

[@special1]
give *Sword
#SAY
Here you are a nice new PhantomSword! \
Thanks for my drug. \\
<Ok goodbye/@exit>\

[@end]
Now you have your items, go out into the World of The * and \
become a powerful warrior, taoist or mage. Join a guild, make friends and \
most importantly kill The *! If you find my Special Drug that I need, \
Please bring it back to me and I shall reward you. \\
<Ok I will thanks/@Exit>\
-----------------------------------------------------------------------------------------
Is there anything wrong witrh it?
 

Babyhack

Devilsoul Owner
VIP
Feb 4, 2004
5,343
28
285
Dublin, Ireland
the script above seems ok

does your M2.exe report any errors?

do you have this in the right folder?
eg
if you have the NPC in npc_def then the link to it must be in NPC.txt

also make sure the name in the npc.txt is the same as the file name of that file above
 

LoMDiGiDJ

Dedicated Member
Dedicated Member
Nov 5, 2004
178
5
94
No errors in m2server
The names r the same
this is getting annoying lol >.<
 

Slaya

LOMCN Veteran
Veteran
Dec 11, 2004
345
0
43
Liverpool, United Kingdom
Your problem is the following: -

Code:
[@exit_1]
Sorry you have already got your items. \
Now go save us from The *! \\
<Exit/@exit>\

Your NPC has no link to that part, also you have not done

Code:
set [001] 1

Also the following: -

Code:
[@main]
#IF
check [001] 1

Should be check [001] 0

And

Code:
[@Special]
#IF
checkitem *Drug 1
#ACT
take *Drug 1
#SAY
You have found the drug now you i will give you a special weapon in return! \\
<Ok give me it!/@special1> \

You do not tell them how too get the drug??