Advertisement
Guest User

gs.conf

a guest
Nov 28th, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. instance_servers = x1;
  2.  
  3. [Instance_x1]
  4. index = 109
  5. tag = 178
  6. base_path = x1/
  7. limit = allow-root;no-bind;commondata;
  8. ;limit = nofly;nomount;allow-root;no-bind;commondata;lowjump;
  9. grid = {80,80,25,-1000.0,-1000.0}
  10. base_region = {-512.0,-512.0} , {512,512.0}
  11. local_region = {-512.0,-512.0} , {512,512.0}
  12. instance_capacity = 200
  13. save_point = 1,1719.43,219.618,981.559
  14. ;下面是副本的参数设定 玩家数目等都是公用的
  15. player_per_instance = 10
  16. player_capacity = 5000
  17. npc_count = 131072
  18. matter_count = 262144
  19. idle_time = 120
  20. life_time = 120
  21. pool_threshold_low = 10
  22. pool_threshold_high = 20
  23. ;副本里特殊player逻辑,通过制定player逻辑的三个部分的cid来完成
  24. ;这几个值得设定非常敏感,不能随意设定,与程序代码耦合性非常强
  25. cid = 0,2,13
  26.  
  27. [Terrain_x1]
  28. szMapPath = map
  29. nAreaWidth = 512
  30. nAreaHeight = 512
  31. nNumAreas = 1
  32. nNumCols = 1
  33. nNumRows = 1
  34. vGridSize = 2.0f
  35. vHeightMin = 0.0f
  36. vHeightMax = 100.0f
  37.  
  38. [MsgReceiverTCP_x1]
  39. type = tcp
  40. listen_addr = INSTANCE120:10979
  41. so_sndbuf = 16384
  42. so_rcvbuf = 16384
  43. tcp_nodelay = 1
  44. listen_backlog = 10
  45.  
  46. [MsgReceiverUNIX_x1]
  47. type = unix
  48. listen_addr = /tmp/gssock_x1
  49. so_sndbuf = 16384
  50. so_rcvbuf = 16384
  51. listen_backlog = 10
  52. ;-----------------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement