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.




  • Posts

    • Classic move "its not a virus, all antiviruses are just wrong." The moment someone starts yelling "FIND THE MALICIOUS CODE" and mocking heuristic detection, its usually because there is something shady in there… or they have no clue what heuristic detection even is. If your files was clean, you wouldn’t be this defensive or getting personal.   when half the AV vendors are throwing out names like Trojan.Win32.Kasidet, Trj/Chgt.AD, and Gen:Variant.Tedy.537463, maybe it’s not "heuristics", maybe its just a shady-ass .rar. If there is smoke you don't argue with the smoke detector, you check the kitchen. But hey, maybe they all got paid too, right? 🤷‍♂️ the argue comes down to trusting you (a nobody) versus AV vendors   Popular threat label trojan.tedy Threat categories trojan  Family labels tedy   can i call you Teddy from now on? yes i can Teddy               Dont forget it was not something generic or maybe suspicious it just got detected with its specific version. and not only Teddy's Teddy some others too
    • https://github.com/gawric/Guide-L2Unity/blob/main/Guide/Pakets/Blowfish/General description.md   Perhaps you will find it useful piece of encryption and decryption code from Acis Interlude   I transferred these methods to Unity c# and everything works fine   https://ibb.co/DHhP0JYr   I think the first 2 bytes are the packet size. Third byte packet id And then the information itself   It's all there in l2j servers  
    • Hello, I’m working on decrypting the Init packet that the server sends to the client during login. This packet is treated specially and contains the Blowfish keys used to encrypt and decrypt subsequent packets. Although it isn’t encrypted irreversibly and should be reversible, I haven’t succeeded yet. My goal is to extract the Blowfish key to decrypt certain client packets without disrupting the normal session flow. I can inject a DLL to sniff the packets, and with that I plan to develop a module that extends the client’s functionality. For example, after logging in, this module would capture all the data the client receives (character data, etc.). Additionally, it could listen for real-time server events, enabling integrations with Discord SDKs or other systems, thereby expanding Lineage 2’s capabilities. Init packet(0x00) LoginServer. Currently in the java Cores I checked there is no decode function for this package, only encript.
    • whats password from the archivie ?
    • All that shit are false positives of the vanganth cliext, sources are well and who sell it is a big scammer
  • Topics

×
×
  • Create New...