Jump to content

Marketplace [Powerlvl & Support]

Here you can offer poweleveling and other services for private and official servers.Use at your own risk.


Subforums

  1. [Premium] Marketplace [Powerlvl & Support]

    Only Premium Members can offer poweleveling and other services for private and official servers.Use at your own risk.

    5
    posts

780 topics in this forum

    • 0 replies
    • 202 views
    • 0 replies
    • 252 views
    • 0 replies
    • 247 views
    • 1 reply
    • 302 views
    • 0 replies
    • 202 views
    • 0 replies
    • 263 views
    • 2 replies
    • 357 views
  1. WTB RPG Club x5 H5

    • 1 reply
    • 409 views
    • 0 replies
    • 248 views
    • 0 replies
    • 194 views
    • 17 replies
    • 4.4k views
  2. WTB Lineage fb group

    • 0 replies
    • 279 views
    • 0 replies
    • 285 views
    • 1 reply
    • 751 views
    • 1 reply
    • 360 views
    • 2 replies
    • 1.4k views
    • 47 replies
    • 15.6k views
  3. WTS Promo for Lineage 2 1 2

    • 23 replies
    • 2.4k views
  4. WTB Power leveling

    • 1 reply
    • 460 views
  5. WTB payment support

    • 0 replies
    • 321 views
    • 0 replies
    • 231 views
    • 0 replies
    • 249 views
    • 0 replies
    • 219 views
  6. WTB walker oog

    • 0 replies
    • 345 views
  7. WTB C6 INTERFACE CODER

    • 0 replies
    • 300 views
    • 0 replies
    • 346 views
    • 1 reply
    • 456 views
    • 1 reply
    • 448 views
    • 0 replies
    • 442 views
    • 0 replies
    • 304 views
    • 26 replies
    • 3.5k views
  8. WTB WTB USED ADRE KEY

    • 1 reply
    • 298 views
    • 6 replies
    • 683 views
    • 0 replies
    • 357 views
    • 0 replies
    • 253 views
    • 8 replies
    • 1.7k views
    • 11 replies
    • 2.2k views
    • 1 reply
    • 250 views
  9. buy adrenaline

    • 4 replies
    • 866 views
    • 2 replies
    • 585 views


  • Posts

    • Hello everyone, I have a problem running the server connected everything is fine I try to go moving instead of some printers but don't go. Trying to move but not moving as if something was interfering with the admin I tried not to walk and beat.
    • You can pm Java developer @Zake to fix it with price.
    • Stop use packs without source.
    • pws mporw auto to code anti na allazei to xroma ston titlo na allazei to name tou titlou? sto config ekei 8elw poio poli thanks ### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: config/players.properties =================================================================== --- config/players.properties (revision 2) +++ config/players.properties (working copy) @@ -288,4 +288,12 @@ MaxBuffsAmount = 20 # Store buffs/debuffs on user logout? -StoreSkillCooltime = True \ No newline at end of file +StoreSkillCooltime = True + +#============================================================= +# Config Color PvP System +#============================================================= +# PvP Title color system. +AllowPvpTitleColorSystem = True +# PvP Title colors, works like: pvps,color;pvps,color; +PvpColors = 100,00FFFF;200,FFFF00;400,8E236B;600,FF2400;1000,0000FF;2000,FF00FF;5000,000000;10000,545454;15000,FF0000; Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 2) +++ java/net/sf/l2j/Config.java (working copy) @@ -24,7 +24,9 @@ import java.math.BigInteger; import java.util.ArrayList; import java.util.Arrays; +import java.util.HashMap; import java.util.List; +import java.util.Map; import java.util.Properties; import java.util.StringTokenizer; import java.util.logging.Logger; @@ -484,6 +486,10 @@ public static boolean STORE_SKILL_COOLTIME; public static int BUFFS_MAX_AMOUNT; + /** PvP Color System */ + public static boolean ALLOW_PVP_TITLE_COLOR_SYSTEM; + public static Map<Integer, Integer> PVP_COLORS = new HashMap<>(); + // -------------------------------------------------- // Server // -------------------------------------------------- @@ -1089,7 +1095,16 @@ BUFFS_MAX_AMOUNT = players.getProperty("MaxBuffsAmount", 20); STORE_SKILL_COOLTIME = players.getProperty("StoreSkillCooltime", true); + ALLOW_PVP_TITLE_COLOR_SYSTEM = Boolean.parseBoolean(players.getProperty("AllowPvpTitleColorSystem", "false")); + String pvp_colors = players.getProperty("PvpColors", "100,FFFF00"); + String pvp_colors_splitted_1[] = pvp_colors.split(";"); + for (String s : pvp_colors_splitted_1) + { + String pvp_colors_splitted_2[] = s.split(","); + PVP_COLORS.put(Integer.parseInt(pvp_colors_splitted_2[0]), Integer.decode("0x"+pvp_colors_splitted_2[1])); + } + // server ExProperties server = load(SERVER_FILE); Index: java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java =================================================================== --- java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (revision 2) +++ java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (working copy) @@ -256,6 +256,10 @@ // Attacker or spectator logging into a siege zone will be ported at town. if (!activeChar.isGM() && (!activeChar.isInSiege() || activeChar.getSiegeState() < 2) && activeChar.isInsideZone(ZoneId.SIEGE)) activeChar.teleToLocation(MapRegionTable.TeleportWhereType.Town); + if (Config.ALLOW_PVP_TITLE_COLOR_SYSTEM) + { + activeChar.colorsCheck(); + } } private static void engage(L2PcInstance cha) Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 2) +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -1909,7 +1909,21 @@ { return _pvpKills; } - + public void colorsCheck() + { + if (Config.ALLOW_PVP_TITLE_COLOR_SYSTEM) + { + for (int i : Config.PVP_COLORS.keySet()) + { + if (getPvpKills() >= i) + { + getAppearance().setTitleColor(Config.PVP_COLORS.get(i)); + broadcastUserInfo(); + } + } + } + } + /** * Set PvP Kills of the L2PcInstance (number of player killed during a PvP). * @param pvpKills A value. @@ -4283,7 +4297,10 @@ { // Add PvP point to attacker. setPvpKills(getPvpKills() + 1); - + if (Config.ALLOW_PVP_TITLE_COLOR_SYSTEM) + { + colorsCheck(); + } // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter sendPacket(new UserInfo(this)); }  
    • this is the material make it crash, Transient.ShadowBitmapMaterial16), something changed or edited in maps or called to function in NPC to make it crash, because it make reference to map 22_22 like say Rolo.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disbaled AdBlock