Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-12-2003, 05:08 PM
predominant
Sarnak
 
Join Date: Jun 2003
Location: Newcastle, Australia
Posts: 73
Default 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.
__________________
PreDOMiNanT

StudentQuest 0.5.0-DR4 dedicated server. http://studentquest.newcastle.edu.au.
Reply With Quote
  #2  
Old 10-12-2003, 05:20 PM
Merth
Dragon
 
Join Date: May 2003
Location: Seattle, WA
Posts: 609
Default

Yes, but it will retrieve this each time the player camps to login to an alternate player as well.
Reply With Quote
  #3  
Old 10-12-2003, 08:14 PM
predominant
Sarnak
 
Join Date: Jun 2003
Location: Newcastle, Australia
Posts: 73
Default

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

StudentQuest 0.5.0-DR4 dedicated server. http://studentquest.newcastle.edu.au.
Reply With Quote
  #4  
Old 10-13-2003, 02:26 AM
Edgar1898
Senior Member
Former EQEmu Developer
Current EQ2Emu Lead Developer
 
Join Date: Dec 2002
Posts: 1,065
Default

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.
__________________
Lethal Encounter
Reply With Quote
  #5  
Old 10-14-2003, 04:51 PM
predominant
Sarnak
 
Join Date: Jun 2003
Location: Newcastle, Australia
Posts: 73
Default

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
__________________
PreDOMiNanT

StudentQuest 0.5.0-DR4 dedicated server. http://studentquest.newcastle.edu.au.
Reply With Quote
  #6  
Old 10-15-2003, 12:54 AM
mattmeck
Guest
 
Posts: n/a
Default

Nice man.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:25 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3