Jump to content
  • 0

[Request]Java Code


Question

6 answers to this question

Recommended Posts

  • 0
Posted

psakse gia afto mesa sto L2PcInstance:

public boolean setActiveClass(int classIndex)

{

kai vale afton ton kodika:

int[] armorType = 	
{
Inventory.PAPERDOLL_RHAND, Inventory.PAPERDOLL_LHAND,
Inventory.PAPERDOLL_LRHAND, Inventory.PAPERDOLL_LRHAND,
Inventory.PAPERDOLL_CHEST, Inventory.PAPERDOLL_HEAD,
Inventory.PAPERDOLL_LEGS, Inventory.PAPERDOLL_GLOVES,
Inventory.PAPERDOLL_FEET, Inventory.PAPERDOLL_BACK,
Inventory.PAPERDOLL_DHAIR, Inventory.PAPERDOLL_HAIR,
Inventory.PAPERDOLL_LEAR, Inventory.PAPERDOLL_REAR,
Inventory.PAPERDOLL_RFINGER, Inventory.PAPERDOLL_LFINGER,
Inventory.PAPERDOLL_NECK, Inventory.PAPERDOLL_UNDER
};

for (int items : armorType)
{
L2ItemInstance parmorInstance = getInventory().getPaperdollItem(items);
if (parmorInstance != null)
{
	L2ItemInstance[] unequipped = getInventory().unEquipItemInBodySlotAndRecord(parmorInstance.getItem().getBodyPart());
	InventoryUpdate iu = new InventoryUpdate();
	for (L2ItemInstance element : unequipped)
	iu.addModifiedItem(element);
	sendPacket(iu);
	}
}

P.S remove oti den xreiazesai apo afta

  • 0
Posted
  On 9/4/2012 at 9:00 AM, valanths1990 said:

psakse gia afto mesa sto L2PcInstance:

public boolean setActiveClass(int classIndex)

{

kai vale afton ton kodika:

int[] armorType = 	
{
Inventory.PAPERDOLL_RHAND, Inventory.PAPERDOLL_LHAND,
Inventory.PAPERDOLL_LRHAND, Inventory.PAPERDOLL_LRHAND,
Inventory.PAPERDOLL_CHEST, Inventory.PAPERDOLL_HEAD,
Inventory.PAPERDOLL_LEGS, Inventory.PAPERDOLL_GLOVES,
Inventory.PAPERDOLL_FEET, Inventory.PAPERDOLL_BACK,
Inventory.PAPERDOLL_DHAIR, Inventory.PAPERDOLL_HAIR,
Inventory.PAPERDOLL_LEAR, Inventory.PAPERDOLL_REAR,
Inventory.PAPERDOLL_RFINGER, Inventory.PAPERDOLL_LFINGER,
Inventory.PAPERDOLL_NECK, Inventory.PAPERDOLL_UNDER
};

for (int items : armorType)
{
L2ItemInstance parmorInstance = getInventory().getPaperdollItem(items);
if (parmorInstance != null)
{
	L2ItemInstance[] unequipped = getInventory().unEquipItemInBodySlotAndRecord(parmorInstance.getItem().getBodyPart());
	InventoryUpdate iu = new InventoryUpdate();
	for (L2ItemInstance element : unequipped)
	iu.addModifiedItem(element);
	sendPacket(iu);
	}
}

P.S remove oti den xreiazesai apo afta

 

Magkes gt exw dei pola request gia tetoio pragma? stuckari tpt?? me tis alages ton sub?

  • 0
Posted
  On 9/4/2012 at 9:30 AM, GsL said:

Magkes gt exw dei pola request gia tetoio pragma? stuckari tpt?? me tis alages ton sub?

ναι υπάρχουν 2-3 bugs και για active/passives(ls) αλλά και για τα κανονικά skills των παικτών.
  • 0
Posted
  On 9/4/2012 at 9:57 AM, Fanky said:

ναι υπάρχουν 2-3 bugs και για active/passives(ls) αλλά και για τα κανονικά skills των παικτών.

Ο μόνος τρόπος όμως είναι να βάλουνε αυτό?

 

Επειδή σε αυτό δεν επιτρέπει τα active/passive, (επειδή βγαίνει weapon,armor) όμως για τα κανονικά skills ισχύει ακόμη?

  • 0
Posted
  On 9/4/2012 at 10:03 AM, 'Baggos' said:

Ο μόνος τρόπος όμως είναι να βάλουνε αυτό?

 

Επειδή σε αυτό δεν επιτρέπει τα active/passive, (επειδή βγαίνει weapon,armor) όμως για τα κανονικά skills ισχύει ακόμη?

με ένα delay  στην αλλαγή των sub(floodprotector) θα είσαι οκ.

 

δηλαδή να γίνεται να αλλάζουν sub κάθε 10-15 δευτερόλεπτα.

Guest
This topic is now closed to further replies.


  • Posts

    • Running ads or working with voice verification? We provide the essential tools for arbitrage, marketing, e-commerce, and anonymous operations! Ready-to-use Google Ads and Google Voice accounts — verified, warmed up, with logs and full access. Perfect for: ✔ Media buyers launching campaigns via Google ✔ Agencies and PPC specialists ✔ Businesses needing fast and safe ad launches without bans ✔ Users working with Google Voice (2nd-step verification, US numbers, etc.) ✔ Google Ads: accounts with budgets from €10 to $1000+, with or without verification ✔ All come with 2FA, backup email, cookies, and UserAgent Promo code: GOOGLE10 (10% discount) Payment: bank cards · crypto · other popular methods How to buy: ➡ Online Store: Click ➡ Telegram Bot: Click Other services: ➡ SMM Panel: Click Assortment: ➡Google Voice Accounts (GMAIL US NEW) | Year: 2024 (random) | Phone Verified | Price from: $9.00 ➡Google Voice Accounts (GMAIL US OLD) | Year: 2006–2018 | Phone Verified | Price from: $14.00 ➡Google Ads Account USA/EUROPE (UK, Germany, France, etc.) | Manually farmed 7+ days | Created ad account | Includes 2FA, backup codes, backup email, UserAgent, Cookies | Price from: $13.00 ➡Google Ads Account USA/EUROPE | VERIFICATION COMPLETED – €10 BILL | Manually farmed 7+ days | Ad created | Includes 2FA, backup email, UserAgent, Cookies | Price from: $55.00 ➡Google Ads Account EUROPE/USA with ad campaigns and spend $100/$500/$1000+ | Verification not completed | Full access & setup | Price from: $200.00 ➡Google Ads Account EUROPE/USA with ad campaigns and spend $100/$500/$1000+ | Verification completed | Full access & setup | Price from: $400.00 Regular buyers get extra discounts and promo codes! Support: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also use these contacts to: — Discuss wholesale orders — Propose partnerships (current partners: https://socnet.bgng.io/partners ) — Become a supplier SocNet — Digital Goods & Premium Subscriptions Store
    • Running ads or working with voice verification? We provide the essential tools for arbitrage, marketing, e-commerce, and anonymous operations! Ready-to-use Google Ads and Google Voice accounts — verified, warmed up, with logs and full access. Perfect for: ✔ Media buyers launching campaigns via Google ✔ Agencies and PPC specialists ✔ Businesses needing fast and safe ad launches without bans ✔ Users working with Google Voice (2nd-step verification, US numbers, etc.) ✔ Google Ads: accounts with budgets from €10 to $1000+, with or without verification ✔ All come with 2FA, backup email, cookies, and UserAgent Promo code: GOOGLE10 (10% discount) Payment: bank cards · crypto · other popular methods How to buy: ➡ Online Store: Click ➡ Telegram Bot: Click Other services: ➡ SMM Panel: Click Assortment: ➡Google Voice Accounts (GMAIL US NEW) | Year: 2024 (random) | Phone Verified | Price from: $9.00 ➡Google Voice Accounts (GMAIL US OLD) | Year: 2006–2018 | Phone Verified | Price from: $14.00 ➡Google Ads Account USA/EUROPE (UK, Germany, France, etc.) | Manually farmed 7+ days | Created ad account | Includes 2FA, backup codes, backup email, UserAgent, Cookies | Price from: $13.00 ➡Google Ads Account USA/EUROPE | VERIFICATION COMPLETED – €10 BILL | Manually farmed 7+ days | Ad created | Includes 2FA, backup email, UserAgent, Cookies | Price from: $55.00 ➡Google Ads Account EUROPE/USA with ad campaigns and spend $100/$500/$1000+ | Verification not completed | Full access & setup | Price from: $200.00 ➡Google Ads Account EUROPE/USA with ad campaigns and spend $100/$500/$1000+ | Verification completed | Full access & setup | Price from: $400.00 Regular buyers get extra discounts and promo codes! Support: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also use these contacts to: — Discuss wholesale orders — Propose partnerships (current partners: https://socnet.bgng.io/partners ) — Become a supplier SocNet — Digital Goods & Premium Subscriptions Store
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock