Kalispera pedia..pira enan code apo edw tis proales o opios sta 80 lvl..afou pareis p.x. 100 pvp sou dinei level up dld se paei 81 kai meta p.x. sta 200 pvp pas 82lv v ktlp.. ton perasa ola kala...paw na ton dokimasw to game..kai apla dn ginete tpt.. an borei kapios na me boithisei...
o server einai Iterlude...ala ehw anevasei ta level mehri 85.
Index: I:/workspace/L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- I:/workspace/L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 3645)
+++ I:/workspace/L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy)
@@ -5656,6 +5656,96 @@
}
/**
+ * PvP counts as xp after level 80.
+ *
+ */
+ public void increaseLevelFromPvPs(int pvpKills)
+ {
+ if (getLevel() <= 80)
+ return;
+ {
+ if (Config.ALLOW_PVP_LEVEL_SYSTEM && getLevel() >= 81 && getLevel() < 86)
+ {
+ if ((getLevel() == 81 && pvpKills >= (Config.PVP_LEVEL_AM-beep-T1)) && (pvpKills < (Config.PVP_LEVEL_AM-beep-T2)))
+ {
+ addExpAndSp(Experience.LEVEL[getLevel() + 1], 0);
+ sendMessage("You reached " + Config.PVP_LEVEL_AM-beep-T1 +" pvps and leveled up!");
+ }
+ else if ((getLevel() == 82 && pvpKills >= (Config.PVP_LEVEL_AM-beep-T2)) && (pvpKills < (Config.PVP_LEVEL_AM-beep-T3)))
+ {
+ addExpAndSp(Experience.LEVEL[getLevel() + 1], 0);
+ sendMessage("You reached " + Config.PVP_LEVEL_AM-beep-T2 +" pvps and leveled up!");
+ }
+ else if ((getLevel() == 83 && pvpKills >= (Config.PVP_LEVEL_AM-beep-T3)) && (pvpKills < (Config.PVP_LEVEL_AM-beep-T4)))
+ {
+ addExpAndSp(Experience.LEVEL[getLevel() + 1], 0);
+ sendMessage("You reached " + Config.PVP_LEVEL_AM-beep-T3 +" pvps and leveled up!");
+ }
+ else if ((getLevel() == 84 && pvpKills >= (Config.PVP_LEVEL_AM-beep-T4)) && (pvpKills < (Config.PVP_LEVEL_AM-beep-T5)))
+ {
+ addExpAndSp(Experience.LEVEL[getLevel() + 1], 0);
+ sendMessage("You reached " + Config.PVP_LEVEL_AM-beep-T4 +" pvps and leveled up!");
+ }
+ else if ((getLevel() == 85 && pvpKills >= (Config.PVP_LEVEL_AM-beep-T5)) && (pvpKills < (Config.PVP_LEVEL_AM-beep-T6)))
+ {
+ addExpAndSp(Experience.LEVEL[getLevel() + 1], 0);
+ sendMessage("You reached " + Config.PVP_LEVEL_AM-beep-T5 +" pvps and leveled up!");
+ }
+ }
+ }
+ }
+
+ /**
* Increase the pvp kills count and send the info to the player
*
*/
@@ -5664,6 +5754,9 @@
// Add karma to attacker and increase its PK counter
setPvpKills(getPvpKills() + 1);
+ increaseLevelFromPvPs(getPvpKills());
+ broadcastUserInfo();
+
// Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
sendPacket(new UserInfo(this));
sendPacket(new ExBrExtraUserInfo(this));
Index: I:/workspace/L2_GameServer/java/net/sf/l2j/Config.java
===================================================================
--- I:/workspace/L2_GameServer/java/net/sf/l2j/Config.java (revision 3645)
+++ I:/workspace/L2_GameServer/java/net/sf/l2j/Config.java (working copy)
@@ -793,6 +793,24 @@
public static String DATAPACK_VERSION;
public static int PVP_NORMAL_TIME;
public static int PVP_PVP_TIME;
+ public static boolean ALLOW_PVP_LEVEL_SYSTEM;
+ public static int PVP_LEVEL_AM-beep-T1;
+ public static int PVP_LEVEL_AM-beep-T2;
+ public static int PVP_LEVEL_AM-beep-T3;
+ public static int PVP_LEVEL_AM-beep-T4;
+ public static int PVP_LEVEL_AM-beep-T5;
public static enum IdFactoryType
{
Compaction,
@@ -2454,6 +2472,24 @@
else if (pName.equalsIgnoreCase("PvPVsNormalTime")) PVP_NORMAL_TIME = Integer.parseInt(pValue);
else if (pName.equalsIgnoreCase("PvPVsPvPTime")) PVP_PVP_TIME = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("AllowPvPLevelSystem")) ALLOW_PVP_LEVEL_SYSTEM = Boolean.parseBoolean(pValue);
+ else if (pName.equalsIgnoreCase("PvPLevelAm-beep-t1")) PVP_LEVEL_AM-beep-T1 = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("PvPLevelAm-beep-t2")) PVP_LEVEL_AM-beep-T2 = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("PvPLevelAm-beep-t3")) PVP_LEVEL_AM-beep-T3 = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("PvPLevelAm-beep-t4")) PVP_LEVEL_AM-beep-T4 = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("PvPLevelAm-beep-t5")) PVP_LEVEL_AM-beep-T5 = Integer.parseInt(pValue);
else if (pName.equalsIgnoreCase("GlobalChat")) DEFAULT_GLOBAL_CHAT = pValue;
else if (pName.equalsIgnoreCase("TradeChat")) DEFAULT_TRADE_CHAT = pValue;
else if (pName.equalsIgnoreCase("GMAdminMenuStyle")) GM_ADMIN_MENU_STYLE = pValue;
estoy montandolo en mi win10pro jaja descargue tu rar y ahora no puedo iniciar la cache ya que pide una key serial podrias ayudarme asi lo monto para jugar solo en el server.exe tambien me pide un serial
There was a time when SMS and MMS actually meant something.
📱 You’d hear that message tone, your heart would skip a beat — who texted? what did they say?
Every “Hey :)” mattered, because every SMS cost money, and an MMS? That was pure luxury.
Now it’s simpler — no waiting, no saving characters, no wondering if it’ll deliver.
You just go to VibeSMS.net — pick a country, choose a number, and get your code in seconds. ⚡
Back then we cherished every message.
Now we just make sure everything gets delivered.
🌐 Website: vibe-sms.com
📢 Telegram Channel: https://t.me/vibe_sms
Hello,
I'm a staff member in a known CS 1.6 community and 1 of our servers is experiencing attacks that could change the player's names, set the sensivity to highest, making some messages appear on the screen or unbinding all keybind and then crashing the server.
Does anyone know what this attack could be? How is it done and how to solve it? We haven't found a solution yet.
The servers are VAC protected btw.
image.jpg
I fixed it now my friends can join too, with what do you want help with? Also can you upload the interlude client of gx-ext for c4? just to have it because i deleted the rar i just have the folder
Question
donek21
Kalispera pedia..pira enan code apo edw tis proales o opios sta 80 lvl..afou pareis p.x. 100 pvp sou dinei level up dld se paei 81 kai meta p.x. sta 200 pvp pas 82lv v ktlp.. ton perasa ola kala...paw na ton dokimasw to game..kai apla dn ginete tpt.. an borei kapios na me boithisei...
o server einai Iterlude...ala ehw anevasei ta level mehri 85.
Index: I:/workspace/L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- I:/workspace/L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 3645) +++ I:/workspace/L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -5656,6 +5656,96 @@ } /** + * PvP counts as xp after level 80. + * + */ + public void increaseLevelFromPvPs(int pvpKills) + { + if (getLevel() <= 80) + return; + { + if (Config.ALLOW_PVP_LEVEL_SYSTEM && getLevel() >= 81 && getLevel() < 86) + { + if ((getLevel() == 81 && pvpKills >= (Config.PVP_LEVEL_AM-beep-T1)) && (pvpKills < (Config.PVP_LEVEL_AM-beep-T2))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AM-beep-T1 +" pvps and leveled up!"); + } + else if ((getLevel() == 82 && pvpKills >= (Config.PVP_LEVEL_AM-beep-T2)) && (pvpKills < (Config.PVP_LEVEL_AM-beep-T3))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AM-beep-T2 +" pvps and leveled up!"); + } + else if ((getLevel() == 83 && pvpKills >= (Config.PVP_LEVEL_AM-beep-T3)) && (pvpKills < (Config.PVP_LEVEL_AM-beep-T4))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AM-beep-T3 +" pvps and leveled up!"); + } + else if ((getLevel() == 84 && pvpKills >= (Config.PVP_LEVEL_AM-beep-T4)) && (pvpKills < (Config.PVP_LEVEL_AM-beep-T5))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AM-beep-T4 +" pvps and leveled up!"); + } + else if ((getLevel() == 85 && pvpKills >= (Config.PVP_LEVEL_AM-beep-T5)) && (pvpKills < (Config.PVP_LEVEL_AM-beep-T6))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AM-beep-T5 +" pvps and leveled up!"); + } + } + } + } + + /** * Increase the pvp kills count and send the info to the player * */ @@ -5664,6 +5754,9 @@ // Add karma to attacker and increase its PK counter setPvpKills(getPvpKills() + 1); + increaseLevelFromPvPs(getPvpKills()); + broadcastUserInfo(); + // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter sendPacket(new UserInfo(this)); sendPacket(new ExBrExtraUserInfo(this));Index: I:/workspace/L2_GameServer/java/net/sf/l2j/Config.java =================================================================== --- I:/workspace/L2_GameServer/java/net/sf/l2j/Config.java (revision 3645) +++ I:/workspace/L2_GameServer/java/net/sf/l2j/Config.java (working copy) @@ -793,6 +793,24 @@ public static String DATAPACK_VERSION; public static int PVP_NORMAL_TIME; public static int PVP_PVP_TIME; + public static boolean ALLOW_PVP_LEVEL_SYSTEM; + public static int PVP_LEVEL_AM-beep-T1; + public static int PVP_LEVEL_AM-beep-T2; + public static int PVP_LEVEL_AM-beep-T3; + public static int PVP_LEVEL_AM-beep-T4; + public static int PVP_LEVEL_AM-beep-T5; public static enum IdFactoryType { Compaction, @@ -2454,6 +2472,24 @@ else if (pName.equalsIgnoreCase("PvPVsNormalTime")) PVP_NORMAL_TIME = Integer.parseInt(pValue); else if (pName.equalsIgnoreCase("PvPVsPvPTime")) PVP_PVP_TIME = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("AllowPvPLevelSystem")) ALLOW_PVP_LEVEL_SYSTEM = Boolean.parseBoolean(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAm-beep-t1")) PVP_LEVEL_AM-beep-T1 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAm-beep-t2")) PVP_LEVEL_AM-beep-T2 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAm-beep-t3")) PVP_LEVEL_AM-beep-T3 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAm-beep-t4")) PVP_LEVEL_AM-beep-T4 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAm-beep-t5")) PVP_LEVEL_AM-beep-T5 = Integer.parseInt(pValue); else if (pName.equalsIgnoreCase("GlobalChat")) DEFAULT_GLOBAL_CHAT = pValue; else if (pName.equalsIgnoreCase("TradeChat")) DEFAULT_TRADE_CHAT = pValue; else if (pName.equalsIgnoreCase("GMAdminMenuStyle")) GM_ADMIN_MENU_STYLE = pValue;12 answers to this question
Recommended Posts