FaVoRiT 19 Опубликовано 17 мая, 2016 (изменено) Здравствуйте Ув. Пользователи ! Взял vds + фильтр мне выдали 3 ип адреса Public IP ипи.пи.пип.ип.ип Internal IP ипи.пип.ип.ип DDoS Protection IP ип.ип.ип.ип Интересует вопрос как его правильно подключить к сборке, вот конфиги логин и гс сервер За ранее благодарен, с меня куча спасибок #### ## Основные настройки # Внешний IP ExternalHostname = 127.0.0.1 # Внутренний IP InternalHostname = 127.0.0.1 # IP, на котором будет висеть логин; в локалке ни ставил, лучше указать внешний (ExternalHostname) LoginserverHostname = 127.0.0.1 # Порт логина LoginserverPort = 2106 # База данных Driver=com.mysql.jdbc.Driver URL=jdbc:mysql://localhost/root Login = root Password = root # Авторег AutoCreateAccounts = False # Аксесс аккаунта для доступа на закрытый серв GMMinLevel = 100 # IP прослушки геймсерверов; Внимание! Если у вас несколько серверов, то указывайте тут ВНЕШНИЙ IP LoginHostname = 127.0.0.1 # Порт прослушки геймсерверов LoginPort = 9014 #### ## Про остальные настройки в этом файле можно забыть # If set to true any GameServer can register on your login's free slots AcceptNewGameServer = True # If false, the licence (after the login) will not be shown # It is highly recomended for Account Seciurity to leave this option as defalut (True) ShowLicence = True # The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic) IpUpdateTime = 15 # ============================================================== # Test server setting, shoudnt be touched in online game server # ============================================================== Debug = False Assert = False Developer = False # Enforce GG Authorization from client # Login server will kick client if client bypassed GameGuard authentication ForceGGAuth = False #FloodProtection. time in ms EnableFloodProtection = True FastConnectionLimit = 15 NormalConnectionTime = 700 FastConnectionTime = 350 MaxConnectionPerIP = 3 # Bind ip of the gameserver GameserverHostname = 127.0.0.1 GameserverPort = 7777 # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname ExternalHostname = 127.0.0.1 # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname InternalHostname = 127.0.0.1 # The Loginserver host and port; Внимание! Если у вас несколько серверов, то указывайте тут ВНЕШНИЙ IP LoginPort = 9014 LoginHost = 127.0.0.1 # This is the server id that the gameserver will request (i.e. 1 is Bartz) RequestServerID = 1 # If set to true, the login will give an other id to the server if the requested id is allready reserved AcceptAlternateID = False #### ### Настройки базы данных ## Соединение #хост URL=jdbc:mysql://localhost/root?useUnicode=true&characterEncoding=UTF-8 # логин Login = root # пароль Password = root ## Тонкая настройка (!!только если на 100% уверены, что делаете!!) # Min no of connections the pool will (initially) create (per partition) MinConnectionsPerPartition = 10 # Max no of connections the pool will ever create (per partition). MaxConnectionsPerPartition = 30 # Sets number of partitions to use. PartitionCount = 5 # Number of new connections to create in 1 batch whenever we need more connections. AcquireIncrement = 5 # This sets the time (in minutes), for a connection to remain idle before sending a test query to the DB. IdleConnectionTestPeriod = 10 # Maximum age of an unused connection before it is closed off. In minutes. IdleMaxAge = 10 # Number of release-connection helper threads to create per partition. ReleaseHelperThreads = 5 # After attempting to acquire a connection and failing, wait for this value before attempting to acquire a new connection again. AcquireRetryDelay = 7000 # After attempting to acquire a connection and failing, try to connect these many times before giving up. AcquireRetryAttempts = 5 # If set to true, the connection pool will remain empty until the first connection is obtained. LazyInit = False # If set to true, stores all activity on this connection to allow for replaying it again automatically if it fails. Makes the pool marginally slower. TransactionRecoveryEnabled = False # Queries taking longer than this limit to execute are logged. QueryExecuteTimeLimit = 0 # Time to wait before a call to getConnection() times out and returns an error. ConnectionTimeout = 0 # Define character name template # Example to use only : CnameTemplate=[A-Z][a-z]{3,3}[A-Za-z0-9]* # will allow names with first capital letter, next three small letters, # and any (capital or not) letter or number, like ZbigN1eW # Most rational to have CnameTemplate=[A-Z][a-z]* # meaning names only of letters with first one capital, like Zbigniew # Default .* - any namy of any symbols CnameTemplate=[A-Za-z0-9\-]{3,16} PetNameTemplate=[A-Za-z0-9\-]{3,16} # Maximum number of chars per account - Default 7 (0 = unlimited [7 is the client limit]) CharMaxNumber = 7 # Define how many players are allowed to play simultaneously on your server. MaximumOnlineUsers = 1500 # Minimum and maximum protocol revision that server allow to connect. # You must keep MinProtocolRevision <= MaxProtocolRevision. MinProtocolRevision = 735 MaxProtocolRevision = 775 #Авторестарт сервера в определенный час AutoRestartHour = 5 #GUI для Windows WindowsAdvancedConsole = False #Ваш ключ от сборки; SerialKey = мой ключ Изменено 17 мая, 2016 пользователем FaVoRiT Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты