Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- instance_servers = x1;
- [Instance_x1]
- index = 109
- tag = 178
- base_path = x1/
- limit = allow-root;no-bind;commondata;
- ;limit = nofly;nomount;allow-root;no-bind;commondata;lowjump;
- grid = {80,80,25,-1000.0,-1000.0}
- base_region = {-512.0,-512.0} , {512,512.0}
- local_region = {-512.0,-512.0} , {512,512.0}
- instance_capacity = 200
- save_point = 1,1719.43,219.618,981.559
- ;下面是副本的参数设定 玩家数目等都是公用的
- player_per_instance = 10
- player_capacity = 5000
- npc_count = 131072
- matter_count = 262144
- idle_time = 120
- life_time = 120
- pool_threshold_low = 10
- pool_threshold_high = 20
- ;副本里特殊player逻辑,通过制定player逻辑的三个部分的cid来完成
- ;这几个值得设定非常敏感,不能随意设定,与程序代码耦合性非常强
- cid = 0,2,13
- [Terrain_x1]
- szMapPath = map
- nAreaWidth = 512
- nAreaHeight = 512
- nNumAreas = 1
- nNumCols = 1
- nNumRows = 1
- vGridSize = 2.0f
- vHeightMin = 0.0f
- vHeightMax = 100.0f
- [MsgReceiverTCP_x1]
- type = tcp
- listen_addr = INSTANCE120:10979
- so_sndbuf = 16384
- so_rcvbuf = 16384
- tcp_nodelay = 1
- listen_backlog = 10
- [MsgReceiverUNIX_x1]
- type = unix
- listen_addr = /tmp/gssock_x1
- so_sndbuf = 16384
- so_rcvbuf = 16384
- listen_backlog = 10
- ;-----------------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement