[ Request ]Player Online Count

10/09/2019 17:09 matonskie23#1
i hope someone have this code that can share :)
anyone have this player online count ?
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
10/09/2019 17:20 netHoxInc#2
Just check the function which shows fps and ping ( correct me if im wrong, but thats offi v15 source, no? ) and do some copy & pasterino.

Getting the online count of ur client should not be the hardest part, im not familar with the source too much but, if there's no value holding the count, maybe just add a small packet sending/recieving func to recieve those data's from your WorldServer.

Saying it again, this is not the solution, its how i would start working on it, Im not a sourcedev. :)

Good day
10/09/2019 17:37 matonskie23#3
Quote:
Originally Posted by netHoxInc View Post
Just check the function which shows fps and ping ( correct me if im wrong, but thats offi v15 source, no? ) and do some copy & pasterino.

Getting the online count of ur client should not be the hardest part, im not familar with the source too much but, if there's no value holding the count, maybe just add a small packet sending/recieving func to recieve those data's from your WorldServer.

Saying it again, this is not the solution, its how i would start working on it, Im not a sourcedev. :)

Good day
[Only registered and activated users can see links. Click Here To Register...]
is this correct ?
10/09/2019 19:28 netHoxInc#4
You have to modify X/Y position of the text, and also it cant find g_UserMng, i guess thats cuz ure in Neuz and not Worldserver, probably you'll need to create a function for the client to recieve packet's of the current count so ur client can display it. But for the displaying part, aside of the X/Y thing it should be ok

Edit: Just had an idea coming to mind... There should be sources released which have this Online-Player-Count buffs, might be possible to take a look at it as it also shows player count on the buff icon if im not wrong ^^ Sounds easy to leech from