Login tracker
Would I be correct in saying that common/database.cpp uses Database::GetCharSelectInfo() each time a connection is received, and to populate the character selection screen?
If so... lemme know.. I want to use this to record a connection, for web-based stats. Cheers. |
Yes, but it will retrieve this each time the player camps to login to an alternate player as well.
|
Is there a more accurate place to insert code when actual 'connections' are made?
|
depends on the type of connection your looking for, but if you just want to modify something to update stats based on number of players on the server, but look in world for something similiar to "first connect by XXXX" XXXX being the account of the player. This is printed only when they first login, so just add your code to that.
|
Nice one! :)
Thanks for everyones help. StudentQuest now has a login tracker :) Run along to the home page: http://studentquest.newcastle.edu.au and click on the "EQ Login stats" link on the side bar. Tell me what you think :) Cheers, Predom |
Nice man. :D
|
All times are GMT -4. The time now is 05:59 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.