Npc

Mu online season 21 - grand opening

Detritus

Golden Oldie
Golden Oldie
Dec 11, 2003
671
0
102
My SZ is looking really boring so i wanted to make a market/npc to sell rares at a mega high price. Any ideas how to make a new npc to sell just rares?
 

Blaminator

VIP
Golden Oldie
Loyal Member
Jul 11, 2003
2,731
0
173
London
%100
+5
+6
+10
+11
+15
+19
+20
+21
+22
+23
+24
+26
[@main]
Welcome to my RareShop. Would you like to buy rares?\\

<Yes/@buy>\
<No/@exit>

[goods]
;put items you want to sell here.
 

logic3

Dedicated Member
Dedicated Member
Nov 17, 2003
88
0
33
whats all this for?

%100
+5
+6
+10
+11
+15
+19
+20
+21
+22
+23
+24
+26
 

Miles

LOMCN VIP
VIP
Mar 27, 2003
1,195
0
213
logic3 said:
whats all this for?

%100
+5
+6
+10
+11
+15
+19
+20
+21
+22
+23
+24
+26

The 100% means that you buy things at that "full price" so 200% is for pkers which is 2x the price. The numbers mean that you can sell those things eg +5 is weapons etc. You can use Solitudes npc program (see application forum) to add these aswell.

/Miles
 

Detritus

Golden Oldie
Golden Oldie
Dec 11, 2003
671
0
102
Ty m8 aint tested yet but ne idea where the prices of the items go (is it the 1 in the stditems.db?)
 

Wittin

Ex-Δdministrator
VIP
May 7, 2003
1,341
1
244
295
%100
+5
+6
+10
+11
+15
+19
+20
+21
+22
+23
+24
+26

It would be wiser to change the '%100' rather than the prices in the DB - because then they will cost loads to reapair from ANY npc, maybe give them 10x the price :

%1000
+5
+6
+10
+11
+15
+19
+20
+21
+22
+23
+24
+26

or something like that.

And yes, the items are kept in stditems.db

-Wittin
 

Lothomadric

LOMCN Veteran
Veteran
Loyal Member
Dec 19, 2003
278
0
92
Bichon-Wall, With Bob the Chef
Miles said:
The 100% means that you buy things at that "full price" so 200% is for pkers which is 2x the price. The numbers mean that you can sell those things eg +5 is weapons etc. You can use Solitudes npc program (see application forum) to add these aswell.

/Miles

Ty m8y, i didn't know what this means as well :)
 

Detritus

Golden Oldie
Golden Oldie
Dec 11, 2003
671
0
102
No luck :/ i did the npc script like u said, but when i click on buy, the section is empty. How cum?
 

logic3

Dedicated Member
Dedicated Member
Nov 17, 2003
88
0
33
Miles said:
The 100% means that you buy things at that "full price" so 200% is for pkers which is 2x the price. The numbers mean that you can sell those things eg +5 is weapons etc. You can use Solitudes npc program (see application forum) to add these aswell.

/Miles

Cheers m8, made alot of things clearer now :D
 

logic3

Dedicated Member
Dedicated Member
Nov 17, 2003
88
0
33
Detritus said:
No luck :/ i did the npc script like u said, but when i click on buy, the section is empty. How cum?

At the bottom of the script u need to add a list of all the thing u want to be in that shop - eg

[goods]
Townteleport 100 1
Amulet 100 1

Get the jist? :P
 

Miles

LOMCN VIP
VIP
Mar 27, 2003
1,195
0
213
Townteleport 100 1 means that 100 townteleports will be able to be bought every 1 time slot (I think its a minute but it could be an hour carn't remember atm)

/Miles
 

Toxick

Golden Oldie
Golden Oldie
Apr 17, 2003
1,397
0
173
it is a hour....so u could have an item being made on your server once ever 12 hours eg

SUPERRARE 1 12