Jump to content
  • 0

How to?


Sinister Smile

Question

Hi guys, can someone give me an example for this kind of npc

> For example  i want to buy Draconic Armor set with 1 click, and to be equipped to the char.
> and if its possible when buy the armor to be enchanted to +3/4/5 etc.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
12 minutes ago, Sinister Smile said:

Hi guys, can someone give me an example for this kind of npc

> For example  i want to buy Draconic Armor set with 1 click, and to be equipped to the char.
> and if its possible when buy the armor to be enchanted to +3/4/5 etc.

 

Either you mess with multisells (which somehow i gave the answer to some guy yesterday) and add extra fields on multisell

will automatic enchance the item and equip them if its weapon or armor or jewler of type: 

 

<item>
		<ingredient count="1" id="6909" />
		<production count="1" id="7609" equip="true" enchant="25" />
        <production count="1" id="7610" equip="true" enchant="25" />
        <production count="1" id="7611" equip="true" enchant="25" />
</item>

 

or you gonna make a new NPC instance which i tell you don't since you can make the same work with xml in a faster way.

Everything you need is in Multisell.java, Ingredient.java and MultisellChoose.java (It's the packet that you will do the proper check to enchance the item and equip it)

 

You can also check the code which i pasted yesterday to get the overall idea. https://maxcheaters.com/topic/220264-help-about-a-multisell/?page=2#comment-2669268

Edited by Evie Frye
Link to comment
Share on other sites

  • 0

If it's a single use, then you could go with instance. Otherwise xml sounds more appealing, reload possibility and such. 

Link to comment
Share on other sites

  • 0
28 minutes ago, Evie Frye said:

 

Either you mess with multisells (which somehow i gave the answer to some guy yesterday) and add extra fields on multisell

will automatic enchance the item and equip them if its weapon or armor or jewler of type: 

 


<item>
		<ingredient count="1" id="6909" />
		<production count="1" id="7609" equip="true" enchant="25" />
        <production count="1" id="7610" equip="true" enchant="25" />
        <production count="1" id="7611" equip="true" enchant="25" />
</item>

 

or you gonna make a new NPC instance which i tell you don't since you can make the same work with xml in a faster way.

Everything you need is in Multisell.java, Ingredient.java and MultisellChoose.java (It's the packet that you will do the proper check to enchance the item and equip it)

 

You can also check the code which i pasted yesterday to get the overall idea. https://maxcheaters.com/topic/220264-help-about-a-multisell/?page=2#comment-2669268

Thank you, i will check now.

 

17 minutes ago, SweeTs said:

If it's a single use, then you could go with instance. Otherwise xml sounds more appealing, reload possibility and such. 

It will be like custom shop/vote shop/gm shop in one npc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   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

    • Te esperamos este viernes en  L2 Seal Proyecto Hunter . Open : 1/12/23 a las 21:00hs GMT-3 Para cerrar el año,de la mejor manera te esperamos en el servidor mid más grande de habla hispana.   !!!Te lo vas a perder!!! Estamos de regreso, con mucho contenido nuevo. Cliente : H5. Rates: EXP/SP: x20 Adena: x10 Seal Stones: x4 Raid Boss EXP/SP: x5 Spoil: x10 Keymats Drop/Spoil: x5 Raid Boss Drop: x5 Drop: x8 Manor: x2 Eppaulletes: x5  Features : NPC Buffer com buffs de 2 hora GM-Shop up to Dynasty Mana Potions (1000 MP, 10 seg. Cooldown) Skills autolearn inclusive los 81/83 Buff Slots: 24 (+4 com Divine Inspiration LVL 4) Auto pickup configurable Offline Shop (Colocar el char en modo store y cerrar el cliente.) Cambio de 1ª classe (10.000 adena) Cambio de 2ª classe (500.000 adena) Cambio de 3ª classe (2.000.000 adena) Sub class No requiere quest items ni quest. Nobless Via quest (H5 Quest) Community con status de Raid Boss Shift + Click para ver a lista de drops (Rate Server) Global Shout / Delay 20 segundos. Max. Clientes/PC: 4 Max. Ventanas de Autofarm 1 por HWID Max. Miembros de clan en Zonas Épicas: Sin Restriccion Allys permitidas (Max. 2 Clanes) Cancellation: 2-4 buff con chance y random. Puedes contactarnos en : Discord: https://discord.com/invite/hmVaZFrFEy 🦸 Website:  www.l2seal.com
    • Good day everybody.   A credible team that SGuard represents is looking for java developers.    These positions is full time only i.e. your time is mostly dedicated within the team and team tasks.  All necessary tools are provided.  The team is consistent with > 6 team members and the team is looking to expand to meet various goals. A decent Lineage 2 Essense OR Main (GOD) knowledge is needed.  Experience with l2r/l2p/l2s (not l2j or mobius) type of servers. The team is friendly and goal oriented, very active and resourceful.   Requirements are standard however strong java codding skill is necessary for the position.  Multi language is a plus but not necessary (English/Russian), any is accepted.   Terms and conditions including compensation are reasonable and considered to be up for the industry standards. Details are negotiable with suitable candidates.   You have to have either a public name that can be checked out or a strong reference from credible sources. You will need to have a headset and a mic just for the initial processing, there're no team meetings or conferences after that.   The team has decided it is in their best interest to not publish their information at this time. Details will be available only for suitable candidates.   If you think you're a good fit. Please contact me at:   skype: live:sguard.soft telegram: https://t.me/tech_support_s2    
    • SCAMMER Please do not get scammed! His Sellix Feedback is fake, his store opening date is manipulated by scripts. Daniele, the developer of Sellix confirmed this before suspending his account. You will receive a rar file with a doc that contains some random email and password and it won’t work. He won’t respond to your tickets either. I lost $120
    • Lineage II Interlude: Ember x3 The server offers a retail atmosphere with NPC buffs, low rates, and a bug-free environment. The auto-hunt feature transforms your game adventure by allowing you to easily accomplish challenges while managing the demands of a busy life.   Server Status: Online [Closed Beta Test] Official Opening: TBD Website: l2ember.online Community: Discord Channel   Key Features Our network infrastructure can support up to 5,000 simultaneous connections without compromising the quality of gameplay. The augmentation system follows the guidelines of the official server. Geodata operates smoothly and without issues. The game's data, which includes monster spawns, loot availability, and player skills, is working correctly. We are actively working on official-like quests and refining the game. Our AI is adequate and corresponds to the PTS server. Sieges are similar to the official server, without any lag or glitches. The Olympiad is fully functional and may be customized to the preferences of the players.   Rates EXP/SP (Regular Monsters): x3 EXP/SP (Raid Bosses): x2 EXP/SP (Quest): x1 Items Drop Rate: x2 Items Drop Rate (Raid Bosses): x2 Items Drop Rate (Quest): x2 Quest Items Reward Rate: x1 Quest Adena Reward Rate: x1 Adena Drop Rate: x2 Seal Stones Drop Rate: x2 Spoil Drop Rate: x2
    • I come here to show some of my work for any L2j version.   Base project for the work: L2jAcis 401   I will constantly update when I create more demonstration videos.   SellBuff System ( Online And Offline Mode ) : 50€  Payments: PayPal / Binance Videos:      NOTE: If I have broken any rules, please send me a PM.  
  • Topics

×
×
  • Create New...