[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:
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!
 
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)
 
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..
 
Status
Not open for further replies.
Back