Jump to content
Keitenai

Keitenai Delay System ( Speed Hack Protection )

Recommended Posts

File Name: Keitenai_Delay_System
File Submitter: keitenai
File Submitted: 4 Dec 2016
File Category: Src Modification
Content Author: keitenai

Information:

      Speed hacking 3rd party programs to bypass skill delays are hard to eliminate specially if you don't have a game guard for you server.

      This modification makes it impossible for speed hacking programs to bypass the delay that has been set.

How does it work?

      I've added a simple skill requirement to the skills before a player can re-cast certain skill. This requirement is 'time'.

      So to put it simple, skill will be hard locked after casting and will be unlocked once the delay is over.

Features:

  1. Configurable hard skill delay.
  2. Separate configuration of hard skill delay for WoE settings
  3. MoD can be enable / disable.
  4. Supports current available skills ready for configuration.
  5. Disconnects anyone who does inhumanly spamming ( Sensitivity configuration included ).
  6. Implemented "Show skill delay" for the Mod configuration only ( for testing purposes ).

 

WARNING:

A player may be detected as spam flood if the said player is having lag spike issues while consistently using skill.

 

//------------------------------------------------------------------
// Skill delay settings
// Value is in milliseconds (1000 = 1 second)
//------------------------------------------------------------------
// Note that this delay setting still depends on the 'skill_cast_db'
// delay settings. This will not decrease the skill delay that has
// been set in 'skill_cast_db' although this setting can increase
// the delay if value is higher than 'skill_cast_db' delay
//------------------------------------------------------------------

//=================
// Swordman
//=================
SM_BASH: 210
SM_MAGNUM: 180

 

Installation:

      1. Download the Diff file.

      2. Simply apply the diff to your trunk, or apply it manually.

      3. Recompile your server.

      4. Configure your skill delays

      5. ALL DONE!

 

Compatible with:  rAthena 97b5f3b ( as of JULY 31, 2022 )

Compatible with:  rAthena 03da2f6

Compatible with:  rAthena 8d8712f

 

Download :

 

Edit:

  • Fixed compatibility with rathena 97b5f3b revision ( as of 07/31/2022 )
  • Add new 4th job skills
  • Fixed bug on melee skills

 

 

 

 

Edited by Keitenai
update
  • Upvote 5
Link to comment
Share on other sites

9 minutes ago, Anacondaqq said:

Hi. What difference from your mode and classic RO skill_cast_db.txt cooldown delay?

The default skill_cast_db can be bypassed by 3rd party speedhack programs (cheats) enabling them to do "0" aftercast delay.

 

Plus i also include a separated skill delays for WoE setting which can be helpful to make use of a certain skill instead of disabling it.

Edited by Keitenai
Link to comment
Share on other sites

2 hours ago, Keitenai said:

File Name: Keitenai_Delay_System
File Submitter: keitenai
File Submitted: 4 Dec 2016
File Category: Src Modification
Content Author: keitenai

Information:

      Speed hacking 3rd party programs to bypass skill delays are hard to eliminate specially if you don't have a game guard for you server.

      This modification makes it impossible for speed hacking programs to bypass the delay that has been set.

How does it work?

      I've added a simple skill requirement to the skills before a player can re-cast certain skill. This requirement is 'time'.

      So to put it simple, skill will be hard locked after casting and will be unlocked once the delay is over.

 

Features:

  1. Configurable hard skill delay.
  2. Separate configuration of hard skill delay for WoE settings
  3. MoD can be enable / disable.
  4. Supports Any skill ready for configuration.

 

//------------------------------------------------------------------
// Skill delay settings
// Value is in milliseconds (1000 = 1 second)
//------------------------------------------------------------------
// Note that this delay setting still depends on the 'skill_cast_db'
// delay settings. This will not decrease the skill delay that has
// been set in 'skill_cast_db' although this setting can increase
// the delay if value is higher than 'skill_cast_db' delay
//------------------------------------------------------------------

//=================
// Swordman
//=================
SM_BASH: 210
SM_MAGNUM: 180

 

Installation:

      1. Download the Diff file.

      2. Simply apply the diff to your trunk, or apply it manually.

      3. Recompile your server.

      4. Configure your skill delays

      5. ALL DONE!

 

Compatible with:  rAthena ac2ba09

Download :  Keitenai_Delay_System.diff

 

 

 

First i would like to say thank you for contributing something like this. i hope this kind of Delay System works on my server since there are lots of Cheaters like WPE/RPE users and other stupid tools make the games ruined.


Hope you can also demonstrate through VIDEOS.

Thank you once again.

Edited by Azeroth
Link to comment
Share on other sites

+10 For you buddy Now even i wont purchase gepard i have this one Keep it up

