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

    • L2 Kings    Stage 1 – The Awakening Dynasty and Moirai Level Cap: 83 Gear: Dynasty -Moirai & Weapons (Shop for Adena + Drop from mobs/instances ) Masterwork System: Available (Neolithics S required with neolithics u can do armor parts foundation aswell) Class Cloaks: Level 1 - Masterwork sets such us moirai/dynasty stats are boosted also vesper(stage 2) Olf T-Shirt: +6 (fails don’t reset) safe is +2 Dolls: Level 1 Belts: Low & Medium Enchant: Safe +3 / Max +8 / Attribution Easy in Moirai-Dynasty . Main Zones: Varka Outpost: Easy farm, Adena, EXP for new players = > 80- 100kk hour Dragon Valley: Main farm zone — , 100–120kk/hour Weapon Weakness System active (all classes can farm efficiently) Archers get vampiric auto-hits vs mobs Dragon Valley Center: Main Party Zone — boosted drops (Blessed enchants, Neolithics chance) => farm like 150-200kk per hour. Dragon Valley North: Spoil Zone (Asofe + crafting materials for MW) Primeval Isle: Safe autofarm zone (low adena for casual players) ==> 50kk per hour Forge of the Gods & Imperial Tomb: Available from Stage 1 (lower Adena reward in compare with Dragon Valley) Hellbound also avaliable from stage 1 In few words all zones opened but MAIN farm zone with boosted adena and drops is Dragon valley also has more mobs Instances: Zaken (24h Reuse) → Instead of Vespers drop Moirai , 100% chance to drop 1 of 9 dolls lvl 1, Zaken 7-Day Jewelry Raid Bosses (7 RBs): Drop Moirai Parts + Neolithic S grade instead of Vespers parts that has 7 Rb Quest give Icarus Weapons Special Feature 7rb bosses level up soul crystals aswell. Closed Areas : Monaster of SIlence, LOA, ( It wont have mobs) / Mahum Quest/Lizardmen off) Grand Epics: Unlocked on Day 4 of Stage 1 → Antharas, Valakas, Baium, AQ, etc ================================================================================= Stage 2 – Rise of Vespers Level Cap: 85 Gear: Moirai Armors (Adena GM SHOP / Craft/ Drop) Weapons: Icarus Cloaks: Level 2 Olf: +8 Dolls: Level 2 Belts: High & Top Enchant: Safe +3 / Max +8 Masterwork can be with Neolithics S84 aswell but higher so craft will be usefull aswell. 7 Raid Boss Quest Updated: Now works retail give vesper weapons 7rb Bosses Drops : Vespers Instances: Zaken : Drops to retail vespers + the dolls and the extra items that we added on stage 1 New Freya Instance: Added — drops vespers and instead of mid s84 weapons will drop vespers . Extra drops Blessed Bottle of Freya - drops 100% chance 1 of 9 dolls. Farm Areas Dragon Valley remains main farm New Zone : Lair of Antharas (mobs nerfed and added drop Noble stone so solo players can farm too) New Party Zone : LOA Circle   ============================================================================   Stage 3 – The Vorpal ERA Gear: Vorpal Unclock Cloaks: Level 3 Olf: +10 (max cap) Dolls: Level 3 Enchant: Safe +3 / Max +12 Farm Zones : Dragon Valley Center Scorpions becomes a normal solo zone (no longer party zone) Drops:   LOA & Knorik → Mid Weapons avaliable in drop New Party Zone Kariks Instances: Easy Freya Drops Mid Weapons Frintezza Release =================================================================================     Stage 4 – Elegia Era (Final Stage) Elegia Unlock Gear: Elegia Weapons: Elegia TOP s84 ( farmed via H-Freya/ Drops ) Cloaks: Level 5 Dolls: Level 3 (final bonuses) Enchant: Safe +6 / Max +16 Instances: Hard Freya → Drops Elegia Weapons + => The Instance will drop 2-3 parts for sure and also will be able to Join with 7 people . Party Zone will have also drop chances for elegia armor parts and weapons but small   Events (Hourly): Win: 50 Event Medals + 3 GCM + morewards Lose: 25 Medals + 1 GCM + more rewards Tie: 30 Medals + 2 GCM + more rewards   ================================================================================ Epic Fragments Currency Participating in Daily Bosses mass rewarding all players Participating in Instances (zaken freya frintezza etc) all players get reward ================================================================================ Adena - Main server currency (all items in gm shop require adena ) Event Medals (Festival Adena) - Event shop currency Donation coins you can buy with them dressme,cosmetics and premium account Epic Fragments you can buy with them fake epic jewels Olympiad Tokens you can buy many items from olympiad shop (Hero Coin even items that are on next stages) Olympiad Win = 1000 Tokens / Lose = 500 Tokens ================================================================================= Offline Autofarm Allows limited Offline farming requires offline autofarm ticket that you get by voting etc ================================================================================= Grand Epics have Specific Custom NPC that can spawn Epics EU/LATIN TIME ZONE ================================================================================= First Olympiad Day 19 December First Heroes 22 December ( 21 December Last day of 1st Period) After that olympiad will be weekly. ================================================================================= Item price and economy Since adena is main coin of server and NOT donation coins we will always add new items in gm shop with adena in order to burn the adena of server and not be inflation . =================================================================================        
    • Hello, I'd like to change a title color for custom npc.  I created custom NPC, cloned existing. I put unique id for it in npcname-e, npcgrp and database. I have "0" to serverSideName in db, so that it would use npcname-e, but instead it has "NoNameNPC"and no title color change.
    • Trusted Guy 100% ,  I asked him for some work and he did it right away.
  • 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