Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 06:41

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

Advertisement



[Serverinfo.py] Kleines Problem

Discussion on [Serverinfo.py] Kleines Problem within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
SolWayne's Avatar
 
elite*gold: 30
Join Date: Feb 2015
Posts: 362
Received Thanks: 58
[Serverinfo.py] Kleines Problem

Standart sieht es so aus

PHP Code:
SERVER_NAME "Mosha"
SERVER_IP      "SERVERIP"
CH_NAME        "CH1"
CH_2       "CH2"
CH_3       "CH3"
CH_4       "CH4"
PORT_1         13000
PORT_2         
11000
PORT_3        
13099
PORT_4        
14000
PORT_5        
14100
PORT_6        
14200


STATE_NONE 
"Offline"
                    
STATE_DICT = {
    
"....",
    
"NORM",
    
"BUSY",
    
"FULL"
}

SERVER01_CHANNEL_DICT = {
    
1:{"key":11,"name":CH_NAME,"ip":SERVER_IP,"tcp_port":PORT_1,"udp_port":PORT_1,"state":STATE_NONE,},
    
2:{"key":11,"name":CH_2,"ip":SERVER_IP,"tcp_port":PORT_4,"udp_port":PORT_4,"state":STATE_NONE,},
    
3:{"key":11,"name":CH_3,"ip":SERVER_IP,"tcp_port":PORT_5,"udp_port":PORT_5,"state":STATE_NONE,},
    
4:{"key":11,"name":CH_4,"ip":SERVER_IP,"tcp_port":PORT_6,"udp_port":PORT_6,"state":STATE_NONE,},
}

REGION_NAME_DICT = {
    
"",        
}

REGION_AUTH_SERVER_DICT = {
    
: {
        
: { "ip":SERVER_IP"port":PORT_2, },

    }        
}

REGION_DICT = {
    
: {
        
: { "name" :SERVER_NAME"channel" SERVER01_CHANNEL_DICT, },                        
    },
}

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

Und so wen ich es bearbeitet habe

PHP Code:
SERVER_NAME "Mosha"
SERVER_N2 "Kartago"
SERVER_IP      "SERVERIP"
SERVER_I2      "ServerIP2"
CH_NAME        "CH1"
CH_2       "CH2"
CH_3       "CH3"
CH_4       "CH4"
PORT_1         13000
PORT_2         
11000
PORT_3        
13099
PORT_4        
14000
PORT_5        
14100
PORT_6        
14200


STATE_NONE 
"Offline"
                    
STATE_DICT = {
    
"....",
    
"NORM",
    
"BUSY",
    
"FULL"
}

