[Help]Buy any item NPC

01/07/2009 22:05 Beta Limit#1
Im trying to make an NPC that will allow players to buy ANY item they choose with the bless, quality, plus etc. that they choose.

I hope to do it by linking the NPC to a list of items in my source.

The npc would ask for item name
Then the quality
Then the bless
Then the plus
Then the enchant
Then the first gem/socket
Then the second gem/socket
Then finally it will give the player a price for the item (calculated by the features they choose the item to have)

if anyone can help me with this in some way i would be very grateful.

Thanks

Beta.
01/07/2009 22:06 damianpesta#2
Quote:
Originally Posted by Beta Limit View Post
Im trying to make an NPC that will allow players to buy ANY item they choose with the bless, quality, plus etc. that they choose.

I hope to do it by linking the NPC to a list of items in my source.

The npc would ask for item name
Then the quality
Then the bless
Then the plus
Then the enchant
Then the first gem/socket
Then the second gem/socket
Then finally it will give the player a price for the item (calculated by the features they choose the item to have)

if anyone can help me with this in some way i would be very grateful.

Thanks

Beta.


A lot of trouble .... And it would have to Generate Price for it as well... Hmm Isnt it easier to make npc that Sells Supers? ....
01/07/2009 22:08 Beta Limit#3
it is easier (and i have done that) but i want my server to have a larger selection
01/07/2009 22:33 damianpesta#4
Quote:
Originally Posted by Beta Limit View Post
it is easier (and i have done that) but i want my server to have a larger selection
isnt it easier To make an command that will generate item eg +7 one For Required Price? ... Its way easier one 2 do
01/07/2009 22:38 Beta Limit#5
Quote:
Originally Posted by damianpesta View Post
isnt it easier To make an command that will generate item eg +7 one For Required Price? ... Its way easier one 2 do
It would but i want an npc lol - if you can help me please do
01/07/2009 22:40 damianpesta#6
Quote:
Originally Posted by Beta Limit View Post
It would but i want an npc lol - if you can help me please do
Command Would Be Way Easier to make ,
Prolly Would save you a lot of your time
You can do it on your own.
NPC Is pointless isnt it? Just make an command 4 it ...
01/07/2009 22:45 Beta Limit#7
Quote:
Originally Posted by damianpesta View Post
Command Would Be Way Easier to make ,
Prolly Would save you a lot of your time
You can do it on your own.
NPC Is pointless isnt it? Just make an command 4 it ...
Ok dude i want to make a pvp server where u kill and get money/cps and with those cps/money.

I dont want players to have to use commands to get items
01/08/2009 00:15 kinshi88#8
Add me on msn, I'll help you out.

[Only registered and activated users can see links. Click Here To Register...]
01/08/2009 17:01 Beta Limit#9
Quote:
Originally Posted by kinshi88 View Post
Add me on msn, I'll help you out.

[Only registered and activated users can see links. Click Here To Register...]

Added - now i just wait for ya to come on msn :P
01/10/2009 05:22 J2Fresh#10
How 2 make a npc sell supers cuz when i do it it opens a shop with nothin in it...
01/10/2009 07:58 TruthCo#11
well just go to your shop.dat file in your debug folder, and the type of npc for shop i think is 1 because i edited the shop 25 ( which is VIPshop ) thats the shoppingmall button and it works now with pro stuff,

so just go there add the item you want to add in there then go to your database and place the price ( and you should just change a shop id from one thing if you want to do it idk how to make it look like shop thing if you go to /scroll pc and go up a bit to vipshopkeeper idont know what number she is but she is like 300 or 2888, and just make one of those changed and u can put super stuff in it to work. if you need help tell me sorry if i didnt explain well
01/10/2009 12:49 Beta Limit#12
Quote:
Originally Posted by TruthCo View Post
well just go to your shop.dat file in your debug folder, and the type of npc for shop i think is 1 because i edited the shop 25 ( which is VIPshop ) thats the shoppingmall button and it works now with pro stuff,

so just go there add the item you want to add in there then go to your database and place the price ( and you should just change a shop id from one thing if you want to do it idk how to make it look like shop thing if you go to /scroll pc and go up a bit to vipshopkeeper idont know what number she is but she is like 300 or 2888, and just make one of those changed and u can put super stuff in it to work. if you need help tell me sorry if i didnt explain well
and you copy the shop.dat to your client so any changes would require a patch for all users of your server
01/10/2009 16:11 TruthCo#13
yep thats right for my server people got all + stones except +9 up because ucant use in the compose and super gems =]]