-
Posts
4,676 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Vkouk
-
All done
-
k
-
k
-
All done
-
And why it suppose to be in this way?
-
First post edited.
-
k
-
junked
-
kk
-
k
-
Did you ready my first words?A guy told me to code it and i did it.And since it hasn't been an another share like this i share it
-
locked until we judges dicsuss it and decide who will be the winner
-
well yes you are right.Let me fix it. Thanks i will try.
-
Index: /Server/Ventic's_IL_GS/java/net/sf/l2j/Config.java =================================================================== --- /Server/Ventic's_IL_GS/java/net/sf/l2j/Config.java (revision 367) +++ /Server/Ventic's_IL_GS/java/net/sf/l2j/Config.java (revision 368) @@ -338,4 +338,5 @@ public static int ANNOUNCER_MAX_LVL_TO_ANNOUNCE; public static boolean ANNOUNCER_DONATOR_ONLY; + public static boolean ANNOUNCE_GM_LOGIN; /** Event Settings Parameters */ @@ -1660,4 +1661,5 @@ ANNOUNCER_MIN_LVL_TO_ANNOUNCE = Integer.parseInt(Modifications.getProperty("MinLevelToAnnounce", "0")); ANNOUNCER_MAX_LVL_TO_ANNOUNCE = Integer.parseInt(Modifications.getProperty("MaxLevelToAnnounce", "80")); + ANNOUNCE_GM_LOGIN = Boolean.parseBoolean(Modifications.getProperty("AnnounceGMLogin", "False")); } catch (Exception e) Index: /Server/Ventic's_IL_GS/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java =================================================================== --- /Server/Ventic's_IL_GS/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (revision 367) +++ /Server/Ventic's_IL_GS/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (revision 368) @@ -159,4 +159,16 @@ } } + + if (Config.ANNOUNCE_GM_LOGIN) + { + if (activeChar.getAccessLevel() >= 100) + { + Announcements.getInstance().announceToAll("Admin: "+activeChar.getName()+" has been logged in."); + } + else if (activeChar.getAccessLevel() >= 75) + { + Announcements.getInstance().announceToAll("GM: "+activeChar.getName()+" has been logged in."); + } + } if (Config.PLAYER_SPAWN_PROTECTION > 0) Index: /Server/Ventic's_IL_GS/Settings/Modifications.properties =================================================================== --- /Server/Ventic's_IL_GS/Settings/Modifications.properties (revision 345) +++ /Server/Ventic's_IL_GS/Settings/Modifications.properties (revision 368) @@ -102,4 +102,8 @@ # Title Color TitleColor = 33FFFF + +# Announce Admin Name At Login +# This sctipt will announce when GM/Admin login. +AnnounceGMLogin = False # ========================== #
-
Let's start with girls first :P Sofaki:Your weapons were great.The animation fits with color and it makes an awesome combination and also look awesome.Good try from your side Devangell:Your weapons were great too.But i didn't like the blue color on weapons.You should pick up an another color.It doesn't look fine for a player.You should try more to make something more better That's my opinion. Good job both of you
-
a good credit?what do you mean?
-
w/e.someone can use it on pvp server too
-
Well,it has been shared again?If not,then it's good.Now a guy told me to make a code when someone is nobless to change his color name.And i did it.Nothing special though Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 4088) +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -8223,6 +8223,9 @@ public void setNoble(boolean val) { + if (val) + getAppearance().setNameColor(Config.NOBLESS_COLOR_NAME); + if (val) for (L2Skill s : NobleSkillTable.getInstance().GetNobleSkills()) addSkill(s, false); //Dont Save Noble skills to Sql else Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 4088) +++ java/net/sf/l2j/Config.java (working copy) @@ -881,6 +881,9 @@ public static boolean L2JMOD_WEDDING_SAMESEX; public static boolean L2JMOD_WEDDING_FORMALWEAR; public static int L2JMOD_WEDDING_DIVORCE_COSTS; + + public static boolean ENABLE_NOBLESS_COLOR; + public static int NOBLESS_COLOR_NAME; // Packet information /** Count the amount of packets per minute ? */ @@ -1858,6 +1861,9 @@ L2JMOD_WEDDING_SAMESEX = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingAllowSameSex", "False")); L2JMOD_WEDDING_FORMALWEAR = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingFormalWear", "True")); L2JMOD_WEDDING_DIVORCE_COSTS = Integer.parseInt(L2JModSettings.getProperty("WeddingDivorceCosts", "20")); + + ENABLE_NOBLESS_COLOR = Boolean.parseBoolean(L2JModSettings.getProperty("EnableNoblessColor", "False")); + NOBLESS_COLOR_NAME = Integer.decode("0x" + L2JModSettings.getProperty("NoblessColorName", "000000")); if (TVT_EVENT_PARTICIPATION_NPC_ID == 0) { Index: java/config/l2jmods.properties =================================================================== --- java/config/l2jmods.properties (revision 4088) +++ java/config/l2jmods.properties (working copy) @@ -132,3 +132,13 @@ # ex.: 1;2;3;4;5;6 # no ";" at the start or end TvTEventDoorsCloseOpenOnStartEnd = + +#--------------------------------------------------------------- +# Nobless Color Name - +#--------------------------------------------------------------- +# Enable Nobless Color Name? +# Deafult: False +EnableNoblessColor = False + +# Set Nobless Color +NoblessColorName = 000000 Index: java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java =================================================================== --- java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java (revision 4088) +++ java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java (working copy) @@ -174,6 +174,15 @@ engage(activeChar); notifyPartner(activeChar,activeChar.getPartnerId()); } + + if (Config.ENABLE_NOBLESS_COLOR) + { + if (activeChar.isNoble()) + { + activeChar.getAppearance().setNameColor(Config.NOBLESS_COLOR_NAME); + } + } + if (activeChar.getAllEffects() != null) { Tested and working Credits : Ventic
-
kk
-
Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 4088) +++ java/net/sf/l2j/Config.java (working copy) @@ -881,6 +881,9 @@ public static boolean L2JMOD_WEDDING_SAMESEX; public static boolean L2JMOD_WEDDING_FORMALWEAR; public static int L2JMOD_WEDDING_DIVORCE_COSTS; + + public static boolean ENABLE_NOBLESS_COLOR; + public static int NOBLESS_COLOR_NAME; // Packet information /** Count the amount of packets per minute ? */ @@ -1858,6 +1861,9 @@ L2JMOD_WEDDING_SAMESEX = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingAllowSameSex", "False")); L2JMOD_WEDDING_FORMALWEAR = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingFormalWear", "True")); L2JMOD_WEDDING_DIVORCE_COSTS = Integer.parseInt(L2JModSettings.getProperty("WeddingDivorceCosts", "20")); + + ENABLE_NOBLESS_COLOR = Boolean.parseBoolean(L2JModSettings.getProperty("EnableNoblessColor", "False")); + NOBLESS_COLOR_NAME = Integer.decode("0x" + L2JModSettings.getProperty("NoblessColorName", "000000")); if (TVT_EVENT_PARTICIPATION_NPC_ID == 0) { Index: java/config/l2jmods.properties =================================================================== --- java/config/l2jmods.properties (revision 4088) +++ java/config/l2jmods.properties (working copy) @@ -132,3 +132,13 @@ # ex.: 1;2;3;4;5;6 # no ";" at the start or end TvTEventDoorsCloseOpenOnStartEnd = + +#--------------------------------------------------------------- +# Nobless Color Name - +#--------------------------------------------------------------- +# Enable Nobless Color Name? +# Deafult: False +EnableNoblessColor = False + +# Set Nobless Color +NoblessColorName = 000000 Index: java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java =================================================================== --- java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java (revision 4088) +++ java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java (working copy) @@ -174,6 +174,14 @@ engage(activeChar); notifyPartner(activeChar,activeChar.getPartnerId()); } + + if (Config.ENABLE_NOBLESS_COLOR) + { + if (activeChar.isNoble()) + { + activeChar.getAppearance().setNameColor(Config.NOBLESS_COLOR_NAME); + } + if (activeChar.getAllEffects() != null) { @@ -347,6 +355,7 @@ activeChar.sendPacket(new GameGuardQuery());*/ TvTEvent.onLogin(activeChar); + } } /** Molis tora to kana.Test it kai pes m
-
miso leptaki anoigo eclipse kai to kano patch kai to post edo.8a kano edit
-
s lu8hke to problhma h 8es na rotisis tpt alo? ama 8es mporo na sto kano kai me config
-
if(activeChar.isNoble()) { activeChar.getAppearance().setNameColor(to kodiko tou color); return; } nomizo etc ine