SERVER01_CHANNEL_DICT = {
    
1:{"key":11,"name":CH_NAME,"ip":SERVER_IP,"tcp_port":PORT_1,"udp_port":PORT_1,"state":STATE_NONE,},
    
2:{"key":11,"name":CH_2,"ip":SERVER_IP,"tcp_port":PORT_4,"udp_port":PORT_4,"state":STATE_NONE,},
    
3:{"key":11,"name":CH_3,"ip":SERVER_IP,"tcp_port":PORT_5,"udp_port":PORT_5,"state":STATE_NONE,},
    
4:{"key":11,"name":CH_4,"ip":SERVER_IP,"tcp_port":PORT_6,"udp_port":PORT_6,"state":STATE_NONE,},

SERVER02_CHANNEL_DICT = {
    
1:{"key":11,"name":CH_NAME,"ip":SERVER_I2,"tcp_port":PORT_1,"udp_port":PORT_1,"state":STATE_NONE,},
    
2:{"key":11,"name":CH_2,"ip":SERVER_I2,"tcp_port":PORT_4,"udp_port":PORT_4,"state":STATE_NONE,},
    
3:{"key":11,"name":CH_3,"ip":SERVER_I2,"tcp_port":PORT_5,"udp_port":PORT_5,"state":STATE_NONE,},
    
4:{"key":11,"name":CH_4,"ip":SERVER_I2,"tcp_port":PORT_6,"udp_port":PORT_6,"state":STATE_NONE,},
}

REGION_NAME_DICT = {
    
"",        
}

REGION_AUTH_SERVER_DICT = {
    
: {
        
: { "ip":SERVER_IP"port":PORT_2, },
        
: { "ip":SERVER_I2"port":PORT_2, },

    }        
}

REGION_DICT = {
    
: {
        
: { "name" :SERVER_NAME"channel" SERVER01_CHANNEL_DICT, },                        
        
: { "name" :SERVER_N2"channel" SERVER02_CHANNEL_DICT, },
    },
}

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

Und der syserr kommt nur nacht bearbeiten der serverinfo.py

PHP Code:
0402 14:23:01244 :: Traceback (most recent call last):

0402 14:23:01244 ::   File "introLogo.py"line 60in OnUpdate

0402 14
:23:01244 ::   File "networkModule.py"line 177in SetLoginPhase

0402 14
:23:01244 ::   File "system.py"line 130in __pack_import

0402 14
:23:01245 ::   File "system.py"line 110in _process_result

0402 14
:23:01245 ::   File "introLogin.py"line 9in <module>

0402 14:23:01245 ::   File "system.py"line 130in __pack_import

0402 14
:23:01245 ::   File "
0402 14:23:01245 :: serverInfo.py
0402 14:23:01245 :: "
line 
0402 14
:23:01245 :: 32
0402 14
:23:01246 :: 

0402 14:23:01246 ::     
0402 14:23:01246 :: SERVER02_CHANNEL_DICT = {

0402 14:23:01246 ::     
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 ::  
0402 14:23:01246 :: ^

0402 14:23:01246 :: SyntaxError
0402 14
:23:01246 :: : 
0402 14:23:01246 :: invalid syntax
0402 14
:23:01246 :: 
weiß nicht was er da für faxxen macht könnt ihr mal nach schauen Danke

Mfg,

Wayne

Kann geclost werden abs schon gefunden
SolWayne is offline  
Old 04/02/2015, 14:36   #2
 
elite*gold: 2785
Join Date: Dec 2014
Posts: 403
Received Thanks: 1,354
Code:
SERVER_NAME = "Mosha" 
SERVER_N2 = "Kartago" 
SERVER_IP      = "SERVERIP" 
SERVER_I2      = "ServerIP2" 
CH_NAME        = "CH1" 
CH_2       = "CH2" 
CH_3       = "CH3" 
CH_4       = "CH4" 
PORT_1         = 13000 
PORT_2         = 11000 
PORT_3        = 13099 
PORT_4        = 14000 
PORT_5        = 14100 
PORT_6        = 14200 


STATE_NONE = "Offline" 
                     
STATE_DICT = { 
    0 : "....", 
    1 : "NORM", 
    2 : "BUSY", 
    3 : "FULL" 
} 

SERVER01_CHANNEL_DICT = { 
    1:{"key":11,"name":CH_NAME,"ip":SERVER_IP,"tcp_port":PORT_1,"udp_port":PORT_1,"state":STATE_NONE,}, 
    2:{"key":11,"name":CH_2,"ip":SERVER_IP,"tcp_port":PORT_4,"udp_port":PORT_4,"state":STATE_NONE,}, 
    3:{"key":11,"name":CH_3,"ip":SERVER_IP,"tcp_port":PORT_5,"udp_port":PORT_5,"state":STATE_NONE,}, 
    4:{"key":11,"name":CH_4,"ip":SERVER_IP,"tcp_port":PORT_6,"udp_port":PORT_6,"state":STATE_NONE,}, 
}
SERVER02_CHANNEL_DICT = { 
    1:{"key":11,"name":CH_NAME,"ip":SERVER_I2,"tcp_port":PORT_1,"udp_port":PORT_1,"state":STATE_NONE,}, 
    2:{"key":11,"name":CH_2,"ip":SERVER_I2,"tcp_port":PORT_4,"udp_port":PORT_4,"state":STATE_NONE,}, 
    3:{"key":11,"name":CH_3,"ip":SERVER_I2,"tcp_port":PORT_5,"udp_port":PORT_5,"state":STATE_NONE,}, 
    4:{"key":11,"name":CH_4,"ip":SERVER_I2,"tcp_port":PORT_6,"udp_port":PORT_6,"state":STATE_NONE,}, 
} 

REGION_NAME_DICT = { 
    0 : "",         
} 

REGION_AUTH_SERVER_DICT = { 
    0 : { 
        1 : { "ip":SERVER_IP, "port":PORT_2, }, 
        2 : { "ip":SERVER_I2, "port":PORT_2, }, 

    }         
} 

REGION_DICT = { 
    0 : { 
        1 : { "name" :SERVER_NAME, "channel" : SERVER01_CHANNEL_DICT, },                         
        2 : { "name" :SERVER_N2, "channel" : SERVER02_CHANNEL_DICT, }, 
    }, 
} 

MARKADDR_DICT = { 
    10 : { "ip" : SERVER_IP, "tcp_port" : PORT_3, "mark" : "10.tga", "symbol_path" : "10", }, 
}
Dein Fehler (damit du auch was lernst dabei)

Code:
SERVER01_CHANNEL_DICT = {
du hast ja das { am ende du solltest auch zum schluss die } machen damit es geht

Ansonsten schau dir den unterschied an

Mit freundlichen Grüßen
.Kori
.K0rí is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Problem mit serverinfo.py
08/27/2012 - Metin2 Private Server - 8 Replies
Moin Männers, Wenn ich in meinem Client die serverinfo.py bearbeite und dann die Exe starten will, bekomme ich folgende Fehlermeldung: system.py(line:273) RunMainScript system.py(line:192) execfile system.py(line:163) Run prototype.py(line:3) ? system.py(line:130) __pack_import
Problem mit Serverinfo.py
11/27/2011 - Metin2 Private Server - 3 Replies
Huhu. Würde gerne diesen Client nutzen: http://www.elitepvpers.com/forum/metin2-pserver-gu ides-strategies/1532852-release-2011er-multiclient -marco_a-slay.html Habe jetzt die Serverinfo.py vor mir, also habe die root datein entpackt. In der Serverinfo.py steht das nun: import os import app
Serverinfo.py Problem
04/03/2011 - Metin2 Private Server - 1 Replies
Hey und zwahr könnt ihr vllt oben lesen Serverinfo.py Problem ... Es steht immer Fehler beim verbingen mit dem sevrer aber warum import os import app import locale import debugInfo
Serverinfo.py Problem !pls help!
01/09/2011 - Metin2 Private Server - 13 Replies
Ja, ich versuche schon seit längerem mit 2010 client auf einen hamachi Server zu connecten, aber es funzt nie. Ich denke es liegt an der serverinfo.py wenn einre so nett wäre könnte einer eine machen für die IP: 5.36.199.158 oda sonstige lösungsvorschläge machen wäre nett ;)
[PROBLEM] serverinfo.py
01/08/2011 - Metin2 Private Server - 6 Replies
Hi, ich habe mit dem serverinfo.py Creator von IgorGlock mir eine serverinfo.py für einen DynDNS Server erstellt (einfach ***.ath.cx bei IP eingegeben). Ich habe dann die root.epk/root.eix wieder gepackt. Wenn ich jetzt auf den Server verbinde, komme ich bis zur Charwahl und bekomme dannach einen kick. Ich hab auch schon versucht, die root.epk/root.eix nicht zu packen, aber da hatte ich genau das selbe Problem. Kann mir pls iwer helfen! mfg poll7979



All times are GMT +2. The time now is 06:41.


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.