Script showing how many players are online, with distinction by race.
Instructions:
Note that for it to work, you need to alter two procedures in PS_GameData and add one colum in PS_GameData.dbo.Chars, LoginStatus. Files with sql code are included.
What it does?
Everytime players logs in LoginStatus is changed to 1. PHP script when run, read everyone with LoginStatus=1, counts and prints on screen. Then 'extracts' from those online how many are ... human, elf, vail, nordein.
Procedures to midify:
Code:
usp_Read_Chars_Detail2_R usp_Save_Char_LeaveDate_R