Jump to content

Stewie

Banned
  • Posts

    1,771
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Stewie

  1. Problem was with this line

      if (this.getActiveChar().isFarmBot())

    Exception in thread "SelectorThread-364" java.lang.NullPointerException

            at com.l2jserver.gameserver.network.L2GameClient.onForcedDisconnecti

    2GameClient.java:634)

            at org.mmocore.network.SelectorThread.readPacket(SelectorThread.java

    )

            at org.mmocore.network.SelectorThread.run(SelectorThread.java:176)

    So as nevermore told me i changed to this...

    		if (getActiveChar() != null && getActiveChar().isFarmBot())

    And now error is

    Exception in thread "SelectorThread-364" java.lang.NullPointerException

            at com.l2jserver.gameserver.network.L2GameClient.onForcedDisconnection(L

    2GameClient.java:634)

            at org.mmocore.network.SelectorThread.writePacket(SelectorThread.java:50

    9)

            at org.mmocore.network.SelectorThread.run(SelectorThread.java:182)

     

    Any idias?

     

    	@Override
    protected void onForcedDisconnection()
    {
    	if (getActiveChar() != null && getActiveChar().isFarmBot())
    	{
    		Util.handleIllegalPlayerAction(this.getActiveChar(), "Player: " + this.getActiveChar().getName() + " might use third party program to exploit antibot farm system.", Config.DEFAULT_PUNISH);
    	}
    	LogRecord record = new LogRecord(Level.WARNING, "Disconnected abnormally");
    	record.setParameters(new Object[] { L2GameClient.this });
    	_logAccounting.log(record);
    }

     

    Here is all part of code

  2. [not for spam]

     

    sorry for bumping this but it is always usefull for others, if you would explain (no matter if its solved or not) what has been done.

     

    in this case its obvious tho.. but it would still be usefull for people with the same problem.

    Actualy it doesn't metter becouse this error is from custom anti-bot system costing 30 euro ... not everyone can have it... also support for buyers are include.

  3. no skype, no teamviewer, no appserv

    the 127.0.0.1 is the localhost

    go in the C:\WINDOWS\system32\drivers\etc

    and cheak the host file!

    it's sould be like this

     

    # Copyright © 1993-1999 Microsoft Corp.

    #

    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

    #

    # This file contains the mappings of IP addresses to host names. Each

    # entry should be kept on an individual line. The IP address should

    # be placed in the first column followed by the corresponding host name.

    # The IP address and the host name should be separated by at least one

    # space.

    #

    # Additionally, comments (such as these) may be inserted on individual

    # lines or following the machine name denoted by a '#' symbol.

    #

    # For example:

    #

    # 102.54.94.97 rhino.acme.com # source server

    # 38.25.63.10 x.acme.com # x client host

     

    127.0.0.1 localhost

    xxxxxxxxxx L2authd.lineage2.com

    xxxxxxxxxx L2testauthd.lineage2.com

  4. he wanted to change

    Enterworld.java

    371	                sendPacket(SystemMessage.getSystemMessage(SystemMessageId.WELCOME_TO_LINEAGE));
    372	               
    373	                activeChar.sendMessage(getText("VGhpcyBzZXJ2ZXIgdXNlcyBMMkosIGEgcHJvamVjdCBmb3VuZGVkIGJ5IEwyQ2hlZg==\n"));
    374	                activeChar.sendMessage(getText("YW5kIGRldmVsb3BlZCBieSB0aGUgTDJKIERldiBUZWFtIGF0IGwyanNlcnZlci5jb20=\n"));
    375	               
    376	                if (Config.DISPLAY_SERVER_VERSION)
    377	                {
    378	                        if (Config.SERVER_VERSION != null)
    379	                                activeChar.sendMessage(getText("TDJKIFNlcnZlciBWZXJzaW9uOg==")+" "+Config.SERVER_VERSION);
    380	                       
    381	                        if (Config.DATAPACK_VERSION != null)
    382	                                activeChar.sendMessage(getText("TDJKIERhdGFwYWNrIFZlcnNpb246")+" "+Config.DATAPACK_VERSION);

    373	                activeChar.sendMessage(getText("VGhpcyBzZXJ2ZXIgdXNlcyBMMkosIGEgcHJvamVjdCBmb3VuZGVkIGJ5IEwyQ2hlZg==\n"));
    374	                activeChar.sendMessage(getText("YW5kIGRldmVsb3BlZCBieSB0aGUgTDJKIERldiBUZWFtIGF0IGwyanNlcnZlci5jb20=\n"));
    375	               

    Credits...

     

    like this one

    412fcb8ddbab.jpg

     

    so just change

          activeChar.sendMessage("This server uses L2jFrozen, a project founded by L2Chef and");
          activeChar.sendMessage("developed by the L2jFrozen Dev Team at l2jfrozen.com");

     

    To your text, in your case change

    373	                activeChar.sendMessage(getText("VGhpcyBzZXJ2ZXIgdXNlcyBMMkosIGEgcHJvamVjdCBmb3VuZGVkIGJ5IEwyQ2hlZg==\n"));
    374	                activeChar.sendMessage(getText("YW5kIGRldmVsb3BlZCBieSB0aGUgTDJKIERldiBUZWFtIGF0IGwyanNlcnZlci5jb20=\n"));
    375	               

    to

          activeChar.sendMessage("This server uses L2jFrozen, a project founded by L2Chef and");
          activeChar.sendMessage("developed by the L2jFrozen Dev Team at l2jfrozen.com");

    And write your text....

     

    Was this enough clear to make you stop answering already answered topic?

×
×
  • 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..