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

    • I think you're severely overestimating the brain power of the average lineage 2 player xD
    • Ever since claude has gotten good, I have used it to make my files better. Over the last three months I have uncovered a STAGGERING amount of exploits using claude, simply by directing it to methods of exploitation and areas of the code I know from experience are not well developed. At first I thought it was only L2JMobius issues, but it turns out all known public and private packs are insecure in multiple ways.    The L2J codebase from which all packs derive, is so incoherent with so many interweaving layers, a complete lack of proper layering, such that one simple line change that looks totally innocent, can lead to the surface of multiple exploitation vectors.    The way things stand now, a player with some knowledge of how things work and a claude subscription can easily bypass client guards and basically ruin servers. It astonishes me that this has not yet happened as I can't be the only one that has a pair of eyes that have seen these things. The things will get much worse as time passes cause there's a huge amount of code being produced in most packs using AI agents. Code that is not properly checked and that poses big risk for anyone willing to adopt it as it introduces a lot of uncertainty to his project.    At this point I'm at a loss for words. I personally cannot guarantee to the player base, that with any pack available, I can open a server and won't have a hacker a week later corrupt the whole econbomy of the server.   Sad times ahead ...        
    • Despite the overwhelming amount of expert testimony explaining why this project was fundamentally broken and apparently an insult to several generations of software engineering, the fucking thing continues to improve, and all it takes is copypasting Galagard's comments to ChatGPT as a prompt. I was going to dedicate three months to it, but unfortunately I have other things to do. ### Changelog - Fixed terrain boundaries and seamless heightmap edges. - Added native cylinder collision. - Improved water generation, height handling and missing asset support. - Fixed collapsed meshes, zero-scale actors and USX/UTX package lookup. - Fixed various parser issues. - Improved caching. **28% faster batch generation**, identical output. - Searchable errors, warnings and skipped items. - Maps/minute statistics and UI improvements. - The spinning ASCII donut remains fully operational. ### Testing Since some of our experts were particularly concerned about whether the generator could actually generate anything, I decided to test the entire Samurai client. **347 maps.** **347 L2J files.** **347 L2OFF files.** **347 pathnode files.** **1,041 successfully generated and validated files.** I'd also like to sincerely thank our dedicated community volunteers for continuing to provide free quality assurance. Your contributions have been invaluable. It's genuinely amazing how much useful feedback you can get from people who supposedly don't care about your software. Unfortunately, ChatGPT keeps fixing the problems you report, so please try finding some harder ones next time. And to those concerned about the future of software development, don't worry. I'm sure spending three months doing something that takes seven minutes will remain a highly marketable skill.   https://github.com/911reg/911reg-MapExtractor/releases/download/v0.9.0/911reg-MapExtractor-0.9.0-win64.zip   https://github.com/911reg/911reg-MapExtractor   Haters, eat your hearts out.
    • 🔥 End-of-October Deals: ChatGPT Plus, Cursor AI, Claude Pro, and Canva Pro subscriptions available at unbeatable rates!     FINAL CALL: Google is Shutting This Down After October 2026! Google will NEVER bring back this window of opportunity again. Once this month ends, this massive backdoor upgrade is gone permanently!  BUY 2, GET 1 FREE IS STILL LIVE! Stock up now for yourself, your family, your business, and your friends! Think about it: Every single person you know uses a Gmail account, and everyone is running out of storage. Don't let your loved ones get trapped paying $20–$30 every single month when you can set them up with 5TB Cloud Storage + Gemini Advanced (12–18 Months) right now for only $15! Why Buy Bulk Activations Today? Instant Gift Value: Perfect lifetime-style gift for clients, family, or team members. 100% Private & Safe: Activates on personal Gmails—zero passwords or logins required. Global Access: Works worldwide with zero VPN hassles. Instant Automated Delivery: Receive your activation links in seconds 24/7! ‍ Time is running out fast—secure your extra free licenses before the October deadline hits! Order Your Bundle Now on the Website
    • Hello everyone, We remind you that before making a purchase, you can take our proxies for a 3-hour test. We also provide a 20% discount on your first purchase. Welcome.
  • 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..