Jump to content

[Share] Captcha Antibot System [Updated 17.6.2011, Version 2] [Please LOCK IT .]


Recommended Posts

Posted

no errors in console i get this

captchah.th.png

 

 

I have been getting this also and I have people complaining that the ANTIBOT System is lagging the server. The window will popup and freeze the server and they can't enter the code and it start to happen after I change  to version 2. When the lag happen because of the system they can't enter the code and get jailed.

 

Posted

I have been getting this also and I have people complaining that the ANTIBOT System is lagging the server. The window will popup and freeze the server and they can't enter the code and it start to happen after I change  to version 2. When the lag happen because of the system they can't enter the code and get jailed.

 

 

Are we serious? -_- ...

 

Let me check if i forgot to add smthing on the patches, but im preety sure that i have added everything.

Posted

Are we serious? -_- ...

 

Let me check if i forgot to add smthing on the patches, but im preety sure that i have added everything.

 

Hey Brother I Think I found out why the captcha was not send at least on my server, I had A unclosed connection on my buffer and it was freezing the server for a few seconds and when it happen at the same time as the pop up window with the captcha, it was messing the AntiBot.

 

But I was running some tests because 2 people said they got jailed for no reason for 360 minutes (thats the jail time for Bots in my server), and I went out to kill some mobs and when the captcha window popped I enter the code wrong 3 times and got sent to jail for 1 minute (jail time for entering the wrong code), here is the problem, when I come out of jail I was still paralized and after 3 minutes It send me back to jail, this time for 360 minutes.

 

We need to fix the code to clean itself after player come out of jail for typing the wrong code.

 

Thank you.

 

 

 

EDIT:

 

You miss this in 2 places in Antibot.java and in 1 place in Captcha.java

activeChar.setCodeRight(true);

also on captcha java you have a return false and it is supposed to be return true; (almost on the end)

 

here is the Anibot.java fixed

 

package handlers.voicedcommandhandlers;

import gov.nasa.worldwind.formats.dds.DDSConverter;

import java.awt.Color;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;
import java.io.File;
import java.util.StringTokenizer;
import java.util.logging.Level;

import javax.imageio.ImageIO;

import com.l2jserver.Config;
import com.l2jserver.gameserver.handler.IVoicedCommandHandler;
import com.l2jserver.gameserver.idfactory.IdFactory;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;
import com.l2jserver.gameserver.network.serverpackets.PledgeCrest;
import com.l2jserver.gameserver.skills.AbnormalEffect;
/**
*
* @author Pipiou211
*
*/
public class Antibot implements IVoicedCommandHandler
{
private static final String[] _voicedCommands = { "antibot" };


public static StringBuilder finalString = new StringBuilder();
NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
private static BufferedImage generateCaptcha()
{    
   Color textColor = new Color(98, 213, 43);
   Color circleColor = new Color(98, 213, 43);
   Font textFont = new Font("comic sans ms", Font.BOLD, 24);
   int charsToPrint = 5;
   int width = 256;
   int height = 64;
   int circlesToDraw = 8;
   float horizMargin = 20.0f;
   double rotationRange = 0.7; // this is radians
   BufferedImage bufferedImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);

   Graphics2D g = (Graphics2D) bufferedImage.getGraphics();

   //Draw an oval
   g.setColor(new Color(30,31,31));
   g.fillRect(0, 0, width, height);

   // lets make some noisey circles
   g.setColor(circleColor);
   for ( int i = 0; i < circlesToDraw; i++ ) {
     int circleRadius = (int) (Math.random() * height / 2.0);
     int circleX = (int) (Math.random() * width - circleRadius);
     int circleY = (int) (Math.random() * height - circleRadius);
     g.drawOval(circleX, circleY, circleRadius * 2, circleRadius * 2);
   }

   g.setColor(textColor);
   g.setFont(textFont);

   FontMetrics fontMetrics = g.getFontMetrics();
   int maxAdvance = fontMetrics.getMaxAdvance();
   int fontHeight = fontMetrics.getHeight();
   
