Jump to content

Recommended Posts

Posted (edited)

Code geia password changer manager.  [ gia l2jfrozen. ]

L2PasswordChangerInstance.java

package com.l2jfrozen.gameserver.model.actor.instance;

import com.l2jfrozen.crypt.Base64;
import com.l2jfrozen.gameserver.ai.CtrlIntention;
import com.l2jfrozen.gameserver.ai.L2CharacterAI;
import com.l2jfrozen.gameserver.network.serverpackets.ActionFailed;
import com.l2jfrozen.gameserver.network.serverpackets.LeaveWorld;
import com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected;
import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage;
import com.l2jfrozen.gameserver.network.serverpackets.ValidateLocation;
import com.l2jfrozen.gameserver.templates.L2NpcTemplate;
import com.l2jfrozen.util.database.L2DatabaseFactory;
import java.security.MessageDigest;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.StringTokenizer;
import java.util.logging.Logger;
import javolution.text.TextBuilder;

public class L2PasswordChangerInstance extends L2FolkInstance
{
  public L2PasswordChangerInstance(int objectId, L2NpcTemplate template)
  {
    super(objectId, template);
  }

  public void onBypassFeedback(L2PcInstance player, String command)
  {
    if (command.startsWith("change_password"))
    {
      StringTokenizer st = new StringTokenizer(command);
      st.nextToken();
      String currPass = null;
      String newPass = null;
      String repeatNewPass = null;
      try
      {
        if (st.hasMoreTokens())
        {
          currPass = st.nextToken();
          newPass = st.nextToken();
          repeatNewPass = st.nextToken();
        }
        else
        {
          player.sendMessage("Please fill in all the blanks before requesting for a password change.");
          return;
        }
        changePassword(currPass, newPass, repeatNewPass, player);
      }
      catch (StringIndexOutOfBoundsException localStringIndexOutOfBoundsException)
      {
      }
    }
  }

  public void onAction(L2PcInstance player)
  {
    if (!canTarget(player)) {
      return;
    }

    if (this != player.getTarget())
    {
      player.setTarget(this);

      player.sendPacket(new MyTargetSelected(getObjectId(), 0));

      player.sendPacket(new ValidateLocation(this));
    }
    else if (!canInteract(player))
    {
      player.getAI().setIntention(CtrlIntention.AI_INTENTION_INTERACT, this);
    }
    else
    {
      showHtmlWindow(player);
    }

    player.sendPacket(new ActionFailed());
  }

  private void showHtmlWindow(L2PcInstance activeChar)
  {
    NpcHtmlMessage nhm = new NpcHtmlMessage(5);
    TextBuilder replyMSG = new TextBuilder("");

    replyMSG.append("<html><title>L2Kasayka Account Manager</title>");
    replyMSG.append("<body><center>");
    replyMSG.append("To change your password:<br1> First fill in your current password and then your new!</font><br>");
    replyMSG.append("Current Password: <edit var=\"cur\" width=100 height=15><br>");
    replyMSG.append("New Password: <edit var=\"new\" width=100 height=15><br>");
    replyMSG.append("Repeat New Password: <edit var=\"repeatnew\" width=100 height=15><br><br>");
    replyMSG.append("<button value=\"Change Password\" action=\"bypass -h npc_" + getObjectId() + "_change_password $cur $new $repeatnew\" width=204 height=20 back=\"sek.cbui75\" fore=\"sek.cbui75\">");
    replyMSG.append("</center></body></html>");

    nhm.setHtml(replyMSG.toString());
    activeChar.sendPacket(nhm);

    activeChar.sendPacket(new ActionFailed());
  }

  public static boolean changePassword(String currPass, String newPass, String repeatNewPass, L2PcInstance activeChar)
  {
    if (newPass.length() < 5)
    {
      activeChar.sendMessage("The new password is too short!");
      return false;
    }
    if (newPass.length() > 20)
    {
      activeChar.sendMessage("The new password is too long!");
      return false;
    }
    if (!newPass.equals(repeatNewPass))
    {
      activeChar.sendMessage("Repeated password doesn't match the new password.");
      return false;
    }

    Connection con = null;
    String password = null;
    try
    {
      MessageDigest md = MessageDigest.getInstance("SHA");
      byte[] raw = currPass.getBytes("UTF-8");
      raw = md.digest(raw);
      String currPassEncoded = Base64.encodeBytes(raw);

      con = L2DatabaseFactory.getInstance().getConnection();
      PreparedStatement statement = con.prepareStatement("SELECT password FROM accounts WHERE login=?");
      statement.setString(1, activeChar.getAccountName());
      ResultSet rset = statement.executeQuery();
      while (rset.next())
      {
        password = rset.getString("password");
      }
      rset.close();
      statement.close();
      byte[] password2 = (byte[])
        null;
      if (currPassEncoded.equals(password))
      {
        password2 = newPass.getBytes("UTF-8");
        password2 = md.digest(password2);

        PreparedStatement statement2 = con.prepareStatement("UPDATE accounts SET password=? WHERE login=?");
        statement2.setString(1, Base64.encodeBytes(password2));
        statement2.setString(2, activeChar.getAccountName());
        statement2.executeUpdate();
        statement2.close();

        activeChar.sendMessage("Congratulations! Your password has been changed succesfully. You will now be disconnected for security reasons. Please login again!");
        try
        {
          Thread.sleep(3000L);
        }
        catch (Exception localException1)
        {
        }

        activeChar.deleteMe();

        activeChar.sendPacket(new LeaveWorld());
      }
      else
      {
        activeChar.sendMessage("The current password you've inserted is incorrect! Please try again!");

        return password2 != null;
      }
    }
    catch (Exception e)
    {
      _log.warning("could not update the password of account: " + activeChar.getAccountName());
    }
    finally
    {
      try
      {
        if (con != null)
          con.close();
      }
      catch (SQLException e)
      {
        _log.warning("Failed to close database connection!");
      }
    }
    try
    {
      if (con != null)
        con.close();
    }
    catch (SQLException e)
    {
      _log.warning("Failed to close database connection!");
    }

    return true;
  }
}

