Max Players Online

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
Censor
Posts: 262
Joined: Wed Nov 01, 2006 3:06 am

Max Players Online

Post by Censor »

It's possible to make this? I want to this info on my web site. For example:
Login:Online
Game:Online
Online:45
Max Online: 385
It's code support I think, but I realy need it...
Shaigan
Posts: 199
Joined: Thu Jan 11, 2007 4:03 pm
Location: France

Post by Shaigan »

Is there not a table called 'record' in your SQL ?

There is the max number of player and the date of it, all stored in one line.

EDIT : oooooops... sorry... L2JFree feature.
User avatar
Aikimaniac
L2j Inner Circle
L2j Inner Circle
Posts: 3048
Joined: Sun Aug 07, 2005 11:42 pm
Location: Slovakia

Post by Aikimaniac »

Do some query from you look in Gameserver to table characters to column online and coutn together the ones and that is.. :)
Image
lanabel
Posts: 236
Joined: Wed Aug 23, 2006 4:40 pm
Location: Russia

Post by lanabel »

If you want max, that can login at one time - just take this from config an write by hand in your php.
If you want max, that ever was on your server - you need a task, that runs every x minutes, calculates total online and writes it in some file if it is greater than what was already writen.
Post Reply