Bringer Posted May 28, 2020 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Wednesday at 03:29 PM Share Posted May 28, 2020 my Past Server Location is LA Hiding + Shadow Jump can be Spamable but when i change my Host Location to Singapore there a huge Delay While Using This Skill's how i can remove the delay of Hiding + Shadow Jump@Haruka Mayumi i try test this but failed compileclif.cpp bool clif_skill_nodamage(struct block_list *src,struct block_list *dst, uint16 skill_id, int heal, t_tick tick) { unsigned char buf[17]; #if PACKETVER < 20130731 const int cmd = 0x11a; #else const int cmd = 0x9cb; #endif int offset = 0; bool success = ( tick != 0 ); nullpo_ret(dst); + if( skill_id == TF_HIDING ) return success; Quote Link to comment Share on other sites More sharing options...
0 Haruka Mayumi Posted May 28, 2020 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 485 Reputation: 271 Joined: 06/13/17 Last Seen: April 14 Share Posted May 28, 2020 (edited) because of nagles algorithm.. your ping from LA made it possible to spam that. however because of low ping for you in asia, the route became faster and wasnt able to do the action delay.. kind of hard to explain it. for this to remove the act of hiding for ninja.. use this NOTE: just so you know. i am using near latest rathena trunk. if you are using old rathena. i won't help you to make it possible, since we have difference in source codes. Edited May 28, 2020 by Haruka Mayumi Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted May 28, 2020 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Wednesday at 03:29 PM Author Share Posted May 28, 2020 here my clip.cpp /// Non-damaging skill effect /// 011a <skill id>.W <heal>.W <dst id>.L <src id>.L <result>.B (ZC_USE_SKILL). /// 09cb <skill id>.W <heal>.L <dst id>.L <src id>.L <result>.B (ZC_USE_SKILL2). int clif_skill_nodamage(struct block_list *src,struct block_list *dst, uint16 skill_id, int heal, int fail) { unsigned char buf[17]; #if PACKETVER < 20130731 const int cmd = 0x11a; #else const int cmd = 0x9cb; #endif int offset = 0; nullpo_ret(dst); WBUFW(buf,0) = cmd; WBUFW(buf,2) = skill_id; #if PACKETVER < 20130731 WBUFW(buf,4) = min(heal, INT16_MAX); #else WBUFL(buf,4) = min(heal, INT32_MAX); offset += 2; #endif WBUFL(buf,6+offset) = dst->id; WBUFL(buf,10+offset) = src ? src->id : 0; WBUFB(buf,14+offset) = fail; if (disguised(dst)) { clif_send(buf, packet_len(cmd), dst, AREA_WOS); WBUFL(buf,6+offset) = -dst->id; clif_send(buf, packet_len(cmd), dst, SELF); } else clif_send(buf, packet_len(cmd), dst, AREA); if(src && disguised(src)) { WBUFL(buf,10+offset) = -src->id; if (disguised(dst)) WBUFL(buf,6+offset) = dst->id; clif_send(buf, packet_len(cmd), src, SELF); } return fail; } Quote Link to comment Share on other sites More sharing options...
0 kalabasa Posted July 8, 2022 Group: Members Topic Count: 123 Topics Per Day: 0.05 Content Count: 478 Reputation: 14 Joined: 11/30/17 Last Seen: January 23 Share Posted July 8, 2022 On 5/28/2020 at 12:03 PM, Haruka Mayumi said: because of nagles algorithm.. your ping from LA made it possible to spam that. however because of low ping for you in asia, the route became faster and wasnt able to do the action delay.. kind of hard to explain it. for this to remove the act of hiding for ninja.. use this NOTE: just so you know. i am using near latest rathena trunk. if you are using old rathena. i won't help you to make it possible, since we have difference in source codes. the job checking is not working all that has item or card granting hiding skill will show no animation Quote Link to comment Share on other sites More sharing options...
0 JinYuichi Posted July 9, 2022 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 110 Reputation: 30 Joined: 11/24/14 Last Seen: April 12 Share Posted July 9, 2022 this already depends on which git you are using. Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted July 9, 2022 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Wednesday at 03:29 PM Author Share Posted July 9, 2022 I already fix this problem 2 years ago Quote Link to comment Share on other sites More sharing options...
Question
Bringer
my Past Server Location is LA Hiding + Shadow Jump can be Spamable
but when i change my Host Location to Singapore there a huge Delay While Using This Skill's
how i can remove the delay of Hiding + Shadow Jump
@Haruka Mayumi i try test this but failed compile
clif.cpp
bool clif_skill_nodamage(struct block_list *src,struct block_list *dst, uint16 skill_id, int heal, t_tick tick) { unsigned char buf[17]; #if PACKETVER < 20130731 const int cmd = 0x11a; #else const int cmd = 0x9cb; #endif int offset = 0; bool success = ( tick != 0 ); nullpo_ret(dst); + if( skill_id == TF_HIDING ) return success;
Link to comment
Share on other sites
5 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.