Advertisement
Guest User

Gameserver

a guest
Aug 27th, 2015
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.66 KB | None | 0 0
  1. # ===================================#
  2. # Game Server Settings #
  3. # ===================================#
  4. # #####
  5. # / #### ## ##
  6. # / ### # ## #
  7. # | ## # #
  8. # # ## # #
  9. # ) ## ## /## ## ## ## ## /##
  10. # ## ## / ## ## / ## ## / ## / ##
  11. # # ## / ### / ## ##/ ## ##/ ## / ##
  12. # ## / ## ## ## ## ## ## ## ## ##
  13. # ### | ## ## ## ## ## ## ## ## ##
  14. # ### # ## ## ## /## ## ## ## ## ##
  15. # #### ## ## /## ## / ## ## ## ## ## ##
  16. # #### ## ## / ## ##/ ## ## /## ## ## /#
  17. # #### ### ###/ ## ## ## ## / ## ## / ## / ##
  18. # ########### ## #### ## ##/ ## ##/ ### ##
  19. # ----------------------------------------------------------------------------------------
  20. # IP AND PORTS CONNECTION CONFIG - L2JLIONNA
  21. # ----------------------------------------------------------------------------------------
  22. #[EN-US] Enter here (ip) address of your game server, or use the symbol *
  23. #[PT-BR] Coloque o IP do seu Server ou use o Simbolo * para deixar padrao
  24. GameserverHostname = *
  25. GameserverPort = 7777
  26.  
  27. #[EN-US] Configure your external ip
  28. #[PT-BR] Configurar o IP externo ( IP da Maquina onde está o Server )
  29. ExternalHostname = 167.114.34.24
  30.  
  31. #[EN-US] Configure your internal ip
  32. #[PT-BR] Configurar o IP Interno ( IP interno da sua maquina )
  33. InternalHostname =
  34.  
  35. #[EN-US] Bunch ID and game server. It is better not to change.
  36. #[PT-BR] Conexao entre Logine Game Server Cuidado ao trocar porta e IP.
  37. LoginPort = 9014
  38. LoginHost = 127.0.0.1
  39.  
  40. # ----------------------------------------------------------------------------------------
  41.  
  42. # ----------------------------------------------------------------------------------------
  43. # DATABASE - MYSQL CONFIG
  44. # ----------------------------------------------------------------------------------------
  45. #[EN-US] Parameters Databases - MYSQL
  46. #[PT-BR] Configuracao do Seu Banco de Dados - MySQL
  47. Driver = com.mysql.jdbc.Driver
  48. URL = jdbc:mysql://localhost/mysql
  49.  
  50. #[EN-US] Login - Mysql's user
  51. #[PT-BR] Usuario do MySQL ( Padrao = root )
  52. Login = root
  53.  
  54. #[EN-US] Password - Mysql's Password
  55. #[PT-BR] Senha do MySQL ( Caso nao tenha deixe em branco )
  56. Password = @Ir3s6397767
  57.  
  58. #[EN-US] Attention: lazy init connections disabled!
  59. #[EN-US] Please, set only real values for your database
  60. #[PT-BR] Maximo de Conexoes seu server recebera por segundo
  61. #[EN-US] Default: 100
  62. MaximumDbConnections = 500
  63.  
  64. # Default: 0
  65. MaximumDbIdleTime = 0
  66.  
  67. #[EN-US] The timeout before a new connection to the database (in ms)
  68. #[EN-US] 0 - to remove restrictions
  69. #[PT-BR] O tempo de espera antes de uma nova conexao com o banco de dados
  70. #[PT-BR] 0 - Sem restricao
  71. TimeOutConDb = 0
  72.  
  73. #[EN-US] The timeout before the single connection must be closed (in ms)
  74. #[EN-US] if a connection life is more then this timeout, a Runtime Exception
  75. #[EN-US] is rised up. Post the exception on forum (www.VOTE-GAMES.com) to solve
  76. #[PT-BR] O tempo de espera antes da única conexão deve ser fechada (em ms)
  77. #[EN-US] it.
  78. SingleConnectionTimeOutDb = 200000
  79.  
  80. # ----------------------------------------------------------------------------------------
  81.  
  82. # ----------------------------------------------------------------------------------------
  83. # GAMESERVER PERFORMACE CONFIG
  84. # ----------------------------------------------------------------------------------------
  85. #[PT-BR] Cuidado so altere se realmente souber o que esta fazendo.
  86. #[EN-US] Database Pool Type
  87. #[EN-US] Possible Values: c3p0 or BoneCP
  88. #[EN-US] c3p0: more stable
  89. #[EN-US] BoneCP: more performance
  90. #[PT-BR] c3p0 = Mais Estabilidade
  91. #[PT-BR] BoneCP = Mais Desempenho
  92. DatabasePoolType = c3p0
  93.  
  94. # Sets number of partitions to use.- BoneCP
  95. # In order to reduce lock contention and thus improve performance,
  96. # each incoming connection request picks off a connection from a pool that has thread-affinity,
  97. # i.e. pool[threadId % partition_count]. The higher this number, the better your performance will be for the case
  98. # when you have plenty of short-lived threads. Beyond a certain threshold, maintenance of these pools will start
  99. # to have a negative effect on performance (and only for the case when connections on a partition start running out).
  100. PartitionCount = 3
  101.  
  102. # Setting emulation off the kernel (package SendStatus)
  103. RemoteWhoLog = True
  104.  
  105. RemoteWhoSendTrash = True
  106. RemoteWhoMaxOnline = 329
  107. RemoteOnlineIncrement = 50
  108. RemoteWhoForceInc = 50
  109. RemotePrivStoreFactor = 12
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement