Hello,
Now i will show you HowTo Connect with the 2010 Client.
1. Extract the root.epk
2. Edit the file serverinfo.py
3. Paste the following code into this file (replace the whole content)
4. Add your Server IP and port to the pasted code
5. Pack the root.epk
6. Connect with 2010 Client
And now flame like "Why do you publicate that stupid fag" xD
Now i will show you HowTo Connect with the 2010 Client.
1. Extract the root.epk
2. Edit the file serverinfo.py
3. Paste the following code into this file (replace the whole content)
PHP Code:
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():
info = {
'MARKADDR': {
10: {
'tcp_port': TCP_PORT, 'ip': 'SERVERIP', 'symbol_path': '10', 'mark': '10.tga'
}
},
'GAMEADDR': {
0: {
1: {
'name': 'iMetin',
'channel':
{
1: {
'state': '...', 'name': 'CH1 ', 'key': 11, 'ip': 'SERVERIP', 'tcp_port': TCP_PORT_CH1, 'udp_port': UDP_PORT_CH1
}, 2: {
'state': '...', 'name': 'CH2 ', 'key': 12, 'ip': 'SERVERIP', 'tcp_port': TCP_PORT_CH2, 'udp_port': UDP_PORT_CH2
}
}
},
} }, 'NAME': { 0: 'GERMANY' }, 'AUTHADDR': { 0: {
1: {
'ip': 'SERVERIP', 'port': LOGINPORT
}
} }
}
STATE_NONE = "..."
STATE_DICT = {
0 : "....",
1 : "NORM",
2 : "BUSY",
3 : "FULL"
}
REGION_NAME_DICT = info["NAME"]
REGION_AUTH_SERVER_DICT = info["AUTHADDR"]
REGION_DICT = info["GAMEADDR"]
MARKADDR_DICT = info["MARKADDR"]
5. Pack the root.epk
6. Connect with 2010 Client
And now flame like "Why do you publicate that stupid fag" xD