Eterno Posted March 2, 2013 Posted March 2, 2013 (edited) In my sv, @refresh cancels the animation delay on some skills. Example: Sonic Blow (with @refresh, I can SB 2 times in 1 second) -> players are using it to spam skill Is there any way to fix it? Or a solution to deal with it? Edited March 2, 2013 by Eterno Quote
0 maken06 Posted February 21, 2018 Posted February 21, 2018 It is possible to cool down the @refresh command? something like 1 minute for reuse? Quote
Patotron Posted March 2, 2013 Posted March 2, 2013 Try replacing your @refresh command to this: ACMD_FUNC(refresh) { if (map[sd->bl.m].flag.pvp) { clif_displaymessage(sd->fd,"@refresh disabled on PvP maps."); return -1; } nullpo_retr(-1, sd); clif_refresh(sd); return 0; } With that, @refresh wont work on PvP maps. If you need this out of PvP maps we can modify it. I hope it help you Quote
Eterno Posted March 3, 2013 Author Posted March 3, 2013 Try replacing your @refresh command to this: ACMD_FUNC(refresh) { if (map[sd->bl.m].flag.pvp) { clif_displaymessage(sd->fd,"@refresh disabled on PvP maps."); return -1; } nullpo_retr(-1, sd); clif_refresh(sd); return 0; } With that, @refresh wont work on PvP maps. If you need this out of PvP maps we can modify it. I hope it help you Thx but I tried to disable @refresh in pvp map, then some players disagreed with it because of the position lag. I hope you have an other way Quote
Patotron Posted March 3, 2013 Posted March 3, 2013 (edited) ACMD_FUNC(refresh) { nullpo_retr(-1, sd); clif_refresh(sd); status_change_start(bl, SC_INVINCIBLE, 10000, 1, 0, 0, 0, u_, 2); status_change_start(bl, SC_BLADESTOP_WAIT, 10000, 1, 0, 0, 0, u_, 2); return 0; } Try it, dont know if it works, dont tested. Edited March 3, 2013 by TxusToni Quote
Lighta Posted March 6, 2013 Posted March 6, 2013 if that on rA it's more a medium profile bug, so you could do a report and will get fixed right away. if not it obviously some custom and will be hard to help without seing the cause. (well at least fix it really). TxusToni patch could work. (well beside the u_ typo, wtf is that ?) Otherwise you could try to do something like this : sd->canskill_tick += 300; wich will add 300ms to the limit tick where you could reskill. ACMD_FUNC(refresh) { nullpo_retr(-1, sd); clif_refresh(sd); sd->ud.canact_tick += 300; sd->ud.canmove_tick += 300; return 0; } but that just a patch on the same vein as TxusToni one Quote
Vincent Posted March 11, 2013 Posted March 11, 2013 How can i disable @refresh at the WoE castels? Quote
Capuche Posted March 11, 2013 Posted March 11, 2013 (edited) Replace in atcommand.c ACMD_FUNC(refresh) { nullpo_retr(-1, sd); clif_refresh(sd); return 0; } by ACMD_FUNC(refresh) { nullpo_retr(-1, sd); if (map[sd->bl.m].flag.gvg_castle) { clif_displaymessage(sd->fd,"@refresh disabled on GvG castle."); return -1; } clif_refresh(sd); return 0; } Or You also can restrict @refresh with NPC script command, *just load this script like another script NPC and reloadscript - script hjklm -1,{ OnInit: bindatcmd "refresh",strnpcinfo(0) +"::OnRefresh"; end; OnRefresh: if( getmapflag( strcharinfo(3),mf_gvg_castle ) ) message strcharinfo(0),"@refresh is disabled on gvg castle."; end; } Edited March 11, 2013 by Capuche Quote
cadz Posted July 1, 2013 Posted July 1, 2013 hi capuche how to make npc that @refresh works only in gvg and pvp. or you can @refresh only every 30mins. Quote
Question
Eterno
In my sv, @refresh cancels the animation delay on some skills.
Example: Sonic Blow (with @refresh, I can SB 2 times in 1 second)
-> players are using it to spam skill
Is there any way to fix it? Or a solution to deal with it?
Edited by Eterno11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.