Jump to content

Recommended Posts

Posted

Well... this is my first attempt on making a shop-NPC. :P

Its a custom trader that sells epic armors and custom shields.

I made it for A-Style's Pack, cause i noticed that he hadnt included a shop for his custom things.

Its gonna make many people's life easier, believe me.

It works with other packs too, but you will have to make a change in item's ID.

So here we go :

 

 

[glow=red,2,300]

Epic Armors & Shields Trader [/glow]

 

 

shoppreviewyl2.png

 

Menus Screens : 1,2

Link : Download

 

Tip

 

The default prices are set to 1 adena.

If you wish to change them, go to gameserver\data\multisell.

Open the documents 11111.xml,33333.xml,55555.xml.

Find the items that you wish to change their prices.

Near them you will find this line :

 

    <ingredient id="57" count="1" enchant="0"/>

 

Change the ingredient ID and the count to w/e you want.

Some ingredient ID's that you can put are :

 

Coin of Lords : 1166
Rust Gold Coin : 1289
Coin of Old Empire : 3794
Festival Adena : 6673

 

P.S : If a mod finds this NPC useless, he can junk or lock this post.

I made it cause I believe that many people use A-Style's pack,

so its neseccary to have a shop like this one. :)

 

[glow=green,2,300]Credits : xXSkillerXx[/glow]

Posted

just perfect!incredible!can u make an update so you add all the custom items? weapons,armors,wings,shields?it would be perfect!

Well... thnx for noticing that.

I added in this NPC the wing-shields. (check screen 2)

Im gonna make maybe a seperate NPC for the weapons. :)

  • 2 weeks later...
Posted

I have just started creating my server and I tried to excute the SQL file to the table's and it comes up with the following :

 

[Err] 1136 - Column count doesn't match value count at row 1

[Err] INSERT INTO `npc` VALUES ('153153','22128','Custom Trader',1,'~*MaxCheaters*~',1,'NPC.a_traderA_MHuman',10.00,15.00,70,'Male','L2Merchant',40,3862,1493,11.85,2.78,40,43,30,21,20,10,0,0,1314,470,780,382,278,0,333,0,0,0,55,132,NULL,0,1,0,'LAST_HIT');

[Msg] Finished - Unsuccessfully

 

I dont really know what is wrong but with other npc's etc I have added they work, so I think I am doing something wrong but can't put my finger on it. Can you please give me a hand.

 

thanks

Posted

I have just started creating my server and I tried to excute the SQL file to the table's and it comes up with the following :

 

[Err] 1136 - Column count doesn't match value count at row 1

[Err] INSERT INTO `npc` VALUES ('153153','22128','Custom Trader',1,'~*MaxCheaters*~',1,'NPC.a_traderA_MHuman',10.00,15.00,70,'Male','L2Merchant',40,3862,1493,11.85,2.78,40,43,30,21,20,10,0,0,1314,470,780,382,278,0,333,0,0,0,55,132,NULL,0,1,0,'LAST_HIT');

[Msg] Finished - Unsuccessfully

 

I dont really know what is wrong but with other npc's etc I have added they work, so I think I am doing something wrong but can't put my finger on it. Can you please give me a hand.

 

thanks

Added an other SQL, for other packs.

Try it and tell me if it worked for you.

Posted

Well actually good job but i thought a-style had a shop like yours..anyway there was a long time ago when i was testing some packs...like a-style's...I want to ask 1 think the icons from items is the default from the server pack and the patch of a-style's pack or they are yours? Can i change them? Thank you Sry for my bad english

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...