Server .py

05/31/2010 13:05 arisha#1
Hi...hab bei dem server.py etwas falsches weggelöscht...:o:o:mad::mad:

Kann das mal jemand öffnen und mir sagen was in der 4 Zeile steht?? (oder wo auch immer das bei euch ist) Ist Fast ganz oben hier bsp.:

app.ServerName =

Was steht da normalerweise hinter dem = ???

Denn hab es ausversehen gelö.

Thx schonmal :handsdown::handsdown:
05/31/2010 13:13 Lysergsäurediethylamid#2
none
05/31/2010 13:52 arisha#3
none???
05/31/2010 13:54 terratox#4
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 : "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, }
05/31/2010 14:01 arisha#5
asoooooo thx
05/31/2010 14:21 terratox#6
Jo kd :D