Page 1 of 2
Serveur Combo
Posted: 10 Apr 2013, 17:23
by jeremweb
Salut,
Il me semble que le mode combo n'est pas disponible dans le ManiaPlanetBetaServer_latest.zip , il n'y a pas les maps.
Sinon, quelle sont les instructions pour créer un serveur en mode combo simple et en matchmaking (comme le royal ou l'elite ?) ?
Merci
Re: Serveur Combo
Posted: 10 Apr 2013, 22:08
by jeremweb
Up ! Pas de réponse
J'aimerai vraiment faire un serveur type "matchmaking" en combo pour y ajouter d'autre maps.
Si quelqu'un sais comment on fait

Re: Serveur Combo
Posted: 11 Apr 2013, 00:44
by jeremweb
title=SMStormCombo@nadeolabs
Re: Serveur Combo
Posted: 11 Apr 2013, 09:29
by magnetik
Il faut utiliser manialive et notre plugin de matchmaking :
https://github.com/maniaplanet/matchmaking-lobby
N'hésite pas à répondre dans ce topic si tu as besoin d'aide.
Re: Serveur Combo
Posted: 11 Apr 2013, 10:46
by jeremweb
J'ai un problème de ressource : il me manque cURL SSL.
Je lui est fait un petit apt-get install curl . Mais bon, bien sur ça ne suffit pas (j'imagine que je dois config quelque chose).
Autre chose : Où a-t-on les maps du mode ? car actuellement j'en ai installé une seule de mania-exchange
Code: Select all
_| _| _| _| _|
_|_| _|_| _|_|_| _|_|_| _|_|_| _| _| _| _|_|
_| _| _| _| _| _| _| _| _| _| _| _| _| _| _|_|_|_|
_| _| _| _| _| _| _| _| _| _| _| _| _| _|
_| _| _|_|_| _| _| _| _|_|_| _|_|_|_| _| _| _|_|_|
-----------------------------------------------------
PHP Environment Compatibility Test
-----------------------------------------------------
PHP 5.3.1 or newer -> required -> [ Yes ] 5.3.3-7+squeeze15
Standard PHP Library -> required -> [ Yes ]
JSON -> required -> [ Yes ]
cURL with SSL -> required -> [ No ]
MySQL -> optional -> [ Yes ]
SQLite3 -> optional -> [ No ]
Re: Serveur Combo
Posted: 11 Apr 2013, 10:58
by magnetik
Je pense que tu dois installer php5-curl
sur ubuntu/debian
Pour les maps je pense qu'elles sont dans le gbx, sinon je t'ai fait un zip :
http://static.maniaplanet.com/comboMaps.zip
Re: Serveur Combo
Posted: 11 Apr 2013, 11:33
by jeremweb
oui c'est bien ça, merci (merci aussi pour les maps)
Bon,maintenant le débogage :
dans le tutoriel on dit :
Extract plugin zip in /ManiaLiveInstallDir/ManiaLivePlugins/ (in order to have something like /ManiaLiveInstallDir/MatchMakingLobby/Lobby/).
Create a config file for the lobby server. The minimal config file (*ManiaLive/config/config-lobby.ini*) is :
server.host = 'localhost'
server.port = 5005
config.enableToggleGUI = Off
manialive.plugins[] = 'MatchMakingLobby\Lobby'
Start manialive for this server : php bootstrapper.php --manialive_cfg=config-lobby.ini.
> Pour ma part, le dossier "ManiaLivePlugins" n'existe pas. J'ai donc respecté le chemin " /ManiaLiveInstallDir/MatchMakingLobby/Lobby/" en ajoutant le dossier "MatchMakingLobby" à la racine de "ManiaLiveInstallDir"
> j'ai fais le config-lobby.ini
> puis : php bootstrapper.php --manialive_cfg=config-lobby.ini
Code: Select all
_| _| _| _| _|
_|_| _|_| _|_|_| _|_|_| _|_|_| _| _| _| _|_|
_| _| _| _| _| _| _| _| _| _| _| _| _| _| _|_|_|_|
_| _| _| _| _| _| _| _| _| _| _| _| _| _|
_| _| _|_|_| _| _| _| _|_|_| _|_|_|_| _| _| _|_|_|
-----------------------------------------------------
PHP Environment Compatibility Test
-----------------------------------------------------
PHP 5.3.1 or newer -> required -> [ Yes ] 5.3.3-7+squeeze15
Standard PHP Library -> required -> [ Yes ]
JSON -> required -> [ Yes ]
cURL with SSL -> required -> [ Yes ] 7.21.0 (with OpenSSL/0.9.8o)
MySQL -> optional -> [ Yes ]
SQLite3 -> optional -> [ No ]
-----------------------------------------------------
Timezone is not set in php.ini. Please edit it and change/set "date.timezone" appropriately. Setting to default: 'Europe/Berlin'
Running ManiaLive 2.7.1...
-> ErrorException with code 2
unpack(): Type V: not enough input, need 4, have 0
- in
/home/shootmania/ManiaLive/libraries/DedicatedApi/Xmlrpc/Client.php on
line 117
- Stack: #0 [internal function]:
ManiaLive\Application\ErrorHandling::createExceptionFromError(2,
'unpack(): Type ...', '/home/shootmani...', 117, Array)
#1
/home/shootmania/ManiaLive/libraries/DedicatedApi/Xmlrpc/Client.php(117):
unpack('Vsize', '')
#2
/home/shootmania/ManiaLive/libraries/DedicatedApi/Xmlrpc/Client.php(97):
DedicatedApi\Xmlrpc\Client->init('localhost', '5005', 5)
#3
/home/shootmania/ManiaLive/libraries/DedicatedApi/Connection.php(72):
DedicatedApi\Xmlrpc\Client->__construct('localhost', '5005', 5)
#4
/home/shootmania/ManiaLive/libraries/DedicatedApi/Connection.php(44):
DedicatedApi\Connection->__construct('localhost', '5005', 5,
'SuperAdmin', 'SuperAdmin')
#5
/home/shootmania/ManiaLive/libraries/ManiaLive/Application/AbstractApplic
ation.php(80): DedicatedApi\Connection::factory('localhost', '5005', 5,
'SuperAdmin', 'SuperAdmin')
#6
/home/shootmania/ManiaLive/libraries/ManiaLiveApplication/Application.php
(23): ManiaLive\Application\AbstractApplication->init()
#7
/home/shootmania/ManiaLive/libraries/ManiaLive/Application/AbstractApplic
ation.php(96): ManiaLiveApplication\Application->init()
#8 /home/shootmania/ManiaLive/bootstrapper.php(69):
ManiaLive\Application\AbstractApplication->run()
#9 {main}
PHP Fatal error: Call to a member function executeCallbacks() on a non-object in /home/shootmania/ManiaLive/libraries/ManiaLive/Application/AbstractApplication.php on line 113
Fatal error: Call to a member function executeCallbacks() on a non-object in /home/shootmania/ManiaLive/libraries/ManiaLive/Application/AbstractApplication.php on line 113
Re: Serveur Combo
Posted: 11 Apr 2013, 11:43
by magnetik
En effet le tutorial est faux sur ce point, je corrige pour mettre le bon répertoire.
Cela devrait être: /ManiaLiveInstallDir/libraries/ManiaLivePlugins/
Il semblerait que manialive n'arrive pas à se connecter à ton dédié, ton serveur dédié tourne bien sur le localhost avec le port 5005 ? (ce n'est pas le port par défaut)
Re: Serveur Combo
Posted: 11 Apr 2013, 12:12
by jeremweb
J'ai changer du coup le répertoire "MatchMakingLobby" au bon endroit et vérifié le port tout est bon (j'ai tenter le port xml à 5005 et port de jeu à 23550 et là j'ai directe une erreur (-1000))
Comme mon précédant post, la même erreur :
Code: Select all
Running ManiaLive 2.7.1...
-> ErrorException with code 2
unpack(): Type V: not enough input, need 4, have 0
- in
/home/shootmania/ManiaLive/libraries/DedicatedApi/Xmlrpc/Client.php on
line 117
Re: Serveur Combo
Posted: 11 Apr 2013, 12:37
by jeremweb
J'ajoute que le serveur que j'ai lancer est en mode COMBO. Mais comme je vois qu'il y a des maps "ComboLobby", j'imagine qu'il faut lancer le serveur en " ComboLobby" ?
j'vais faire ça en attendant une réponse.