Jump to content

Recommended Posts

Posted

So,i was trying to put 's FloodProtector Rework and i had problems,so i decided to rework it by myself.

For any problem,let me know it

 

FloodProtector Rework

http://pastebin.com/6bNw0teS

 

FloodProtector Actions

http://pastebin.com/s16WtRNn

 

FloodProtector Actions 2

http://pastebin.com/rgUy3eAz

 

 

Posted

There's no difference between the old & new floodprotector, so why should someone rework it?

Posted

There's no difference between the old & new floodprotector, so why should someone rework it?

Gracia FloodProtector i guess is more effective

Posted

Gracia FloodProtector i guess is more effective

No it's not, they do exactly the same thing.

Posted

No it's not, they do exactly the same thing.

 

No they aren't Versus, they are more efficient and easier to use..

There certainly was a reason to change them.

Posted

No they aren't Versus, they are more efficient and easier to use..

There certainly was a reason to change them.

Just tell me how they can be more 'efficient', i won't disagree, they might be easier to be used but in which way exactly they are more efficient?

Posted

Just tell me how they can be more 'efficient', i won't disagree, they might be easier to be used but in which way exactly they are more efficient?

 

Okay, let's make a comparison between the Interlude and the Gracia ones.

Interlude FloodProtection:

[*]Innefficient Performance.

[*]They are accessed in a REALLY BAD way.

[*]Of course the configurations, that are not as good as the gracia ones.

 

Epilogue FloodProtection:

[*]Safer & way easier to be accessed.

[*]It's really efficient.

[*]Very well configured and easy to use, especially for newbies.

[*]Really easy to be extended.

 

Let me explain:

-The configures thingy is obvious, I suppose.

 

-Efficiency: Performance Side (you'll check below).

 

-Access: In the old flood protection system, it has to search for a whole map with player IDs for the player, but in this way there are useless checks made. In the newer one there is just a cast to L2PcInstance, so you just have a simple check for the player's action. Not to mention the use of the array that makes it even slower. And the result of the old floodprotection's use is extra CPU "cycles" on every single received packet, which is obviously protected by a floodprotector.

Posted

Okay, let's make a comparison between the Interlude and the Gracia ones.

Interlude FloodProtection:

[*]Innefficient Performance.

[*]They are accessed in a REALLY BAD way.

[*]Of course the configurations, that are not as good as the gracia ones.

 

Epilogue FloodProtection:

[*]Safer & way easier to be accessed.

[*]It's really efficient.

[*]Very well configured and easy to use, especially for newbies.

[*]Really easy to be extended.

 

Let me explain:

-The configures thingy is obvious, I suppose.

 

-Efficiency: Performance Side (you'll check below).

 

-Access: In the old flood protection system, it has to search for a whole map with player IDs for the player, but in this way there are useless checks made. In the newer one there is just a cast to L2PcInstance, so you just have a simple check for the player's action. Not to mention the use of the array that makes it even slower. And the result of the old floodprotection's use is extra CPU "cycles" on every single received packet, which is obviously protected by a floodprotector.

So you think the new floodprotector can give you permormance boost? Come on.. even if it gives you it's so small that can't be noticed.

 

Safer & way easier to be accessed. - Safer? Sorry, but even if there's a security 'leak' at the floodprotectors, how you are supposed to exploit it? Kick yourself faster?

Posted

So you think the new floodprotector can give you permormance boost? Come on.. even if it gives you it's so small that can't be noticed.

 

Safer & way easier to be accessed. - Safer? Sorry, but even if there's a security 'leak' at the floodprotectors, how you are supposed to exploit it? Kick yourself faster?

 

1) So small? Well, you see L2jServer has been f*cked up @ performance side because of those "small" performance thingies. And that's why NB4L1 has succeeded making L2jFree the best G Final Project. And still, it's pure logic. What it's better: To use something light that will run smoothly, or something old and less efficient?

 

2) The safety thing is the new AtomicInteger. The old floodprotection is using a simple int for that kind of "tick", whereas the newer one is using the atomicinteger, which is a value updated automatically and is of course a faster and safer way, for a counter like that (where you need to count in milis). Compared to a simple integer, it's about 50% faster, so let's take an example:

On the normal Integer the value is 18 mili, whereas on the atomic one, the same value is about 11.

Posted

Two things i noticed with a quick look.

 

- You don't need to write 'player' or 'activeChar' before the sendPacket at clientpackets.

- All the actions (even floodprotector) should follow after the null check.

  • 5 months later...
Posted

