Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 13:31

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

Advertisement



Serverinfo : Serverstatus

Discussion on Serverinfo : Serverstatus within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
amnesi's Avatar
 
elite*gold: 25
Join Date: Jun 2010
Posts: 1,076
Received Thanks: 290
Serverinfo : Serverstatus

Hey ich wollte mal fragen wie ich das Hinkriege das
bei der Serverinfo der Channel Status steht also Z.b.
"...."
"normal"
"busy"
"full"

so in der Art

hier meine Serverinfo.py
IP's natürlich abgeändert

PHP Code:
import os
import app
import locale
import debugInfo

CHINA_PORT 
50000

if locale.IsEUROPE():
    
STATE_NONE "offline"
                    
    
STATE_DICT = {
        
"....",
        
"normal",
        
"belebt",
        
"voll"
    
}

    
IgorGlock_serverinfo_Generator = {
        
1:{"key":11,"name":"CH 1","ip":"","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
    }
    
    
REGION_NAME_DICT = {
        
"GERMANY",        
    }

    
REGION_AUTH_SERVER_DICT = {
        
: {
            
: { "ip":"""port":11002, },
    
        }        
    }

    
REGION_DICT = {
        
: {
            
: { "name" :"amnesiMT2""channel" IgorGlock_serverinfo_Generator, },                        
        },
    }

    
MARKADDR_DICT = {
        
10 : { "ip" """tcp_port" 13000"mark" "10.tga""symbol_path" "10", },
    }

    
TESTADDR = { "ip" """tcp_port" 50000"udp_port" 50000, } 
amnesi is offline  
Old 05/16/2011, 15:00   #2
 
.Plazmaa's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 2,023
Received Thanks: 947
PHP Code:
 STATE_DICT = {
        
"....",
        
"normal",
        
"belebt",
        
"voll" 
In dem teil denk ich mal...
kenne mich aber mit Python nicht wirklich aus.
Wirste sicherlich noch wo anders mit abändern müssen denk ich...
.Plazmaa is offline  
Old 05/16/2011, 15:02   #3
 
amnesi's Avatar
 
elite*gold: 25
Join Date: Jun 2010
Posts: 1,076
Received Thanks: 290
ich weis wenn ich

"STATE_DICT"

und

"STATE_NONE" austausche
dann steht da statt "offline"
0 : "....",
1 : "normal",
2 : "belebt",
3 : "voll"

und ich würde halt gerne das z.B. der Server on ist
das da steht "norma"l und wenn er off ist das da "..." steht..
amnesi is offline  
Reply


Similar Threads Similar Threads
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 Script.
01/10/2010 - Metin2 Private Server - 4 Replies
Edit.
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
ServerStatus
09/02/2009 - Metin2 Private Server - 2 Replies
ERLEDIGT



All times are GMT +1. The time now is 13:32.


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