Hello all,
I write everything in detail here in the forum about my Problem with the Matchserver. Sorry for the bad english^^
Lobby and match servers start correctly, but the ManiaLive lobby can not connect to the match server and vice versa.
Remote desktop:
http://i.imgur.com/aHgOFyc.png
Ingame I get the message that there is no match servers for disposal:
http://i.imgur.com/OA5KBQM.jpg
But in the database are entries of the manialive Lobby:
http://i.imgur.com/AciBClF.png
I think my configs are correctly.
Code: Select all
;------------------
; Dedicated Server
;------------------
server.host = '127.0.0.1'
server.port = 5050
; standard user level is SuperAdmin
server.user = 'SuperAdmin'
server.password = 'SuperAdmin'
; when a connection can't be established after the given amount
; of time, it will timeout and manialive will shutdown.
server.timeout = 1
;------------------
; Runtime Features
;------------------
; Add admins, that shall be able to control your server from game.
manialive.admins[] = 'stonerock'
; Add plugins to load.
manialive.plugins[] = 'MatchMakingLobby\Lobby'
manialive.plugins[] = 'Standard\AutoTagMatchSettings'
; Plugins configuration
; ManiaLivePlugins\MatchMakingLobby\Lobby = value
;
; You can also declare aliases to make it easier, the following two lines
; are equivalent to the previous one
; alias myplugin = 'ManiaLivePlugins\Author\PluginName\Config'
; myplugin.name = value
;------------------
; Database
;------------------
; enabled by default
database.enable = true
; Connection configuration
database.host = 'localhost'
database.port = 3306
database.username = 'root'
database.password = 'Andromeda'
; Default database name
database.database = 'manialive'
; Connection type: MySQL (by default) or SQLite
database.type = 'MySQL'
;------------------
; ManiaLive
;------------------
; the default is %application%/logs
; config.logsPath = /var/logs
; the prefix for each log filename
; config.logsPrefix = 'log'
; whether to write console output into a file, default is Off
; config.runtimeLog = On
; whether to gather errors from all instances to a single file, default is Off
; config.globalErrorLog = On
; how many errors before killing the ManiaLive process, default is Off (feature disabled)
; config.maxErrorCount = 5
; where is located the dedicated server for manialive command line options (default is ManiaLive root)
; config.dedicatedPath = C:\EliteLobbyMatchMaking\Lobby
; If On, ManiaLive will try to call the updater
; config.lanMode = On
; Enable debug output in the debug log, default is Off
; config.debug = On
;------------------
; Threading
;------------------
; threading can improve performance of your application. it
; allows modules to push blocking work onto another processes,
; this can also improve stability, because timeouts or
; unexpected exceptions do not impact the main application.
; if you have stability problems try to deactivate threading first
; threading.enabled = true
; the default path is 'php.exe' on windows and 'php' on linux
; threading.phpPath = /path/php
; how long may a thread be busy until it is killed
; threading.busyTimeout = 20
; if a command can't be done because of crashing a thread or timing out
; it will be discarded after this number of tries
; threading.maxTries = 3
; if threading is disabled, then how much time should be spend on
; each application loop to process work that would have been assigned
; to other threads normally
; default value is 1 second.
; threading.sequentialTimeout = 1
;------------------
; WebServices
;------------------
; configure your ManiaPlanet WebServices API credentials
; every plugin using a web service should take these values for ease sake
; wsapi.username = ''
; wsapi.password = ''
; specific additionnal value for ManiaHome web service
; wsapi.manialink = ''
;------------------
[hostname: testHost]
;------------------
; put here the configuration specific to an host
Lobby: manialive_combo_lobby.ini
Code: Select all
server.host = '127.0.0.1'
; Should be the XML-RPC port of the server
server.port = 5050
config.enableToggleGUI = Off
manialive.plugins[] = 'MatchMakingLobby\Lobby'
;Database should be shared between match and lobby server
database.host = '127.0.0.1'
database.port = 3306
database.username = 'manialive'
database.password = 'Andromeda'
Matchserver: config.ini
Code: Select all
;------------------
; Dedicated Server
;------------------
server.host = '127.0.0.1'
server.port = 5050
; standard user level is SuperAdmin
server.user = 'SuperAdmin'
server.password = 'SuperAdmin'
; when a connection can't be established after the given amount
; of time, it will timeout and manialive will shutdown.
server.timeout = 1
;------------------
; Runtime Features
;------------------
; Add admins, that shall be able to control your server from game.
manialive.admins[] = 'stonerock'
; Add plugins to load.
manialive.plugins[] = 'MatchMakingLobby\Match'
manialive.plugins[] = 'Standard\AutoTagMatchSettings'
; Plugins configuration
; ManiaLivePlugins\MatchMakingLobby\Lobby = value
;
; You can also declare aliases to make it easier, the following two lines
; are equivalent to the previous one
; alias myplugin = 'ManiaLivePlugins\Author\PluginName\Config'
; myplugin.name = value
;------------------
; Database
;------------------
; enabled by default
database.enable = true
; Connection configuration
database.host = '127.0.0.1'
database.port = 3306
database.username = 'root'
database.password = 'Andromeda'
; Default database name
database.database = 'manialive'
; Connection type: MySQL (by default) or SQLite
database.type = 'MySQL'
;------------------
; ManiaLive
;------------------
; the default is %application%/logs
; config.logsPath = /var/logs
; the prefix for each log filename
; config.logsPrefix = 'log'
; whether to write console output into a file, default is Off
; config.runtimeLog = On
; whether to gather errors from all instances to a single file, default is Off
; config.globalErrorLog = On
; how many errors before killing the ManiaLive process, default is Off (feature disabled)
; config.maxErrorCount = 5
; where is located the dedicated server for manialive command line options (default is ManiaLive root)
; config.dedicatedPath = C:\EliteLobbyMatchMaking\Lobby
; If On, ManiaLive will try to call the updater
; config.lanMode = On
; Enable debug output in the debug log, default is Off
; config.debug = On
;------------------
; Threading
;------------------
; threading can improve performance of your application. it
; allows modules to push blocking work onto another processes,
; this can also improve stability, because timeouts or
; unexpected exceptions do not impact the main application.
; if you have stability problems try to deactivate threading first
; threading.enabled = true
; the default path is 'php.exe' on windows and 'php' on linux
; threading.phpPath = /path/php
; how long may a thread be busy until it is killed
; threading.busyTimeout = 20
; if a command can't be done because of crashing a thread or timing out
; it will be discarded after this number of tries
; threading.maxTries = 3
; if threading is disabled, then how much time should be spend on
; each application loop to process work that would have been assigned
; to other threads normally
; default value is 1 second.
; threading.sequentialTimeout = 1
;------------------
; WebServices
;------------------
; configure your ManiaPlanet WebServices API credentials
; every plugin using a web service should take these values for ease sake
; wsapi.username = ''
; wsapi.password = ''
; specific additionnal value for ManiaHome web service
; wsapi.manialink = ''
;------------------
[hostname: testHost]
;------------------
; put here the configuration specific to an host
Matchserver: manialive_combo_match.ini
Code: Select all
server.host = 'localhost'
; Should be the XML-RPC port of the server
server.port = 5051
config.enableToggleGUI = Off
manialive.plugins[] = 'MatchMakingLobby\Match'
ManiaLivePlugins\MatchMakingLobby\Config.lobbyLogin = 'stormserver1'
;Database should be shared between match and lobby server
database.host = '127.0.0.1'
database.port = 3306
database.username = 'root'
database.password = 'Andromeda'
Matchmaking manialive: Connection.php
C:\EliteLobbyMatchMaking\ManiaLiveMatchServer\manialive\libraries\ManiaLive\Database
Code: Select all
<?php
/**
* @copyright Copyright (c) 2009-2011 NADEO (http://www.nadeo.com)
* @version $Revision: 439 $:
* @author $Author: melot.philippe@gmail.com $:
* @date $Date: 2012-08-16 13:38:52 +0200 (jeu., 16 août 2012) $:
*/
namespace ManiaLive\Database;
class Config extends \ManiaLib\Utils\Singleton
{
public $enable = true;
public $host = '127.0.0.1';
public $port = 3306;
public $username = 'root';
public $password = 'Andromeda';
public $database = 'manialive';
public $type = 'MySQL';
}
?>
I have the same config of the database in manialive Lobby and manialive match.
I hope anyone can help me
