Register for your free account! | Forgot your password?

You last visited: Today at 01:51

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Silkroad server status

Discussion on [Release] Silkroad server status within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 48
Received Thanks: 72
[Release] Silkroad server status

Hey guys,
today I'm going to release my 'Silkroad server status'(another just 4 fun tool) tool which allows you to see the server's status. Took me about 2 hours to write it (thanks to pushEdx for the SilkroadSecurityApi!).

Features:
+ Login server status
+ Server status (Online, Check)
+ Cur/Max user.
-> It's a simple server status tool.

Image:


How to:
1. Extract the archive to your desired folder.
2. Open "settings.cfg" with your notepad or any other texteditor.
Quote:
//##########################################
//# Silkroad server stats example settings #
//##########################################
//-------------Info-------------
//serverIP = the target server's IP
//serverPort = the login server port of the target's server.
//clientLocale = the locale of the client
//clientVersion = the version of the client.
//refreshRate = the auto refresh of the server info in milli seconds (ms)
//useThread = Use the multi-threading function..(keep it to 'true'!)
//------------------------------
3. Configure the settings as shown in the settings.cfg!
4. Run the tool and wait a moment so it can connect..
5. Have fun!
Hint:
To find out the locale use edxLoader!

Copyright:
You are not allowed to publish this program on any other site under your name!!

Download:
1.1:
Quote:
1.0:
Quote:
Changelog:
1.1
{
+ Added support for mulitiple servers.
- Removed online/offline loginserver.
* New configuration system (INI).
}
If you like my work say thanks.
torstmn is offline  
Thanks
17 Users
Old 05/21/2012, 23:12   #2



 
Disco Teka's Avatar
 
elite*gold: 325
Join Date: Dec 2008
Posts: 14,543
Received Thanks: 8,717
#approved
Disco Teka is offline  
Old 05/22/2012, 00:08   #3
 
elite*gold: 0
Join Date: Apr 2011
Posts: 590
Received Thanks: 774
Good Work Thanks Neklas
BestOnWorld is offline  
Old 05/22/2012, 22:14   #4
 
elite*gold: 0
Join Date: Mar 2009
Posts: 48
Received Thanks: 72
Added v1.1

Download:

Changelog:
1.1
{
+ Added support for mulitiple servers.
- Removed online/offline loginserver.
* New configuration system (INI).
}
torstmn is offline  
Old 05/22/2012, 22:18   #5
 
elite*gold: 0
Join Date: Nov 2009
Posts: 1,163
Received Thanks: 1,161
Good work, @ copyright, nobody will listen :$
ღ ∂ Ropp is offline  
Thanks
1 User
Old 05/23/2012, 18:09   #6
 
elite*gold: 0
Join Date: Jan 2012
Posts: 1,867
Received Thanks: 1,091
Great release , but you could re-upload on another host , this one which you've upload in is nearly under ddos or smth else .
•ᵔBeGodOfWarᵔ• is offline  
Old 07/03/2013, 07:48   #7
 
elite*gold: 0
Join Date: May 2013
Posts: 1
Received Thanks: 0
help me, i can't check Server stats of VSro : ip = 123.30.200.5
port 15779
version 196
plz help me !!!
khongcotien is offline  
Old 05/31/2014, 13:16   #8
 
elite*gold: 0
Join Date: May 2014
Posts: 1
Received Thanks: 0
check ip, port login. Who knows just help me
ntmhpht is offline  
Old 07/27/2015, 13:03   #9
 
elite*gold: 0
Join Date: Mar 2008
Posts: 66
Received Thanks: 10
Someone could reupload it please?

Update: I found it finally! For people who want it:
subscope is offline  
Old 07/28/2015, 10:45   #10
 
elite*gold: 0
Join Date: Jul 2015
Posts: 613
Received Thanks: 192
This Program Run In Pc Or VPS ?
Zargrin is offline  
Old 07/28/2015, 18:51   #11
 
elite*gold: 1
Join Date: Jul 2015
Posts: 207
Received Thanks: 60
Quote:
Originally Posted by #BourBon View Post
This Program Run In Pc Or VPS ?
both

