Comment créer un serveur de jeu multijoueur shootmania ?

Parler de tout ce qui concerne le jeu en ligne ainsi que de l'eSport et des teams

Moderator: French Moderator

Kynareth62
Posts: 53
Joined: 11 Jul 2012, 17:59

Comment créer un serveur de jeu multijoueur shootmania ?

Post by Kynareth62 »

Bonjour, j'aimerais connaitre la manipulation à faire pour créer un serveur de jeu shootmania sous linux en mod console svp.

Merci et bonne journée.
User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

Re: Comment créer un serveur de jeu multijoueur shootmania ?

Post by jonthekiller »

Je te conseille de suivre ce tutoriel pour TM² : http://forum.maniaplanet.com/viewtopic.php?f=272&t=3350

Avec la dernière version du serveur ici : http://forum.maniaplanet.com/viewtopic. ... 61&t=11313

Et ceci pour le RunSrv.sh
xbx wrote:Let's test the title pack feature!

so in order to run a joust or elite server:
- you need to copy to the server's UserData/Packs/ folder the pack(s) you want to use.
(grab the elite.title.pack.gbx or joust.. from your "my documents/maniaplanet_alpha/packs folder)

- You need to acquire the pack with the "master" account for your dedicated server login(s).
(I mean, the account you used to create the dedicated logins on the player page)

- and you can run the dedicated as usual, except that the title no longer is SMStorm, but the id of the title you want to use:
./ManiaPlanetServer /game_settings=MatchSettings/SMStormElite1.txt /title=SMStormElite@nadeolabs /dedicated_cfg=....

./ManiaPlanetServer /game_settings=MatchSettings/SMStormJoust1.txt /title=SMStormJoust@nadeolabs /dedicated_cfg=....

(SMStormElite1.txt and SMStormJoust1.txt are the playlists I included in the title packs.
but if you make new maps you can just add them in the user folder and make a playlist the usual way.)

That should work for now. - or at least that'll be a first interresting exercice to get this working... :roll:
I'll get into more specifics on how to make your own packs and stuff next week...
Image
Kynareth62
Posts: 53
Joined: 11 Jul 2012, 17:59

Re: Comment créer un serveur de jeu multijoueur shootmania ?

Post by Kynareth62 »

Ok merci, j'ai réussi à le démarrer avec cette commande :

Code: Select all

root@srv67:/home/shootmania# ./ManiaPlanetServer /dedicated_cfg=config.txt /game_settings=SMStormMelee.txt
Starting ManiaPlanet Date=2012-07-04-xx_xx Svn=45715 GameVersion=3.2.0...
Initializing...
Configuration file : config.txt
Loading system configuration...
...system configuration loaded
Loading cache...
...OK
Listening for xml-rpc commands on port 5000.
ManiaPlanet server daemon started with pid=3931 (parent=3930).

mais comment vérifier si le port est bien ouvert sur le serveur ?

C'est bien ça ?

Code: Select all

iptables -A INPUT -p tcp -i eth0 --dport 2350 -j ACCEPT
Après ça ne dit pas s'il faut l'ouvrir en sortant ou entrant.

Et pour finir, quand tout sera OK, comment rejoindre le serveur depuis le jeu et verrifier qu'il fonctionne correctement ? adresse-ip:port ?

Enfin, comment stopper un serveur shootmania ?

Merci pour l'aide :)
Last edited by Kynareth62 on 11 Jul 2012, 19:58, edited 1 time in total.
User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

Re: Comment créer un serveur de jeu multijoueur shootmania ?

Post by jonthekiller »

Il faut modifier le dedicated_cfg_default.
Image
Kynareth62
Posts: 53
Joined: 11 Jul 2012, 17:59

Re: Comment créer un serveur de jeu multijoueur shootmania ?

Post by Kynareth62 »

C'est bon, c'est la commande qui été incorrecte, j'ai édité mon message ci-dessus, le serveur c'est bien lancé :
Screen => http://puu.sh/HHEC.jpg

Comment le rejoindre et vérifier qu'il est bel et bien démaré et en fonctionnement maintenant svp ? :)
User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

Re: Comment créer un serveur de jeu multijoueur shootmania ?

Post by jonthekiller »

Avec cette commande : maniaplanet:///#join=loginserveur@SMStorm en remplaçant le loginserveur, sinon tu le trouveras dans la liste des serveurs.
Image
Kynareth62
Posts: 53
Joined: 11 Jul 2012, 17:59

Re: Comment créer un serveur de jeu multijoueur shootmania ?

Post by Kynareth62 »

loginserveur = ip:port ?

J'ai testé ça avec les trois port présent dans le fichier config et aucun ne marche :
maniaplanet:///#join=91.229.20.86:2350@SMStorm

Image

Sa peu venir d'où svp ? En tout cas il n'y a eu aucune erreur au lancement du serveur.
Sinon shootmania est représenté sous quel nom dans le processus ?
User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

Re: Comment créer un serveur de jeu multijoueur shootmania ?

Post by jonthekiller »

Est-ce que le serveur est en local?
Image
Kynareth62
Posts: 53
Joined: 11 Jul 2012, 17:59

Re: Comment créer un serveur de jeu multijoueur shootmania ?

Post by Kynareth62 »

Il est sur une machine dédié (linux) auquel j'ai les plein accès via ssh/ftp.
User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

Re: Comment créer un serveur de jeu multijoueur shootmania ?

Post by jonthekiller »

Le processus est ManiaPlanetServer et regarde les logs pour voir s'il n'y a pas d'erreur.
Image
Post Reply

Return to “Multijoueur”

Who is online

Users browsing this forum: No registered users and 1 guest