Jump to content
  • 0

Help [GameServer Problem]


Question

Posted

Hi,today when I looked in game server i saw

 

Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.2

 

This makes me a big lag,what can I do to stop? pls help me

Recommended Posts

  • 0
Posted

Hi,today when I looked in game server i saw

 

Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.27.38] disconnected abnormally.
Client [iP: 188.24.2

 

This makes me a big lag,what can I do to stop? pls help me

this means someone is attacking/ddosing your server with a program, to fix it block this ip if you have linux or add java protections against this programs..

  • 0
Posted

can u help me with java code?

i dont know exactly what this attacker is, i think is l2j attacker.. search in forum, somewhere is posted

  • 0
Posted

Where can I get IPv4Filter for interlude?

 

here is mine for interlude

 

/* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*
* http://www.gnu.org/copyleft/gpl.html
*/

package net.sf.l2j.gameserver.util;

import java.net.InetAddress;
import java.nio.channels.SocketChannel;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map.Entry;

import com.l2jserver.mmocore.network.IAcceptFilter;

/**
* Formatted Forsaiken's IPv4 filter [DrHouse]
* 
* @Reworked by Adryan
*
*/
public class IPv4Filter implements IAcceptFilter, Runnable
{
private HashMap<Integer, Flood> _ipFloodMap;
private static final long SLEEP_TIME = 5000;

public IPv4Filter()
{
	_ipFloodMap = new HashMap<Integer, Flood>();
	Thread t = new Thread(this);
	t.setDaemon(true);
	t.start();
}
/**
 * 
 * @param ip
 * @return
 */
private static final int hash(byte[] ip)
{
	return ip[0] & 0xFF | ip[1] << 8 & 0xFF00 | ip[2] << 16 & 0xFF0000 | ip[3] << 24 & 0xFF000000;
}

protected static final class Flood
{
	long lastAccess;
	int trys;

	Flood()
	{
		lastAccess = System.currentTimeMillis();
		trys = 0;
	}
}

public boolean accept(SocketChannel sc)
{
	InetAddress addr = sc.socket().getInetAddress();
	int h = hash(addr.getAddress());

	long current = System.currentTimeMillis();
	Flood f;
	synchronized (_ipFloodMap)
	{
		f = _ipFloodMap.get(h);
	}
	if (f != null)
	{
		if (f.trys == -1)
		{
			f.lastAccess = current;
			return false;
		}

		if (f.lastAccess + 1000 > current)
		{
			f.lastAccess = current;

			if (f.trys >= 3)
			{
				f.trys = -1;
				return false;
			}

			f.trys++;
		}
		else
		{
			f.lastAccess = current;
		}
	}
	else
	{
		synchronized (_ipFloodMap)
		{
			_ipFloodMap.put(h, new Flood());
		}
	}

	return true;
}

public void run()
{
	while (true)
	{
		long reference = System.currentTimeMillis() - (1000 * 300);
		ArrayList<Integer> toRemove = new ArrayList<Integer>(50);

		synchronized (_ipFloodMap)
		{
			for (Entry<Integer, Flood> e : _ipFloodMap.entrySet())
			{
				Flood f = e.getValue();
				if (f.lastAccess < reference)
					toRemove.add(e.getKey());
			}
		}

		synchronized (_ipFloodMap)
		{
			for (Integer i : toRemove)
			{
				_ipFloodMap.remove(i);
			}
		}

		try
		{
			Thread.sleep(SLEEP_TIME);
		}
		catch (InterruptedException e)
		{

		}
	}
}

}

  • 0
Posted

There are different protections,for l2jserver?

Please post the codes..or link something...

maybe 1 more for l2j attacker but with this ipv4filter you are safe from this... btw you are not safe from all ddos programs.. you will never be... you can restrict most of them with firewall rooter or other java programs... depends what the ddos program is

  • 0
Posted

ok, i have router and firewall protection,but I can not give me it down, but lag is small.. as in many players have lag its s***s :|

 

my conexion for internet its guaranteed to not decrease

  • 0
Posted

ok, i have router and firewall protection,but I can not give me it down, but lag is small.. as in many players have lag its s***s :|

no no you didnt understand, i am talking about firewall router... not about firewall + router... everyone have these

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • 🧵 [FREE RELEASE] L2Updater + AntiCheat + Build System + Full Website ⚔️ Presentation After a long time of development, testing, and improvements, I decided to release this project for free to the community. This is a complete package for anyone who wants to build a Lineage II server with a professional-level structure. The idea was not just to create a simple tool, but a full ecosystem that covers everything a modern server needs. 🚀 What’s Included This release contains: ✔ Modern Launcher (Windows) ✔ Smart Update System (FULL + PATCH) ✔ AntiCheat protection (client-side DLL) ✔ Build System for generating updates ✔ Complete Website (register + ranking + pages) Everything is integrated to work together. 🧠 Project Concept The goal of this project is simple: Instead of using outdated launchers or fragmented systems, this package provides: ✔ Organization ✔ Performance ✔ Security ✔ Scalability 🔄 Update System The updater is based on a manifest system, where: ✔ The client checks versions automatically ✔ Only changed files are downloaded (patch system) ✔ Full client is downloaded if needed ✔ Files are validated using hash This results in: Faster updates Lower bandwidth usage Better user experience 🛡️ AntiCheat System The AntiCheat included in this package works directly on the client side. It provides: ✔ Protection against modified clients ✔ Basic cheat detection ✔ File integrity validation ✔ Blocking of suspicious environments This helps maintain a fair and controlled gameplay environment. 🏗️ Build System (Patch Creator) A full build system is included to automate updates. Features: ✔ Detect changed files automatically ✔ Generate FULL packages ✔ Generate PATCH updates ✔ Create manifest.json automatically This allows you to manage updates like: 🌐 Website System A complete website is included, featuring: ✔ Account registration ✔ Player ranking (PvP / PK) ✔ News pages ✔ Integration with the server database 🎯 Why Use This? Many servers fail because they lack structure. This package solves that by providing: ✔ A complete environment ✔ Organized update flow ✔ Integrated systems ✔ Ready-to-use base ⚙️ Technical Details ✔ Launcher developed with modern UI concepts ✔ Patch system based on hash validation ✔ Integration between server, launcher, and website ✔ Expandable architecture 📦 Download 👉 (https://mega.nz/file/AusTnYQK#ZhvArkZpDS7FH60TXd2rg5wT2OxSg9v2pJ2GLrJbyiQ / download link here) 💬 Final Words If your server does not have a system like this today: This project is designed to help you reach a higher level.  
    • Am not interested in your clients. I stopped selling files a long time ago, so you are not my competitor. And the reason no one complains is because every time someone posted about your ‘FILES,’ you CRY TO the forum admins close the topic 😄 and delete the comments as well. Not to mention how many times you were banned here maybe that just happened by mistake, right? 🙂       ps Go fix your packets instead of sitting on MaxCheaters 24/7 you’ll probably get trashed here again soon 🙂
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..