Jump to content

[SHARE] Flood Protection !! BEST


Recommended Posts

Well Today Its My Day :)

 

So I Decided To SHARE Something on My Favourite Forum :)

 

In This Way You Can Protect Your Server From 1000000 Bugs :)

 

Flood Protection

 

1 ) Config.properties

http://www.4shared.com/file/136964145/1c28ee09/floodprotector.html

Now The Java Part :)

 

2 ) Config.java ( SEE LINES )

512         //--------------------------------------------------

513         // FloodProtector Settings

514         //--------------------------------------------------

515         public static final FloodProtectorConfig FLOOD_PROTECTOR_USE_ITEM =

516                 new FloodProtectorConfig("UseItemFloodProtector");

517         public static final FloodProtectorConfig FLOOD_PROTECTOR_ROLL_DICE =

518                 new FloodProtectorConfig("RollDiceFloodProtector");

519         public static final FloodProtectorConfig FLOOD_PROTECTOR_FIREWORK =

520                 new FloodProtectorConfig("FireworkFloodProtector");

521         public static final FloodProtectorConfig FLOOD_PROTECTOR_ITEM_PET_SUMMON =

522                 new FloodProtectorConfig("ItemPetSummonFloodProtector");

523         public static final FloodProtectorConfig FLOOD_PROTECTOR_HERO_VOICE =

524                 new FloodProtectorConfig("HeroVoiceFloodProtector");

525         public static final FloodProtectorConfig FLOOD_PROTECTOR_GLOBAL_CHAT =

526                 new FloodProtectorConfig("GlobalChatFloodProtector");

527         public static final FloodProtectorConfig FLOOD_PROTECTOR_SUBCLASS =

528                 new FloodProtectorConfig("SubclassFloodProtector");

529         public static final FloodProtectorConfig FLOOD_PROTECTOR_DROP_ITEM =

530                 new FloodProtectorConfig("DropItemFloodProtector");

531         public static final FloodProtectorConfig FLOOD_PROTECTOR_SERVER_BYPASS =

532                 new FloodProtectorConfig("ServerBypassFloodProtector");

533         public static final FloodProtectorConfig FLOOD_PROTECTOR_MULTISELL =

534                 new FloodProtectorConfig("MultiSellFloodProtector");

535         public static final FloodProtectorConfig FLOOD_PROTECTOR_TRANSACTION =

536                 new FloodProtectorConfig("TransactionFloodProtector");

537  

538

 

File : http://www.4shared.com/file/136964510/163c461f/Config.html

 

3 ) gameserver/network/clientpackets/RequestDestroyItem.java

File : http://www.4shared.com/file/136965058/c2fcaea7/RequestDestroyItem.html

 

Replace

 

4 ) gameserver/network/clientpackets/RequestGetItemFromPet.java

File : http://www.4shared.com/file/136965202/5cda6792/RequestGetItemFromPet.html

 

Replace

 

5 ) gameserver/network/clientpackets/RequestPackageSend.java

File : http://www.4shared.com/file/136965452/2520ef65/RequestPackageSend.html

 

Replace

 

6 ) gameserver/network/clientpackets/RequestPrivateStoreBuy.java

File : http://www.4shared.com/file/136965581/845aaa5/RequestPrivateStoreBuy.html

 

Replace

 

7 ) gameserver/network/clientpackets/RequestPrivateStoreSell.java

File : http://www.4shared.com/file/136965905/ceeb1dd0/RequestPrivateStoreSell.html

 

Replace

 

8 ) gameserver/network/clientpackets/SendWareHouseDepositList.java

File : http://www.4shared.com/file/136966042/2987d916/SendWareHouseDepositList.html

 

Replace

 

9 ) gameserver/network/clientpackets/SemdWareHouseWithDrawList.java

File : http://www.4shared.com/file/136966272/12e5ebb/SendWareHouseWithDrawList.html

 

And The Last File

 

10 ) java/net/sf/l2j/gameserver/util/FloodProtectors.java

File : http://www.4shared.com/file/136966615/ce19c442/FloodProtectors.html

 

 

PS : Its From L2JServer With Many Modifications BY ME

 

PS2 : If You Are not Interesting Just DONT POST

 

PS4 : Thanks For Reading My Topic

 

Link to comment
Share on other sites

Actually, this ain't yours.

I checked l2emu's timeline before some days and they posted new fixes.

Some of them were flood protections. (they didn't include chat, item use etc, cause these things are old.)

 

Floodprotection of the items transactions (pet get/give, private store buy/sell, warehouse put/withdraw, freight, destroy).

 

http://l2emu.no-ip.info/forum/index.php?topic=286.msg1189

 

So write the appropriate credits (for the parts that you took) or you will win a - karma. :)

Link to comment
Share on other sites

Actually, this ain't yours.

I checked l2emu's timeline before some days and they posted new fixes.

Some of them were flood protections. (they didn't include chat, item use etc, cause these things are old.)

 

Floodprotection of the items transactions (pet get/give, private store buy/sell, warehouse put/withdraw, freight, destroy).

 

http://l2emu.no-ip.info/forum/index.php?topic=286.msg1189

 

So write the appropriate credits (for the parts that you took) or you will win a - karma. :)

This Is Not All Mine !!!

 

I Made Some Fixes On I T!! Some Of Them Are From L2JServer

 

Nothi' From L2JEmu

Link to comment
Share on other sites

this one fixes ~Serk's lag script?

 

http://www.maxcheaters.com/forum/index.php?topic=83109.0

 

Yes It Does...

Nice if prevent drop lots of item fast

 

Thanks

Dont request karma....

Better do a patch....

 

Fine, Thanks For Your Comments

Link to comment
Share on other sites

Yes It Does...

Thanks

Fine, Thanks For Your Comments

This Is Not All Mine !!!

 

I Made Some Fixes On I T!! Some Of Them Are From L2JServer

 

Nothi' From L2JEmu

Don't doublepost.

 

Anyway, give credits to L2j project then.

Link to comment
Share on other sites

@Horus.why not to comment it?he did a try...i think that when you beggin coding you were noob to ?

Ontopic:good try system

Link to comment
Share on other sites

why in the blue hell you put every single file change into a 4shared share? :D

 

anyway since you dont posted any diff file i want to see the huge changes you made otherswise its just a c/p of l2j timeline

 

ohh and by the way we've had the floodprotector for item transtactions before l2j just to comment what Skiller said :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • 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 Disbaled AdBlock