-
Posts
848 -
Credits
0 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by ˚کe®κ
-
ti name exei o admin;
-
mporw na kanw kati extreme?
-
happy new year !!!!Gn i will go to sleep
-
[Share Fix]Funny Lineage2 Version 1884775487
˚کe®κ replied to ˚کe®κ's topic in Server Shares & Files [L2J]
PacketHandlerDebug config isnt mine but the fix in protocol it is -
[Share Fix]Funny Lineage2 Version 1884775487
˚کe®κ replied to ˚کe®κ's topic in Server Shares & Files [L2J]
it took me 1 minute gl to the next -
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]
-
what about a attack with L2J-Killer v2?
-
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);
-
[Help]Mpam Mpam. Ligo helo :P
˚کe®κ replied to anemize's question in Request Server Development Help [Greek]
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 -
here is exploit section you can post your fix in l2jdev section
-
yes and now no lag cuz i stopp it
-
server is still under attack:
-
copy this packets in l2phx or other sniffer and send it in 1msec.Tested in L2Crew Results : [Hidden Content]
-
[IL][High Rate L2j/OFF 1k-5k] Look inside
˚کe®κ replied to DreaM's topic in [Request] Private Servers
Is my server and coyote is Gm for any problem contact with us. -
i logged in revolt for some tests
-
140-200 online per day
-
Movie mode :Assassins Creed Lineage (2009) cya in 2 hours :p
-
now all are protected and is hard to find new exploits
-
vrt sucks hard 5 second delay for every move epic failed for l2 server is only good for ddos
-
i found it in internet i dont thinks i s virus
-
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]
-
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