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


4 hours ago, Andrein95 said:




Excellent Work. Thank you for sharing your work.



What about a next step of online players per channel?  In that mode the counter should refresh only when ch is selected and the players is entering the game and not while log and appears channels list. 



Am I right?



Asap I'll try to look your code and try to implement in my nov source.



Thank you bro ❤️



 



_______________________



Edit: I looked the code and you correctly watch for channel and not for global, but the question remain why the current players are incremented after selecting channel? I'll look further tonight. 



Thank you 




The logical procedure is LoginServer->Connector->GameServer, the information is updated after selecting the server because up to this point in the instance, you are not really connected to the GameServer, so you should not be counted as an online player(If we're really strict, it shouldn't count the user until they're really inside some any world)

p.s: Actually you connect to the GameServer past the server selection, Up to that point the Connector does not consider you as an online user.



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: 1 Guest(s)