RequestBypassToServer.java 
 

package com.l2jfrozen.gameserver.network.clientpackets;

import com.l2jfrozen.Config;
import com.l2jfrozen.gameserver.ai.CtrlIntention;
import com.l2jfrozen.gameserver.ai.L2CharacterAI;
import com.l2jfrozen.gameserver.communitybbs.CommunityBoard;
import com.l2jfrozen.gameserver.datatables.sql.AdminCommandAccessRights;
import com.l2jfrozen.gameserver.handler.AdminCommandHandler;
import com.l2jfrozen.gameserver.handler.IAdminCommandHandler;
import com.l2jfrozen.gameserver.handler.custom.CustomBypassHandler;
import com.l2jfrozen.gameserver.managers.CastleManager;
import com.l2jfrozen.gameserver.model.L2Object;
import com.l2jfrozen.gameserver.model.L2World;
import com.l2jfrozen.gameserver.model.actor.instance.L2ClassMasterInstance;
import com.l2jfrozen.gameserver.model.actor.instance.L2NpcInstance;
import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
import com.l2jfrozen.gameserver.model.actor.instance.L2SymbolMakerInstance;
import com.l2jfrozen.gameserver.model.actor.instance.L2PasswordChangerInstance;
import com.l2jfrozen.gameserver.model.actor.position.L2CharPosition;
import com.l2jfrozen.gameserver.model.entity.event.CTF;
import com.l2jfrozen.gameserver.model.entity.event.DM;
import com.l2jfrozen.gameserver.model.entity.event.L2Event;
import com.l2jfrozen.gameserver.model.entity.event.TvT;
import com.l2jfrozen.gameserver.model.entity.event.VIP;
import com.l2jfrozen.gameserver.model.entity.olympiad.Olympiad;
import com.l2jfrozen.gameserver.model.entity.siege.Castle;
import com.l2jfrozen.gameserver.network.L2GameClient;
import com.l2jfrozen.gameserver.network.serverpackets.ActionFailed;
import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage;
import com.l2jfrozen.gameserver.network.serverpackets.SiegeInfo;
import com.l2jfrozen.gameserver.util.FloodProtectorAction;
import com.l2jfrozen.gameserver.util.FloodProtectors;
import com.l2jfrozen.gameserver.util.GMAudit;
import java.util.logging.Level;
import java.util.logging.Logger;

public final class RequestBypassToServer extends L2GameClientPacket
{
  private static Logger _log = Logger.getLogger(RequestBypassToServer.class.getName());
  private String _command;

  protected void readImpl()
  {
    this._command = readS();
  }

