Sunday, March 9, 2014

Config TLBB Online

ServerInfo.ini
[sp]
[System]
Desc0 =: server-side configuration procedures related to the situation;
Desc1 = IP0, Port0 means outside the network address and port;
Desc2 = IP1, Port1 refers to the network address and port;
Desc3 = Type: Game = 0; Login = 1;

; The current server ID, (0,1,3,0 will be based on server)
CurrentServerID = 0
; Game of the current World number of server-side program
ServerNumber = 4

[Mother]
IP = x.x.x.x; set to windows server outside the IP network
Port = 1014

[World]
IP = x.x.x.x; set to the world outside the IP network
Port = 777

[Billing]
; Configuration can try to connect the number of billing
Number = 1
; The default IP to connect the billing
IP0 = x.x.x.x; set up billing for services outside the IP network
; The default port to connect the billing
Port0 = 15680
IP1 = 0.0.0.0
Port1 = 10101
IP2 = 0.0.0.0
Port2 = 10101
IP3 = 0.0.0.0
Port3 = 10101
IP4 = 0.0.0.0
Port4 = 10101

[Proxy]
; Netcom is responsible for telecommunications users access the network with a proxy server IP (exposed to the game server's IP)
Proxy0ForCncUser = x.x.x.x
; Proxy1ForCncUser = 0.0.0.0
; In charge of telecommunications users access to Netcom's network with a proxy server IP (exposed to the game server's IP)
Proxy0ForCtcUser = 0.0.0.0
; Proxy1ForCtcUser = 0.0.0.0
; Education network from the proxy server to connect to the forwarding agent telecom exports
Proxy0ForEduUser = x.x.x.x
; Proxy1ForEduUser = 0.0.0.0

[Server0]
; Game server-side program,
ServerID = 0
; This game server-side program of the host server,
MachineID = 0
; IP address outside the network, with the client to connect
IP0 = x.x.x.x; tlbb-gameserver outside the IP network
; Outside the network port
Port0 = 3731
; IP address of the network, and server-side connection between the program
IP1 = 172.16.1.2
; Network port
Port1 = 8880
; The type of server-side program, such as: GameServer, LoginServer
Type = 0
; Netcom's proxy server IP, deputy to fill in the OUT-IP is the player's agent IP connection
IP (CNC) = x.x.x.x
; Netcom, the proxy server port
Port (CNC) = 1000
; Telecom's proxy server IP
IP (CTC) = 0.0.0.0
; Telecom's proxy server port
Port (CTC) = 0
; Education network proxy server IP
IP (EDU) = x.x.x.x
; Education network proxy server port
Port (EDU) = 1000
; ShareMemory shared Key
HumanSMKey = 1001
; Store shared Key players
PlayShopSMKey = 4001
; Item number
ItemSerialKey = 7001
CommisionShopKey = 6001
EnableShareMem = 1

[Server1]
ServerID = 1
MachineID = 1
IP0 = x.x.x.x; tlbb-gameserver1 outside the IP network
Port0 = 3732
IP1 = 172.16.1.3
Port1 = 8881
Type = 0
IP (CNC) = x.x.x.x
Port (CNC) = 1000
IP (CTC) = 0.0.0.0
Port (CTC) = 0
IP (EDU) = x.x.x.x
Port (EDU) = 1000
HumanSMKey = 1002
PlayShopSMKey = 4002
ItemSerialKey = 7002
CommisionShopKey = 6002
EnableShareMem = 1

[Server2]
ServerID = 2
MachineID = 3
IP0 = xxxx; Login services outside the network of IP.'s World with the same IP
Port0 = 7377
IP1 = x.x.x.x; ibid
Port1 = 8882
Type = 1
IP (CNC) = x.x.x.x
Port (CNC) = 1000
IP (CTC) = 0.0.0.0
Port (CTC) = 0
IP (EDU) = x.x.x.x
Port (EDU) = 1000
HumanSMKey = 1003
PlayShopSMKey = 4003
ItemSerialKey = 7003
CommisionShopKey = 6003
EnableShareMem = 0

[Server3]
ServerID = 3
MachineID = 2
IP0 = x.x.x.x; tlbb-gameserver2 outside the IP network
Port0 = 3734
IP1 = 172.16.1.4
Port1 = 8883
Type = 0
IP (CNC) = x.x.x.x
Port (CNC) = 1000
IP (CTC) = 0.0.0.0
Port (CTC) = 0
IP (EDU) = x.x.x.x
Port (EDU) = 1000
HumanSMKey = 1003
PlayShopSMKey = 4003
ItemSerialKey = 7003
CommisionShopKey = 6003
EnableShareMem = 1
[/sp]

ShareMemInfo.ini
[sp]
[System]
DBIP = 172.16.1.6; database ip
DBPort = 3306; database port
DBName = tlbbdb; name of the database
DBUser = tlbb; username
DBPassword = t! Lbb; password
SMUInterval = 1200000; world data Save time (ms)
DATAInterval = 900000; Human data Save time (ms)
CryptPwd = 0; whether the password encryption, encryption is 1, 0 is no encryption

[ShareMem]
KeyCount = 5; ShareObj number of
Key0 = 2001; the first key number
Type0 = 2; HumanSMU type 1
Key1 = 3001
Type1 = 3
Key2 = 8001
Type2 = 8
Key3 = 9001
Type3 = 9
Key4 = 5001
Type4 = 5
[/sp]
LoginInfo.ini[sp]

[System]
LoginID = 2; current Login server-side program of LoginID
DBIP = 172.16.1.6
DBPort = 3306
DBName = tlbbdb
DBUser = tlbb
DBPassword = t! Lbb
ClientVersion = 1005
DBConnectCount = 10
TurnPlayerCount = 100
CryptPwd = 0; increases the password is?
EnableProxyConnect = 0
[/sp]
7. Odbc.ini configuration and odbcinst.ini, very important here. Please refer to the following configuration
[sp]
odbc.ini
[tlbbdb]
Driver = / usr/lib/libmyodbc3.so
Description = MyODBC 3.51 Driver DSN
SERVER = 172.16.1.6
PORT = 3306
USER = tlbb
Password = t! Lbb
Database = tlbbdb
OPTION = 3
SOCKET =
[/sp]
Xin chân thành cảm ơn evilbaby1 1 lần nữa
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

Copyright © 2012 video hay bổ ích All Right Reserved
Designed by CBTblogger