Problem mit Mc.

01/09/2011 16:00 Casanova®#1
Hi hab grad neuen server gemacht.
Wollte mal fragen wo alles meine ip rein mus bei der server Info.
Hab irrggentwie net hinbekomm :o :D

import app
import locale

app.ServerName = None
if locale.IsGERMANY() or (locale.IsEUROPE() and app.GetLocalePath() == "locale/de"):
STATE_NONE = "NORM"

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

SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"0.0.0.0","tcp_port":13000,"udp_port":13000 ,"state":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "GERMANY",
}

REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"0.0.0.0", "port":11002, },
}
}

REGION_DICT = {
0 : {
1 : { "name" : "ServerName", "channel" : SERVER01_CHANNEL_DICT, },
},
}

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

TESTADDR = { "ip" : "9.9.9.9", "tcp_port" : 13001, "udp_port" : 13001, }

if locale.IsGERMANY() or (locale.IsEUROPE() and app.GetLocalePath() == "locale/ca"):
STATE_NONE = "NORM"

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

SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"0.0.0.0","tcp_port":13000,"udp_port":13000 ,"state":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "TAIWAN",
}

REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"0.0.0.0", "port":11002, },
}
}

REGION_DICT = {
0 : {
1 : { "name" : "ServerName", "channel" : SERVER01_CHANNEL_DICT, },
},
}

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

TESTADDR = { "ip" : "9.9.9.9", "tcp_port" : 13001, "udp_port" : 13001, }

if locale.IsTAIWAN():
STATE_NONE = "NORM"

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

SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"0.0.0.0","tcp_port":13000,"udp_port":13000 ,"state":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "TAIWAN",
}

REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"0.0.0.0", "port":11002, },
}
}

REGION_DICT = {
0 : {
1 : { "name" : "ServerName", "channel" : SERVER01_CHANNEL_DICT, },
},
}

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

TESTADDR = { "ip" : "9.9.9.9", "tcp_port" : 13003, "udp_port" : 13003, }
01/09/2011 16:02 kayme'#2
Da wo ip steht >_<
01/09/2011 16:04 Casanova®#3
habs ja gemacht , kommt aber fehler beim verbinnden
deswegen frag ich ja , auhc wo ip 9.9.9.9 steht oder nru bgei den 0.0.0.0
hab eigentlich shcon beides gemacht aber imma fehler
01/09/2011 16:10 .Nexitis#4
mom ich bearbeite die kurz und edit dann hier




Code:
import app
import locale

app.ServerName = None
if locale.IsGERMANY() or (locale.IsEUROPE() and app.GetLocalePath() == "locale/de"):
STATE_NONE = "NORM"

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

SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"DEINE IPPPPPPPPPPPPPPPPPPPPPPPP","tcp_port":13000,"udp_port":13000 ,"state":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "GERMANY",
}

REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"DEINE IPPPPPPPPPPPPPPPPPPPPPPPP", "port":11002, },
}
}

REGION_DICT = {
0 : {
1 : { "name" : "SERVER NAMEEEEEEEEEEEEEEE", "channel" : SERVER01_CHANNEL_DICT, },
},
}

MARKADDR_DICT = {
10 : { "ip" : "DEINE IPPPPPPPPPPPPPPPPPPPPPPPP", "tcp_port" : 13001, "mark" : "10.tga", "symbol_path" : "10", },
}

TESTADDR = { "ip" : "9.9.9.9", "tcp_port" : 13001, "udp_port" : 13001, }

if locale.IsGERMANY() or (locale.IsEUROPE() and app.GetLocalePath() == "locale/ca"):
STATE_NONE = "NORM"

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

SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"DEINE IPPPPPPPPPPPPPPPPPPPPPPPP","tcp_port":13000,"udp_port":13000 ,"state":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "TAIWAN",
}

REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"DEINE IPPPPPPPPPPPPPPPPPPPPPPPP", "port":11002, },
}
}

REGION_DICT = {
0 : {
1 : { "name" : "ServerName", "channel" : SERVER01_CHANNEL_DICT, },
},
}

MARKADDR_DICT = {
10 : { "ip" : "DEINE IPPPPPPPPPPPPPPPPPPPPPPPP", "tcp_port" : 23000, "mark" : "10.tga", "symbol_path" : "10", },
}

TESTADDR = { "ip" : "9.9.9.9", "tcp_port" : 13001, "udp_port" : 13001, }

if locale.IsTAIWAN():
STATE_NONE = "NORM"

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

SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"DEINE IPPPPPPPPPPPPPPPPPPPPPPPP","tcp_port":13000,"udp_port":13000 ,"state":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "TAIWAN",
}

REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"DEINE IPPPPPPPPPPPPPPPPPPPPPPPP", "port":11002, },
}
}

REGION_DICT = {
0 : {
1 : { "name" : "SERVER NAMEEEEEEEEEEEEEEEEEEEEE", "channel" : SERVER01_CHANNEL_DICT, },
},
}

MARKADDR_DICT = {
10 : { "ip" : "DEINE IPPPPPPPPPPPPPPPPPPPPPPPP", "tcp_port" : 23000, "mark" : "10.tga", "symbol_path" : "10", },
}

TESTADDR = { "ip" : "9.9.9.9", "tcp_port" : 13003, "udp_port" : 13003, }
01/09/2011 16:12 BaTushi16#5
Du weißt schon das das Serverinfo.py ist und keine MC.
01/09/2011 16:14 Casanova®#6
Quote:
Originally Posted by bstyler16398 View Post
Du weißt schon das das Serverinfo.py ist und keine MC.
jo, ich weis ,überschrieft fail. :D
01/09/2011 16:17 .Nexitis#7
versuch mal oben meins in deine serverinfo.py und deine ip rein also über all wo steht "DEINE IPPPPPPPPPPPPPPPP" =)
01/09/2011 16:19 'Haseo#8
überall wo 9.9.9.9 und 0.0.0.0 steht!
01/09/2011 16:25 Casanova®#9
Quote:
Originally Posted by .Best View Post
überall wo 9.9.9.9 und 0.0.0.0 steht!
Quote:
Originally Posted by bigdady256314 View Post
mom ich bearbeite die kurz und edit dann hier




Code:
import app
import locale

app.ServerName = None
if locale.IsGERMANY() or (locale.IsEUROPE() and app.GetLocalePath() == "locale/de"):
STATE_NONE = "NORM"

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

SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"DEINE IPPPPPPPPPPPPPPPPPPPPPPPP","tcp_port":13000,"udp_port":13000 ,"state":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "GERMANY",
}

REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"DEINE IPPPPPPPPPPPPPPPPPPPPPPPP", "port":11002, },
}
}

REGION_DICT = {
0 : {
1 : { "name" : "SERVER NAMEEEEEEEEEEEEEEE", "channel" : SERVER01_CHANNEL_DICT, },
},
}

MARKADDR_DICT = {
10 : { "ip" : "DEINE IPPPPPPPPPPPPPPPPPPPPPPPP", "tcp_port" : 13001, "mark" : "10.tga", "symbol_path" : "10", },
}

TESTADDR = { "ip" : "9.9.9.9", "tcp_port" : 13001, "udp_port" : 13001, }

if locale.IsGERMANY() or (locale.IsEUROPE() and app.GetLocalePath() == "locale/ca"):
STATE_NONE = "NORM"

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

SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"DEINE IPPPPPPPPPPPPPPPPPPPPPPPP","tcp_port":13000,"udp_port":13000 ,"state":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "TAIWAN",
}

REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"DEINE IPPPPPPPPPPPPPPPPPPPPPPPP", "port":11002, },
}
}

REGION_DICT = {
0 : {
1 : { "name" : "ServerName", "channel" : SERVER01_CHANNEL_DICT, },
},
}

MARKADDR_DICT = {
10 : { "ip" : "DEINE IPPPPPPPPPPPPPPPPPPPPPPPP", "tcp_port" : 23000, "mark" : "10.tga", "symbol_path" : "10", },
}

TESTADDR = { "ip" : "9.9.9.9", "tcp_port" : 13001, "udp_port" : 13001, }

if locale.IsTAIWAN():
STATE_NONE = "NORM"

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

SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"DEINE IPPPPPPPPPPPPPPPPPPPPPPPP","tcp_port":13000,"udp_port":13000 ,"state":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "TAIWAN",
}

REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"DEINE IPPPPPPPPPPPPPPPPPPPPPPPP", "port":11002, },
}
}

REGION_DICT = {
0 : {
1 : { "name" : "SERVER NAMEEEEEEEEEEEEEEEEEEEEE", "channel" : SERVER01_CHANNEL_DICT, },
},
}

MARKADDR_DICT = {
10 : { "ip" : "DEINE IPPPPPPPPPPPPPPPPPPPPPPPP", "tcp_port" : 23000, "mark" : "10.tga", "symbol_path" : "10", },
}

TESTADDR = { "ip" : "9.9.9.9", "tcp_port" : 13003, "udp_port" : 13003, }


Hab beides gemacht aber kommt immer das hier:
[Only registered and activated users can see links. Click Here To Register...]
01/09/2011 16:28 'Haseo#10
du musst eine ältere serverinfo.py nehmen!
01/09/2011 16:30 Casanova®#11
Quote:
Originally Posted by .Best View Post
du musst eine ältere serverinfo.py nehmen!
ok aber warum ? macht das ein unterschiedt ?
01/09/2011 16:37 BaTushi16#12
Mit dem neuren geht es nicht , weil das zu 2010er Client gehört die alte zu 2007er.
01/09/2011 16:49 Casanova®#13
k , kann mir jemand eine schicken wäre supa duba nett =)