Page 1 of 1

Disconnected after sending the package 0193

Posted: 07 Dec 2012, 23:06
by Kaspy
Image
Test performed in iRO
/// Request of character's name by char ID.
/// 0193 <char id>.L (CZ_REQNAME_BYGID)
/// 0369 <char id>.L (CZ_REQNAME_BYGID2)
/// There are various variants of this packet, some of them have padding between fields.
void clif_parse_SolveCharName(int fd, struct map_session_data *sd)
{
int charid;

charid = RFIFOL(fd,packet_db[sd->packet_ver][RFIFOW(fd,0)].pos[0]);
map_reqnickdb(sd, charid);
}

Font: rAthena
For some reason, after sending the packet 0193, even with the correct answer of the request, leads to the DC - something very strange, since a packet very similar, the 0369, it works perfectly.
What would be the reason for DC?

The problem is that I need to use the packet 0193 because my server, bRO, not yet implementing the 0369.

Re: Disconnected after sending the package 0193

Posted: 31 Dec 2012, 00:36
by Kaspy
Feedback: I decided to try one more time soluncionar this problem.
So I went looking in the source emulator brAthena package similar to this (send ID char and get the corresponding char nick). I thought the package 0368 (CZ_REQNAME2) and for some reason very mysterious, worked perfectly, earning the nickname of the character and without taking DC.

Problem solved, but if anyone has an idea for the reason that it would be a great help inform.

Re: Disconnected after sending the package 0193

Posted: 30 Jan 2013, 16:41
by kLabMouse
Recent changes in Official Servers made auto DC upon usage of Unsupported/Deprecated packets.