Jump to content
  • 0

How to add a little bit skill cast in all classes


HappyMan

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  191
  • Reputation:   24
  • Joined:  07/19/14
  • Last Seen:  

Hello anyone can help me or is it possible to add a little bit skill cast to all job classes?

 

Purpose? to avoid the 3rd party programs to spam the skill.

 

this will be act as anti rpe, anti macro and etc.. 

 

thanks in advance

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

  • Group:  Developer
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  802
  • Reputation:   228
  • Joined:  01/30/13
  • Last Seen:  

On 5/23/2019 at 3:24 PM, HappyMan said:

if i set it 600 i cant spam some skill like bowling bash

Yes, that's what you wanted, no? Not being able to spam skills anymore when using 3rd party tools.

On 5/23/2019 at 3:24 PM, HappyMan said:

what i want is to have minimal or a little bit cast for like fire bolt etc.

If you want cast time, that's possible too but not as easily. However, I want to note that if you want to avoid 3rd party hacks, I recommend using my first suggestion to set that setting above to 600. Then even with 3rd party tools you can't cast the spell more than once every 600ms.

If you add a small cast time to all skills, then 3rd party tools get even more exploitable as the aftercast delay will be even lower for all the skills. If you still want that, you will have to edit skill.cpp:

	// return final cast time
	time = max(time, 0);

Change to e.g.:

	// return final cast time
	time = max(time, 500);

Then all skills have a cast time of 500ms minimum.

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  802
  • Reputation:   228
  • Joined:  01/30/13
  • Last Seen:  

1. Make sure you have up-to-date rAthena (at least more recent than February 21st 2016).

2. skill.conf


// Minimum allowed delay for ANY skills after castbegin (in milliseconds) (Note 1)
// Note: Setting this to anything above 0 can stop speedhacks.
min_skill_delay_limit: 100

Set this to 600.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  191
  • Reputation:   24
  • Joined:  07/19/14
  • Last Seen:  

2 hours ago, Playtester said:

1. Make sure you have up-to-date rAthena (at least more recent than February 21st 2016).

2. skill.conf



// Minimum allowed delay for ANY skills after castbegin (in milliseconds) (Note 1)
// Note: Setting this to anything above 0 can stop speedhacks.
min_skill_delay_limit: 100

Set this to 600.

@Playtester if i set it 600 i cant spam some skill like bowling bash and also what i want is to have minimal or a little bit cast for like fire bolt etc. even they use kiel card . to avoid any 3rd party programs. 

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  802
  • Reputation:   228
  • Joined:  01/30/13
  • Last Seen:  

2 hours ago, DrKraken said:

sir how about setting skill delay limit on specific skill only? 

You do that in the skill_cast_db file:

https://github.com/rathena/rathena/blob/master/db/pre-re/skill_cast_db.txt

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  802
  • Reputation:   228
  • Joined:  01/30/13
  • Last Seen:  

Make sure you modify the correct file. If you are compiling on renewal you have to modify /re/skill_cast_db.txt instead.

//-- CH_SOULCOLLECT
401,0,0,0,600000,0,0,2000

Right now it's defined to have a 2 second fixed casting for the skill.

I don't know what you want to adjust but just put whatever values you want here.

Columns are described at top:

// SkillID,CastingTime,AfterCastActDelay,AfterCastWalkDelay,Duration1,Duration2,Cool Down,Fixed Casting Time

 

Edited by Playtester
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
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.

×
×
  • Create New...