Steam installieren
Anmelden
|
Sprache
简体中文 (Vereinfachtes Chinesisch)
繁體中文 (Traditionelles Chinesisch)
日本語 (Japanisch)
한국어 (Koreanisch)
ไทย (Thai)
Български (Bulgarisch)
Čeština (Tschechisch)
Dansk (Dänisch)
English (Englisch)
Español – España (Spanisch – Spanien)
Español – Latinoamérica (Lateinamerikanisches Spanisch)
Ελληνικά (Griechisch)
Français (Französisch)
Italiano (Italienisch)
Bahasa Indonesia (Indonesisch)
Magyar (Ungarisch)
Nederlands (Niederländisch)
Norsk (Norwegisch)
Polski (Polnisch)
Português – Portugal (Portugiesisch – Portugal)
Português – Brasil (Portugiesisch – Brasilien)
Română (Rumänisch)
Русский (Russisch)
Suomi (Finnisch)
Svenska (Schwedisch)
Türkçe (Türkisch)
Tiếng Việt (Vietnamesisch)
Українська (Ukrainisch)
Ein Übersetzungsproblem melden
http://arkservers.net/
Type in your server name or IP, then Boomark the page. Will tell you if server is up or down, Current Version, and Who is connected.
Example page (My Server)
http://arkservers.net/server/72.20.58.76:18116
And if you want they have a banner you can put on your Website (on the server page) that can show users what version, how many are connected, and if the server is up or down.
No custom scripting needed, just copy and paste the code on your website.
The HTML banner they provide for your site is exactly what you are asking for.
here a liti tutorial
<?php
function isonline($ip, $port) {
//check if the port is responge
if ($socket = @fsockopen("udp://" . $ip, $port, $errno, $errstr, 0.5)) {
//if yes close the connection
fclose($socket);
//return picture online
return '<img src="http://www.freesatdz.com/images/server_online.gif" />';
} else {
//if not return picture offline
return '<img src="http://www.spelletjesplus.nl/Theme/Default/images/offline.gif" />';
}
}
?>
How to use:
<?php
//server ip
$ip = "31.214.237.147";
//server port
$port = "27015";
//server version
$version = "217.2";
//get server status picture
$server_status = isonline("{$ip}", "{$port}");
//display your message
echo "Ark Server v{$version} is now {$server_status}";
?>
i tested the 2 and works fine so i think you do somthing wrong. or your php is not propperly configered yet..
sorry for my bad english ;) but this code works fine
yeah but al lot of people dont want this and want to get it from a API or somthing like that
i also mis this option on steam, same prinsible as facebook used steam must add this option to so you can run an api on you website to get all the information you needed..
or is this API already on steam?
Why its way simpler??? Makes no sense to me to build a massive script when one is provided for you with a simple copy paste of some basic HTML
if you want a complete list of diffrend servers than your page is a mess and i dont like to have a mess in my websites ;)
the code they provide is ONLY your server info, and not a whole list. Have you even looked at the banner they provide, its very fine tunes, not an eye sore, and provides up to the minute info.
Hell it even allows people to click the banner and JOIN the server without having to search for it.
You can see a preview of it here if you havent seen it:
http://constantineark.enjin.com/
It may help if you post your IP:Port ?
Mostly whole information you need has been posted here already.
Or do you want a ready to deploy solution? That costs money.
before you begin to attack me this is just a lite script that can check if a server is online thats it.. i want a api access to get more information bud steam dont have it..
if you want to play you can also create a steam link and it work fine so dont attack me this is just a lite script to check if a server in online nothing more. and wat i told before not everybody want a copy past html code in his website...
html link
<a href="javascript:void:(0);" onclick="playthegame();" title="Play - ARK Survival Evolved" class="w3-btn w3-teal">Speel mee!</a>
javascript
function playthegame() {
window . location . href = 'steam://connect/123.123.123.123:27016';
return false;
};
to create a button for your website and you can make it wat every you want.
Live Example:
http://www.madirc.nl/ark/
This way you can get much more informations about the server instead of only online/offline-status... e.g. rules, settings, daytime, active players.. and so on.
Just open http://arkservers.net/api/query/{IP}:{PORT} and get all you want :)
I have created several files for easy server maintanaince. (Ok, i wrote it in 2 hours....)
If you have a questions regarding them, feel free to ask me - i will make guide later.
Mostly - you copy the files from /web into place you want them to be (for example /var/www/..../htdocs/ark) and then you copy files from /home into /home/steam or /home/steam/arkmonitor - as you want.
You also need to put cron (use correct paths - resembling the opnes you copied the /home files to).
Change ,,config.php'' to contain your password and so on - also fill the database with init.sql tables.
PS1: rerun.sh will - shutdown the server (using pids/kill.sh ARK) then upgrade the server, and run it once more.
PS2: ./listplayers.sh "[message]" will list players and (if you provide the parameter between ") will send server message to ppl at the server (usefull if you are at work and need to inform players about incoming upgrade).
Other files are used by ./rerun.sh or are there for futher usage.
https://github.com/Setitch/ARK-ServerScrapper