Disconnected after sending the package 0193

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderator: Moderators

Message
Author
Kaspy
Halfway to Eternity
Halfway to Eternity
Posts: 398
Joined: 08 Jun 2012, 15:42
Noob?: No
Location: Brazil

Disconnected after sending the package 0193

#1 Post 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.
Image

Kaspy
Halfway to Eternity
Halfway to Eternity
Posts: 398
Joined: 08 Jun 2012, 15:42
Noob?: No
Location: Brazil

Re: Disconnected after sending the package 0193

#2 Post 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.
Image

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: Disconnected after sending the package 0193

#3 Post by kLabMouse »

Recent changes in Official Servers made auto DC upon usage of Unsupported/Deprecated packets.

Locked