  protected void runImpl()
  {
    L2PcInstance activeChar = ((L2GameClient)getClient()).getActiveChar();

    if (activeChar == null) {
      return;
    }
    if (!((L2GameClient)getClient()).getFloodProtectors().getServerBypass().tryPerformAction(this._command)) {
      return;
    }

    try
    {
      if (this._command.startsWith("admin_"))
      {
        String command;
        String command;
        if (this._command.indexOf(" ") != -1)
        {
          command = this._command.substring(0, this._command.indexOf(" "));
        }
        else
        {
          command = this._command;
        }

        IAdminCommandHandler ach = AdminCommandHandler.getInstance().getAdminCommandHandler(command);

        if (ach == null)
        {
          if (activeChar.isGM())
          {
            activeChar.sendMessage("The command " + command + " does not exists!");
          }

          _log.warning("No handler registered for admin command '" + command + "'");
          return;
        }

        if (!AdminCommandAccessRights.getInstance().hasAccess(command, activeChar.getAccessLevel()))
        {
          activeChar.sendMessage("You don't have the access right to use this command!");
          if (Config.DEBUG)
          {
            _log.warning("Character " + activeChar.getName() + " tried to use admin command " + command + ", but doesn't have access to it!");
          }
          return;
        }

        if (Config.GMAUDIT)
        {
          GMAudit.auditGMAction(activeChar.getName() + " [" + activeChar.getObjectId() + "]", command, activeChar.getTarget() != null ? activeChar.getTarget().getName() : "no-target", this._command.replace(command, ""));
        }

        ach.useAdminCommand(this._command, activeChar);
      }
      else if ((this._command.equals("come_here")) && (activeChar.isGM()))
      {
        comeHere(activeChar);
      }
      else if (this._command.startsWith("player_help "))
      {
        playerHelp(activeChar, this._command.substring(12));
      }
      else if (this._command.startsWith("siege_aden"))
      {
        Castle castle = CastleManager.getInstance().getCastleById(5);
        if (castle != null)
          sendPacket(new SiegeInfo(castle));
      }
      else if (this._command.startsWith("siege_giran"))
      {
        Castle castle = CastleManager.getInstance().getCastleById(3);
        if (castle != null)
          sendPacket(new SiegeInfo(castle));
      }
      else if (this._command.startsWith("siege_goddard"))
      {
        Castle castle = CastleManager.getInstance().getCastleById(7);
        if (castle != null)
          sendPacket(new SiegeInfo(castle));
      }
      else if (this._command.startsWith("siege_rune"))
      {
        Castle castle = CastleManager.getInstance().getCastleById(8);
        if (castle != null)
          sendPacket(new SiegeInfo(castle));
      }
      else if (this._command.startsWith("siege_shuttgart"))
      {
        Castle castle = CastleManager.getInstance().getCastleById(9);
        if (castle != null)
          sendPacket(new SiegeInfo(castle));
      }
      else if (this._command.startsWith("siege_oren"))
      {
        Castle castle = CastleManager.getInstance().getCastleById(4);
        if (castle != null)
          sendPacket(new SiegeInfo(castle));
      }
      else if (this._command.startsWith("siege_dion"))
      {
        Castle castle = CastleManager.getInstance().getCastleById(2);
        if (castle != null)
          sendPacket(new SiegeInfo(castle));
      }
      else if (this._command.startsWith("siege_gludio"))
      {
        Castle castle = CastleManager.getInstance().getCastleById(1);
        if (castle != null)
          sendPacket(new SiegeInfo(castle));
      }
      else if (this._command.startsWith("siege_innadril"))
      {
        Castle castle = CastleManager.getInstance().getCastleById(6);
        if (castle != null) {
          sendPacket(new SiegeInfo(castle));
        }
      }
      else if (this._command.startsWith("npc_"))
      {
        if (!activeChar.validateBypass(this._command)) {
          return;
        }
        int endOfId = this._command.indexOf('_', 5);
        String id;
        String id;
        if (endOfId > 0)
        {
          id = this._command.substring(4, endOfId);
        }
        else
        {
          id = this._command.substring(4);
        }

        try
        {
          L2Object object = L2World.getInstance().findObject(Integer.parseInt(id));

          if (this._command.substring(endOfId + 1).startsWith("event_participate"))
          {
            L2Event.inscribePlayer(activeChar);
          }
          else if (this._command.substring(endOfId + 1).startsWith("tvt_player_join "))
          {
            String teamName = this._command.substring(endOfId + 1).substring(16);

            if (TvT.is_joining())
            {
              TvT.addPlayer(activeChar, teamName);
            }
            else
            {
              activeChar.sendMessage("The event is already started. You can not join now!");
            }

          }
          else if (this._command.substring(endOfId + 1).startsWith("tvt_player_leave"))
          {
            if (TvT.is_joining())
            {
              TvT.removePlayer(activeChar);
            }
            else
            {
              activeChar.sendMessage("The event is already started. You can not leave now!");
            }

          }
          else if (this._command.substring(endOfId + 1).startsWith("dmevent_player_join"))
          {
            if (DM.is_joining())
              DM.addPlayer(activeChar);
            else {
              activeChar.sendMessage("The event is already started. You can't join now!");
            }
          }
          else if (this._command.substring(endOfId + 1).startsWith("dmevent_player_leave"))
          {
            if (DM.is_joining())
              DM.removePlayer(activeChar);
            else {
              activeChar.sendMessage("The event is already started. You can't leave now!");
            }
          }
          else if (this._command.substring(endOfId + 1).startsWith("ctf_player_join "))
          {
            String teamName = this._command.substring(endOfId + 1).substring(16);
            if (CTF.is_joining())
              CTF.addPlayer(activeChar, teamName);
            else {
              activeChar.sendMessage("The event is already started. You can't join now!");
            }
          }
          else if (this._command.substring(endOfId + 1).startsWith("ctf_player_leave"))
          {
            if (CTF.is_joining())
              CTF.removePlayer(activeChar);
            else {
              activeChar.sendMessage("The event is already started. You can't leave now!");
            }
          }
          if (this._command.substring(endOfId + 1).startsWith("vip_joinVIPTeam"))
          {
            VIP.addPlayerVIP(activeChar);
          }

          if (this._command.substring(endOfId + 1).startsWith("vip_joinNotVIPTeam"))
          {
            VIP.addPlayerNotVIP(activeChar);
          }

          if (this._command.substring(endOfId + 1).startsWith("vip_finishVIP"))
          {
            VIP.vipWin(activeChar);
          }

          if (this._command.substring(endOfId + 1).startsWith("event_participate"))
          {
            L2Event.inscribePlayer(activeChar);
          }
          else if (((Config.ALLOW_CLASS_MASTERS) && (Config.ALLOW_REMOTE_CLASS_MASTERS) && ((object instanceof L2ClassMasterInstance))) || (
            ((object instanceof L2NpcInstance)) && (endOfId > 0) && (activeChar.isInsideRadius(object, 150, false, false))))
          {
            ((L2NpcInstance)object).onBypassFeedback(activeChar, this._command.substring(endOfId + 1));
          }

          activeChar.sendPacket(ActionFailed.STATIC_PACKET);
        }
        catch (NumberFormatException nfe)
        {
          if (!Config.ENABLE_ALL_EXCEPTIONS) return; 
        }nfe.printStackTrace();
      }
      else if (this._command.equals("Draw"))
      {
        L2Object object = activeChar.getTarget();
        if ((object instanceof L2NpcInstance))
        {
          ((L2SymbolMakerInstance)object).onBypassFeedback(activeChar, this._command);
        }
      }
      else if (this._command.equals("RemoveList"))
      {
        L2Object object = activeChar.getTarget();
        if ((object instanceof L2NpcInstance))
        {
          ((L2SymbolMakerInstance)object).onBypassFeedback(activeChar, this._command);
        }
      }
      else if (this._command.equals("Remove "))
      {
        L2Object object = activeChar.getTarget();

        if ((object instanceof L2NpcInstance))
        {
          ((L2SymbolMakerInstance)object).onBypassFeedback(activeChar, this._command);
        }

      }
      else if (this._command.startsWith("manor_menu_select?"))
      {
        L2Object object = activeChar.getTarget();
        if ((object instanceof L2NpcInstance))
        {
          ((L2NpcInstance)object).onBypassFeedback(activeChar, this._command);
        }
      }
      else if (this._command.startsWith("bbs_"))
      {
        CommunityBoard.getInstance().handleCommands((L2GameClient)getClient(), this._command);
      }
      else if (this._command.startsWith("_bbs"))
      {
        CommunityBoard.getInstance().handleCommands((L2GameClient)getClient(), this._command);
      }
      else if (this._command.startsWith("Quest "))
      {
        if (!activeChar.validateBypass(this._command)) {
          return;
        }
        L2PcInstance player = ((L2GameClient)getClient()).getActiveChar();
        if (player == null) {
          return;
        }
        String p = this._command.substring(6).trim();
        int idx = p.indexOf(' ');

        if (idx < 0)
        {
          player.processQuestEvent(p, "");
        }
        else
        {
          player.processQuestEvent(p.substring(0, idx), p.substring(idx).trim());
        }

      }
      else if (this._command.startsWith("custom_"))
      {
        L2PcInstance player = ((L2GameClient)getClient()).getActiveChar();
        CustomBypassHandler.getInstance().handleBypass(player, this._command);
      }
      else if (this._command.startsWith("OlympiadArenaChange"))
      {
        Olympiad.bypassChangeArena(this._command, activeChar);
      }
    }
    catch (Exception e)
    {
      if (Config.ENABLE_ALL_EXCEPTIONS) {
        e.printStackTrace();
      }
      _log.log(Level.WARNING, "Bad RequestBypassToServer: ", e);
    }
  }

