Jump to content
  • 0

Cursor Attack (sword)


char0

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  12/20/11
  • Last Seen:  

I copied the system from the battleground, I changed what I had to change, and it worked normally.However, the cursor attack (sword) is appearing for those who are in the same faction when maps are in PvP/GvG.

There is a packet in the source, which when removed, does not send information such as the mini-map. I believe that the same packet may be associated with the cursor battlegroud responsible for the attack.

...

if( (type == PARTY_AREA || type == PARTY_AREA_WOS) && (sd->bl.x < x0 || sd->bl.y < y0 || sd->bl.x > x1 || sd->bl.y > y1) )
continue;

if( packet_db[sd->packet_ver][RBUFW(buf,0)].len )
{ // packet must exist for the client version
WFIFOHEAD(fd,len);
memcpy(WFIFOP(fd,0), buf, len);
WFIFOSET(fd,len);
}

...

I checked if this packet was coming, and it really was. But the cursor attack keeps appearing for all factions.

Does anyone have any idea how can fix this error?

Thanks, char0.

Some help? :/

Edited by char0
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.

×
×
  • Create New...