Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 01:29

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

Advertisement



Serverstatus im Launcher

Discussion on Serverstatus im Launcher within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1

 
.Nexitis's Avatar
 
elite*gold: 20
Join Date: Mar 2009
Posts: 668
Received Thanks: 220
Serverstatus im Launcher

Hi ehm ich mache meinen eigenen Rappelz-Launcher ich kann das spiel starten
aber wie mach ich einen Serverstatus rein der:

bei Off Rot ist
bei On Grün ist.

Google hilft nichts. sufu auch nich.
.Nexitis is offline  
Old 08/04/2011, 14:42   #2
 
.BritainAndy's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,385
Received Thanks: 1,006
via php ist das zurealisieren...
google:

PHP Code:
<html xmlns="http://www.w3.org/1999/xhtml">
2: <head>
3: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
4: <title>Server Statusabfrage</title>
5: </head>
6: 
7: <body>
8: <?
9
//Anfang Konfiguration der IP und Statusausgabe
10$text="Server 1 offline";
11$ziel="222.111.213.22";
12//Ende Konfiguration 1
13//Port angeben z.B. 30001 - Apache:80 FTP:21
14$abfrage fsockopen ("$ziel"30001$errno$errstr5);
15: if (!$abfrage) {
16: echo $text;
17: } 
18: else {
19//Statusausgabe wenn Serverport erreichbar
20: echo "Server 1 online";
21: }
22?>
23: <br>
24: <?
25
//Anfang Konfiguration der IP und Statusausgabe
26$text="Server 2 offline";
27$ziel="222.111.213.25";
28//Ende Konfiguration 2
29//Port angeben z.B. 30001 - Apache:80 FTP:21
30$abfrage fsockopen ("$ziel"30001$errno$errstr5);
31: if (!$abfrage) {
32: echo $text;
33: } 
34: else {
35//Statusausgabe wenn Serverport erreichbar
36: echo "Server 2 online";
37: }
38?>
39: </body>
40: </html>
da ist wohl alles wichtige wie fsock open drin undso
.BritainAndy is offline  
Old 08/04/2011, 19:38   #3
 
Secredo's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 355
Received Thanks: 106
Sollte mit einem einfachen Ping Befehl auch realisierbar sein.
Sowas gibts normalerweise in jeder halbwegs guten Programmiersprache.
Secredo is offline  
Old 08/05/2011, 09:02   #4


 
Menan's Avatar
 
elite*gold: 0
The Black Market: 169/0/0
Join Date: Sep 2008
Posts: 9,484
Received Thanks: 3,109
In welcher Programmiersprache hast du deinen Launcher denn geschrieben ?
Menan is offline  
Old 08/07/2011, 03:08   #5

 
.Nexitis's Avatar
 
elite*gold: 20
Join Date: Mar 2009
Posts: 668
Received Thanks: 220
Sorry für die Abwesend heit ich hab es mit VB geschrieben und eine lösung hab ich schon danke.


#closerequest
.Nexitis is offline  
Reply


Similar Threads Similar Threads
Request: Korean Launcher, Help Files + German Launcher
03/26/2011 - Rappelz - 16 Replies
General overview on how to obtain them (download abc, go to xyz, etc.) or the actual files would be fantastic. Thanks for viewing. :p Reasons: US launcher is fuckin' ugly. US help files are awful. Korean Rappelz (normal and KTS) have the best help files on any server, and I'd love to translate them and release them.
Serverstatus.php? Eigene Serverstatus.php datei!
02/16/2011 - Metin2 Private Server - 2 Replies
Aloha , Kann jemand eine 'PHP Datei' machen in der mein Serverstatus angezeigt wird? Sodas ich den Code auf eine Seite von meiner Hp bzw. einem Kasten reinschreiben kann? Danke
Serverstatus
09/06/2009 - Metin2 Private Server - 4 Replies
Hi ich hab mal ne frage wie macht man nen server status (wie der von Downloader99) also wie macht man das, dass angezeigt wird ob der login-char und worldserver von server xy online oder offline ist? bitte klärt mich auf



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


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.