Blame view

config/basic.lua 864 Bytes
081dd429   zhouhaihai   配置文件梳理
1
  root = "./"
37ab612b   member1   修改自运营gameserver配置
2
  --logger = "server.log"
032a6e58   liuzujun   提交自运营游戏服配置
3
  --logger = "services/errorlog"
37ab612b   member1   修改自运营gameserver配置
4
  --logservice = "snlua"
032a6e58   liuzujun   提交自运营游戏服配置
5
  
081dd429   zhouhaihai   配置文件梳理
6
7
8
9
10
11
12
13
14
  harbor = 0
  start = "main"	-- main script
  bootstrap = "snlua bootstrap"	-- The service for bootstrap
  lua_path = root .."skynet/lualib/?.lua;"..root.."src/?.lua;"..root.."tools/?.lua"
  luaservice = root.."skynet/service/?.lua;"..root.."src/?.lua"
  lualoader = "skynet/lualib/loader.lua"
  preload = "./src/preload.lua"	-- run preload.lua before every lua service run
  cpath = root.."skynet/cservice/?.so"
  lua_cpath = "skynet/luaclib/?.so"
032a6e58   liuzujun   提交自运营游戏服配置
15
16
17
18
19
  cluster = "./config/nodenames.lua"
  
  codeurl = "172.16.83.194:9001"
  logd = 1 -- 是否开启日志
  thread = 4
8bb310f8   liuzujun   调整服务器最大客户端数量为1000
20
  max_client = 1000
032a6e58   liuzujun   提交自运营游戏服配置
21
22
23
24
25
26
27
  
  serverType = "cb"
  max_queue = 500
  
  redis_db = 0
  redis_auth = "H3&Gm4MGhcPui%a"
  
8b7a13fe   member1   修改mysql地址
28
  mysql_host = "rm-bp161c0u7mvi3t9n4.mysql.rds.aliyuncs.com"
032a6e58   liuzujun   提交自运营游戏服配置
29
30
31
  mysql_port = 3306
  mysql_user = "zhaolu"
  mysql_password = "Zhaolu1234!@#$"