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

    • Hello everyone, I am looking to purchase a Premium Lineage 2 High Five server pack. My main requirements are: Stability & Quality (Most Important): The pack must be highly stable with no system errors or major bugs. Custom Features: It must include ready-to-use custom features such as a fully functional Community Board, custom NPC Buffers, and Custom Item Sellers (GM Shops), etc. Complete Files: It is absolutely necessary that the full source code (src) and complete Geodata are included. If you are selling a pack that meets these criteria, please send me a PM or leave a reply with the following information: Brief details and key features of the pack Price Test server availability (I would like to test it before buying) Thank you!
    • L2jmobiusDevClon — Classic Interlude p110 Emulator L2jmobiusDevClon is actively developing a Lineage 2 Classic Interlude p110 emulator. Development is done in free time with a strong focus on: • Stability • Authentic Classic mechanics • Clean and optimized architecture The project is based on the L2jMobius source and is continuously evolving and improving. System Requirements: • Java 25 • MariaDB 12.0 • Client p110 Current Revision: 3.0 Development Status: Active Distribution: Free Official Website: https://www.l2jmobiusdevclon.pp.ua Discord Server: https://discord.gg/23a9S8g4Bn Contact: Telegram — @L2jmobiusDevClon Also available via private messages Project Goals: ✔ Improved stability ✔ Maximum Classic accuracy ✔ Core optimization We are currently looking for: • Testers • Server administrators Suggestions, bug reports, and ideas are always welcome. Contact us via: ✔ Discord ✔ Telegram ✔ Private Messages
    • i guess loading only the effects that are needed it will maybe work, like removing from reshade shader folder the ones that are not needed, depends on the pc also i guess, also limithing the game at 30fps can be better maybe
    • Up   SELL CHARACTERS L2 REBORN FRANZ x1     destroyer 74 lvl naked - 120 euro sws 71 lvl naked - 120 euro pp 66 skills - 120 euro se 64 lvl - 90 euro   Characters are legit with mail   i can wtt the characters for adena server franz   sell adena franz 250kk stock     add discord topeseller4081  
  • 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..