Jump to content


Photo

NDG Protection

nodelay grf cheat protection source

  • Please log in to reply
19 replies to this topic

#1 Kichi

Kichi

    Advanced Member

  • Members
  • PipPipPip
  • 97 posts
  • Emulator:Hercules

Posted 15 May 2014 - 04:00 PM

No Delay Grf Protection

 

 

 

NDG Protection is a src modification to make sure NDG,speed hack, WPE Users still follow the rules.

 

History:

This is a simple code, which we have made since long to minimize the NDG User.
The first way to solve NDG, we add a cooldown for skills that dosn't has a fixed cooldown (Sonic Blow, Cross Impact, etc).

But the player doesn't allowed to do double cast.
Finaly we made this code that minimize the NDG users, but still keep the original feature that is double cast for some skills (Sonic Blow, Cross Impact, etc).


Implementation:

  • Download 2 files above
  • Use manual way to diff (first file) the core and recompile.
  • Copy Paste the second file to "conf/import/"
  • And you will see the effect :)

 

 

Feature:

-The user still able to use double SB / CI / etc.

-You may switch on and off.

-Very simple

 

 

Any comments, suggestions, even critism in order to make this feature better is opened.
Thank You.

 

 

Note:

 I've been testing NoDelayGrf on augst 2013 and doesn't work,
 i've tested this using WPE

 i've got the numbers from comparing with and without *cheat

 

 

[color=rgb(0,0,255);]DOWNLOAD[/color]

src:

Attached File  Herc - NDG Protection.diff   6.19K   286 downloads

import/

Attached File  battle_conf.txt   766bytes   206 downloads

 


Edited by Kichi, 15 May 2014 - 09:59 PM.


#2 Jamaeeeeecah

Jamaeeeeecah

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts
  • Emulator:Hercules

Posted 15 May 2014 - 10:24 PM

awesome!!! thank u so much



#3 Kichi

Kichi

    Advanced Member

  • Members
  • PipPipPip
  • 97 posts
  • Emulator:Hercules

Posted 16 May 2014 - 05:37 AM

awesome!!! thank u so much

Your welcome bro

 

Please write any suggestions or information about skills that has a chance to be spamed :)


 



#4 Tepoo

Tepoo

    Advanced Member

  • Members
  • PipPipPip
  • 142 posts

Posted 16 May 2014 - 10:46 AM

much todo on this source. 

 

its a nice start, but the system blocks normal players. as the delay of some skillz get increased or decreased by there level.


Edited by Tepoo, 16 May 2014 - 01:10 PM.

2ro0olu.jpgL3lTAMR.gif


#5 Kichi

Kichi

    Advanced Member

  • Members
  • PipPipPip
  • 97 posts
  • Emulator:Hercules

Posted 16 May 2014 - 01:31 PM

much todo on this source. 

 

its a nice start, but the system blocks normal players. as the delay of some skillz get increased or decreased by there level.

 

Thanks for the information

yes it will affect on normal player if they spam the skill by (WPE)

Still it keep the original feature that players still allowed to do double cast (RO without WPE)

Like this:
WPE

- Skill 1

- Skill 2

- Skill 3

- Skill 4

- till you ran out of SP

 

Without WPE:

- Skill 1

- Skill 2 till the animation end

- Skill 3

- Skill 4 till the animation end

 

Anyway thank you very much for the information
:)

 

CMIIW


Edited by Kichi, 16 May 2014 - 04:51 PM.


#6 Tepoo

Tepoo

    Advanced Member

  • Members
  • PipPipPip
  • 142 posts

Posted 19 May 2014 - 05:35 PM

did you also tested it with bragi and so on?

as there are many things who reduce the cooldown and after cast delay.

 

also the sourcecode can be optimized, i will talk to you in 3 days when im back home :-)

 

Greetings

Tepoo


2ro0olu.jpgL3lTAMR.gif


#7 Kichi

Kichi

    Advanced Member

  • Members
  • PipPipPip
  • 97 posts
  • Emulator:Hercules

Posted 20 May 2014 - 02:04 AM

did you also tested it with bragi and so on?