you could simply do dis in php
Code:
<?php 
$fp = @fsockopen("SERVER IP", "Gateway Port or gameserver", $errno, $errstr, 1);
if (!$fp) {
echo '<Font><Font Color= "RED">Offline</Font></Font>';
}else{
echo '<Font><Font Color= "LIME">Online</Font></Font>';
fclose($fp);
} ?>
that will check if the server status online

never tried online players but i should work if you execute a cmd command like

Code:
<?php echo 
(exec('netstat -a -n |find "15779"  |find "ESTABLISHED" /c')+0); ?>
note this will work on server side only
B1Q B0SS is offline  
Old 07/28/2015, 19:11   #12
 
k.i.d.d.o's Avatar
 
elite*gold: 0
Join Date: Nov 2013
Posts: 304
Received Thanks: 685
Quote:
Originally Posted by B1Q B0SS View Post
both

you could simply do dis in php
Code:
<?php 
$fp = @fsockopen("SERVER IP", "Gateway Port or gameserver", $errno, $errstr, 1);
if (!$fp) {
echo '<Font><Font Color= "RED">Offline</Font></Font>';
}else{
echo '<Font><Font Color= "LIME">Online</Font></Font>';
fclose($fp);
} ?>
that will check if the server status online

never tried online players but i should work if you execute a cmd command like

Code:
<?php echo 
(exec('netstat -a -n |find "15779"  |find "ESTABLISHED" /c')+0); ?>
note this will work on server side only
PHP

Code:
<?php
function Check($host, $port=25565, $timeout=30) {
	//Set up our socket
	$fp = fsockopen($host, $port, $errno, $errstr, $timeout);
	if (!$fp) return false;
	
	//Send 0xFE: Server list ping
	fwrite($fp, "\xFE");
	
	//Read as much data as we can (max packet size: 241 bytes)
	$d = fread($fp, 256);
	
	//Check we've got a 0xFF Disconnect
	if ($d[0] != "\xFF") return false;
	
	//Remove the packet ident (0xFF) and the short containing the length of the string
	$d = substr($d, 3);
	
	//Decode UCS-2 string
	$d = mb_convert_encoding($d, 'auto', 'UCS-2');
	
	//Split into array
	$d = explode("\xA7", $d);
	
	//Return an associative array of values
	return array(
		'motd'        =>        $d[0],
		'players'     => intval($d[1]),
		'max_players' => intval($d[2]));
}
?>
k.i.d.d.o is offline  
Thanks
1 User
Old 07/28/2015, 19:18   #13
 
witchymoo's Avatar
 
elite*gold: 40
Join Date: Jul 2013
Posts: 166
Received Thanks: 200
no idea what that is but it's definitely neat stuff :P
witchymoo is offline  
Old 07/28/2015, 19:21   #14
 
elite*gold: 1
Join Date: Jul 2015
Posts: 207
Received Thanks: 60
Quote:
Originally Posted by witchymoo View Post
no idea what that is but it's definitely neat stuff :P
dunno why i always read "neat" as "t3res"

gg
B1Q B0SS is offline  
Old 07/28/2015, 19:26   #15
 
witchymoo's Avatar
 
elite*gold: 40
Join Date: Jul 2013
Posts: 166
Received Thanks: 200
Quote:
Originally Posted by B1Q B0SS View Post
dunno why i always read "neat" as "t3res"

gg
what is t3res?
witchymoo is offline  
Reply


Similar Threads Similar Threads
[PHP]Silkroad server status script
04/27/2015 - SRO Coding Corner - 9 Replies
Add this script to you functions file or somewhere where it includes. If you want to print the status use this code: echo server_status($ip, $port); //Server status script by: SniuurksT $ip = '127.0.0.1'; //Server ip adress $port = '15779'; //Server port function server_status($ip, $port)
Diamond Silkroad server status
12/20/2011 - SRO Private Server - 16 Replies
Hello,I decided to make a Diamond Silkroad server stats. It's modified and programmed for Diamond Silkroad. Enjoy. P.s :I`m not a kid to put any keylogger/virus in it so if you want scan it. Download : Diamond sro svr stats.rar
[Release] If you wanna call it a release. Server status form in php!
06/25/2010 - CO2 PServer Guides & Releases - 10 Replies
Ok, got bored so made this.. serverstatus.php : <html> <head> <title>Server Status!</title> </head>



All times are GMT +1. The time now is 01:51.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.