2Ch Li Serverinfo.py Vericek varmı ?...
veya root.epk root.eix vericekte olur
lütfen yardım...
%100 çalısan olrsa sevinirim.
veya root.epk root.eix vericekte olur
lütfen yardım...
%100 çalısan olrsa sevinirim.
import os
import app
import locale
import debugInfo
CHINA_PORT = 50000
def BuildServerList(orderList):
retMarkAddrDict = {}
retAuthAddrDict = {}
retRegion0 = {}
ridx = 1
for region, auth, mark, channels in orderList:
cidx = 1
channelDict = {}
for channel in channels:
key = ridx * 10 + cidx
channel["key"] = key
channelDict[cidx] = channel
cidx += 1
region["channel"] = channelDict
retRegion0[ridx] = region
retAuthAddrDict[ridx] = auth
retMarkAddrDict[ridx*10] = mark
ridx += 1
return retRegion0, retAuthAddrDict, retMarkAddrDict
app.ServerName = None
if (locale.IsEUROPE() and app.GetLocalePath() == "locale/tr"):
STATE_NONE = "..."
STATE_DICT = {
0 : "....",
1 : "NORM",
2 : "BUSY",
3 : "FULL"
}
SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"ipadres","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
2:{"key":12,"name":"CH2 ","ip":"ipadres","tcp_port":16000,"udp_port":16000,"state":STATE_NONE,},
3:{"key":13,"name":"CH3 ","ip":"ipadres","tcp_port":19000,"udp_port":19000,"state":STATE_NONE,},
4:{"key":14,"name":"CH4 ","ip":"ipadres","tcp_port":21000,"udp_port":21000,"state":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "Hosting",
}
REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"ipadres", "port":11002, },
}
}
REGION_DICT = {
0 : {
1 : { "name" : "oyunadı", "channel" : SERVER01_CHANNEL_DICT, },
},
}
MARKADDR_DICT = {
# Lonca Sembolu Karakter Bug Fix Rtsa
10 : { "ip" : "ipadres", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10", }, #wartime Lonca Sembolleri
# Lonca Sembolu Karakter Bug Fix Rtsa
20 : { "ip" : "ipadres", "tcp_port" : 16000, "mark" : "20.tga", "symbol_path" : "20", }, #wartime Lonca Sembolleri
# Lonca Sembolu Karakter Bug Fix Rtsa
30 : { "ip" : "ipadres", "tcp_port" : 19000, "mark" : "30.tga", "symbol_path" : "30", }, #wartime Lonca Sembolleri
# Lonca Sembolu Karakter Bug Fix Rtsa
40 : { "ip" : "31.210.123.77", "tcp_port" : 21000, "mark" : "40.tga", "symbol_path" : "40", }, #wartime Lonca Sembolleri
}
TESTADDR = { "ip" : "İpadres", "tcp_port" : 11002, "udp_port" : 11002, }
2 istedin 4 verdim
Serverinfo.py'ye gir (Root içindeki) Gerekli yerleri doldur
import app
import locale
import debugInfo
CHINA_PORT = 50000
def BuildServerList(orderList):
retMarkAddrDict = {}
retAuthAddrDict = {}
retRegion0 = {}
ridx = 1
for region, auth, mark, channels in orderList:
cidx = 1
channelDict = {}
for channel in channels:
key = ridx * 10 + cidx
channel["key"] = key
channelDict[cidx] = channel
cidx += 1
region["channel"] = channelDict
retRegion0[ridx] = region
retAuthAddrDict[ridx] = auth
retMarkAddrDict[ridx*10] = mark
ridx += 1
return retRegion0, retAuthAddrDict, retMarkAddrDict
app.ServerName = None
if (locale.IsEUROPE() and app.GetLocalePath() == "locale/tr"):
STATE_NONE = "..."
STATE_DICT = {
0 : "....",
1 : "NORM",
2 : "BUSY",
3 : "FULL"
}
SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1 ","ip":"ipadres","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
2:{"key":12,"name":"CH2 ","ip":"ipadres","tcp_port":16000,"udp_port":16000,"state":STATE_NONE,},
3:{"key":13,"name":"CH3 ","ip":"ipadres","tcp_port":19000,"udp_port":19000,"state":STATE_NONE,},
4:{"key":14,"name":"CH4 ","ip":"ipadres","tcp_port":21000,"udp_port":21000,"state":STATE_NONE,},
}
REGION_NAME_DICT = {
0 : "Hosting",
}
REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip":"ipadres", "port":11002, },
}
}
REGION_DICT = {
0 : {
1 : { "name" : "oyunadı", "channel" : SERVER01_CHANNEL_DICT, },
},
}
MARKADDR_DICT = {
# Lonca Sembolu Karakter Bug Fix Rtsa
10 : { "ip" : "ipadres", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10", }, #wartime Lonca Sembolleri
# Lonca Sembolu Karakter Bug Fix Rtsa
20 : { "ip" : "ipadres", "tcp_port" : 16000, "mark" : "20.tga", "symbol_path" : "20", }, #wartime Lonca Sembolleri
# Lonca Sembolu Karakter Bug Fix Rtsa
30 : { "ip" : "ipadres", "tcp_port" : 19000, "mark" : "30.tga", "symbol_path" : "30", }, #wartime Lonca Sembolleri
# Lonca Sembolu Karakter Bug Fix Rtsa
40 : { "ip" : "31.210.123.77", "tcp_port" : 21000, "mark" : "40.tga", "symbol_path" : "40", }, #wartime Lonca Sembolleri
}
TESTADDR = { "ip" : "İpadres", "tcp_port" : 11002, "udp_port" : 11002, }
2 istedin 4 verdim
Serverinfo.py'ye gir (Root içindeki) Gerekli yerleri doldur- Durum
- Üzgünüz bu konu cevaplar için kapatılmıştır...
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
GM Arıyorum
1-99 Nesne Marketsiz 2010 Tarzı
- Cevaplar
- 6
- Görüntüleme
- 782
- Cevaplar
- 1
- Görüntüleme
- 125
- Cevaplar
- 0
- Görüntüleme
- 53