Page 1 of 1

Monsters of the champion aren't highlighted

Posted: Fri Dec 31, 2010 4:20 pm
by adeptik
Monsters of the champion aren't highlighted (red or dark blue)! How to correct?

Re: Monsters of the champion aren't highlighted

Posted: Fri Dec 31, 2010 4:29 pm
by sync
Use this patch that would add a configuration to use the aura of Champions.
By default, the server has no such functions.

Code: Select all

Index: java/com/l2jserver/Config.java===================================================================--- java/com/l2jserver/Config.java  (revision 4430)+++ java/com/l2jserver/Config.java  (working copy)@@ -642,6 +642,7 @@    public static int L2JMOD_CHAMPION_REWARD_QTY;    public static boolean   L2JMOD_CHAMPION_ENABLE_VITALITY;    public static boolean L2JMOD_CHAMPION_ENABLE_IN_INSTANCES;+   public static int L2JMOD_CHAMPION_ENABLE_AURA;    public static boolean TVT_EVENT_ENABLED;    public static boolean TVT_EVENT_IN_INSTANCE;    public static String TVT_EVENT_INSTANCE_FILE;@@ -2201,6 +2202,8 @@                    L2JMOD_CHAMPION_REWARD_QTY = Integer.parseInt(L2JModSettings.getProperty("ChampionRewardItemQty", "1"));                    L2JMOD_CHAMPION_ENABLE_VITALITY = Boolean.parseBoolean(L2JModSettings.getProperty("ChampionEnableVitality", "False"));                    L2JMOD_CHAMPION_ENABLE_IN_INSTANCES = Boolean.parseBoolean(L2JModSettings.getProperty("ChampionEnableInInstances", "False"));+                   L2JMOD_CHAMPION_ENABLE_AURA = Integer.parseInt(L2JModSettings.getProperty("ChampionEnableAura", "0"));+                   if (L2JMOD_CHAMPION_ENABLE_AURA != 0 && L2JMOD_CHAMPION_ENABLE_AURA != 1 && L2JMOD_CHAMPION_ENABLE_AURA != 2) L2JMOD_CHAMPION_ENABLE_AURA = 0;                                        TVT_EVENT_ENABLED = Boolean.parseBoolean(L2JModSettings.getProperty("TvTEventEnabled", "false"));                    TVT_EVENT_IN_INSTANCE = Boolean.parseBoolean(L2JModSettings.getProperty("TvTEventInInstance", "false"));Index: java/com/l2jserver/gameserver/network/serverpackets/AbstractNpcInfo.java===================================================================--- java/com/l2jserver/gameserver/network/serverpackets/AbstractNpcInfo.java    (revision 4430)+++ java/com/l2jserver/gameserver/network/serverpackets/AbstractNpcInfo.java    (working copy)@@ -185,7 +185,14 @@            writeD(_allyId); // ally id            writeD(_allyCrest); // all crest            writeC(_npc.isFlying() ? 2 : 0); // C2-           writeC(0x00); // title color 0=client+           if (Config.L2JMOD_CHAMPION_ENABLE)+           {+               writeC(_npc.isChampion() ? Config.L2JMOD_CHAMPION_ENABLE_AURA : 0);+           }+           else+           {+               writeC(0);+           }                        writeF(_collisionRadius);            writeF(_collisionHeight);Index: java/config/l2jmods.properties===================================================================--- java/config/l2jmods.properties  (revision 4430)+++ java/config/l2jmods.properties  (working copy)@@ -64,6 +64,11 @@ # Default = False ChampionEnableInInstances = False +# Enable aura from champion mobs+# 0 - no aura / 1 - blue aura / 2 - red aura+# Default = 0+ChampionEnableAura = 0+ # --------------------------------------------------------------------------- # Wedding System (by evill33t) # --------------------------------------------------------------------------- 

Re: Monsters of the champion aren't highlighted

Posted: Fri Dec 31, 2010 4:52 pm
by adeptik
How it to use?

Re: Monsters of the champion aren't highlighted

Posted: Fri Dec 31, 2010 5:00 pm
by janndo
It only puts a AURA

if you change this ChampionEnableAura = 0 for 1 or 2

1 is blue aura
2 is red aura

Re: Monsters of the champion aren't highlighted

Posted: Fri Dec 31, 2010 5:02 pm
by adeptik
No!
How to add in the server?
And in general it would be would be desirable to find the complete set of patches for this server that it is similar on what that abrupt:)

My server on the given assemblage
http://anstar.net/l2dw/index.php

Re: Monsters of the champion aren't highlighted

Posted: Fri Dec 31, 2010 5:04 pm
by janndo
you need download the source of L2jserver to add this.

Re: Monsters of the champion aren't highlighted

Posted: Fri Dec 31, 2010 5:07 pm
by adeptik
You speak about SVN.... eclips if yes that as in source codes to add changes?
c:\Documents and Settings\adept\workspace\ - There folders many where to add?

Re: Monsters of the champion aren't highlighted

Posted: Fri Dec 31, 2010 5:10 pm
by janndo
yes...

Re: Monsters of the champion aren't highlighted

Posted: Fri Dec 31, 2010 5:12 pm
by adeptik
Explain to a teapot:)

Re: Monsters of the champion aren't highlighted

Posted: Fri Dec 31, 2010 5:14 pm
by sync

Re: Monsters of the champion aren't highlighted

Posted: Fri Dec 31, 2010 5:29 pm
by adeptik
And the instruction in pictures isn't present? There is no me a knowledge of English!

Re: Monsters of the champion aren't highlighted

Posted: Sat Jan 01, 2011 12:42 am
by adeptik
[Err] Index: java/com/l2jserver/Config.java
===================================================================
--- java/com/l2jserver/Config.java (revision 4430)
+++ java/com/l2jserver/Config.java (working copy)
@@ -642,6 +642,7 @@
public static int L2JMOD_CHAMPION_REWARD_QTY;
[Msg] Finished - Unsuccessfully
--------------------------------------------------

Re: Monsters of the champion aren't highlighted

Posted: Sat Jan 01, 2011 5:20 am
by sync
The folder with the source code server, click MOUSE2> Tortoise SVN> Apply Patch ..
Then we choose our patch and install it.
1.png

Re: Monsters of the champion aren't highlighted

Posted: Sat Jan 01, 2011 10:00 am
by adeptik
Thank you very much!
And now what anew to collect assemblage and to change all files on the server?
I do not understand as it to do by small victims....
..

Re: Monsters of the champion aren't highlighted

Posted: Sun Oct 30, 2011 8:32 pm
by fuko
How about H5?