  private void comeHere(L2PcInstance activeChar)
  {
    L2Object obj = activeChar.getTarget();
    if (obj == null) {
      return;
    }
    if ((obj instanceof L2NpcInstance))
    {
      L2NpcInstance temp = (L2NpcInstance)obj;
      temp.setTarget(activeChar);
      temp.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(activeChar.getX(), activeChar.getY(), activeChar.getZ(), 0));
    }
  }

  private void playerHelp(L2PcInstance activeChar, String path)
  {
    if (path.indexOf("..") != -1) {
      return;
    }
    String filename = "data/html/help/" + path;
    NpcHtmlMessage html = new NpcHtmlMessage(1);
    html.setFile(filename);
    activeChar.sendPacket(html);
  }

  public String getType()
  {
    return "[C] 21 RequestBypassToServer";
  }
}
Edited by yukselkasayka123
Posted (edited)

na kanw mia erwtisi? to code to pernas se poio npc mpenei auto to code?  giati voicecommand den einai.:/

gia java-Eclipse ine auto ala an 8es mporis kai se etimo sv katevase to Eclipse kane 1 arxeio L2PasswordChangerInstance.java meta apo8ikeuse to meta eki pou apo8ike3es pare to L2PasswordChangerInstance ginomeno se L2PasswordChagerIstance.class meta pane sto pack sou gameserver/libs an exeis l2jfrozen to exei l2jfrozen-core px: an exeis l2jesios to exei l2jesios-class (ala auto to code ine gia l2jfrozen) anikse to me Winrar meta valto sto com/l2jfrozen/gameserver/model/actor/instance kai  ise etimos. :) idio kai to RequestBypassToServer.java ala 8a to valis sto com/l2jfrozen/gameserver/network/clientpackets . meta pane sto Navicat , custom_npc kane eki 1 NPC me type L2PasswordChanger pane sto in-game oti evales to id kanto //spawn kai ise etimos :)

Edited by yukselkasayka123
  • 1 year later...
Posted
   [echo] L2jFrozen Gameserver Revision: 1118M
compile:
    [javac] Compiling 825 source files to C:\****\****\workspace\trunk\gameserver\build\classes
    [javac] C:\****\****\workspace\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PasswordChangerInstance.java:193: error: cannot find symbol
    [javac] _log.warning("could not update the password of account: " + activeChar.getAccountName());
    [javac] ^
    [javac]   symbol:   variable _log
    [javac]   location: class L2PasswordChangerInstance
    [javac] C:\****\****\workspace\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PasswordChangerInstance.java:204: error: cannot find symbol
    [javac] _log.warning("Failed to close database connection!");
    [javac] ^
    [javac]   symbol:   variable _log
    [javac]   location: class L2PasswordChangerInstance
    [javac] 2 errors

BUILD FAILED
C:\****\****\workspace\trunk\gameserver\build.xml:65: Compile failed; see the compiler error output for details.

Total time: 4 seconds

Κανείς να Help? 

Posted
   [echo] L2jFrozen Gameserver Revision: 1118M
compile:
    [javac] Compiling 825 source files to C:\****\****\workspace\trunk\gameserver\build\classes
    [javac] C:\****\****\workspace\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PasswordChangerInstance.java:193: error: cannot find symbol
    [javac] _log.warning("could not update the password of account: " + activeChar.getAccountName());
    [javac] ^
    [javac]   symbol:   variable _log
    [javac]   location: class L2PasswordChangerInstance
    [javac] C:\****\****\workspace\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PasswordChangerInstance.java:204: error: cannot find symbol
    [javac] _log.warning("Failed to close database connection!");
    [javac] ^
    [javac]   symbol:   variable _log
    [javac]   location: class L2PasswordChangerInstance
    [javac] 2 errors

