InFocus Posted September 30, 2018 Share Posted September 30, 2018 How i can add champion aura? it is something like 0x0C i am not sure. Thanks Link to comment Share on other sites More sharing options...
0 SweeTs Posted October 1, 2018 Share Posted October 1, 2018 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 Link to comment Share on other sites More sharing options...
0 InFocus Posted October 1, 2018 Author Share Posted October 1, 2018 I try now, we can speak nice? Link to comment Share on other sites More sharing options...
0 InFocus Posted October 1, 2018 Author Share Posted October 1, 2018 Ok, and why i can't see title and names from npcs? http:// With every setting i do, i still can't see title/name from npc... Link to comment Share on other sites More sharing options...
0 SweeTs Posted October 1, 2018 Share Posted October 1, 2018 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. Link to comment Share on other sites More sharing options...
0 InFocus Posted October 1, 2018 Author Share Posted October 1, 2018 Ok, I set to default like it was. writeC(0x00); // title color 0=client but still doesn't work Link to comment Share on other sites More sharing options...
0 InFocus Posted October 1, 2018 Author Share Posted October 1, 2018 All erase, all configs about that crap of aura. And.... http:// Well ? This is writeC original = writeC(0x00); // title color 0=client Link to comment Share on other sites More sharing options...
0 InFocus Posted October 1, 2018 Author Share Posted October 1, 2018 How i can set writeC? i have this if (Config,CHAMPION_AURA_TYPE) writeC(_npc.isChampion() ? Config.CHAMPION_AURA_TYPE : 0); http:// Link to comment Share on other sites More sharing options...
0 SweeTs Posted October 1, 2018 Share Posted October 1, 2018 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. Link to comment Share on other sites More sharing options...
0 tazerman2 Posted October 1, 2018 Share Posted October 1, 2018 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 Link to comment Share on other sites More sharing options...
0 InFocus Posted October 2, 2018 Author Share Posted October 2, 2018 (edited) Ok, i remove If and i let just http:// and my npc look like this. http:// 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 October 2, 2018 by InFocus Link to comment Share on other sites More sharing options...
0 Kara Posted October 2, 2018 Share Posted October 2, 2018 Did you add the champion system your self or is implemented by default inside pack? It's like isChampion() return true for all npc. Link to comment Share on other sites More sharing options...
0 InFocus Posted October 2, 2018 Author Share Posted October 2, 2018 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); Link to comment Share on other sites More sharing options...
0 Kara Posted October 2, 2018 Share Posted October 2, 2018 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. Link to comment Share on other sites More sharing options...
0 InFocus Posted October 2, 2018 Author Share Posted October 2, 2018 (edited) CHAMPION_AURA_TYPE = NPC.getInt("ChampionAuraType", 0); Champions is implemented in pack Edited October 2, 2018 by InFocus Link to comment Share on other sites More sharing options...
0 Kara Posted October 2, 2018 Share Posted October 2, 2018 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. Link to comment Share on other sites More sharing options...
Question
InFocus
How i can add champion aura? it is something like 0x0C i am not sure. Thanks
Link to comment
Share on other sites
82 answers to this question
Recommended Posts