Get Current Online user of the channel under the Radar?
#24

/index.php?/profile/14423-nicolasg/&do=hovercard" data-mentionid="14423" href="/index.php?/profile/14423-nicolasg/" rel="">@nicolasg

I finished implementing all code you posted but in my side don't work as expected:

When the user log in the game, (juno for example) the counter remain 0 even if 3 or more players are online. When another player log in or log off the counter correctly update.

Another thing:

Inside ProConnMsg.cpp of GS you put:

case MSG_CONN_ONLINE_PLAYERS_RES:
SendOnlinePlayersToClients(msg);
break;

The function SendOnlinePlayersToClients following your code is defined in Descriptor.cpp, at this point:


Or SendOnlinePlayersToClients must be defined in ProConnMsg.cpp and method firm in ProConnMsg.h


Or must be accessed with namespace CDescriptor::SendOnlinePlayersToClients(msg); but this does not work, at least for me (since is not static function).


sorry to bother again but I'm trying to understeand what I miss in the implementation, I followeed more than one time code posted. In that case maybe you forgot to paste a portion of code? Becouse in your video the system works perfectly.

Thanks in Advance.



Messages In This Thread
[No subject] - by Andrein95 - 05-06-2022, 10:24 AM
[No subject] - by Scura - 05-06-2022, 11:26 AM
[No subject] - by nicolasg - 06-29-2022, 01:50 AM
[No subject] - by nicolasg - 06-29-2022, 04:38 AM
[No subject] - by Andrein95 - 06-29-2022, 09:47 AM
[No subject] - by nicolasg - 06-29-2022, 12:30 PM
[No subject] - by Andrein95 - 06-30-2022, 07:09 AM
[No subject] - by Veni - 06-30-2022, 09:07 AM
[No subject] - by Andrein95 - 06-30-2022, 09:13 AM
[No subject] - by nicolasg - 06-30-2022, 12:02 PM
[No subject] - by OberonPh - 07-01-2022, 06:38 AM
[No subject] - by Andrein95 - 07-01-2022, 07:21 AM
[No subject] - by Andrein95 - 07-01-2022, 07:22 AM
[No subject] - by nicolasg - 07-01-2022, 12:18 PM
[No subject] - by nicolasg - 07-01-2022, 12:21 PM
[No subject] - by nicolasg - 07-01-2022, 12:35 PM
[No subject] - by OberonPh - 07-02-2022, 01:27 AM
[No subject] - by OberonPh - 07-02-2022, 01:28 AM
[No subject] - by OberonPh - 07-02-2022, 01:30 AM
[No subject] - by Andrein95 - 04-30-2023, 10:06 PM
[No subject] - by nicolasg - 04-30-2023, 10:18 PM
[No subject] - by Andrein95 - 04-30-2023, 10:30 PM
[No subject] - by nicolasg - 04-30-2023, 10:44 PM
[No subject] - by Andrein95 - 05-01-2023, 09:15 AM
[No subject] - by Andrein95 - 05-01-2023, 09:47 AM
[No subject] - by Andrein95 - 05-01-2023, 10:28 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)