as there are many things who reduce the cooldown and after cast delay.

 

also the sourcecode can be optimized, i will talk to you in 3 days when im back home :-)

 

Greetings

Tepoo

 

yep tested

 

and i just focus on official way that is (Player allowed to do max 2 cast skill)
every suggestion for optimization are welcome :)

Thank you



#8 Vanquiser

Vanquiser

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts
  • LocationPhilippines

Posted 09 June 2014 - 07:01 AM

any update for this ????


HkUvWAu.gif                                            

20526a_zpscff8cb40.gif     

 

                                               

 

 

 


#9 iZeal

iZeal

    Advanced Member

  • Members
  • PipPipPip
  • 160 posts
  • Emulator:Hercules

Posted 12 June 2014 - 05:35 AM

also works on 2012 client?



#10 Takumirai

Takumirai

    Advanced Member

  • Members
  • PipPipPip
  • 61 posts

Posted 22 August 2014 - 04:31 AM

- no update? this is good protection :



#11 stiflerxx

stiflerxx

    Advanced Member

  • Members
  • PipPipPip
  • 126 posts

Posted 06 November 2014 - 05:09 PM

No Delay Grf Protection

 

 

 

NDG Protection is a src modification to make sure NDG,speed hack, WPE Users still follow the rules.

 

History:

This is a simple code, which we have made since long to minimize the NDG User.
The first way to solve NDG, we add a cooldown for skills that dosn't has a fixed cooldown (Sonic Blow, Cross Impact, etc).

But the player doesn't allowed to do double cast.
Finaly we made this code that minimize the NDG users, but still keep the original feature that is double cast for some skills (Sonic Blow, Cross Impact, etc).


Implementation:

  • Download 2 files above
  • Use manual way to diff (first file) the core and recompile.
  • Copy Paste the second file to "conf/import/"
  • And you will see the effect :)

 

 

Feature:

-The user still able to use double SB / CI / etc.

-You may switch on and off.

-Very simple

 

 

Any comments, suggestions, even critism in order to make this feature better is opened.
Thank You.

 

 

Note:

 I've been testing NoDelayGrf on augst 2013 and doesn't work,
 i've tested this using WPE

 i've got the numbers from comparing with and without *cheat

 

 

[color=rgb(0,0,255);]DOWNLOAD[/color]

src:

Posted ImageHerc - NDG Protection.diff

import/

Posted Imagebattle_conf.txt

skill.c: In function 'skill_delay_check':
skill.c:14507: warning: suggest parentheses around assignment used as truth value
skill.c:14507: warning: suggest explicit braces to avoid ambiguous 'else'
skill.c:14515: warning: suggest parentheses around assignment used as truth value
skill.c:14515: warning: suggest explicit braces to avoid ambiguous 'else'
 
help?


#12 Break San

Break San

    Advanced Member

  • Members
  • PipPipPip
  • 241 posts
  • LocationFrança

Posted 07 November 2014 - 04:30 PM

 
skill.c:14399:23: warning: using the result of an assignment as a condition      without parentheses [-Wparentheses]                        if (sd->last_skill = skill_id)                            ~~~~~~~~~~~~~~~^~~~~~~~~~skill.c:14399:23: note: place parentheses around the assignment to silence this      warning                        if (sd->last_skill = skill_id)                                           ^                            (                        )skill.c:14399:23: note: use '==' to turn this assignment into an equality      comparison                        if (sd->last_skill = skill_id)                                           ^                                           ==skill.c:14402:5: warning: add explicit braces to avoid dangling else      [-Wdangling-else]                                else                                ^skill.c:14407:23: warning: using the result of an assignment as a condition      without parentheses [-Wparentheses]                        if (sd->last_skill = skill_id)                            ~~~~~~~~~~~~~~~^~~~~~~~~~skill.c:14407:23: note: place parentheses around the assignment to silence this      warning                        if (sd->last_skill = skill_id)                                           ^                            (                        )skill.c:14407:23: note: use '==' to turn this assignment into an equality      comparison                        if (sd->last_skill = skill_id)                                           ^                                           ==skill.c:14410:5: warning: add explicit braces to avoid dangling else      [-Wdangling-else]                                else                                ^

 



