Jump to content
  • 1

Skill Use Lag/Delay


SirrSquirtlle

Question

Hello Max Cheaters!

     Today I come with an issue that a friend of mine pointed out while playing on my test server. while fighting and using skills sometimes there is a delay in usage of the skill, even with cooldown of 1 second on a skill if you use it multiple times eventually you press the skill (or f2 f3 etc) and it will not use the skill until 2-3 seconds after the button press. Any ideas on why this might happen? My server is pretty close to us (70 ping) and has good stats, 6 core processor @ 2.8 ghz with 16gb ram & 400mbps down/up. Any ideas or suggestions are welcome. Also I am using the l2jsunrise hi5 pack.

Link to comment
Share on other sites

Recommended Posts

  • 0
3 hours ago, SirrSquirtlle said:

Hello Max Cheaters!

     Today I come with an issue that a friend of mine pointed out while playing on my test server. while fighting and using skills sometimes there is a delay in usage of the skill, even with cooldown of 1 second on a skill if you use it multiple times eventually you press the skill (or f2 f3 etc) and it will not use the skill until 2-3 seconds after the button press. Any ideas on why this might happen? My server is pretty close to us (70 ping) and has good stats, 6 core processor @ 2.8 ghz with 16gb ram & 400mbps down/up. Any ideas or suggestions are welcome. Also I am using the l2jsunrise hi5 pack.

 

 

what  core u have ? Xeon ?

Link to comment
Share on other sites

  • 0

Can be packet flood protection, threadpool bottleneck, casting process issue, queued delayed action (also called NextAction) issue... It's impossible to tell.

Edited by Tryskell
Link to comment
Share on other sites

  • 0
On 8/23/2022 at 9:20 PM, SirrSquirtlle said:

Hello Max Cheaters!

     Today I come with an issue that a friend of mine pointed out while playing on my test server. while fighting and using skills sometimes there is a delay in usage of the skill, even with cooldown of 1 second on a skill if you use it multiple times eventually you press the skill (or f2 f3 etc) and it will not use the skill until 2-3 seconds after the button press. Any ideas on why this might happen? My server is pretty close to us (70 ping) and has good stats, 6 core processor @ 2.8 ghz with 16gb ram & 400mbps down/up. Any ideas or suggestions are welcome. Also I am using the l2jsunrise hi5 pack.

Find player's queued skills in character (or creature) class and see what's going on there.

Link to comment
Share on other sites

  • 0
On 8/23/2022 at 9:20 PM, SirrSquirtlle said:

Hello Max Cheaters!

     Today I come with an issue that a friend of mine pointed out while playing on my test server. while fighting and using skills sometimes there is a delay in usage of the skill, even with cooldown of 1 second on a skill if you use it multiple times eventually you press the skill (or f2 f3 etc) and it will not use the skill until 2-3 seconds after the button press. Any ideas on why this might happen? My server is pretty close to us (70 ping) and has good stats, 6 core processor @ 2.8 ghz with 16gb ram & 400mbps down/up. Any ideas or suggestions are welcome. Also I am using the l2jsunrise hi5 pack.

You kinda miss important information...
Let's say... limit the hundreds of skills that exist to the ones you noticed to have problem with.
Unless you have this problem with all skills... in case you do... bad news...

 

53 minutes ago, Tryskell said:

Can be packet flood protection, threadpool bottleneck, casting process issue, queued delayed action (also called NextAction) issue... It's impossible to tell.

He did not say he is using aCis...

:troll:

 

  • Like 1
Link to comment
Share on other sites

  • 0

You guys are correct there is A LOT going on with this issue, I am not using ACIS as mobius pointed out this is on hi5 part5 sunrise pack but all of the flood protection is turned off, I have not messed with threadpool at all. I do notice it more on PHYSICAL skills like stunshot & multishot, also if you spam bleed on mobs it is noticeable as well.. oof this seems like a major issue to be having I just wanted a server for 5-10 ppl to play on (old clan mates)

Thank you all for the input I guess I will just keep trying to find the issue one bit at a time >.<

Link to comment
Share on other sites

  • 0
Just now, SirrSquirtlle said:

You guys are correct there is A LOT going on with this issue, I am not using ACIS as mobius pointed out this is on hi5 part5 sunrise pack but all of the flood protection is turned off, I have not messed with threadpool at all. I do notice it more on PHYSICAL skills like stunshot & multishot, also if you spam bleed on mobs it is noticeable as well.. oof this seems like a major issue to be having I just wanted a server for 5-10 ppl to play on (old clan mates)

Thank you all for the input I guess I will just keep trying to find the issue one bit at a time >.<

 

It's not that big of an issue and it will be relatively easy to detect and fix. All you have to do is print debug messages in the cast process (beginning from RequestMagicSkillUse client packet), preferably after every return; or break; statement, in order to detect which check fails. Let us know once you detected it, the fix should be fairly easy.

Link to comment
Share on other sites

  • 0
24 minutes ago, GsL said:

You use a clean pack and u got this issue ?

Thats actually a good point. OP have you tried another pack (maybe l2jserver or L2JMobius)? It could be a CPU specific thing, there were problems in the past with certain CPUs. Just to rule it out before digging into the code,

Edited by ZaNteR
Link to comment
Share on other sites

  • 0
2 minutes ago, ZaNteR said:

Thats actually a good point. OP have you tried another pack (maybe l2jserver or L2JMobius)? It could be a CPU specific thing, there were problems in the past with certain CPUs. Just to rule it out before digging into the code,

 

I really doubt CPU has anything to do with this issue, if CPU was at fault other things would be broken too.

 

It's most likely ai next action related as Tryskell said, or perhaps minimum cooldown calculation (could be sending lower cooldown to client but using higher server-side).

Link to comment
Share on other sites

  • 0
10 minutes ago, GsL said:

Xeon core sometimes do such lags

 

What you're suggesting is that a CPU underperforms/lags only on this specific operation in the server and nowhere else, which is impossible. It's got nothing to do with CPU, unless the server is generally laggy in every action and not just skill casting.

 

The only way to know the issue is debug like I mentioned.

Edited by An4rchy
Link to comment
Share on other sites

  • 0
19 hours ago, Mobius said:

He did not say he is using aCis...

:troll:

 

 

Indeed, since aCis never encountered such state :). You seem to be more experienced in that type of issues.

Edited by Tryskell
  • Haha 1
Link to comment
Share on other sites

  • 0
10 hours ago, ZaNteR said:

Thats actually a good point. OP have you tried another pack (maybe l2jserver or L2JMobius)?

 

1 hour ago, Tryskell said:

Indeed, since aCis never encountered such state :). You seem to be more experienced in that type of issues.

 

https://highfive.l2mobius.net/

Link to comment
Share on other sites

  • 0
40 minutes ago, Mobius said:

 

If you need some attention, pick some girlfriend, boy or any other type of animal. I'm already taken, and anyway I don't like passive/agressive behavior.

Edited by Tryskell
Link to comment
Share on other sites

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
Answer this question...

×   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

    • 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...