EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   Login tracker (https://www.eqemulator.org/forums/showthread.php?t=9782)

predominant 10-12-2003 05:08 PM

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.

Merth 10-12-2003 05:20 PM

Yes, but it will retrieve this each time the player camps to login to an alternate player as well.

predominant 10-12-2003 08:14 PM

Is there a more accurate place to insert code when actual 'connections' are made?

Edgar1898 10-13-2003 02:26 AM

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.

predominant 10-14-2003 04:51 PM

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

mattmeck 10-15-2003 12:54 AM

Nice man. :D


All times are GMT -4. The time now is 05:59 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.