The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting up server status
Author Message
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #1
Setting up server status
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.
06-22-2013 05:01 AM
Find all posts by this user Like Post Quote this message in a reply
Monty
Apprentice
*

Posts: 40
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Jun 2012
Reputation: 1



Post: #2
RE: Setting up server status
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.

C# application developer.
C/C++,SQL,PLSQL programming.
Oracle database / information system developer.
Cooperation for development of new shard.
06-22-2013 06:49 AM
Find all posts by this user Like Post Quote this message in a reply
Rattlehead
Master
**

Posts: 290
Likes Given: 3
Likes Received: 8 in 6 posts
Joined: Jun 2012
Reputation: 8



Post: #3
RE: Setting up server status
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.

[Image: matts_siggy.gif]
06-22-2013 09:09 AM
Find all posts by this user Like Post Quote this message in a reply
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #4
RE: Setting up server status
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
06-22-2013 12:32 PM
Find all posts by this user Like Post Quote this message in a reply
Monty
Apprentice
*

Posts: 40
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Jun 2012
Reputation: 1



Post: #5
RE: Setting up server status
(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.

C# application developer.
C/C++,SQL,PLSQL programming.
Oracle database / information system developer.
Cooperation for development of new shard.
(This post was last modified: 06-22-2013 06:02 PM by Monty.)
06-22-2013 06:00 PM
Find all posts by this user Like Post Quote this message in a reply
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #6
RE: Setting up server status
I'm not understanding.. can you show me an example please?
06-23-2013 01:27 PM
Find all posts by this user Like Post Quote this message in a reply
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #7
RE: Setting up server status
Anyone?..
06-24-2013 01:40 PM
Find all posts by this user Like Post Quote this message in a reply
Rattlehead
Master
**

Posts: 290
Likes Given: 3
Likes Received: 8 in 6 posts
Joined: Jun 2012
Reputation: 8



Post: #8
RE: Setting up server status
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)

[Image: matts_siggy.gif]
06-24-2013 06:21 PM
Find all posts by this user Like Post Quote this message in a reply
admin_teclis
Journeyman
*

Posts: 51
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Aug 2012
Reputation: 0

Age of Apocalypse

Post: #9
RE: Setting up server status
(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?
06-24-2013 08:51 PM
Find all posts by this user Like Post Quote this message in a reply
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #10
RE: Setting up server status
Guess ill have to go to runuo and ask for help
06-25-2013 06:29 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)