BUILD FAILED
C:\****\****\workspace\trunk\gameserver\build.xml:65: Compile failed; see the compiler error output for details.

Total time: 4 seconds

Κανείς να Help? 

 

kane to log.warning se  logger.info

Posted (edited)
   [echo] L2jFrozen Gameserver Revision: 1118M
compile:
    [javac] Compiling 1476 source files to C:\****\****\workspace\trunk\gameserver\build\classes
    [javac] C:\****\****\workspace\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PasswordChangerInstance.java:193: error: cannot find symbol
    [javac] 	logger.info("could not update the password of account: " + activeChar.getAccountName());
    [javac] 	^
    [javac]   symbol:   variable logger
    [javac]   location: class L2PasswordChangerInstance
    [javac] C:\****\****\workspace\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PasswordChangerInstance.java:204: error: cannot find symbol
    [javac] 	logger.info("Failed to close database connection!");
    [javac] 	^
    [javac]   symbol:   variable logger
    [javac]   location: class L2PasswordChangerInstance
    [javac] 2 errors

BUILD FAILED
C:\****\****\workspace\trunk\gameserver\build.xml:65: Compile failed; see the compiler error output for details.

Total time: 20 seconds

...

 

Δοκίμασα να το βγάλω και τελείως με "// " 

αλλά δεν μου κάνει change στο password in game... βγάζοντας στο cmd αυτό το error

WARN  Bad RequestBypassToServer:
java.util.NoSuchElementException
        at java.util.StringTokenizer.nextToken(Unknown Source)
        at com.l2jfrozen.gameserver.model.actor.instance.L2PasswordChangerInstan
ce.onBypassFeedback(L2PasswordChangerInstance.java:60)
        at com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer.
runImpl(RequestBypassToServer.java:235)
        at com.l2jfrozen.gameserver.network.clientpackets.L2GameClientPacket.run
(L2GameClientPacket.java:77)
        at com.l2jfrozen.gameserver.network.L2GameClient.run(L2GameClient.java:1
213)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Edited by pnsrx8
  • 2 months later...
Posted (edited)

dose m t skype s se pm na sto fti

file m epidei exw compile pack mipws tha mpwrouses na m peis pws na to perasw etimo to npc ida to post p eipes sto alo paidi pws na to kanei etimo sto eclipse alla poio code akrivos pernaw?? ama mpwreis plz kane me add skype Doctorgr gt exw psa3ei padou kai prwth fora vlepw enan p na leei pws ginete kai bravo sou... ama mpwreseis plz kane me add gt thelw na perasw kai kati alla npc alla den 3erw pws na ta fria3w thnx for your time btw....eisai magas :D

Edited by dekko
Posted

file m epidei exw compile pack mipws tha mpwrouses na m peis pws na to perasw etimo to npc ida to post p eipes sto alo paidi pws na to kanei etimo sto eclipse alla poio code akrivos pernaw?? ama mpwreis plz kane me add skype Doctorgr gt exw psa3ei padou kai prwth fora vlepw enan p na leei pws ginete kai bravo sou... ama mpwreseis plz kane me add gt thelw na perasw kai kati alla npc alla den 3erw pws na ta fria3w thnx for your time btw....eisai magas :D

είναι καλύτερα να πάρεις ένα Source και να κάνεις εκεί πάνω δουλειές παρά ένα Compiled, άλλο που δεν μπορείς να πειράξεις τα Java των Compilted, μόνο με Decompile και αυτό πάλι θα σε φάει το κεφάλι.

άμα έχεις l2j-frozen υπάρχουν Shares που είναι μέσο python Και όχι java! αυτοί οι δυο τρόποι θα σε σώσουν μόνο

1) python Password Manager

2) ένα καινούργιο Source για να το δουλεύεις με eclipse.

Posted

είναι καλύτερα να πάρεις ένα Source και να κάνεις εκεί πάνω δουλειές παρά ένα Compiled, άλλο που δεν μπορείς να πειράξεις τα Java των Compilted, μόνο με Decompile και αυτό πάλι θα σε φάει το κεφάλι.

άμα έχεις l2j-frozen υπάρχουν Shares που είναι μέσο python Και όχι java! αυτοί οι δυο τρόποι θα σε σώσουν μόνο

1) python Password Manager

2) ένα καινούργιο Source για να το δουλεύεις με eclipse.

Nase kala file mou eisai o prwtos meta apo 15000 post 300000 pms p m eipe kati alla ama s einai efkolo na m peis h na m di3eis kapoio tutorial pws na perasw to source xwreis na gamisw to pack p exw ftia3ei mexri twra tha me voithage ama theleis sthle m to skype sou se PM na se kanw add kai euxaristw kai pallh

Posted

Nase kala file mou eisai o prwtos meta apo 15000 post 300000 pms p m eipe kati alla ama s einai efkolo na m peis h na m di3eis kapoio tutorial pws na perasw to source xwreis na gamisw to pack p exw ftia3ei mexri twra tha me voithage ama theleis sthle m to skype sou se PM na se kanw add kai euxaristw kai pallh

το Skype μου είναι προσωπικό φίλε, συγγνώμη αλλά άμα έχεις βάλει κάτι στον Server σου είναι συγκεκριμένα Server Side που μπορείς να τα κρατήσεις και απλά να περάσεις να νεα JAR και τα νέα Config.

εδώ μπορείς να δεις ένα ολόκληρο οδηγό για το πως να κάνεις έναν Server. 

http://www.maxcheaters.com/topic/153623-compile-server-set-up-add-customs-make-online-add-java-codes-592013/

