[REQUEST] Status for CoEmu

10/31/2009 23:10 LookBehindYou#1
Well guys, its almost time for my server to be released in testing mode, Please, Does anyone have a Status Checker > for those that doesnt know what it should look like (not many of you lol)

Total Accounts: xxxx
Total Characters: xxxx
Server Status: Online/Offline

If you have one, PLEASE share :)
11/01/2009 00:46 arab4life#2
ya ok.
11/01/2009 01:16 LookBehindYou#3
Bump, i need this checker, PWEESE! :(
11/01/2009 01:20 тrαder#4
Just ping your ip adress
And Db server
or write a Php Script
11/01/2009 12:32 Basser#5
@LookBehind, you can create a status checker by having a TCP Client connect to your IP:PORT.

Count the amount of values of accounts and characters in your MySQL database. It's really easy to code that.
11/01/2009 19:27 pro4never#6
Quote:
Originally Posted by Smythe94 View Post
@LookBehind, you can create a status checker by having a TCP Client connect to your IP:PORT.

Count the amount of values of accounts and characters in your MySQL database. It's really easy to code that.
Actually with coemu you first need to add a function to show if players are on or offline and then count those values.


So you need to add a Online field to character database, then in login code have it change to online. On server startup/character logoff/kicking etc change it to offline. Then have a php script count those values in the database and print out the number as players online.


Unless I'm mistaken that's the best way to do the script, hope that helps you some LBY