Jump to content
  • 0

Singarope Server Hiding / Shadow Jump Delay


Question

Posted

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;

 

5 answers to this question

Recommended Posts

  • 0
Posted (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

image.thumb.png.42e5390a491f030b0b8ccd3a8b9fa2a4.png

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 by Haruka Mayumi
  • 0
Posted

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;
}

 

  • 0
Posted
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

image.thumb.png.42e5390a491f030b0b8ccd3a8b9fa2a4.png

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...