Kichi 6 Posted May 15, 2014 (edited) 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 DOWNLOAD src: Herc - NDG Protection.diff import/ battle_conf.txt Edited May 15, 2014 by Kichi 5 Angelmelody, Jamaeeeeecah, Alexandria and 2 others reacted to this Quote Share this post Link to post Share on other sites
Jamaeeeeecah 2 Posted May 15, 2014 awesome!!! thank u so much Quote Share this post Link to post Share on other sites
Kichi 6 Posted May 16, 2014 awesome!!! thank u so much Your welcome bro Please write any suggestions or information about skills that has a chance to be spamed Quote Share this post Link to post Share on other sites
Tepoo 23 Posted May 16, 2014 (edited) 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 May 16, 2014 by Tepoo 1 pr3p reacted to this Quote Share this post Link to post Share on other sites
Kichi 6 Posted May 16, 2014 (edited) 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 May 16, 2014 by Kichi Quote Share this post Link to post Share on other sites
Tepoo 23 Posted May 19, 2014 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 Quote Share this post Link to post Share on other sites
Kichi 6 Posted May 20, 2014 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 Quote Share this post Link to post Share on other sites
Vanquiser 3 Posted June 9, 2014 any update for this ???? Quote Share this post Link to post Share on other sites
iZeal 5 Posted June 12, 2014 also works on 2012 client? Quote Share this post Link to post Share on other sites
Takumirai 1 Posted August 22, 2014 - no update? this is good protection : Quote Share this post Link to post Share on other sites
stiflerxx 2 Posted November 6, 2014 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 DOWNLOAD src: Herc - NDG Protection.diff import/ battle_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? Quote Share this post Link to post Share on other sites
Break San 3 Posted November 7, 2014 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 ^ Quote Share this post Link to post Share on other sites
stiflerxx 2 Posted November 8, 2014 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 Quote Share this post Link to post Share on other sites
Break San 3 Posted November 21, 2014 With this change the server is falling. Quote Share this post Link to post Share on other sites
stiflerxx 2 Posted November 23, 2014 With this change the server is falling. Yes me and a friend also this! already even took my server ^^ Quote Share this post Link to post Share on other sites
Takumirai 1 Posted December 5, 2014 please update this thanks. Quote Share this post Link to post Share on other sites
ShankS 0 Posted December 10, 2014 is this still works? Quote Share this post Link to post Share on other sites
* Blaze * 6 Posted February 3, 2015 Nice! thank you ill try it now Quote Share this post Link to post Share on other sites
neil413 0 Posted February 4, 2015 Bump! Any update on this? Quote Share this post Link to post Share on other sites
minx123 2 Posted January 19, 2016 Still work or not?? Quote Share this post Link to post Share on other sites