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!

[Release]Custom NPC(Rare NX items)

Status
Not open for further replies.
Newbie Spellweaver
Joined
Aug 20, 2008
Messages
14
Reaction score
1
Here is my script I made for the NX item store which is being sold by MIA in henesys. Items such as Mercury, Tania, Janus, Sachiel, Veamoth are all sold here(set items in an nx catagorie)

THis is MY FIRST custom npc, usuall I just take npc's from ragezone and put them in my database. But I wanted an npc that sells these items. But I couldn't find one, so I'll make one lol!

INSERT INTO shops
(`shopid`, `npcid`)
VALUES
(333331, 9010002);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1102149, 150000000, 1);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1102148, 150000000, 2);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1052093, 150000000, 3);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1072283, 150000000, 4);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1000032, 150000000, 5);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1102097, 150000000, 6);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1072281, 150000000, 7);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1000030, 150000000, 8);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331,1102096, 150000000, 9);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1052091, 150000000, 10);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1072282, 150000000, 11);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1000031, 150000000, 12);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1102095, 150000000, 13);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1052092, 150000000, 14);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1072282, 150000000, 15);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1072328 , 150000000, 16);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1072327, 150000000, 17);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1040138, 150000000, 18);

INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1040137 , 150000000, 19);
INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1050018, 100000000, 20);
INSERT INTO shopitems
(`shopid`, `itemid`, `price`, `position`)
VALUES
(333331, 1051017, 100000000, 21);

Lol ok there is the code box! Enjoy lol!
 
Last edited:
Newbie Spellweaver
Joined
Aug 20, 2008
Messages
14
Reaction score
1
Re: Custom NPC(Rare NX items)

My rates are will be 10000x thats why the prices are kind of high...
 
Experienced Elementalist
Loyal Member
Joined
Apr 23, 2008
Messages
240
Reaction score
0
Re: Custom NPC(Rare NX items)

Theres an edit button. Use that instead xO
 
Newbie Spellweaver
Joined
Aug 20, 2008
Messages
14
Reaction score
1
Re: Custom NPC(Rare NX items)

Im new to ragezone and I cant find the code box and il use they edit button if I find the code box. And thanks Gmanpopinjay!

Lol I put multi quote and I dont know how to use.No flaming plz I'm new!
 
Legendary Battlemage
Loyal Member
Joined
Dec 7, 2007
Messages
622
Reaction score
11
Re: Custom NPC(Rare NX items)

@ Therealsmexy go to the ur first post click edit then click go advanced then change the header make it this [Realease]Custom NPC(Rare NX items)
 
Newbie Spellweaver
Joined
Aug 20, 2008
Messages
14
Reaction score
1
Re: Custom NPC(Rare NX items)

Theres an edit button. Use that instead xO
lol k

Thx Alot =)

No problem!
use like a code box

K I made a quote box!
hm and post some pics

I havent tested it yet cuz I got an error which says MySQL cant connect to localhsot usingpassword:NO or something lke that..I know how to fix it but in which cpp file do I do that in?
@ Therealsmexy go to the ur first post click edit then click go advanced then change the header make it this [Realease]Custom NPC(Rare NX items)

Did that I think? Or sum1 did it for me..
 
Supreme Arcanarch
Loyal Member
Joined
Jul 21, 2008
Messages
969
Reaction score
1
Something is wierd lol. I typed in !item .... for the last 2 and it game me suana robes?
 
Supreme Arcanarch
Loyal Member
Joined
Jul 21, 2008
Messages
969
Reaction score
1
Yeap. Me too, i cannot find the ID's for the swords u mentioned
 
Master Summoner
Loyal Member
Joined
Jul 22, 2008
Messages
573
Reaction score
0
what it is?
can anyone show me some ss?
 
Status
Not open for further replies.
Back
Top