Jump to content

Recommended Posts

Posted

Fix for http://www.maxcheaters.com/forum/index.php?topic=109383.0

 

 

 

Index: java\net\sf\l2j\gameserver\clientpackets\MoveBackwardToLocation.java

@Override

protected void runImpl()

{

L2PcInstance activeChar = getClient().getActiveChar();

if (activeChar == null)

return;

 

+ if (!FloodProtector.getInstance().tryPerformAction(player.getObjectId(), FloodProtector.PROTECTED_PACKETS))

+ return;

 

_curX = activeChar.getX();

       _curY = activeChar.getY();

       _curZ = activeChar.getZ();

Posted

Thx, you fix for exploits - very cool

    [javac] REPLACE\L2_GameServer\java\net\sf\l2j\gameserver\network\cl

ientpackets\MoveBackwardToLocation.java:85: cannot find symbol

    [javac] symbol  : variable player

    [javac] location: class net.sf.l2j.gameserver.network.clientpackets.MoveBack

wardToLocation

    [javac]      if (!FloodProtector.getInstance().tryPerformAction(player.getO

bjectId(), FloodProtector.PROTECTED_PACKETS))

    [javac]                                                          ^

    [javac] REPLACE\L2_GameServer\java\net\sf\l2j\gameserver\network\cl

ientpackets\MoveBackwardToLocation.java:85: cannot find symbol

    [javac] symbol  : variable FloodProtector

    [javac] location: class net.sf.l2j.gameserver.network.clientpackets.MoveBack

wardToLocation

    [javac]      if (!FloodProtector.getInstance().tryPerformAction(player.getO

bjectId(), FloodProtector.PROTECTED_PACKETS))

    [javac]

          ^

    [javac] REPLACE\L2_GameServer\java\net\sf\l2j\gameserver\network\cl

ientpackets\MoveBackwardToLocation.java:85: cannot find symbol

    [javac] symbol  : variable FloodProtector

    [javac] location: class net.sf.l2j.gameserver.network.clientpackets.MoveBack

wardToLocation

    [javac]      if (!FloodProtector.getInstance().tryPerformAction(player.getO

bjectId(), FloodProtector.PROTECTED_PACKETS))

    [javac]            ^

    [javac] 3 errors

 

Posted

for l2j can be something like that, or you can make own flood protector:

 

Index: java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java
===================================================================
--- java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java	(revision 3701)
+++ java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java	(working copy)
@@ -82,6 +82,10 @@
		L2PcInstance activeChar = getClient().getActiveChar();
		if (activeChar == null)
			return;
+		
+		if (!activeChar.getFloodProtectors().getServerBypass().tryPerformAction("protected_packets"))
+			return;
+		
		// Correcting targetZ from floor level to head level (?)
		// Client is giving floor level as targetZ but that floor level doesn't
		// match our current geodata and teleport coords as good as head level! 

Posted

This think is not working, you need floodprotector.java suppport for interlude, and for Gracia final is a bit more complicated. :P

so, this is not the full code, just shows wheres the problem to fix it. Added to my Pack :P

 

Agree with that...Its not for all packs so it needs work :P

Guest Рrototype
Posted

how long myst be the flood protection ?

I mean how many gameticks ?

Posted

You need to import FloodProtector

 

import net.sf.l2j.gameserver.util.FloodProtector;

 

 

how long myst be the flood protection ?

I mean how many gameticks ?

I'm not sure but try 2 mseconds

Posted

OLOLOL 2 SECONDS!!!

So, you wont be able to move for 2 seconds? wtf? This isn't a fix, pure bullshit.

4-5 milliseconds will be enough though.

You can put 2ms .. I posted only for who don't know where to put floodprotector

Posted

Oh come on you are not serious. Are you gonna floodprotect the movebackwardtolocation? Players use it ALL the fucking time.

 

Floodprotecting it is the most stupid thing i've ever heard.. Imo should be locked.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • Lineage 2 Interlude L2OFF Server Based on H5 Files   Are you looking to start your own Lineage 2 server? This is your chance! I’m selling a 100% functional server based on Official L2OFF H5 files, adapted to the Interlude version. Main Features: Based on official L2OFF H5 files, perfectly configured for Interlude. Includes the full source code, allowing you to fully customize the server to fit your needs. Fully working events, such as: TvT (Team vs. Team) CTF (Capture the Flag) Tons of custom content added, keeping the balance and original essence of the game. Why choose this project? The server is fully functional and optimized, ready to launch. You can test the server before purchasing, with access to a GM character to explore all features. Comes with everything you need to make your project a success, both technically and in terms of content. Interested? Feel free to contact me! If you need more information or would like to schedule a test, I’m happy to answer any questions.   Auto Create Accounts Client Test Server: DOWNLOAD   Price: 600 usd Source price: send pm. Discord: Guytis#6760 Skype: gustavoorellano@hotmail.com  
    • Website: https://l2aurum.com/  Discord: https://discord.gg/l2aurum   Hello Everyone,  finally, the moment has arrived: I'm launching my own server, L2Aurum!   L2Aurum x300 Closed Beta Test - Start: 17.02.2025  [20:00 GMT+2] Grand Opening 21.02.2025 [20:00 GMT+2]     Experience Rates: x300 Skill Points Rates: x300 Adena Drop: x300 Premium Accounts: x2 Drop Rates: x1 Spoil Rates: x1 Quest Rates: x1 Only one account per player, no dualboxing allowed. Everything is earned through gameplay, no pay-to-win mechanics. No server wipes—your progress is permanent. Fair play is a priority, with no room for corruption. All players are treated equally, no special favors.     Buffs slots: 26+4, all buffs in NPC and Scheme System. Custom Armors: Aurum Apella Armor Custom Weapons: Aurum Weapon Custom Accessories: +300 P.Def & M.Def Tattoos: Mage & Fighter & Custom Shirts Custom Jewels: New Grand Bosses Auto Farm is FREE for everyone. Status Noblesse: Barakiel. Player Spawn Protection: 10 seconds. Geodata e Panthodes: ENABLED. All Commands are visible in .menu. System 2 Bishop Per Party: ENABLED. Boss Protect - Anti-Zerg: ENABLED.     Siege Duration: 2 hours (120 minutes). Siege Period: Every 7 days. Castle Reward: 100E Per Castle. Available Castles: Rune Aden Giran Giran Siege: Every Friday 20:00 GMT +2. Aden Siege: Every Saturday 20:00 GMT +2. Rune Siege: Every Sunday 20:00 GMT +2. Main Clan: 40 Members max. Royal Clan: 12 Members max. Knight Clan: 7 Members max. Alliance: You can have only 1.     Epic Boss Valakas: Monday 22:30 (GMT+2) Zaken: Tuesday | Thursday 22:30 (GMT+2) Queen Ant: Monday | Wednesday 22:30 (GMT+2) Baium: Friday 22:30 (GMT+2) Antharas: Saturday 22:30 (GMT+2) Orfen: Tuesday | Thursday | Saturday 18:30 (GMT+2) Core: Monday | Wednesday | Friday | Sunday 18:30 (GMT+2)   Raid Boss  Flame Of Splendor Barakiel Last Hit: Every Day Respawn 3-4 hours Ember: Every Day Respawn 3-4 hours Lilith: Every Day Respawn 3-4 hours Anakim: Every Day Respawn 3-4 hours Queen Shyeed: Every Day Respawn 3-4 hours Golkonda: Every Day Respawn 3-4 hours Shuriel: Every Day Respawn 3-4 hours Varka's Hero Shadith: Every Day Respawn 3-4 hours Ketra's Hero Hekaton: Every Day Respawn 3-4 hours Varka's Mos: Every Day Respawn 3-4 hours Chief Horus: Every Day Respawn 3-4 hours Ketra's Tayer: Every Day Respawn 3-4 hours Chief Brakki: Every Day Respawn 3-4 hours Sailren: Every Day Respawn 02:00   🥳🥳🥳🥳 I would like to chat personally with all of you over on our Discord and discuss any suggestions or feedback you might have.      Website: https://l2aurum.com/  Discord: https://discord.gg/l2aurum
  • Topics

×
×
  • Create New...