Jump to content

˚کe®κ

Members
  • Posts

    848
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by ˚کe®κ

  1. ˚کe®κ

    bye

    +rep totally agree
  2. happy new year !!!!Gn i will go to sleep
  3. PacketHandlerDebug config isnt mine but the fix in protocol it is
  4. IF you ever get this errors in your server console : aply this patch: Index: /Gs folder/java/config/server.properties =================================================================== --- /Gs folder/java/config/server.properties (revision 10) +++ /Gs folder/java/config/server.properties (revision 443) @@ -72,4 +72,8 @@ CharMaxNumber = 7 +# Packet Handler Debug +# DO NOT CHANGE IT +PacketHandlerDebug = False + # Define how many players are allowed to play simultaneously on your server. MaximumOnlineUsers = 500 Index: /Gs folder/java/net/sf/l2j/Config.java =================================================================== --- /Gs folder/java/net/sf/l2j/Config.java (revision 422) +++ /Gs folder/java/net/sf/l2j/Config.java (revision 443) @@ -1528,4 +1528,5 @@ /** External Hostname */ public static String EXTERNAL_HOSTNAME; + public static boolean PACKET_HANDLER_DEBUG; public static int PATH_NODE_RADIUS; public static int NEW_NODE_ID; @@ -1594,4 +1595,5 @@ EXTERNAL_HOSTNAME = serverSettings.getProperty("ExternalHostname", "*"); INTERNAL_HOSTNAME = serverSettings.getProperty("InternalHostname", "*"); + PACKET_HANDLER_DEBUG = Boolean.parseBoolean(serverSettings.getProperty("PacketHandlerDebug", "False")); GAME_SERVER_LOGIN_PORT = Integer.parseInt(serverSettings.getProperty("LoginPort", "9014")); GAME_SERVER_LOGIN_HOST = serverSettings.getProperty("LoginHost", "127.0.0.1"); [code][code]ex: /Gs folder/java/net/sf/l2j/gameserver/network/clientpackets/ProtocolVersion.java =================================================================== --- /Gs folder/java/net/sf/l2j/gameserver/network/clientpackets/ProtocolVersion.java (revision 3) +++ /Gs folder/java/net/sf/l2j/gameserver/network/clientpackets/ProtocolVersion.java (revision 443) @@ -42,7 +42,9 @@ // this packet is never encrypted if (_version == -2) - { + { if (Config.DEBUG) _log.info("Ping received"); + if (!Config.PACKET_HANDLER_DEBUG) + return; // this is just a ping attempt from the new C2 client getClient().closeNow(); @@ -50,4 +52,6 @@ else if ((_version < Config.MIN_PROTOCOL_REVISION) || (_version > Config.MAX_PROTOCOL_REVISION)) { + if (!Config.PACKET_HANDLER_DEBUG) + return; _log.info("Client: " + getClient().toString() + " -> Protocol Revision: " + _version + " is invalid. Minimum is " + Config.MIN_PROTOCOL_REVISION + " and Maximum is " + Config.MAX_PROTOCOL_REVISION + " are supported. Closing connection."); _log.warning("Wrong Protocol Version " + _version); @@ -60,4 +64,6 @@ _log.fine("Client Protocol Revision is ok: " + _version); } + if (!Config.PACKET_HANDLER_DEBUG) + return; KeyPacket pk = new KeyPacket(getClient().enableCrypt()); getClient().sendPacket(pk); [/code][/code]
  5. what about a attack with L2J-Killer v2?
  6. auto einai gia interlude xriazete na to kaneis compile credits:theonegandalf Index: /trunk/L2JHardCode_GameServer/java/net/sf/l2j/gameserver/network/clientpackets/CharacterCreate.java =================================================================== --- /trunk/L2JHardCode_GameServer/java/net/sf/l2j/gameserver/network/clientpackets/CharacterCreate.java (revision 72) +++ /trunk/L2JHardCode_GameServer/java/net/sf/l2j/gameserver/network/clientpackets/CharacterCreate.java (revision 158) @@ -23,4 +23,5 @@ import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; +import java.util.concurrent.locks.ReentrantLock; import net.sf.l2j.Config; @@ -91,21 +92,5 @@ protected void runImpl() { - if (CharNameTable.getInstance().accountCharNumber(getClient().getAccountName()) >= Config.MAX_CHARACTERS_NUMBER_PER_ACCOUNT && Config.MAX_CHARACTERS_NUMBER_PER_ACCOUNT != 0) - { - if (Config.DEBUG) - _log.fine("Max number of characters reached. Creation failed."); - CharCreateFail ccf = new CharCreateFail(CharCreateFail.REASON_TOO_MANY_CHARACTERS); - sendPacket(ccf); - return; - } - else if (CharNameTable.getInstance().doesCharNameExist(_name)) - { - if (Config.DEBUG) - _log.fine("charname: "+ _name + " already exists. creation failed."); - CharCreateFail ccf = new CharCreateFail(CharCreateFail.REASON_NAME_ALREADY_EXISTS); - sendPacket(ccf); - return; - } - else if ((_name.length() < 3) || (_name.length() > 16) || !Util.isAlphaNumeric(_name) || !isValidName(_name)) + if ((_name.length() < 3) || (_name.length() > 16) || !Util.isAlphaNumeric(_name) || !isValidName(_name)) { if (Config.DEBUG) @@ -116,18 +101,47 @@ } - if (Config.DEBUG) - _log.fine("charname: " + _name + " classId: " + _classId); - - L2PcTemplate template = CharTemplateTable.getInstance().getTemplate(_classId); - if(template == null || template.classBaseLevel > 1) - { - CharCreateFail ccf = new CharCreateFail(CharCreateFail.REASON_CREATION_FAILED); - sendPacket(ccf); - return; - } - - int objectId = IdFactory.getInstance().getNextId(); - L2PcInstance newChar = L2PcInstance.create(objectId, template, getClient().getAccountName(), - _name, _hairStyle, _hairColor, _face, _sex!=0); + L2PcInstance newChar = null; + L2PcTemplate template = null; + + /* + * Since checks for duplicate names are done using SQL, + * lock must be held until data is written to DB as well. + */ + synchronized (CharNameTable.getInstance()) + { + if (CharNameTable.getInstance().accountCharNumber(getClient().getAccountName()) >= Config.MAX_CHARACTERS_NUMBER_PER_ACCOUNT + && Config.MAX_CHARACTERS_NUMBER_PER_ACCOUNT != 0) + { + if (Config.DEBUG) + _log.fine("Max number of characters reached. Creation failed."); + CharCreateFail ccf = new CharCreateFail(CharCreateFail.REASON_TOO_MANY_CHARACTERS); + sendPacket(ccf); + return; + } + else if (CharNameTable.getInstance().doesCharNameExist(_name)) + { + if (Config.DEBUG) + _log.fine("charname: " + _name + " already exists. creation failed."); + CharCreateFail ccf = new CharCreateFail(CharCreateFail.REASON_NAME_ALREADY_EXISTS); + sendPacket(ccf); + return; + } + + template = CharTemplateTable.getInstance().getTemplate(_classId); + + if (Config.DEBUG) + _log.fine("charname: " + _name + " classId: " + _classId + " template: " + template); + + if (template == null || template.classBaseLevel > 1) + { + CharCreateFail ccf = new CharCreateFail(CharCreateFail.REASON_CREATION_FAILED); + sendPacket(ccf); + return; + } + + int objectId = IdFactory.getInstance().getNextId(); + newChar = L2PcInstance.create(objectId, template, getClient().getAccountName(), _name, _hairStyle, _hairColor, _face, _sex != 0); + } + newChar.setCurrentHp(template.baseHpMax); newChar.setCurrentCp(template.baseCpMax);
  7. lipei kapio table apo tn database s kai dn mporei na kanei load tn char to. gameserver na einai idio reversion me to datapack p exis
  8. here is exploit section you can post your fix in l2jdev section
  9. copy this packets in l2phx or other sniffer and send it in 1msec.Tested in L2Crew Results : [Hidden Content]
  10. Is my server and coyote is Gm for any problem contact with us.
  11. opos leei kai to to topic pos mporw na na kanw analipsei ta xrhmata apo tous codikous tn paysafe card an kapios 3erei as me help ligo !!
  12. Movie mode :Assassins Creed Lineage (2009) cya in 2 hours :p
  13. # Datapack root directory, defaults to current directory from which the server is started # DatapackRoot = C:/L2JSERVER logika dn kanei loading ta quest vale topo8esia opu exeis to pack sta server.properties
  14. now all are protected and is hard to find new exploits
  15. vrt sucks hard 5 second delay for every move epic failed for l2 server is only good for ddos
  16. i found it in internet i dont thinks i s virus
  17. 1. Click CSS 2. Enter the IP of the server (View Server Info) 3. Put Interval to 1 or 26(1 prefered) 4. Put Menge to 100 5. Click *START* By:MOD [Hidden Content]
  18. is pk/pvp protector is fast after the player action use one skill.i have put to paralise players. it has configs you can put every skill you want ,radius and message ,you can choose protect type :pvp/pk or only pk .i dont advertising my server i just answer you
×
×
  • Create New...