BUt i got a Problem clif_disp_onlyself(sd, message_skdelay, (int)strlen(message_skdelay));

Severity    Code    Description    Project    File    Line    Suppression State
Warning    C4013    'clif_disp_onlyself' undefined; assuming extern returning int    map-server    c:\users\client\desktop\trunk\src\map\skill.c    17403    
 

Edited by simplexjay2
Link to comment
Share on other sites

@simplexjay2 i have uploaded a new diff to fix the compatibility with the latest rathena's revision.

 

Update:

  • Added feature which disconnects anyone who does inhumanly spamming.
  • Fixed compatibility with rathena 8d8712f revision ( as of 05/26/2017 )
  • Implemented "Show skill delay" for the Mod configuration only ( for testing purposes ).

 

Edited by Keitenai
Link to comment
Share on other sites

On 5/26/2017 at 7:00 PM, Keitenai said:

@simplexjay2 i have uploaded a new diff to fix the compatibility with the latest rathena's revision.

 

Update:

  • Added feature which disconnects anyone who does inhumanly spamming.
  • Fixed compatibility with rathena 8d8712f revision ( as of 05/26/2017 )
  • Implemented "Show skill delay" for the Mod configuration only ( for testing purposes ).

 

thank you very much i will try it now

I found a bug here in this patch every time i use asura while far on the enemy if you click asura to the enemy it will stop near 2 cell of the enemy

and b4 you can asura or sonic blow u should be 1-2cell near b4 it can use skill

outside of 3 cell it will not used the skill that u cast it will just stop 3cell b4 the enemy

Link to comment
Share on other sites


Error    C2039    'gvg_castle': is not a member of 'std::vector<int,std::allocator<_Ty>>' 
Error    C2039    'gvg_te_castle': is not a member of 'std::vector<int,std::allocator<_Ty>>' 
 

Link to comment
Share on other sites

57 minutes ago, kalabasa said:


Error    C2039    'gvg_castle': is not a member of 'std::vector<int,std::allocator<_Ty>>' 
Error    C2039    'gvg_te_castle': is not a member of 'std::vector<int,std::allocator<_Ty>>' 
 

Replace 

(map[m].flag.gvg_castle || map[m].flag.gvg_te_castle)
 
to
 
(mapdata->flag[MF_GVG_CASTLE] || mapdata->flag[MF_GVG_TE_CASTLE])
Edited by Kusoo
  • Upvote 1
Link to comment
Share on other sites

On 5/27/2017 at 12:13 PM, simplexjay2 said:

thank you very much i will try it now

I found a bug here in this patch every time i use asura while far on the enemy if you click asura to the enemy it will stop near 2 cell of the enemy

and b4 you can asura or sonic blow u should be 1-2cell near b4 it can use skill

outside of 3 cell it will not used the skill that u cast it will just stop 3cell b4 the enemy

This bug has been long overdue for a fix.

But better late than never right? 😅

I've uploaded an updated patch. This covers the fix for the said bug & is now compatible with rAthena git 97b5f3b

 

  • Love 1
Link to comment
Share on other sites

On 7/30/2022 at 11:12 AM, Keitenai said:

This bug has been long overdue for a fix.

But better late than never right? 😅

I've uploaded an updated patch. This covers the fix for the said bug & is now compatible with rAthena git 97b5f3b

 

Thank you for the update, Keitenai!

I found some little "problems", tho

 

Asides from the fact that It doesn't let me apply the patch with git apply as any other diff file

The Diff is repeating chunks, specifically the skill_delay.conf and skill_delay_castle.conf.

Also, there is a variable to show (or not) delay time but it's not available on the conf files, you would need to place it manually Nabov2C.png

 

Other than that, it works amazing, thank you again @Keitenai

Link to comment
Share on other sites

4 hours ago, sapitosucio said:

Thank you for the update, Keitenai!

I found some little "problems", tho

 

Asides from the fact that It doesn't let me apply the patch with git apply as any other diff file

The Diff is repeating chunks, specifically the skill_delay.conf and skill_delay_castle.conf.

Also, there is a variable to show (or not) delay time but it's not available on the conf files, you would need to place it manually Nabov2C.png

 

Other than that, it works amazing, thank you again @Keitenai

 

Thanks for pointing out these issues.

The uploaded patch has been fixed.

😁👍

 

  • Love 1
Link to comment
Share on other sites

Posted (edited)

I made a major clean-up on the code 😆

I've reduced the 5057 lines down to 633 in unit.cpp

here's how it looks now

cleanup.PNG

Edited by Keitenai
  • Upvote 1
  • Love 1
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.

Guest
Reply to this topic...

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



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.