SphereCommunity
Setting up server status - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Setting up server status (/Thread-Setting-up-server-status)

Pages: 1 2


Setting up server status - Leonidas - 06-22-2013 05:01 AM

So I have my mysql database created and I added the info into my sphere.ini, now I'm stuck on what to do. How do I get my server status working? I've searched around and haven't found anything, I think someone should make a tutorial for this.


RE: Setting up server status - Monty - 06-22-2013 06:49 AM

I never do this but you can try:

Into Sphere.ini
TimerCall=1 // refresh status every minit

In server trigger
[FUNCTION f_onserver_timer] //create or edit
connect into db and save data

This is all from server side.


RE: Setting up server status - Rattlehead - 06-22-2013 09:09 AM

i think he was either referring to the server status pages that sphere makes on its own, or maybe the numbers next to the server name when u are logging in.


RE: Setting up server status - Leonidas - 06-22-2013 12:32 PM

Yeah I'm talking about the status.html, so when players get on my website and click "Server Status" it pulls the page up and show who's online, what guild they're in, etc. But thanks for at least replying!

I did it a loooong time ago but I've forgotten almost everything, any help will be greatly appreciated


RE: Setting up server status - Monty - 06-22-2013 06:00 PM

(06-22-2013 12:32 PM)Leonidas Wrote:  Yeah I'm talking about the status.html, so when players get on my website and click "Server Status" it pulls the page up and show who's online, what guild they're in, etc. But thanks for at least replying!

I did it a loooong time ago but I've forgotten almost everything, any help will be greatly appreciated

Do what i said you and on html server use php to show data from db.

The second option is use SphereServer Community Script Pack and this have folder web with file status.html.


RE: Setting up server status - Leonidas - 06-23-2013 01:27 PM

I'm not understanding.. can you show me an example please?


RE: Setting up server status - Leonidas - 06-24-2013 01:40 PM

Anyone?..


RE: Setting up server status - Rattlehead - 06-24-2013 06:21 PM

make a table, put ham on that table. Get a group of Lesbians to eat the ham, once they have consumed said ham ship Lesbians off to Europe for more mint sauce and pudding.

then load ur table with triggers, then call the tables with php.

really not too hard, cept the lesbians, that may be hard (excuse the wife she edited when i was outside lol)


RE: Setting up server status - admin_teclis - 06-24-2013 08:51 PM

(06-22-2013 12:32 PM)Leonidas Wrote:  Yeah I'm talking about the status.html, so when players get on my website and click "Server Status" it pulls the page up and show who's online, what guild they're in, etc. But thanks for at least replying!

I did it a loooong time ago but I've forgotten almost everything, any help will be greatly appreciated

Hi,
you show the script for insert data in the DB, i try help you... Also I'm trying to do the same thing, but to see the paperdoll site ... You enter in the db name etc etc?


RE: Setting up server status - Leonidas - 06-25-2013 06:29 AM

Guess ill have to go to runuo and ask for help