Сообщений: 54
Тем: 13
Зарегистрирован: Apr 2010
Репутация:
-5
Народ подскажите как избавиться от Speedhack меня на моём сервере читеры достали !!!
Сообщений: 982
Тем: 73
Зарегистрирован: Jan 2009
Репутация:
2,862
вот вам антипанель и антиспид))) нашел на форуме уников тесте правда рева старая (( но попробуйте , пока обновы нет
Patch
Index: src/com/aionemu/gameserver/network/aion/AionConnection.java
===================================================================
--- src/com/aionemu/gameserver/network/aion/AionConnection.java (revision 2029)
+++ src/com/aionemu/gameserver/network/aion/AionConnection.java (working copy)
@@ -100,7 +100,10 @@
private AionPacketHandler aionPacketHandler;
private PlayerService playerService;
private long lastPingTimeMS;
+ private long lastCheckTimeMS;
+ private long lastCheck1TimeMS;
+
/**
* Constructor
*
@@ -395,4 +398,66 @@
{
this.lastPingTimeMS = lastPingTimeMS;
}
+
+ /**
+
+ * @return the lastCheckTimeMS
+
+ */
+
+ public long getLastCheckTimeMS()
+
+ {
+
+ return lastCheckTimeMS;
+
+ }
+
+
+ /**
+
+ * @param lastCheckTimeMS to set
+
+ */
+
+ public void setLastCheckTimeMS(long lastCheckTimeMS)
+
+ {
+
+ this.lastCheckTimeMS = lastCheckTimeMS;
+
+ }
+
+
+ /**
+
+ * @return the second lastCheckTimeMS
+
+ */
+
+ public long getLastCheck1TimeMS()
+
+ {
+
+ return lastCheck1TimeMS;
+
+ }
+
+
+
+ /**
+
+ * @param the second lastCheckTimeMS to set
+
+ */
+
+ public void setLastCheck1TimeMS(long lastCheck1TimeMS)
+
+ {
+
+ this.lastCheck1TimeMS = lastCheck1TimeMS;
+
+ }
+
}
+
\ No newline at end of file
Index: src/com/aionemu/gameserver/network/aion/clientpackets/CM_MOVE.java
===================================================================
--- src/com/aionemu/gameserver/network/aion/clientpackets/CM_MOVE.java (revision 2029)
+++ src/com/aionemu/gameserver/network/aion/clientpackets/CM_MOVE.java (working copy)
@@ -24,6 +24,8 @@
import com.aionemu.gameserver.model.gameobjects.stats.StatEnum;
import com.aionemu.gameserver.network.aion.AionClientPacket;
import com.aionemu.gameserver.network.aion.serverpackets.SM_MOVE;
+import com.aionemu.gameserver.network.aion.serverpackets.SM_QUIT_RESPONSE;
+
import com.aionemu.gameserver.utils.PacketSendUtility;
import com.aionemu.gameserver.world.World;
import com.google.inject.Inject;
@@ -31,7 +33,7 @@
/**
* Packet about player movement.
*
- * @author -Nemesiss-
+ * @author -Nemesiss-, Ares
*
*/
public class CM_MOVE extends AionClientPacket
@@ -50,7 +52,7 @@
private byte movementType;
- private float x, y, z, x2, y2, z2;
+ private float x, y, z, x2, y2, z2, z3;
private byte glideFlag;
@@ -113,6 +115,8 @@
protected void runImpl()
{
Player player = getConnection().getActivePlayer();
+ float z3 = player.getZ();
+ MoveController mc1 = player.getMoveController();
//packet was not read correctly
if(type == null)
@@ -197,6 +201,65 @@
break;
}
+
+ if(type == MovementType.MOVEMENT_GLIDE_DOWN && z3 < z)
+
+ {
+
+ long lastMS = getConnection().getLastCheckTimeMS();
+
+ if(lastMS > 0)
+
+ {
+
+ long checkInterval = System.currentTimeMillis() - lastMS;
+
+
+ // checkInterval should be 300ms
+
+ if(checkInterval < 300) // client timer cheat
+ {
+
+ long lastMS1 = getConnection().getLastCheck1TimeMS();
+
+ if(lastMS1 > 0 && type == MovementType.MOVEMENT_GLIDE_DOWN && z3 < z)
+
+ {
+
+ long checkInterval2 = System.currentTimeMillis() - lastMS1;
+
+ // checkInterval should be 400ms
+
+ if(checkInterval2 < 400) // client timer cheat
+
+ {
+
+ String name = getConnection().getActivePlayer().getName();
+
+ log.info("[AUDIT] possible client Glide cheat: " + checkInterval + " " + name);
+
+ log.info("[AUDIT] Kicked for Glide cheat: " + checkInterval + " " + name);
+
+
+ getConnection().close(new SM_QUIT_RESPONSE(), true);
+
+ }
+
+ }
+
+ getConnection().setLastCheck1TimeMS(System.currentTimeMillis());
+
+ }
+
+ }
+
+ getConnection().setLastCheckTimeMS(System.currentTimeMillis());
+
+ }
+
+
+
+
if(type != MovementType.MOVEMENT_STOP && player.isProtectionActive())
{
player.getController().stopProtectionActiveTask();
Index: src/com/aionemu/gameserver/network/aion/clientpackets/CM_PING.java
===================================================================
--- src/com/aionemu/gameserver/network/aion/clientpackets/CM_PING.java (revision 2029)
+++ src/com/aionemu/gameserver/network/aion/clientpackets/CM_PING.java (working copy)
@@ -19,6 +19,7 @@
import org.apache.log4j.Logger;
import com.aionemu.gameserver.network.aion.AionClientPacket;
+import com.aionemu.gameserver.network.aion.serverpackets.SM_QUIT_RESPONSE;
import com.aionemu.gameserver.network.aion.serverpackets.SM_PONG;
/**
@@ -62,11 +63,12 @@
{
long pingInterval = System.currentTimeMillis() - lastMS;
// PingInterval should be 3min (180000ms)
- if(pingInterval < 100000)// client timer cheat
+ if(pingInterval < 80000)// client timer cheat
{
String name = getConnection().getActivePlayer().getName();
log.info("[AUDIT] possible client timer cheat: " + pingInterval + " " + name);
- //getConnection().close(new SM_QUIT_RESPONSE(), true);
+ log.info("[AUDIT] Timer cheat kicked: " + pingInterval + " " + name);
+ getConnection().close(new SM_QUIT_RESPONSE(), true);
}
}
MiR @ Aion Emu
Продам сборки v2.7 v3.9 v4.7 v4.8 v4.9 v5.1 , сборки мастер сервера v1.9 и v2.7 ,пишу скрипты и квесты на заказ , правки ядра , правки даты , писать в ПМ
Сообщений: 54
Тем: 13
Зарегистрирован: Apr 2010
Репутация:
-5
Я ничего не понял как это ставить ???
Сообщений: 488
Тем: 7
Зарегистрирован: May 2010
Репутация:
860
Да, как устанавливать? Убрать все и вставить этот текст или добавить вконце / вначале ???
[SIGPIC][/SIGPIC]
Сообщений: 314
Тем: 32
Зарегистрирован: Mar 2010
Репутация:
2,207
Вот две защиты. Настраивать нужно под себя.
1. от спид хака
2. от чат спама
Есть еще на форуме у уников защита для линухи. проверено 100% защита но 100% геморой при установке))) Если нужно смогу выкинуть тож.
Файлы вложений
anticheat2.zip (Размер: 1.55 KB / Загрузок: 30)
SH_rev1920.zip (Размер: 4.07 KB / Загрузок: 28)
Сообщений: 488
Тем: 7
Зарегистрирован: May 2010
Репутация:
860
всеровно я не знаю как установить....куда пихнуть? как настроить наверно разобрался...первый раз устанавливаю патч на исходнички.
[SIGPIC][/SIGPIC]
Сообщений: 54
Тем: 13
Зарегистрирован: Apr 2010
Репутация:
-5
Объясните как патчи ставить а то непонятно что да как !!!!!
Сообщений: 1,004
Тем: 48
Зарегистрирован: Jan 2010
Репутация:
2,274
06-01-2010, 02:19 AM
(Сообщение последний раз редактировалось: 06-01-2010, 03:34 AM Devilop .)
sayran открываешь исходник и вставляешь туда этот текст
вот и всё
после компилищь и запускаешь сервак
или через черепашку выбираем применить заплатку к вот этой папке ...Aion-Game\AE-go_GameServer
ЛЮДИ ВКЛЮЧИТЕ ВАШИ МОЗГИ
а то китайцы уже андроидов в телефоны пихают
Nokia N810
Сообщений: 3
Тем: 0
Зарегистрирован: Feb 2010
Репутация:
0
А выложи пожалуйстя для линуха