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.
Question
char0
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.
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 char0Link to comment
Share on other sites
0 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.