Jump to content

[Share] Rin4a's Buffer v1.3


Recommended Posts

well... I don't know if I will release it in any forums,  but that doesn't mean that you won't be able to get it. I have some things in my mind, that I could do with this buffer...

the first thing is, that I want to get rid of admin panel in the buffer... it's unnecessary and it's very space-consuming, so instead I would make a Admin panel with PHP...

since I have my blog in making, I will integrate admin panel for the buffer in it. There won't be any security threats what so ever, because I don't care about messing with other servers and ruining them.

So removing admin panel from the script is the first thing. Next thing - splitting normal buffer and scheme buffer in 2 different scripts. That would make the script even better, because the size of the script will decrease drastically...

And that's a good thing.

Now about 1 nasty bug. For example - you have a PVP server, where 50 people buff at the same time. That would cause server to freeze, because of the maximum allowed MySQL connections and since my buffer uses a MySQL connection, it will freeze the server, wait 10 seconds and terminate every connection one by one with X seconds of timeout. If we do the calculations, it would take around 12 minutes to unfreeze the server. So this is the nastiest bug that I have ever found. Unfortunately fixing it is very simple. I just have to check for active connections and see if the number doesn't exceed the value that is in the configuration file.

Link to comment
Share on other sites

well... I don't know if I will release it in any forums,  but that doesn't mean that you won't be able to get it. I have some things in my mind, that I could do with this buffer...

the first thing is, that I want to get rid of admin panel in the buffer... it's unnecessary and it's very space-consuming, so instead I would make a Admin panel with PHP...

since I have my blog in making, I will integrate admin panel for the buffer in it. There won't be any security threats what so ever, because I don't care about messing with other servers and ruining them.

So removing admin panel from the script is the first thing. Next thing - splitting normal buffer and scheme buffer in 2 different scripts. That would make the script even better, because the size of the script will decrease drastically...

And that's a good thing.

Now about 1 nasty bug. For example - you have a PVP server, where 50 people buff at the same time. That would cause server to freeze, because of the maximum allowed MySQL connections and since my buffer uses a MySQL connection, it will freeze the server, wait 10 seconds and terminate every connection one by one with X seconds of timeout. If we do the calculations, it would take around 12 minutes to unfreeze the server. So this is the nastiest bug that I have ever found. Unfortunately fixing it is very simple. I just have to check for active connections and see if the number doesn't exceed the value that is in the configuration file.

u can also put dealy time between the players can use it...3seconds  for example a player can use it after the last player...or something like that
Link to comment
Share on other sites

  • 2 weeks later...
Guest
This topic is now closed to further replies.



  • Posts

    • Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore1 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11
    • L2 ArenaWar: Low Rate PvP Server with Free Buffs & Autofarm [PVP]⚔️ [Free]🆓 Classic Interlude with  3x XP rates! Free starter pack(no grade) to kickstart your adventure! Autofarm for convenient grinding! Free buffs to keep you fighting fit! (2 job buffs) No experience loss on death! (Except with Karma) Clear Karma system to keep things fair! ⚖️ Active community of 800-1k players! Join our Discord to learn more! >> Discord <<     Server website: https://l2arenawar.com/en/    
    • This is dedication! 2 years working on a problem. Congratulations!
    • You indeed have to save player position over Enterworld to properly clean it up later (if you don't, even trying to delete packet content would eventually keep it up), that's what we do with debug packet (which is a reusable Map of ExServerPrimitive packets) on aCis.   It doesn't solve the FPS stuttering - more you draw/delete lines, more your client becomes laggy. It's like if client wasn't deleting drawn points/lines properly, but instead simply hide them and redrawn content above.   If you got a solution, I would happy to integrate it.   You should check aCis#Player _debug packet integration, it allows very big amount of lines/points to be drawn, it is also reusable.   https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java?ref_type=heads https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java?ref_type=heads  
    • we sell website templates, make websites to order. Great selection at very good prices. My contacts discord : advert1231 telegram : https://t.me/ggwpins  
  • Topics

×
×
  • Create New...