Guest
This topic is now closed to further replies.


  • Posts

    • 📌 FORUM RULES (Revised – Legal Compliant) Η χρήση του forum προϋποθέτει την πλήρη αποδοχή των παρακάτω κανόνων. Οποιαδήποτε παραβίαση ενδέχεται να οδηγήσει σε περιορισμούς ή μόνιμο αποκλεισμό. 1. Spam & Κατάχρηση Δημοσιεύσεων Το spam απαγορεύεται. Μονολεκτικές, άσχετες ή πολλαπλές διαδοχικές δημοσιεύσεις δεν επιτρέπονται. Bumping επιτρέπεται μόνο στο Marketplace, μία φορά κάθε 24 ώρες. Απάντηση σε θέματα παλαιότερα των 6 μηνών δεν επιτρέπεται. Σχόλια τύπου «wrong section», «request lock» κ.λπ. απαγορεύονται — χρησιμοποιήστε το Report Section. 2. Συμπεριφορά & Τάξη Απαγορεύονται: βρισιές, trolling, drama, απειλές, ρατσισμός, flame posts. Οι κανόνες συμπεριφοράς ισχύουν και σε PMs, profile comments και λοιπές περιοχές. Πολιτικά θέματα επιτρέπονται μόνο εντός λογικών και πολιτισμένων ορίων. 3. Απαγορευμένο & Ακατάλληλο Περιεχόμενο Απαγορεύεται αυστηρά η δημοσίευση ή αναζήτηση περιεχομένου που είναι: Παράνομο βάσει ισχύουσας νομοθεσίας Πειρατικό (warez, cracks, serials, pirated software) Σεξουαλικό, πορνογραφικό ή βίαιο Προσβλητικό, ρατσιστικό ή εξτρεμιστικό Θρησκευτικά προκλητικό με σκοπό την ένταση ➡️ Όλα τα παραπάνω διαγράφονται άμεσα, χωρίς προειδοποίηση. 4. Διαφημίσεις & Προώθηση Απαγορεύεται κάθε μορφή διαφήμισης χωρίς έγκριση Administrator. Απαγορεύεται η προώθηση παράνομων ή μη αδειοδοτημένων υπηρεσιών. Affiliate links, referral systems και external promotions απαιτούν έγκριση. 5. Γλώσσα & Παρουσίαση Μην αναμειγνύετε γλώσσες (αγγλικά σε ελληνικά topics και αντίστροφα). Χρησιμοποιείτε tags [GR] ή [EN]. Τα Greeklish επιτρέπονται προσωρινά, ωστόσο προτιμάται η χρήση ελληνικών χαρακτήρων. 6. Credits & Πνευματικά Δικαιώματα Υποχρεωτική αναφορά πηγών και credits. Απαγορεύεται η αναδημοσίευση περιεχομένου χωρίς άδεια. Κάθε χρήστης είναι υπεύθυνος για τα δικαιώματα του περιεχομένου που δημοσιεύει. 7. Κυβερνοεγκλήματα & Επιβλαβείς Πρακτικές Απαγορεύεται αυστηρά: Hacking, DDoS, flooding, botnets, booters Οδηγίες, εργαλεία ή καθοδήγηση για παράνομες ψηφιακές επιθέσεις Αναζήτηση ή πώληση τέτοιων υπηρεσιών 8. Υπογραφές (Signatures) Μέγιστο μέγεθος: 800x300 pixels. Υπογραφές που παραβιάζουν τους κανόνες αφαιρούνται. 9. Λογαριασμοί & Ασφάλεια Ένας λογαριασμός ανά χρήστη. Κλεμμένοι, κοινόχρηστοι ή πολλαπλοί λογαριασμοί απαγορεύονται. Το forum διατηρεί το δικαίωμα άμεσης διαγραφής λογαριασμών. 10. Σεβασμός προς το Staff Υποτίμηση, απειλές ή προσβολές προς staff δεν γίνονται ανεκτές. Για διαφωνίες ή παραβάσεις χρησιμοποιήστε το Report Section. LEGAL POLICY (Updated – Strict Compliance) 1. Νομιμότητα Περιεχομένου Απαγορεύεται κάθε περιεχόμενο που: Παραβιάζει νόμους ή κανονισμούς Παραβιάζει copyright ή intellectual property Προωθεί παράνομες οικονομικές, τραπεζικές ή επενδυτικές υπηρεσίες Σχετίζεται με απάτη, phishing, money laundering 2. DMCA – Copyright Protection Το forum συμμορφώνεται πλήρως με τον DMCA. Έγκυρες αναφορές οδηγούν σε άμεση αφαίρεση περιεχομένου. Επαναλαμβανόμενες παραβιάσεις = μόνιμος αποκλεισμός. 3. AML / Financial Compliance Απαγορεύεται περιεχόμενο σχετικό με ξέπλυμα χρήματος. Απαγορεύεται η προώθηση μη αδειοδοτημένων χρηματοοικονομικών υπηρεσιών. Δεν παρέχεται καμία οικονομική ή επενδυτική συμβουλή. 4. User-Generated Content & Ευθύνη Όλο το περιεχόμενο δημιουργείται από τους χρήστες. Το forum δεν φέρει νομική ευθύνη, αλλά: Παρακολουθεί Διαγράφει Συμμορφώνεται με τον νόμο 5. AI Moderation Χρησιμοποιούνται AI-based εργαλεία για εντοπισμό παραβάσεων. Η τελική απόφαση λαμβάνεται πάντα από άνθρωπο. 6. Τελικές Διατάξεις Οι κανόνες μπορούν να τροποποιηθούν χωρίς προειδοποίηση. Η χρήση του forum συνεπάγεται αποδοχή όλων των πολιτικών. Η άγνοια των κανόνων δεν αποτελεί δικαιολογία.   ΠΟΛΙΤΙΚΗ ΑΠΟΡΡΗΤΟΥ (Privacy Policy) – Ελληνικά Η παρούσα Πολιτική Απορρήτου περιγράφει τον τρόπο με τον οποίο το forum συλλέγει, χρησιμοποιεί και προστατεύει τα προσωπικά δεδομένα των χρηστών του, σύμφωνα με τον Γενικό Κανονισμό Προστασίας Δεδομένων (GDPR – ΕΕ 2016/679). 1. Συλλογή Δεδομένων Το forum ενδέχεται να συλλέγει τα ακόλουθα δεδομένα: Όνομα χρήστη (username) Διεύθυνση email IP address Ημερομηνία και ώρα σύνδεσης Περιεχόμενο δημοσιεύσεων (posts, topics, private messages) Δεν συλλέγονται ευαίσθητα προσωπικά δεδομένα. 2. Χρήση Δεδομένων Τα δεδομένα χρησιμοποιούνται αποκλειστικά για: Τη λειτουργία και ασφάλεια του forum Τη διαχείριση λογαριασμών Τη βελτίωση της εμπειρίας χρήσης Την πρόληψη κατάχρησης, απάτης ή παράνομων ενεργειών Τη συμμόρφωση με νομικές υποχρεώσεις 3. User-Generated Content Όλο το περιεχόμενο που δημοσιεύεται στο forum δημιουργείται από τους χρήστες. Οι χρήστες φέρουν την αποκλειστική ευθύνη για τα δεδομένα που επιλέγουν να δημοσιεύσουν. 4. Cookies Το forum χρησιμοποιεί cookies μόνο για: Διατήρηση σύνδεσης χρήστη Βασική λειτουργικότητα Ασφάλεια Δεν χρησιμοποιούνται cookies για διαφημιστική παρακολούθηση τρίτων. 5. AI & Αυτοματοποιημένη Επεξεργασία Το forum ενδέχεται να χρησιμοποιεί αυτοματοποιημένα ή AI-based εργαλεία για: Ανίχνευση spam Εντοπισμό παραβιάσεων κανόνων ή παράνομου περιεχομένου ➡️ Οι αποφάσεις επιβολής λαμβάνονται πάντα από άνθρωπο. 6. Κοινοποίηση Δεδομένων Τα προσωπικά δεδομένα: Δεν πωλούνται Δεν διαμοιράζονται με τρίτους Εξαίρεση υπάρχει μόνο εφόσον απαιτείται από τον νόμο ή αρμόδιες αρχές. 7. Δικαιώματα Χρηστών (GDPR) Οι χρήστες έχουν δικαίωμα: Πρόσβασης στα δεδομένα τους Διόρθωσης ή διαγραφής Περιορισμού επεξεργασίας Υποβολής αιτήματος διαγραφής λογαριασμού 8. Ασφάλεια Δεδομένων Λαμβάνονται εύλογα τεχνικά και οργανωτικά μέτρα για την προστασία των δεδομένων, ωστόσο καμία πλατφόρμα δεν είναι απολύτως ασφαλής. 9. Τροποποιήσεις Η παρούσα πολιτική μπορεί να τροποποιηθεί χωρίς προηγούμενη ειδοποίηση. Η συνέχιση χρήσης του forum συνιστά αποδοχή των αλλαγών. ✅ Σημείωση Οποιοδήποτε παράνομο περιεχόμενο δεν επιτρέπεται πουθενά στο forum, ανεξαρτήτως ρόλου, πρόσβασης ή status (VIP / Donator / Staff). 📌 FORUM RULES (English – Legal Compliant) By accessing or using this forum, you agree to comply with the following rules. Violations may result in warnings, restrictions, or permanent account termination. 1. Spam & Abuse Spam is strictly prohibited. One-word, low-effort, off-topic, or consecutive posts are not allowed. Bumping is allowed only in the Marketplace, once every 24 hours. Replying to topics older than 6 months is not permitted. Posts such as “wrong section”, “request lock”, etc. are not allowed — use the Report Section instead. 2. Conduct & Behavior Insults, harassment, trolling, threats, racism, flame posts, and toxic behavior are prohibited. These rules apply to all areas, including private messages and profile comments. Political discussions are allowed only within reasonable and respectful limits. 3. Prohibited & Illegal Content The following content is strictly prohibited anywhere on the forum: Any content that violates applicable laws or regulations Pirated software, warez, cracks, serials, or copyright-infringing material Malware, hacking tools, exploits, or harmful code Sexual, pornographic, violent, or extremist material Hate speech, discrimination, or incitement Content intended to provoke religious or social conflict ➡️ Such content will be removed immediately, without notice. 4. Advertising & Promotion Advertising of any kind requires prior administrator approval. Promotion of illegal or unlicensed services is strictly forbidden. Affiliate links, referral systems, and external promotions require approval. 5. Language & Formatting Do not mix languages (English in non-English topics and vice versa). Use [GR] or [EN] tags when creating a topic. Greeklish is temporarily allowed, but native characters are preferred. 6. Credits & Intellectual Property Proper credit must be given when using third-party content. Reposting content without permission is prohibited. Users are solely responsible for the intellectual property rights of their posts. 7. Cybercrime & Harmful Activities Strictly prohibited: Hacking, DDoS, flooding, botnets, booters Requests, guides, tools, or services related to cyber attacks Buying, selling, or searching for such services 8. Signatures Maximum allowed size: 800x300 pixels. Non-compliant signatures will be removed. 9. Accounts & Security One account per user is allowed. Stolen, shared, or multiple accounts are prohibited. The forum reserves the right to suspend or delete accounts immediately. 10. Respect Toward Staff Disrespect, threats, or harassment toward moderators or administrators will not be tolerated. Use the Report Section to address issues. ⚖️ LEGAL POLICY (English – Strict Compliance) This policy defines the legal framework governing forum operation. 1. User-Generated Content & Liability All content is created by users. The forum and its staff are not legally responsible for user-generated content. Reasonable efforts are made to monitor, review, and remove unlawful material. 2. Legal Compliance Content that violates: Local, national, or international laws Intellectual property rights Terms of third-party services is strictly prohibited. 3. DMCA – Copyright Policy The forum complies fully with the Digital Millennium Copyright Act (DMCA). Valid takedown requests result in prompt content removal. Repeat copyright offenders will be permanently banned. 4. AML – Anti-Money Laundering Prohibited content includes: Money laundering schemes or instructions Fraud, scams, or financial manipulation Promotion of unlicensed or illegal financial services The forum cooperates with authorities when legally required. 5. FCS – Financial & Compliance Services The forum does not provide financial, investment, or legal advice. Promotion of unregulated banking, investment, or financial services is forbidden. 6. Privacy & GDPR Publishing personal data of others is prohibited. Sharing private communications without consent is forbidden. The forum operates in compliance with GDPR regulations. 7. AI-Assisted Moderation Automated and AI-based tools may be used to detect violations. All enforcement actions involve human review. 8. Final Provisions Policies may be updated without prior notice. Continued use of the forum constitutes acceptance of all rules. Ignorance of the rules is not an excuse. PRIVACY POLICY – English Version This Privacy Policy explains how the forum collects, uses, and protects user data, in accordance with the General Data Protection Regulation (GDPR – EU 2016/679). 1. Data Collection The forum may collect the following data: Username Email address IP address Login timestamps User-generated content (posts, topics, private messages) No sensitive personal data is intentionally collected. 2. Use of Data Data is used solely for: Forum operation and security Account management Improving user experience Preventing abuse, fraud, or illegal activity Legal and regulatory compliance 3. User-Generated Content All content posted on the forum is created by users. Users are solely responsible for any personal data they choose to publish. 4. Cookies Cookies are used only for: Session management Essential functionality Security purposes No third-party advertising or tracking cookies are used. 5. AI & Automated Processing The forum may use automated or AI-assisted tools to: Detect spam Identify rule violations or illegal content ➡️ All enforcement decisions are subject to human review. 6. Data Sharing Personal data is: Not sold Not shared with third parties Except where required by law or competent authorities. 7. User Rights (GDPR) Users have the right to: Access their personal data Request correction or deletion Request restriction of processing Request account deletion 8. Data Security Reasonable technical and organizational measures are implemented to protect data. However, no online platform can guarantee absolute security. 9. Policy Updates This policy may be updated at any time without prior notice. Continued use of the forum constitutes acceptance of the updated policy. ✅ Final Note If you have concerns regarding privacy or data protection, please contact the forum administration. ✅ Important Notice Illegal content is not allowed anywhere on the forum, regardless of user role, status, or access level.
    • Hello everyone, This topic has been created to report any content that is considered illegal under applicable law or in violation of the forum rules. This includes, but is not limited to: Illegal software (pirated, cracked, or unauthorized software) Copyright-infringing material Malware, viruses, or any harmful code Scams, fraud, phishing attempts, or impersonation Illegal banking or financial services Money laundering activities or related instructions Any other illegal, unethical, or rule-violating activity — you name it If you encounter any such content, please report it here so it can be reviewed and removed promptly. Legal Disclaimer All content published on this forum is created and posted by its users. The forum administration does not take responsibility for user-generated content. However, we make every reasonable effort to monitor, review, remove, and maintain the forum by deleting illegal or rule-violating content as soon as it is reported or identified. By using this forum, you acknowledge and agree to these terms.     Moderator Notice We would like to inform all users that we are currently developing a custom AI-powered API tool that will assist our moderation team in scanning the forum database for illegal or rule-violating activity. This system will be used strictly as a support tool to help identify potentially problematic content, which will then be reviewed by human moderators before any action is taken. The goal is to improve forum safety, compliance, and response time while maintaining fairness and transparency. 🚧 Coming soon — more details will be shared once the system is ready. Thank you for your cooperation and for helping us keep the forum clean and lawful.
    • Reporting Illegal or Rule-Violating Content (post here)
    • If anyone is reading this, until we find the 488 protocol system that works with AuthD + Authgated from High Five (HF), just use L2Filter included in the leak as the login server to be able to play. hAuthd does not works with this chronicle, @Hint. do you happen to know about this?   Be aware of the system you use! If UseEMailAccount is set as true in l2.ini, your user_info table linked to your account must have email column not NULL with a valid e-mail, and you will use that e-mail to login instead of the account name. (Post merged)   OKAY! Nevermind about the above, I just figured it out, AuthD and Authgated from HF requires GameGuard to be enabled and UseEMailAccount set to false. Enable GameGuard at server side as per Fyyre instructions,  Add the missing GameGuard files in your client system: https://mega.nz/file/xZMWQBjK#triEj7My9B9roiLqAKk32HOLcLmPynoOm-QhBI_Ligw
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock