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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • Migrating a legacy Interlude server to PostgreSQL while adding real observability is basically forcing 2006 MMO engineering to attend a 2026 infrastructure conference at gunpoint. PS: which revision of aCis? PS: 🧻what was broken during this whatever you call it.    AAC Guard beign asked to adapt to this be like: - Creating bugs since early 2018
    • OH MY LORDDDDDDDDDDDDDDDDDDDDD   FINALLY
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
    • I came out of my cave as I do once every 5 years. By now, I know nobody really cares about L2, but I still find it fun to experiment. Everything you see here will be free and open source. I have no interest in selling anything.   Long story short, I like to revisit Interlude and apply what I've learned to see how far I can push it. Here's Outerlude, a public fork of aCis for the modern age.   Video demo:   Work that has been done:   Redone the netcode from scratch to be async The NPC AI was completely redone based on Finite State Machines Moved to PostgreSQL and using some of its cool features Lots of config that should be hot reloadable has moved to the database OpenTelemetry instrumentation, where it makes sense, and a Grafana dashboard A built-in REST API for server management A built-in MCP Server for LLMs Nidrah AI, an AI Agent to make managing the server easier Real-time server map view Chat auditing and live snooping A new Fake Players Engine with a Node logic system and a new LLM planner for any behavior Just watch the video   If there is interest in this and I'm happy with it, or I get bored (which I always do), I will open-source it. Let me know what you think and if there is some feature you'd like me to implement.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..