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

    • Hello if anyone is looking for interlude server with free bot, no P2W and uniques features I can recommend freshly opened https://l2romans.com/features/, great server for chilling and having fun with friends casually. Everyone is welcomed
    • So excited to announce 3x Telegram Premium (6 months)   Join our official TG and participate to win!   Asocks.com - trusted proxy service providing mobile and residential proxies with a single price of $3 per 1GB   A huge locations pool and high speed will help complete all tasks    
    • Well, sorry not sorry for resurrecting old topic, but I believe it's ultimately stupid to implement license checks like Vilmis did 🙂   private static String url = "jdbc:mysql://185.80.128.233/" + getData("Zm9ydW1fZGI="); private static String username = getData("bXJjb3B5cmlnaHQ="); private static String password = getData("Y29weXJpZ2h0XzEyMw=="); con = GlobalDB.getInstance().getConnection(); PreparedStatement statement; statement = con.prepareStatement("SELECT field_6 from core_pfields_content WHERE member_id = ?"); statement.setInt(1, Config.FORUM_USER_ID); ResultSet rset = statement.executeQuery();   This awesome way of coding things leaves us with base64-encoded credentials and DB exposed and accessible globally 😉 Btw he checks his licensing data from some plugin generated table his forum uses. Vilmis took action and ensured that mrcopyright user would have only needed accesses and rights for this operation. But he forgot to ensure that his INFORMATION_SCHEMA database would not be exposed and readable... That leads us to fully readable server variables like version used (10.1.26-MariaDB-0+deb9u1 - pretty ancient DB and OS, I'd assume). From here you can go south and do some kinky stuff, if you want and have knowledge for that. But who cares, right?   Ooh, table core_pfields_content field_6 is IP address which is checked by FORUM_USER_ID. Yep, you can query all IP addresses there (124 of them right now) and also do whatever you want with them! 🙂  The most fun part? Files source has been shared what, more than 2 years ago?  Vilmis still uses very same credentials and never changed it after sources exposure - who cares. Although, "sources" may be way too strong word here. If anyone still use paid Orion versions, I'd suggest packing your shit and leaving immediately, or at least fix this incompetent fool caused problems. It's obvious Vilmis don't care or maybe doesn't even know from the first place how to solve this problem (hint hint - tiny PHP Rest API microservice which would do absolutely the same but without exposing sensitive data?). By doing that, he exposes his infrastructure and YOUR data, and he does that for more than 2 years now 🙂 Developer of century!    
    • rename the l2.bin into l2.exe
  • Topics

×
×
  • Create New...