#13 stiflerxx

stiflerxx

    Advanced Member

  • Members
  • PipPipPip
  • 126 posts

Posted 08 November 2014 - 10:43 PM

 
skill.c:14399:23: warning: using the result of an assignment as a condition      without parentheses [-Wparentheses]                        if (sd->last_skill = skill_id)                            ~~~~~~~~~~~~~~~^~~~~~~~~~skill.c:14399:23: note: place parentheses around the assignment to silence this      warning                        if (sd->last_skill = skill_id)                                           ^                            (                        )skill.c:14399:23: note: use '==' to turn this assignment into an equality      comparison                        if (sd->last_skill = skill_id)                                           ^                                           ==skill.c:14402:5: warning: add explicit braces to avoid dangling else      [-Wdangling-else]                                else                                ^skill.c:14407:23: warning: using the result of an assignment as a condition      without parentheses [-Wparentheses]                        if (sd->last_skill = skill_id)                            ~~~~~~~~~~~~~~~^~~~~~~~~~skill.c:14407:23: note: place parentheses around the assignment to silence this      warning                        if (sd->last_skill = skill_id)                                           ^                            (                        )skill.c:14407:23: note: use '==' to turn this assignment into an equality      comparison                        if (sd->last_skill = skill_id)                                           ^                                           ==skill.c:14410:5: warning: add explicit braces to avoid dangling else      [-Wdangling-else]                                else                                ^

 

int skill_delay_check (struct map_session_data *sd, uint16 skill_id, uint16 skill_lv,uint16 flag) {
switch (skill_id) {
case AS_SONICBLOW:
case GC_CROSSIMPACT:
case CG_ARROWVULCAN:
if (sd->last_skill == skill_id){
if(( DIFF_TICK(sd->canskill_tick2, timer->gettick()) > 0 ))
sd->state.skill_check_double = 1 ;
}else{
sd->canskill_tick2 = timer->gettick() + 1500;
}
break;
case RK_DRAGONBREATH:
case RK_DRAGONBREATH_WATER:
if (sd->last_skill == skill_id){
if(( DIFF_TICK(sd->canskill_tick2, timer->gettick()) > 0 ))
sd->state.skill_check_double = 1 ;
}else{
sd->canskill_tick2 = timer->gettick() + 1000;
}
break;
default:
break;
}
sd->last_skill = skill_id;
return 1;
}
 

I put well and stopped the errors

 



#14 Break San

Break San

    Advanced Member

  • Members
  • PipPipPip
  • 241 posts
  • LocationFrança

Posted 21 November 2014 - 10:40 AM

With this change the server is falling.



#15 stiflerxx

stiflerxx

    Advanced Member

  • Members
  • PipPipPip
  • 126 posts

Posted 23 November 2014 - 06:22 PM

With this change the server is falling.

Yes me and a friend also this! already even took my server ^^



#16 Takumirai

Takumirai

    Advanced Member

  • Members
  • PipPipPip
  • 61 posts

Posted 05 December 2014 - 03:30 AM

please update this thanks.



#17 ShankS

ShankS

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts
  • Emulator:Hercules
  • Github:ShankZ

Posted 10 December 2014 - 06:10 PM

is this still works?



#18 * Blaze *

* Blaze *

    Advanced Member

  • Members
  • PipPipPip
  • 102 posts
  • Emulator:Hercules

Posted 03 February 2015 - 06:16 PM

Nice! thank you ill try it now  B)


23.gif

Rules.gif

03e24585.gif


#19 neil413

neil413

    Advanced Member

  • Members
  • PipPipPip
  • 62 posts
  • Emulator:Hercules
  • Github:neil413

Posted 04 February 2015 - 04:49 AM

Bump! Any update on this?



#20 minx123

minx123

    Advanced Member

  • Members
  • PipPipPip
  • 283 posts
  • Github:minx123

Posted 19 January 2016 - 06:19 AM

Still work or not??





Also tagged with one or more of these keywords: nodelay, grf, cheat, protection, source

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


This topic has been visited by 507 user(s)