So,i was trying to put 's FloodProtector Rework and i had problems,so i decided to rework it by myself.

For any problem,let me know it

 

FloodProtector Rework

http://pastebin.com/6bNw0teS

 

FloodProtector Actions

http://pastebin.com/s16WtRNn

 

FloodProtector Actions 2

http://pastebin.com/rgUy3eAz

 

 

Reworked what?2 lines?

You gotta give credits to l2jserver for this.

 

Okay, let's make a comparison between the Interlude and the Gracia ones.

Interlude FloodProtection:

[*]Innefficient Performance.

[*]They are accessed in a REALLY BAD way.

[*]Of course the configurations, that are not as good as the gracia ones.

 

Epilogue FloodProtection:

[*]Safer & way easier to be accessed.

[*]It's really efficient.

[*]Very well configured and easy to use, especially for newbies.

[*]Really easy to be extended.

 

Let me explain:

-The configures thingy is obvious, I suppose.

 

-Efficiency: Performance Side (you'll check below).

 

-Access: In the old flood protection system, it has to search for a whole map with player IDs for the player, but in this way there are useless checks made. In the newer one there is just a cast to L2PcInstance, so you just have a simple check for the player's action. Not to mention the use of the array that makes it even slower. And the result of the old floodprotection's use is extra CPU "cycles" on every single received packet, which is obviously protected by a floodprotector.

 

plus Gracia FP got the punishment system,phx could flood using floodprotector itself so thats a great solution to this problem.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Hello and welcome Server started 2026-01-05 Web site: https://l2dragonlands.eu Discrod: https://discord.gg/ngQUY8FB8G Rates >Xp x500 >Sp x500 >Drop x25 >Spoil x25 Enchant rates: Safe/max enchant +500  Blessed and simple scrolls max enchant (+200)  Enchant maneger to make +500.  In server items are progresed in tiers. Weapons: Starter > Vesper > Vorpal > Elegia > Ferrum. Armors: Starter > Moirai > Vesper > Vesper Noble > Vorpal > Elegia > Scarlet. Jewels: Starter > Vesper > Vorpal > Elegia > Ferrum. Cloaks: Pearl White > Pitch Black > Frintezza > Class Cloka > Hero > Scarlet. Acessories: Goblin Circlet 1/2lvl > Half Mask Mage 1/2lvl > Half Mask Fighter 1/2lvl > Flame of valakas > Gem Mask > Ferrum Helmet. Belt: Mithril Belt > Vitality Belt. Badges: For fighter and mage from 1lvl to 6lvl upgraded in order. Bracelets: Mithril > Shiny Fighter/Mage > 1/2lvl custom talismans in bracelest. Agathion: 7 tiers upgrade in order eatch one. Clan item shop/ New weapon Spadona upgradeble from 1lvl till 85lvl. Farm zones in order: >Giran Harbor > WasteLand > Gateway > Valley of Saints > Chromatic > Ruins of Despair > Soul Harbor > Dragon Valley. >LvL up zone >PvP zone Custom instance zone. Custom buff maneger it will grand big boost in stats. Lotery maneger to gamble. Extra features ALT+B: >Events  >Rankings  >Clan  >RB Status  >Updates and other Auto Event system: >Team VS Team event - Auto event  >Capture The Flag - Auto event Olympiad: >Retail olympiad game  >Competition period [2] week  >Olympiad start time [18:00] end [00:00]  >Maximum enchant in the Olympiad is +10, not custom items in olympiada only normal ones from shop.
    • L2 VOID - ADVERTISING BANNER   L2 FURY - ANIMATED BANNER   L2 HEROIC - ANIMATED BANNER   L2 WEED - ANIMATED BANNER   L2 REFORGE - ANIMATED LOGO   L2 WARZONE - ANIMATED LOGO   L2 ACME - SPLASH SCREEN   L2 DRUGS - ANIMATED BANNER   L2 GOLD - ADVERTISING BANNER   L2 AARON - ADVERTISING BANNER  
    • Download Here: https://sitehunterus.blogspot.com/2025/12/fashionnova-checker-multi-threaded-high.html VirusTotal https://www.virustotal.com/gui/file/c69e889b53354aecb2bf8ca50b59c9e410bb5a42da4711e80fe04af5f2b3e945?nocache=1 Visit my Blogger list to download 100% free software https://www.freetoolss.com/ https://blackhat8.blogspot.com/ https://hack-crack9.blogspot.com/ https://hackernoons.blogspot.com/ https://sharetools99.blogspot.com/
    • I am very satisfied, wonderful work and trustworthy, thank you for my logo.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

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