Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Requesting Non-Player Characters Legend of Mir 2 

Custom Title Activated
Loyal Member
Joined
Nov 19, 2003
Messages
1,174
Reaction score
0
It all depends on what your server has - you would use different items for each person..... I can post a prototype for you :)

[@main]
#IF
checknamelist gotkit.txt
#ACT
break
close
#ELSEACT
goto @checkgender

[@checkgender]
#IF
gender man
#ACT
goto @male
#ELSEACT
goto @female

[@male]
#IF
checkjob wizard
#ACT
goto @mwiz
break

#IF
checkjob taoist
#ACT
goto @mtao
break

#IF
checkjob warrior
#ACT
goto @mwar
break

#ELSESAY
You do not appear to be alive...\\

<Strange.../@exit>





[@female]
#IF
checkjob wizard
#ACT
goto @fwiz
break

#IF
checkjob taoist
#ACT
goto @ftao
break

#IF
checkjob warrior
#ACT
goto @fwar
break

#ELSESAY
You do not appear to be alive...\\

<Strange.../@exit>




[@mwar]
#IF
#ACT
addnamelist gotkit.txt
give ITEM 1
give ITEM 1
give ITEM 1
break
close

[@fwar]
#IF
#ACT
addnamelist gotkit.txt
give ITEM 1
give ITEM 1
give ITEM 1
break
close



;-------- now do this for every class / gender ---------
 
Master Summoner
Joined
Aug 9, 2004
Messages
588
Reaction score
1
Easy =/

Cant seem too figer it out =/

I need the NCP too do the following things

1. Say: Hi USERNAME have you come too do the quest for the QuestArmour or show off your WEAPON ?

BUTTON: Show off my weapon(EXIT)
BUTTON: Do the quest thanks(NEXT PAGE)

2. Say: You will need the following items:

A Jaw Bottle
2 Green Leaves
3 Yellow Leaves
10 Quality 5/10 Meats
20 Quality 5/5 Chickens
2 Gold Bars

BUTTON: I have these and I wish too use them !(NEXT PAGE)(IF NOT EXITS)
BUTTON: I don't have these and I am going too find them !(EXITS)

3. Takes: Needed items.

Say: Well done young CLASS you have finished the quest ! Now pick your sex and be off with your self.

BUTTON: I am male and wish too take this armour.(Gives QuestArmourM)
BUTTON: I am female and wish too take this armour.(Gives QuestArmourF)

-----------------------------------

I hope somone can help :-( Please either PM me or post here :-(
 
Custom Title Activated
Loyal Member
Joined
Nov 19, 2003
Messages
1,174
Reaction score
0
[@main]
#IF
checknamelist armourquest.txt
#ACT
goto @checkitems
#ELSESAY
Hi <$USERNAME> have you come to do the quest\
for the QuestArmour... or just show off your\
<$USERWEAPON>?\\

<Show off my weapon/@exit>
<Do this quest man!/@quest1>


[@quest1]
#IF
#SAY
This quest will not be easy..... You must bring to me:\\

JawBottle\
GreenLeaf x 2\
YellowLeaf x 3\
Quality 5/10 Meat x 10\
Quality 5/4 Chicken x 20\
GoldBar x 2\\

<OK, I'm going to find them!/@quest2>


[@quest2]
#IF
#SAY
Good luck! Be quick!\\

<OK/@exit>
#ACT
addnamelist armourquest.txt


[@checkitems]
#IF
checknamelist donearmourquest.txt
#SAY
Sorry, you can only get it once!\\

<OK, fine!/@exit>
#ELSEACT
goto @checkitems2

[@checkitems2]
#IF
checkitem JawBottle 1
checkitem YellowLeaf 3
checkitem Meat 10
checkdura Meat 5
checkitem Chicken 20
checkdura Chicken 5
checkitem Goldbar 2
#ACT
addnamelist donearmourquest.txt
take JawBottle 1
take YellowLeaf 3
take Meat 10
take Chicken 20
take Goldbar 2
goto @checkgender

[@checkgender]
#IF
gender man
#ACT
goto @male
#ELSEACT
goto @female

[@male]
#IF
#ACT
give QuestArmour(M) 1
break
close

[@female]
#IF
#ACT
give QuestArmour(F) 1
break
close


;i hope this works i haven't tested it yet
 
Initiate Mage
Joined
Jun 29, 2004
Messages
2
Reaction score
0
i need the following if you would be so kind to help...

mobs lair
storage
take back/exchange

thank you in advance
 
Custom Title Activated
Loyal Member
Joined
Nov 19, 2003
Messages
1,174
Reaction score
0
Swordfish said:
i need the following if you would be so kind to help...

mobs lair
storage
take back/exchange

thank you in advance


what do you mean? There is already a storage...... tack back / exchange is already there...... and mobs lair?
 
Initiate Mage
Joined
Jun 29, 2004
Messages
2
Reaction score
0
i couldn't tell you, i was just posting upon request of a friend, its his server and hes in work so i thought i'd help him out, i'll try getting more information
 
Newbie Spellweaver
Joined
Jun 18, 2003
Messages
24
Reaction score
0
Rebirth NPC
---------------




[@main]
#IF
checkpkpoint 2
#ACT
goto @b_1
#ELSEACT
goto @main-1

[@b_1]
#say
duck off you evil pker!\
break

[@main-1]
#if
checklevel 70
checkgold 10000000
#act
goto @rebirth
#elseact
goto @b_2

[@b_2]
#say
Hey mate your still less than lvl 70\
Or you dont have 10million Gold\
Come back to be rebirthed when you have both!\
<ok thanks/@exit>

[@rebirth]
#say
Hey mate feeling tried with those crap items?\
Here get a chance! I can change your life!!!\
<Really?/@really>\
<No thanks/@exit>\\

[@really]
#say
Sure I will change your life! After you rebirth\
You will keep all your stats and your level decreased\
back to level 1, dont be so sad though Cause you can
wear some item only after you rebirth\
And you will see a <>. and light blue color on your name\
<OK I wanna rebirth/@yes>\
<No thanks/@exit>\\

[@yes]
#act
take gold 10000000
marry data
#say
Hey you just rebirth enjoy your new life\\
break
 
Newbie Spellweaver
Joined
Jun 18, 2003
Messages
24
Reaction score
0
JobChanger NPC
---------------------

[@main]
Are you bored with FlamingSword and HalfMoon? \
IceStorm and TurnUndead?\
Or Shinsu and SoulFireBall?\
So that is what you can do right now!\
<Change Job/@readme> <I still like my skill/@exit>\\

[@readme]
1: After You Change job <you will lose 3 lvls>,\
<All Your Skill will be removed>\
2: You must be lvl 50+ and you must have 2 GoldChest\
Ok Take your time to make up your mind\
<OK I will change/@zhzy> <No Thanks/@exit>\\

[@zhzy]
#if
checklevel 50
#say
Warning: Your Skills will all be removed!\
Do you still want to change?\
<Sure I want to/@zhzy-3> <No Thanks/@exit>\\
#elsesay
First please go lvl up to 50.\
<OK Wait for me/@exit>\\

[@zhzy-3]
#if
checkitem GoldChest 2
#act
freepk FireBall
freepk Healing
freepk Fencing
freepk SpiritSword
freepk GreatFBall
freepk Poisoning
freepk Slaying
freepk Repulsion
freepk HellFire
freepk Lightning
freepk ThunderBolt
freepk Thrusting
freepk SoulFireBall
freepk SoulShield
freepk BlessedArmou
freepk TrapHexagon
freepk SummonSkele
freepk Hiding
freepk MassHiding
freepk Elecshock
freepk Teleport
freepk FireWall
freepk FireBang
freepk ThunderStorm
freepk HalfMoon
freepk FlamingSword
freepk ShoulderDash
freepk Revelation
freepk MassHealing
freepk SummonShinsu
freepk MagicShield
freepk TurnUndead
freepk IceStorm
freepk warrev
freepk warshield
freepk wizrev
freepk wizthrust
freepk taoflame
freepk taoshield
take GoldChest 2

#say
Please Select which job you want to be: \
<Warrior/@warr> <Wizard/@wizard> <Taoist/@taos>\\
#elsesay
Damn duck off want to play cheat with me?\
<Sorry/@exit>\\

[@warr]
#if
checklevel 50
#act
freepk warr
#say
Now You become a Warrior!!\
<Exit/@exit>\\
#elsesay
Damn duck off want to play cheat with me?\
<Sorry/@exit>\\

[@wizard]
#if
checklevel 50
#act
freepk wizard
#say
Now You become a Wizard!!\
<Exit/@exit>\\
#elsesay
Damn duck off want to play cheat with me?\
<Sorry/@exit>\\

[@taos]
#if
checklevel 50
#act
freepk taos
#say
Now You become a Taoist!!\
<Exit/@exit>\\
#elsesay
Damn duck off want to play cheat with me?\
<Sorry/@exit>\\
______________________________________________________________________

Dont forget to add any additional spells to the list that need to be removed when the job is changed.
 
Newbie Spellweaver
Joined
Jun 18, 2003
Messages
24
Reaction score
0
Simple Storage NPC
-------------------------

[@main]
Hello <$USERNAME>..Welcome to your personal storage! \ \
<Store/@storage> item\
<Take back/@getback> item\
<Exit/@Exit>\
<>

[@storage]
What item do you want to store ?\ \ \
<Back/@main>

[@getback]
Please choose from the list what you want to take back. \ \ \
<Back/@main>
 
Newbie Spellweaver
Joined
Jun 12, 2003
Messages
12
Reaction score
0
OK guys i need uber help i need an npc that when you take 5 mobs to it and talk to it a flag is set so that u have the abbility to buy an item or mob etc


:3dflagsdo ty in advance
 
Newbie Spellweaver
Joined
Jun 18, 2003
Messages
24
Reaction score
0
havent been around for a while, but this is the general idea.........

NPC1
------

[@main]
#IF
checkmarry 5
#ACT
set [101] 1
#SAY
Now go see NPC2
#ELSESAY
you need 5 pets before i will mark your soul.



NPC2

[@main]
#IF
check [101] 1
#SAY
Which item would you like to buy?\ \

<item1/@item1> <item2/@item2> <item3/@item3>
#ELSESAY
Sorry your soul isnt marked.

[@item1]
#IF
checkgold 1000
#ACT
take gold 1000
give item1 1
#ELSESAY
You dont have 1k

[@item2]
#IF
checkgold 1000
#ACT
take gold 1000
give item2 1
#ELSESAY
You dont have 1k

[@item3]
#IF
checkgold 1000
#ACT
take gold 1000
give item3 1
#ELSESAY
You dont have 1k

___________________________________________________

Thats a very basic script, if you PM me with exactly what you want the script to say/do then ill make it up for you.
 
Initiate Mage
Joined
Jul 29, 2004
Messages
2
Reaction score
0
Can someone help me to make 1 npc that sell everthing and can store items?
 
Custom Title Activated
Loyal Member
Joined
Nov 19, 2003
Messages
1,174
Reaction score
0
ok, so for this you will need to make sure that it is a MERCHANT (so merchant.txt, and market_def folder)

;Created by Mario_Party
%100
+1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45

[@main]
#IF
#SAY
Hello there <$USERNAME>, what would you like to do?\\

<Buy/@buy>\
<Sell/@sell>\
<Repair/@repair>\
<Special Repair/@s_repair>\
<Store/@store>\
<Take back/@getback>\
<Leave/@exit>

[@buy]
#IF
#SAY
Please choose what you need...\\\


<Back/@main>

[@sell]
#IF
#SAY
Please give me items, I will give you gold!\\\

<Back/@main>

[@repair]
#IF
#SAY
I can repair items for you, to a good standard, not perfect\\\


<Back/@main>

[~@repair]
#IF
#SAY
Your item has been repaired well.\\\


<Continue/@main>

[@store]
#IF
#SAY
Please give me items, and I will keep them for you.\\\


<Back/@main>

[@getback]
#IF
#SAY
Please take what you own, and only what you own!\\\

<Back/@main>

[goods]
;put items here :)
 
Back
Top