   // Suggestions ----------------------------------------------------------------------
   // i removed 1 and l and i because there are confusing to users...
   // Z, z, and N also get confusing when rotated
   // 0, O, and o are also confusing...
   // lowercase G looks a lot like a 9 so i killed it
   // this should ideally be done for every language...
   // i like controlling the characters though because it helps prevent confusion
   // So recommended chars are:
   // String elegibleChars = "ABCDEFGHJKLMPQRSTUVWXYabcdefhjkmnpqrstuvwxy23456789";
   // Suggestions ----------------------------------------------------------------------
   String elegibleChars = "ABCDEFGHJKLMPQRSTUVWXYZ";
   char[] chars = elegibleChars.toCharArray();

   float spaceForLetters = -horizMargin * 2 + width;
   float spacePerChar = spaceForLetters / (charsToPrint - 1.0f);

   for ( int i = 0; i < charsToPrint; i++ ) {
     double randomValue = Math.random();
     int randomIndex = (int) Math.round(randomValue * (chars.length - 1));
     char characterToShow = chars[randomIndex];
     finalString.append(characterToShow);

     // this is a separate canvas used for the character so that
     // we can rotate it independently
     int charWidth = fontMetrics.charWidth(characterToShow);
     int charDim = Math.max(maxAdvance, fontHeight);
     int halfCharDim = (charDim / 2);

     BufferedImage charImage = new BufferedImage(charDim, charDim, BufferedImage.TYPE_INT_ARGB);
     Graphics2D charGraphics = charImage.createGraphics();
     charGraphics.translate(halfCharDim, halfCharDim);
     double angle = (Math.random() - 0.5) * rotationRange;
     charGraphics.transform(AffineTransform.getRotateInstance(angle));
     charGraphics.translate(-halfCharDim,-halfCharDim);
     charGraphics.setColor(textColor);
     charGraphics.setFont(textFont);

     int charX = (int) (0.5 * charDim - 0.5 * charWidth);
     charGraphics.drawString("" + characterToShow, charX, 
                            ((charDim - fontMetrics.getAscent()) 
                                   / 2 + fontMetrics.getAscent()));

     float x = horizMargin + spacePerChar * (i) - charDim / 2.0f;
     int y = ((height - charDim) / 2);
     g.drawImage(charImage, (int) x, y, charDim, charDim, null, null);

     charGraphics.dispose();
   }
   
	g.dispose();     

	return bufferedImage;
	}

