Jump to content
  • 0

[help] eclipse error


Question

9 answers to this question

Recommended Posts

  • 0
Posted

cha should be a L2NpcInstance, but he found a L2Summon.

 

You probably totally missed the place where you need to c/p your code, as L2Summon isn't linked to L2NpcInstance by any side (L2Object > L2Character > L2Playable).

  • 0
Posted

cha should be a L2NpcInstance, but he found a L2Summon.

 

You probably totally missed the place where you need to c/p your code, as L2Summon isn't linked to L2NpcInstance by any side (L2Object > L2Character > L2Playable).

so what i have to do?

sorry but i am newbie..

  • 0
Posted

That packet got different layers, corresponding to type of instance.

 

From memory, there is one L2Summon and one L2Npc constructor, just copy paste in good place.

  • 0
Posted

yeah, line 173 and 187 :)

what i have to change in lines (173,187)


173: if(cha instanceof L2NpcInstance && cha.isInsideZone(L2Character.ZONE_PEACE) && cha.getCastle().getOwnerId() != 0)

 

187:clan = ClanTable.getInstance().getClan(cha.getCastle().getOwnerId());

 

  • 0
Posted

yeah, line 173 and 187 :)

No, he used the wrong constructor. He must drop whatever he did on that packet, and make it in the good constructor. He simply can't correct lines, it's not possible as the constructor refers only to L2Npc, not L2Summon.

 

That packet got 2 different constructors, take time to read what you do and probably you will find.

  • 0
Posted

No, he used the wrong constructor. He must drop whatever he did on that packet, and make it in the good constructor. He simply can't correct lines, it's not possible as the constructor refers only to L2Npc, not L2Summon.

 

That packet got 2 different constructors, take time to read what you do and probably you will find.

so i have to remove the code and replace it?
  • 0
Posted

so i have to remove the code and replace it?

 

yes, try too see when you start gettin that error :) thats what you should normally do when a error pops.

Guest
This topic is now closed to further replies.


  • Posts

    • 🚀 MoMoProxy Static Residential Proxies For Sale!     🔹 Stable, secure & high-anonymity 🔹 >10Mbps speed, <10ms latency 🔹 99.99% uptime & static IPs 🔹 Unlimited traffic & connections 🌍 30M+ clean residential IPs ✅ Whitelist & user/pass auth 💳 Flexible plans (7/30/90 days) 💰 From $3/IP (Pay-per-IP) 🔥 Perfect for: ✔️ Ad verification ✔️ E-commerce/social media ✔️ Data scraping ✔️ Anti-detect browsers 🆓 Start free trial today! 🔗 [Insert Link] #Proxy #ResidentialProxies #WebScraping #DigitalMarketing   1/ Why Choose MoMoProxy? ✅ Global ISP network (30M+ IPs) ✅ Dedicated dashboard for easy management ✅ 24/7 stable operation ✅ HTTP(S)/SOCKS5 support 2/ Use Cases: 📊 Ad fraud detection 🛒 Sneaker copping & e-com 📱 Social media automation 🌐 Travel aggregation & more! 3/ Get Started in 4 Steps: A. Pick MoMoProxy B. Grab your IP credentials C. Configure your tool D. Enjoy unlimited sessions!   https://momoproxy.com/static-residential-proxies https://momoproxy.com/static-residential-proxies https://momoproxy.com/static-residential-proxies    
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • Special offer until end of the month, don't lose it. 250  include datapack and patch latest.
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
  • Topics

×
×
  • Create New...