Blame view

config/basic.lua 866 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
20
21
22
23
24
25
26
27
  cluster = "./config/nodenames.lua"
  
  codeurl = "172.16.83.194:9001"
  logd = 1 -- 是否开启日志
  thread = 4
  max_client = 3000
  
  serverType = "cb"
  max_queue = 500
  
  redis_db = 0
  redis_auth = "H3&Gm4MGhcPui%a"
  
032a6e58   liuzujun   提交自运营游戏服配置
28
29
30
31
  mysql_host = "rm-bp1p5518oj8boxzci2o.mysql.rds.aliyuncs.com"
  mysql_port = 3306
  mysql_user = "zhaolu"
  mysql_password = "Zhaolu1234!@#$"