refining npc help

smoochy boys on tour

dongargon

Dedicated Member
Dedicated Member
Apr 16, 2003
20
0
97
any1 kno where i can get the code to make a refining npc cos i can seem to find it on MSRF2.9b server files, any help will be grateful thank you





:bannana:
 

soulstealer

Dedicated Member
Dedicated Member
Apr 23, 2003
32
0
102
Up North
name your npc to like srepair or whatever you want.make sure your text document has same name.so say you named it srepair ok.on text document it would look like this srepair-0.
the 0 is the map number.


;Special Repair
%100
+5
+6

[@main]
#IF
checkpkpoint 2
#SAY
{NPCIMG/0}
Sorry but i do not deal with\
an evil person like you.. \ \
<Exit/@exit>
#ELSEACT
goto @main_1

[@main_1]
{NPCIMG/0}
Glad to see you,\
how can i help you ?\ \
<Special repair/@s_repair> weapon\
<Cancel/@exit>

[~@repair]
Your weapon seems to be repaired fine.\ \
<Exit/@Exit>
 
Upvote 0

NewBlood

Natural Selection
Golden Oldie
Apr 22, 2003
671
3
175
Manchester
soulstealer said:
name your npc to like srepair or whatever you want.make sure your text document has same name.so say you named it srepair ok.on text document it would look like this srepair-0.
the 0 is the map number.


;Special Repair
%100
+5
+6

[@main]
#IF
checkpkpoint 2
#SAY
{NPCIMG/0}
Sorry but i do not deal with\
an evil person like you.. \ \
<Exit/@exit>
#ELSEACT
goto @main_1

[@main_1]
{NPCIMG/0}
Glad to see you,\
how can i help you ?\ \
<Special repair/@s_repair> weapon\
<Cancel/@exit>

[~@repair]
Your weapon seems to be repaired fine.\ \
<Exit/@Exit>

Read the post before you reply ffs hes asked for a REFINING Npc not a repair one


n i wouldnt know to be sure but try taking refiner from mir2 and just add that o_O might work dunno.
 
Upvote 0

Hawky

Dedicated Member
Dedicated Member
May 12, 2003
185
0
112
Here ya go.... try this one :)

;Settings
%100
+5
+6



[@main]
Welcome to my shop <$USERNAME>\
My work is so skilled that even members of\
<$OWNERGUILD> cannot be offered a discount.\
It hurts my Pride!!!\
<Upgrade Weapon/@upgrade>\
<Special repair/@s_repair>\
<Get Back Upgraded Weapon/@getbackupgnow>\
<Exit/@exit>\
<>

[@upgrade]
I can upgrade Weapons for you for a small fee of <$UPGRADEWEAPONFEE>.\
To make an Upgrade you need <BlackOre/@Biron>, <Jewelery/@Etc>,
<Weapon/@Weapon>, and <Gold/@Gold>\
Do you have these ready for me?\
<Confirm Upgrade/@confirmupgrade>\
<Cancel Upgrade/@main>\

[@Biron]
BlackOre is a strong metal used for making weapons.\
BlackOre can be obtained from the mines the higher \
the purity, the better chance of a good upgrade\
My eyesight is poor, so i will take all BlackOre \
that is in your Bag \
<Back/@upgrade>

[@Etc]
Jewelery is items such as Necklaces, Bracelets and \
Rings. The higher level needed to wear, the better\
the chance of the refine working. My eyesight is not \
very good, so i will take all jewelery from your bag \
<Back/@upgrade>

[@Weapon]
The weapon i will use is the weapon that is in your hand at \
the time of the request.\
<Back/@upgrade>

[@Gold]
I can't upgrade your weapon for free. As my work is of\
such a high standard i charge <$UPGRADEWEAPONFEE> per\
upgrade.\
<Back/@upgrade>

[@confirmupgrade]
I will take your <$USERWEAPON> from you to refine.\
My eysight isn't very good so I will take \
all the BlackOre and Jewelery in your bag.\
If you do have items you do not want included you\
must store them now\
<Upgrade Now/@upgradenow>\
<Cancel Upgrade/@main>\


[~@upgradenow_ok]
It was a hard job but i think i have done a good job\
<Get back weapon now/@getbackupgnow>\
<Collect weapon later/@main>

[~@upgradenow_ing]
I am already working on an item\
Come back later...\
<Back/@main>\

[~@upgradenow_fail]
Hey <$USERNAME>. Are you trying to confuse me?\
You are missing one or more of the vital ingredients\
Check you are wearing a weapon, have the BlackOre, Jewelery\
and most importantly the money.\
Then try again\
<Back/@main>\

[~@getbackupgnow_ok]
Here is your weapon.\
I have done my best.\
You need to try the weapon to see if the upgrade was successful\
<More Information/@Success>\
<Exit/@exit>\

[@Success]
I can't guarrantee successfull refining each and every time.\
You Will need to check Your self to see if it worked.\
<Exit/@exit>\

[~@getbackupgnow_ing]
The upgrade is not finished yet, come back later!\
<Main/@main>\

[~@getbackupgnow_fail]
If You gave me a weapon long ago, you can forget about it now!\
You should have come back sooner!\
<Main/@main>\
 
Upvote 0

soulstealer

Dedicated Member
Dedicated Member
Apr 23, 2003
32
0
102
Up North
ffs newblood my bad ok.btw my npc does both and i didnt copy it all on accident.been up all night working on my server so SORRY ffs.


btw people do make mistakes on accident and well next time ill copy my whole script.


oyea and thankyou hawky for putting up the right 1 instead of insulting a person.
 
Last edited:
Upvote 0