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

    • And Discord: https://discord.gg/3aYqWNqb
    • Ofc: https://discord.gg/3aYqWNqb
    • You can find some H5 skins shared in old L2 modding Discords, but most of the higher‑quality ones are either paid or come bundled with full client edits. I usually mix in commissioned work and whatever I can patch myself. On a side note, I fund a lot of these commissions by selling off game items through instant sell cs2 skins, which has been a quick way for me to get some cash for projects.
    • There is no need for gRPC in this case, even tho originally it was gRPC based but since we don't need it to be bi-directional, we switched to simple http requests for the web calls and SSEs for the data streamed from the server. There are distributed locks in place to precent race conditions between actions that can happen between multiple web instances and the server.   Local models can also be slow depending on the model, and most external models can actually be faster than local ones if you use Flash 2.5 or something along those lines. I am running on 512GB of Unified Memory on my Mac Studio M3 Ultra so the speed of the local model for a small model is pretty good but I tested it with Gemini too and it works equally as fast and in some cases faster. The way it works is that I'm using pgvector (one of the benefits of moving to Postgres) to search the data and see what the player can see etc and there is some batching of the next few actions for 2-4 seconds for the user until the next LLM request fires. The batching also includes branching on logic so if they for example fall under some HP they will move to kiting instead of attacking or maybe they heal etc.   Everything is authed and permission-based. The server and the backend of the frontend have secure communication between them, either with a symmetric key (not recommended for production) or a certificate (the recommended way), so there is no worry. It's all tied to the account's access level, etc., so nobody can make an action that they normally wouldn't be allowed to do. Even the MCP is token-based, and there are prompt injection protections in place. The MCP is audited, and every mutation needs confirmation. The admin area is only accessible to the admin account anyway so normal users can't access it.  
  • 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..