08-21-2023, 12:15 PM
4 hours ago, Andrein95 said:
/index.php?/profile/14423-nicolasg/&do=hovercard" data-mentionid="14423" href="/index.php?/profile/14423-nicolasg/" rel="">@nicolasg I've seen that you implemented that refresh. Could you give me any hint how to reach that?
Thanks
u can reconnect to LoginServer using _cmiComm.Reconnect (Can found info about it in the src), send a package asking for the data, in my case i hooked CDescriptor::operate (LoginServer Descriptor), before switch (client_type_) check if msg->m_mtype is the same what u send from Client for asking about channels data, if is that, send the data
for (int i = 0; i < gserver.m_nConnector; i++) {
CNetMsg::SP rmsg(new CNetMsg);
PlayerNumMsg(rmsg, -1, -1, i);
SEND_Q(rmsg, this);
}
for the rest you can track MSG_LOGINSERV_PLAYER in client side.
little bit tricky and dirty, but essentially it works.

