配置服务端文件
打开dbserverconfig.txt
---------------------------
world server number:1
database name:BangDataBase<-----数据库名
database user id:sa<-----数据库用户名
database user password:password<-----密码
query process thread number:4
server port:8250
end server configuration:
打开gameserverconfig.txt
修改IP
value="Ip地址"
-----------------
打开 serverconfig.txt
--------------------------
max user number:1000
max room number:100
public channel number:10
max user number in public channel:50
max user number in private channel:20
max channel number:300
world index:0
message queuing time:1000
use game server:0
game server number:1
game server address:ip here <---- IP地址
game server port:7150
db server address:ip here <---- IP地址
db server port:8250
login server address:ip here <---- IP地址
login server port:8350
end of server config: