Jump to content
  • 0

Champion Aura


Question

Recommended Posts

  • 0
Posted
46 minutes ago, InFocus said:

Maybe i must set NPC and no npcs.getProperty?

Eh, Sherlock. Why don't you look one line above? It's clearly NPC, not npcs.

Why didn't you try to put NPC there and see if error is gone?

One more error, don't you see your pack parse info another way? Look one line above, its NPC.getInt 

  • 0
Posted

If you previously could see it, then you broke the npc info with that writeC, like wrong place / you added new line which is too much.

And please for God's sake. If picture is 100x100 dimension, upload it like that, don't keep size full HD.. Just cut it lol. 

  • 0
Posted

Remove the if line, it will be ok even with 0 inside the config.

Just to let you know, if the config is an int(eger), the if statement would look like:

if (Config,CHAMPION_AURA_TYPE > 0)

 

No idea what you mess up - if it was previously working.

  • 0
Posted

this config say CHAMPION_AURA_TYPE is for use your team color so no need this just if you need enable disable aura you need only this Config.L2jMOD_CHAMPION_ENABLE_AURA + my line code

  • 0
Posted (edited)

Ok, i remove If and i let just 

http://zOAMDH7.jpg

and my npc look like this.

http://xoDehOY.jpg

Now. how i can make with aura just mobs (Champions?)

I think My champion system don't work correct. When i compile i get that config, but i am not sure if the champ system is wrking.

+ another think, in NPC.Property i put 

 

 

# Enable aura from champion mobs
# 0 - no aura / 1 - blue aura / 2 - red aura
# Default = 0
ChampionAuraType = 1

 

if it's ok?

Edited by InFocus
  • 0
Posted
2 minutes ago, InFocus said:

I solved, about that aura how i can do? i did 


writeC(_npc.isChampion() ? Config.CHAMPION_AURA_TYPE : 0);

Now, tell me if it's ok even with writeD(0x00); 

 

I don't understand anything from what you say. I asked if you added champion your self and if you have set _champion boolean by default as true cause all npc seem to have aura even tho you have set only champions to have aura.

  • 0
Posted
4 minutes ago, InFocus said:

CHAMPION_AURA_TYPE = NPC.getInt("ChampionAuraType", 0);

Champions is implemented in pack

 

_npc.isChampion() ? 1 : 0

is like saying

if (_npc.isChampion())
{
  writeC(1);
}
else
{ 
 writeC(0);
}

So since all mob seem with blue aura which i guess is 1 its like all are considered champions. 

The 0x00 you mention has nothing to do. 0x00 is equal to 0. it has no difference. Check your isChampion() method

and the variable it carries and check if by default has set to true.

 

A default boolean has value false always. Yours might be _isChampion = true and make all monsters champions at least from the code's pov as i see. 

Guest
This topic is now closed to further replies.



  • Posts

    • Our website: MobileProxy.Space Telegram channel: Mobileproxy.space - mobile proxies Promo code for a 20% discount: fur-1AB-zyE-4ur
    • If you’re scraping SERPs, running rank trackers, or managing multiple ad accounts, a reliable residential proxy isn’t optional—it’s essential. After testing 7 providers for 3 months, here’s the honest breakdown for SEO/SEM: 🥇 BrightData – Best overall. Massive pool (72M+ IPs), pay-as-you-go, and integrates with Scrapy/Selenium. Expensive, but zero blocks on Google. 🥈 MoMoProxy – Best emerging contender. 50M+ real residential IPs covering 150+ countries. Excellent success rate on Google, Bing, and Yahoo. Clean IP reputation, low CAPTCHA rates, and surprisingly competitive pricing. Great for rank tracking and ad verification. 🥉 IPRoyal – Best value. Genuine P2P residential IPs at nearly half the cost. Low failure rate on Bing Ads & Google Maps. Oxylabs – Enterprise choice. Ideal for large-scale SEM (ad verification, auction insights). Overkill for solo SEOs. Smartproxy is solid for local rank tracking. Soax excels at CAPTCHA-heavy sites. Pro tip: Avoid “unlimited bandwidth” deals. Start with a small test balance.   For most SEOs, MoMoProxy (price-to-performance) + BrightData (unmatched scale) is the new winning combo.
    • Looking for high-performance proxies without breaking the bank? 💸 Stop overpaying for your proxy traffic! Welcome to Novproxy.com, your ultimate solution for premium, unbanable, and ultra-fast residential proxies! Whether you are doing web scraping, multi-accounting, gaming, or SEO monitoring, Novproxy provides the highest quality IPs at the market's lowest price. 👉 Get Started Now: https://novproxy.com?kwd=tt-max ⚡ Why Choose Novproxy? 💰 Unbeatable Pricing: Starting from just 0.5$/GB ! No hidden fees. 🌍 Global Coverage: Access to over 80,000,000+ active residential pools across 190+ countries & cities. ⚡ Lightning Fast & Stable: 99.9% Up-time with rotating or sticky sessions (custom times available). 🔒 100% Anonymous & Secure: Pure ISP residential IPs that look like real users. Easily bypass advanced anti-bot systems. 🛠️ User-Friendly Dashboard: Generate proxy lists in seconds (supports User:Pass or IP Whitelist). 🎯 Perfect For All Tasks: Game Botting & Multi-boxing (Lineage 2, WoW, etc.) Social Media & Account Management Web Scraping & Data Extraction Sneaker Coping & E-commerce No complicated KYC, instant setup after purchase! 🚀 Boost your connection speed and secure your privacy today! 🔗 Official Website: https://novproxy.com?kwd=tt-max
    • base on server resources and how many active players, should increase DB max connection (default MariaDB max connection is 151) and open files limit.
  • 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..