public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
{
NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(0);
if (command.equalsIgnoreCase("antibot") && target != null)
{
	StringTokenizer st = new StringTokenizer(target);
	try
	{
		String newpass = null, repeatnewpass = null;
		if (st.hasMoreTokens())
			newpass = st.nextToken();
			repeatnewpass = activeChar.getCode();

		if (!(newpass == null || repeatnewpass == null))
		{
			if (newpass.equals(repeatnewpass))//Right:)
			{
				npcHtmlMessage.setHtml("<html><title>Captcha Antibot System</title><body><center><font color=\"00FF00\">Correct Captcha.<br><br></font><center><br><button value=\"Exit\" action=\"bypass -h npc_%objectId%_Quest\" width=45 height=25 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"></center></body></html>");
				activeChar.sendPacket(npcHtmlMessage);
				activeChar.stopAbnormalEffect(AbnormalEffect.REAL_TARGET);
				activeChar.setIsInvul(false);
				activeChar.setIsParalyzed(false);
				activeChar.setKills(0);
				activeChar.setCodeRight(true);
				return false;
			}

		}
		if (!newpass.equals(repeatnewpass))//Wrong
		{
			if (activeChar.getTries() > 1)
			{
			activeChar.setTries(activeChar.getTries() -1);
			//Random image file name
			int imgId = IdFactory.getInstance().getNextId();
			//Convertion from .png to .dds, and crest packed send
			try
			{
				File captcha = new File("data/captcha/captcha.png");    
				ImageIO.write(generateCaptcha(), "png", captcha);
				PledgeCrest packet = new PledgeCrest(imgId, DDSConverter.convertToDDS(captcha).array()); //Convertion to DDS where is antybot
				activeChar.sendPacket(packet);
			}
			catch (Exception e)
			{    
				_log.warning(e.getMessage());
			}
			//Paralyze, abnormal effect, invul, html with captcha output and start of the 1 min counter
			adminReply.setHtml("<html><title>Captcha Antibot System</title><body><center>Enter the 5-digits code below and click Confirm.<br><img src=\"Crest.crest_" + Config.SERVER_ID + "_" + imgId + "\" width=256 height=64><br><font color=\"888888\">(There are only english uppercase letters.)</font><br1><font color=\"FF0000\">Tries Left: " + activeChar.getTries() +"</font><br><edit var=\"antibot\" width=110><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><br>If you close by mistake this window,<br1>you can re-open it by typing \".captcha\" on Chat.<br1>You have 3 minutes to answer or you<br1>will get jailed.<br1>You have 3 tries, if you will<br1>answer wrong to all of them you<br1>will get punished.</center></body></html>");
			activeChar.sendPacket(adminReply);
			activeChar.setCode(finalString);
			finalString.replace(0, 5, "");
			return false;
			}
			//here will run method with jailing player
			activeChar.stopAbnormalEffect(AbnormalEffect.REAL_TARGET);
			npcHtmlMessage.setHtml("<html><title>Captcha Antibot System</title><body><center><font color=\"FF0000\">You have wasted your Tries.<br><br></font><font color=\"66FF00\"><center></font><font color=\"FF0000\">You will be jailed.</font><br><button value=\"Exit\" action=\"bypass -h npc_%objectId%_Quest\" width=45 height=25 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"></center></body></html>");
			if (activeChar.isFlyingMounted())
				activeChar.untransform();
			activeChar.setPunishLevel(L2PcInstance.PunishLevel.JAIL, 1);
			activeChar.setIsInvul(false);
			activeChar.setIsParalyzed(false);
			activeChar.sendPacket(npcHtmlMessage);
			activeChar.setCodeRight(true);
			return false;
		}
		else
		{
			if (activeChar.getTries() > 1)
			{
			activeChar.setTries(activeChar.getTries() -1);
			//Random image file name
			int imgId = IdFactory.getInstance().getNextId();
			//Convertion from .png to .dds, and crest packed send
			try
			{
				File captcha = new File("data/captcha/captcha.png");    
				ImageIO.write(generateCaptcha(), "png", captcha);
				PledgeCrest packet = new PledgeCrest(imgId, DDSConverter.convertToDDS(captcha).array()); //Convertion to DDS where is antybot
				activeChar.sendPacket(packet);
			}
			catch (Exception e)
			{    
				_log.warning(e.getMessage());
			}
			//Paralyze, abnormal effect, invul, html with captcha output and start of the 1 min counter
			adminReply.setHtml("<html><title>Captcha Antibot System</title><body><center>Enter the 5-digits code below and click Confirm.<br><img src=\"Crest.crest_" + Config.SERVER_ID + "_" + imgId + "\" width=256 height=64><br><font color=\"888888\">(There are only english uppercase letters.)</font><br1><font color=\"FF0000\">Tries Left: " + activeChar.getTries() +"</font><br><edit var=\"antibot\" width=110><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><br>If you close by mistake this window,<br1>you can re-open it by typing \".captcha\" on Chat.<br1>You have 3 minutes to answer or you<br1>will get jailed.<br1>You have 3 tries, if you will<br1>answer wrong to all of them you<br1>will get punished.</center></body></html>");
			activeChar.sendPacket(adminReply);
			activeChar.setCode(finalString);
			finalString.replace(0, 5, "");
			return false;
			}
			//here will run method with jailing player
			activeChar.stopAbnormalEffect(AbnormalEffect.REAL_TARGET);
			npcHtmlMessage.setHtml("<html><title>Captcha Antibot System</title><body><center><font color=\"FF0000\">You have wasted your Tries.<br><br></font><font color=\"66FF00\"><center></font><font color=\"FF0000\">You will be jailed.</font><br><button value=\"Exit\" action=\"bypass -h npc_%objectId%_Quest\" width=45 height=25 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"></center></body></html>");
			if (activeChar.isFlyingMounted())
				activeChar.untransform();
			activeChar.setPunishLevel(L2PcInstance.PunishLevel.JAIL, 1);
			activeChar.setIsInvul(false);
			activeChar.setIsParalyzed(false);
			activeChar.sendPacket(npcHtmlMessage);
			activeChar.setCodeRight(true);
			return false;
		}
	}
	catch (Exception e)
	{
		activeChar.sendMessage("A problem occured while adding captcha!");
		_log.log(Level.WARNING, "", e);
	}
}
else
{
	if (activeChar.getTries() > 1)
	{
	activeChar.setTries(activeChar.getTries() -1);
	//Random image file name
	int imgId = IdFactory.getInstance().getNextId();
	//Convertion from .png to .dds, and crest packed send
	try
	{
		File captcha = new File("data/captcha/captcha.png");    
		ImageIO.write(generateCaptcha(), "png", captcha);
		PledgeCrest packet = new PledgeCrest(imgId, DDSConverter.convertToDDS(captcha).array()); //Convertion to DDS where is antybot
		activeChar.sendPacket(packet);
	}
	catch (Exception e)
	{    
		_log.warning(e.getMessage());
	}
	//Paralyze, abnormal effect, invul, html with captcha output and start of the 1 min counter
	adminReply.setHtml("<html><title></title><body><center>Enter the 5-digits code below and click Confirm.<br><img src=\"Crest.crest_" + Config.SERVER_ID + "_" + imgId + "\" width=256 height=64><br><font color=\"888888\">(There are only english uppercase letters.)</font><br1><font color=\"FF0000\">Tries Left: " + activeChar.getTries() +"</font><br><edit var=\"antibot\" width=110><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><br>If you close by mistake this window,<br1>you can re-open it by typing \".captcha\" on Chat.<br1>You have 3 minutes to answer or you<br1>will get jailed.<br1>You have 3 tries, if you will<br1>answer wrong to all of them you<br1>will get punished.</center></body></html>");
	activeChar.sendPacket(adminReply);
	activeChar.setCode(finalString);
	finalString.replace(0, 5, "");
	return false;
}
	//here will run method with jailing player
	activeChar.stopAbnormalEffect(AbnormalEffect.REAL_TARGET);
	npcHtmlMessage.setHtml("<html><title>Captcha Antibot System</title><body><center><font color=\"FF0000\">You have wasted your Tries.<br><br></font><font color=\"66FF00\"><center></font><font color=\"FF0000\">You will be jailed.</font><br><button value=\"Exit\" action=\"bypass -h npc_%objectId%_Quest\" width=45 height=25 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"></center></body></html>");
	if (activeChar.isFlyingMounted())
		activeChar.untransform();
	activeChar.setPunishLevel(L2PcInstance.PunishLevel.JAIL, 1);
	activeChar.setIsInvul(false);
	activeChar.setIsParalyzed(false);
	activeChar.sendPacket(npcHtmlMessage);
	activeChar.setCodeRight(true);
return false;
}
return true;
}

public String[] getVoicedCommandList()
{
return _voicedCommands;
}
}

 

 

And the Captcha.java fixed

 

package handlers.voicedcommandhandlers;

import gov.nasa.worldwind.formats.dds.DDSConverter;

import java.awt.Color;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;
import java.io.File;

import javax.imageio.ImageIO;

import com.l2jserver.Config;
import com.l2jserver.gameserver.handler.IVoicedCommandHandler;
import com.l2jserver.gameserver.idfactory.IdFactory;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;
import com.l2jserver.gameserver.network.serverpackets.PledgeCrest;
import com.l2jserver.gameserver.skills.AbnormalEffect;

/**
*
* @author Pipiou211
*
*/
public class Captcha implements IVoicedCommandHandler //when you click on confirm, also this code is running or something else? this, only, and just //unpara the targetpl
{
private static final String[] _voicedCommands =
{
	"captcha"
};

   public static StringBuilder finalString = new StringBuilder();
NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
private static BufferedImage generateCaptcha()
{    
	   Color textColor = new Color(98, 213, 43);
	   Color circleColor = new Color(98, 213, 43);
	   Font textFont = new Font("comic sans ms", Font.BOLD, 24);
	   int charsToPrint = 5;
	   int width = 256;
	   int height = 64;
	   int circlesToDraw = 8;
	   float horizMargin = 20.0f;
	   double rotationRange = 0.7; // this is radians
	   BufferedImage bufferedImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);

	   Graphics2D g = (Graphics2D) bufferedImage.getGraphics();

	   //Draw an oval
	   g.setColor(new Color(30,31,31));
	   g.fillRect(0, 0, width, height);

	   // lets make some noisey circles
	   g.setColor(circleColor);
	   for ( int i = 0; i < circlesToDraw; i++ ) {
	     int circleRadius = (int) (Math.random() * height / 2.0);
	     int circleX = (int) (Math.random() * width - circleRadius);
	     int circleY = (int) (Math.random() * height - circleRadius);
	     g.drawOval(circleX, circleY, circleRadius * 2, circleRadius * 2);
	   }

	   g.setColor(textColor);
	   g.setFont(textFont);

	   FontMetrics fontMetrics = g.getFontMetrics();
	   int maxAdvance = fontMetrics.getMaxAdvance();
	   int fontHeight = fontMetrics.getHeight();
	   
	   // Suggestions ----------------------------------------------------------------------
	   // i removed 1 and l and i because there are confusing to users...
	   // Z, z, and N also get confusing when rotated
	   // 0, O, and o are also confusing...
	   // lowercase G looks a lot like a 9 so i killed it
	   // this should ideally be done for every language...
	   // i like controlling the characters though because it helps prevent confusion
	   // So recommended chars are:
	   // String elegibleChars = "ABCDEFGHJKLMPQRSTUVWXYabcdefhjkmnpqrstuvwxy23456789";
	   // Suggestions ----------------------------------------------------------------------
	   String elegibleChars = "ABCDEFGHJKLMPQRSTUVWXYZ";
	   char[] chars = elegibleChars.toCharArray();

	   float spaceForLetters = -horizMargin * 2 + width;
	   float spacePerChar = spaceForLetters / (charsToPrint - 1.0f);

	   for ( int i = 0; i < charsToPrint; i++ ) {
	     double randomValue = Math.random();
	     int randomIndex = (int) Math.round(randomValue * (chars.length - 1));
	     char characterToShow = chars[randomIndex];
	     finalString.append(characterToShow);

	     // this is a separate canvas used for the character so that
	     // we can rotate it independently
	     int charWidth = fontMetrics.charWidth(characterToShow);
	     int charDim = Math.max(maxAdvance, fontHeight);
	     int halfCharDim = (charDim / 2);

	     BufferedImage charImage = new BufferedImage(charDim, charDim, BufferedImage.TYPE_INT_ARGB);
	     Graphics2D charGraphics = charImage.createGraphics();
	     charGraphics.translate(halfCharDim, halfCharDim);
	     double angle = (Math.random() - 0.5) * rotationRange;
	     charGraphics.transform(AffineTransform.getRotateInstance(angle));
	     charGraphics.translate(-halfCharDim,-halfCharDim);
	     charGraphics.setColor(textColor);
	     charGraphics.setFont(textFont);

	     int charX = (int) (0.5 * charDim - 0.5 * charWidth);
	     charGraphics.drawString("" + characterToShow, charX, 
	                            ((charDim - fontMetrics.getAscent()) 
	                                   / 2 + fontMetrics.getAscent()));

	     float x = horizMargin + spacePerChar * (i) - charDim / 2.0f;
	     int y = ((height - charDim) / 2);
	     g.drawImage(charImage, (int) x, y, charDim, charDim, null, null);

	     charGraphics.dispose();
	   }
	   
		g.dispose();     

		return bufferedImage;
		}

public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
{
	NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(0);
	if (command.equalsIgnoreCase("captcha") && !activeChar.isCodeRight())
	{
						if (activeChar.getTries() > 1)
			{
			activeChar.setTries(activeChar.getTries() -1);
			//Random image file name
			int imgId = IdFactory.getInstance().getNextId();
			//Convertion from .png to .dds, and crest packed send
			try
			{
				File captcha = new File("data/captcha/captcha.png");    
				ImageIO.write(generateCaptcha(), "png", captcha);
				PledgeCrest packet = new PledgeCrest(imgId, DDSConverter.convertToDDS(captcha).array()); //Convertion to DDS where is antybot
				activeChar.sendPacket(packet);
			}
			catch (Exception e)
			{    
				_log.warning(e.getMessage());
			}
			//Paralyze, abnormal effect, invul, html with captcha output and start of the 1 min counter
			adminReply.setHtml("<html><title>Captcha Antibot System</title><body><center>Enter the 5-digits code below and click Confirm.<br><img src=\"Crest.crest_" + Config.SERVER_ID + "_" + imgId + "\" width=256 height=64><br><font color=\"888888\">(There are only english uppercase letters.)</font><br1><font color=\"FF0000\">Tries Left: " + activeChar.getTries() +"</font><br><edit var=\"antibot\" width=110><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><br>If you close by mistake this window,<br1>you can re-open it by typing \".captcha\" on Chat.<br1>You have 3 minutes to answer or you<br1>will get jailed.<br1>You have 3 tries, if you will<br1>answer wrong to all of them you<br1>will get punished.</center></body></html>");
			activeChar.sendPacket(adminReply);
			activeChar.setCode(finalString);
			finalString.replace(0, 5, "");
			return false;
			}
			activeChar.setTries(3);
			//here will run method with jailing player
			activeChar.stopAbnormalEffect(AbnormalEffect.REAL_TARGET);
			npcHtmlMessage.setHtml("<html><title>Captcha Antibot System</title><body><center><font color=\"FF0000\">You have wasted your Tries.<br><br></font><font color=\"66FF00\"><center></font><font color=\"FF0000\">You will be jailed.</font><br><button value=\"Exit\" action=\"bypass -h npc_%objectId%_Quest\" width=45 height=25 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"></center></body></html>");
			if (activeChar.isFlyingMounted())
				activeChar.untransform();
			activeChar.setPunishLevel(L2PcInstance.PunishLevel.JAIL, 1);
			activeChar.setIsInvul(false);
			activeChar.setIsParalyzed(false);
			activeChar.sendPacket(npcHtmlMessage);
			activeChar.setCodeRight(true);
		return false;
	}
	else
	{
		return true;
	}
	//return false;
}

public String[] getVoicedCommandList()
{
	return _voicedCommands;
}
}

  • 2 weeks later...
Guest
This topic is now closed to further replies.



  • Posts

    • I have a highly customized Hi5 pack based on L2JMobius with a lot of features for performance and modern game design. Disclaimer: I do not run any public server, but I run a "private" server for a group of 10 friends and about 2000 AI bots that required me to do heavy modifications on core systems of the game.  So my opinion will obivously be biased towards L2JMobius.   What I can tell you though without bias is: Most of the features you are asking for are nowadays considered de-facto, don't pay money for them. TvT, offline mode, community boards, premiums, vote rewards are in most packs including the open source ones. So before you pay a thousand plus euro for a pack ask yourself what you are paying that money for, that open source packs don't have.   Also a lot of the "strong points" some old packs were made for are nowadays obsolete. L2JFree derived packs for example used to have a lot of GC optimizations (Trove library) which are not not maintained, but most importantly not needed cause Java has evolved a lot since then and the performance issues these tricks tried to solve back then, are currently solved by Java's JVM itself. So if someone tries to sell you packed / unpacked integers in special hashmap data structures and other such things know that they have really lost their value nowadays.    A lot of people are selling thin air, things that everyone has. "Quality geodata" being one of them. I mean what's "quality geodata" ? Has someone painted them by hand ? Hell there's an online tool for free in github that extracts quality geodata, I think Galagard made it ? In contrast I'll tell you without wanting to boast about it that I use 3D navmesh on my project because 2000 bots could not pathfind large distances on A* on geodata. As far as I know, L2JMobius has it in its subscription version too. So if I could do an acceptable transition to navmesh from geodata in a week alone, I would assume that a decent pack with dedicated developers could do it better and faster. Red flag if someone still tries to sell you geodata in 2026.   Multi-protocol support gives small value and is a high risk.   I would not go for multi-protocol support for a public server cause you are locking yourself to specific providers and the functionality they support. If you need to change (eg pricing issues), you will be locked to a handful of providers. And what are you really gaining from a new client on an old game version ? Better UI ? The engine is still the same, static targeting and menus.    Agentic AI will make old hard features easy to implement, and drop their money value. Pay for AI-proof value. And compared to what most insecure devs claim, its a very powerful tool that allows those who know how to use it to accelerate their development. So a lot of features that took in the past a lot of time and effort to be developed and were a reason to charge money, are becoming a commodity today. So think to: The thing I am paying money for right now, how easy will it be to implement in a year from now ? If for example you are paying money for a game launcher that Claude Code can generate in top 1 hour without issues, I think you are wasting money.    I want to emphasise this a lot. Software engineering is in a transition atm. Most things that were mediocre to implement, launchers, guards, CMS, are nowadays easy. Yet the dev community continues to market them as premium content. They are not, sooner or later, when everyone starts selling them, they will realize that they will have to offer value in more complex features.  Private or public ? Bottom line is that a private pack and 1000 euro wont get you a sucessful server. You're the one that make it or break it. There have been many sucessful servers both in private packs and public packs in the past. It's really on the hands of the beholder, not on the source. A pack that plays good is a good indicator to buy as Trance said, but I would disagree that it's not enough. A server owner is not a player. He's a business man and has to account for longevity, vendor lock-in, expandability, hidden costs,  amortization, price changes and many more. Don't pick a pack based on how it played only.    
    • You don’t even need to look for a ghost project. Just buy the files from a project you’ve personally tested or played. That’s a much better starting point.
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
    • You have to put deep inside your pocket for something like this, for sure 😄
    • Hello everyone, I'm looking for a High Five Java server pack for a long-term project. I'm not looking for free packs. I'm interested in purchasing a professional pack with full source code if it's worth the investment. My priorities are: Stable core Clean and well-structured source code Good geodata and AI Modern Community Board Offline Trade / Offline Craft Premium Account system Vote Reward system Auto Events (TvT, CTF, DM, etc.) HWID protection Auto Farm  Buffer / QoL systems Modern admin tools Good Olympiad & Seven Signs implementation Excellent instance support (Freya, Frintezza, Zaken, Beleth, etc.) A huge bonus would be: Multi-protocol support (High Five + newer clients such as Salvation/Classical clients) Full source code (no closed binaries) Some custom things over Elegia At the moment I'm considering packs like Sunrise and L2-Scripts, but I'd really like to hear opinions from people who have actually worked with them. If you've been running a serious High Five project, I'd appreciate your honest feedback: Which pack are you using? What are its strengths and weaknesses? Would you buy it again? Are there any better alternatives available today? I'm looking for real experience rather than advertisements. Thanks!
  • 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..