Jump to content
  • 0

Question

Posted (edited)

Can pet manager from hellbound be added to interlude? also want to add option to exchange strider to Red Strider with Clan Hall manager

Edited by L2RAPTOR

8 answers to this question

Recommended Posts

  • 0
Posted
33 minutes ago, L2RAPTOR said:

ok  so you can adapt a pet manager from  hellbound to interlude and add exchange to clan hall manager? I just want to know if it is possible first. Then I will ask how...

 

What you mean "adapt". You need a functionality to be done in a different chronicle. Simply code it. 

There is no limit in java code regarding chronicle. If you want your pet manager to exchange a Strider to Red Strider then simply make it using a bypass. Create a new bypass in the NPC's class and do your work.

 

  • Upvote 1
  • 0
Posted
2 hours ago, L2RAPTOR said:

Can pet manager from hellbound be added to interlude? also want to add option to exchange strider to Red Strider with Clan Hall manager

 

And what's stopping you from adding a simple bypass in html which does the proper check and exchange the item?

  • 0
Posted (edited)

ok  so you can adapt a pet manager from  hellbound to interlude and add exchange to clan hall manager? I just want to know if it is possible first. Then I will ask how...

Edited by L2RAPTOR
  • 0
Posted (edited)

.

4 hours ago, Kara said:

 

What you mean "adapt". You need a functionality to be done in a different chronicle. Simply code it. 

There is no limit in java code regarding chronicle. If you want your pet manager to exchange a Strider to Red Strider then simply make it using a bypass. Create a new bypass in the NPC's class and do your work.

 

Thank you Kara..Hellbound has pet manager that has ability for evolve wolf and improve baby pets.. this can be done for interlude? I am not a developer.

Edited by L2RAPTOR
  • 0
Posted
23 hours ago, L2RAPTOR said:

.

Thank you Kara..Hellbound has pet manager that has ability for evolve wolf and improve baby pets.. this can be done for interlude? I am not a developer.

 

If you're not a developer you hire one or you learn your self to do small tasks like this.

Your npc i guess will be a 'Merchant' type NPC, so what you need to do is to find it's java file in instances folder in source and check how bypasses work. 

 

A bypass look like this:

 

if (command.startsWith("buy"))
{
  // Code that get executed
}

 

and on the NPC's html the line should look like this:

 

action="bypass -h npc_%objectId%_buy 10000"

 

So basically you need to create a new bypass check and inside this one you need to do your check for the item. If player has the item to delete it and replace it with the new item.

 

The whole thing is basically 5 lines depending on the project.

 

A proper code would look like this:

 

else if (command.startsWith("strider_evolve")) 
{
	if (player.destroyItemByItemId("Strider", 3561, 1, player, true))
	{
		player.addItem("Evolved_Strider", 3652, 1, player, true);
	}
	else
	{
		player.sendMessage("You don't have currently a Strider.");
	}
}

 

Note: this is just for you to get an idea. Do not copy paste. I wrote it manually here.

 

  • Upvote 1
  • 0
Posted (edited)
22 hours ago, Kara said:

 

If you're not a developer you hire one or you learn your self to do small tasks like this.

Your npc i guess will be a 'Merchant' type NPC, so what you need to do is to find it's java file in instances folder in source and check how bypasses work. 

 

A bypass look like this:

 





if (command.startsWith("buy"))
{
  // Code that get executed
}

 

and on the NPC's html the line should look like this:

 





action="bypass -h npc_%objectId%_buy 10000"

 

So basically you need to create a new bypass check and inside this one you need to do your check for the item. If player has the item to delete it and replace it with the new item.

 

The whole thing is basically 5 lines depending on the project.

 

A proper code would look like this:

 





else if (command.startsWith("strider_evolve")) 
{
	if (player.destroyItemByItemId("Strider", 3561, 1, player, true))
	{
		player.addItem("Evolved_Strider", 3652, 1, player, true);
	}
	else
	{
		player.sendMessage("You don't have currently a Strider.");
	}
}

 

Note: this is just for you to get an idea. Do not copy paste. I wrote it manually here.

 

I understand the bypass.. but great wolf/fenrir + improved pets + red striders are NOT in interlude.. these need to be added from Hellbound chronicle.. and that is what goes beyond my capabilities.

Edited by L2RAPTOR
  • 0
Posted (edited)
1 hour ago, L2RAPTOR said:

I understand the bypass.. but great wolf/fenrir + improved pets + red striders are NOT in interlude.. these need to be added from Hellbound chronicle.. and that is what goes beyond my capabilities.

 

Then you're in wrong section. This is client modification and require lots of money (if not shared) by client developers such as NevesOma. Either you're confused or i don't see the reason why you post about client in server section.

 

PS. in case you want contact Neves to talk about it or purchase this function for client you can join my discord https://discord.gg/hrj8rKG7

Edited by Kara
  • Upvote 1
Guest
This topic is now closed to further replies.


  • Posts

    • Inventory restock: Premium business accounts are now available.   ✔ Wallester Business EU 🇪🇺|💳 Unlimited virtual cards, physical cards, 🏦 multi-currency IBAN, ₿ crypto & stablecoin deposits. ✔ Stripe Business UK 🇬🇧|💳 Instant virtual cards (Visa/Mastercard), high-conversion checkout, multi-currency payouts, ₿ crypto payments, no-code payment links. ✔ Mercury Business US 🇺🇸|🏦 US checking & savings, 💳 unlimited virtual cards, domestic & International wires, native stablecoin settlement. ✔ Payset Business EU 🇪🇺|🏦 Multiple IBANs, UK sort code, SEPA Instant, 💳 unlimited virtual cards, multi-currency accounts. ✔ Novo Business US 🇺🇸|🏦 Business checking account, ACH payments & invoicing, 💳 virtual & physical cards, novo boost.
    • Let me see if I understand correctly, older gentlemen, when a newcomer shows up to create modern things with the help of AI, doing what you charge them to do, you point the finger and laugh. I believe that's why everything is stagnant. The product isn't for programming experts, it's for newcomers. Don't buy from you if they can do it themselves using this base. You're going to deliver a similar product, maybe even worse than this one, so why are you complaining? PowerShell, as you well know, started with it, then came new platforms and new apps, new creation models, all with different languages; I chose the simplest one for my taste. This is about being organized and knowing how to choose the right words for each situation. It's not 100%, but it already gives a good impression. Nothing is 100%, so a topic written by AI, and all the code that you charge an absurd amount for to prohibit and sell hacks, could be open source so that everyone can create new practices, new models, new information for passing packets, prohibiting the use of cheats that cause server owners to break so much. Let's remember that the Admin doesn't always shut down the server; it's the players who find problems and take advantage by buying and reselling items, and they say that the GM shuts down the server every week, but that's a lie. What they do is duplicate items with packages and sell them, but perhaps this could give some future developers a starting point to create their own protection following the model in the initial documentation. Because none of you answer a question from a newbie, you think you're superior because you have knowledge, but with AI, people like that can have the same knowledge as you, but with less practice. And if they practice a lot, 10,000 hours, they can be as good as all of you older developers in the L2J field.
    • ✨ Exclusive Offer for Marketplace Growth 🔥 Elevate your performance with a premium bonus. 💲 Top up your balance with $100 or more and receive an additional $5 credit — seamlessly added to your account. ⭐️ Designed for those who value efficiency, scale, and results. ⚡️ Effortless. Refined. Effective. 💥 Enhance your strategy today 💥
  • 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..