Comment on active les donation sur le server?
sur TMU falais envoyé des copper au login du server je croit mais pour TM2 comment on fait??
[Tuto] Creation d'un serveur sur Windows
Moderator: French Moderator
Re: [Tuto] Creation d'un serveur sur Windows
Fernando is faster than you
Just leave me alone, I know what to do



Just leave me alone, I know what to do



Re: [Tuto] Creation d'un serveur sur Windows
Bonsoir,
Je viens souhaiter créer un serv pour TM² sous Windows 7
J'ai bien installé et configurer les fichiers de ManiaplanetDedicated, jusque là , pas de soucis.
J'installe ensuite PHP 5.3.8 via Wamp.
Enfin, j'installe les fichiers de ManiaLive (version ManiaLive2_r260), je configure le fichier config.ini, je met bien l'adresse vers mon fichier php.exe, je le configure comme écrit ici.
Je lance run.bat et la je vois que ca se lance et que ca se coupe aussitôt. Même pas le temps de lire ce qu'il y avait d'écrit dans la fenêtre....
Je cherche depuis des heures sans trouver de réponses...
Alors si une âme généreuse veut ben m'aider... merci d'avance !
Je viens souhaiter créer un serv pour TM² sous Windows 7
J'ai bien installé et configurer les fichiers de ManiaplanetDedicated, jusque là , pas de soucis.
J'installe ensuite PHP 5.3.8 via Wamp.
Enfin, j'installe les fichiers de ManiaLive (version ManiaLive2_r260), je configure le fichier config.ini, je met bien l'adresse vers mon fichier php.exe, je le configure comme écrit ici.
Je lance run.bat et la je vois que ca se lance et que ca se coupe aussitôt. Même pas le temps de lire ce qu'il y avait d'écrit dans la fenêtre....
Je cherche depuis des heures sans trouver de réponses...
Alors si une âme généreuse veut ben m'aider... merci d'avance !
- jonthekiller
- Translator
- Posts: 4629
- Joined: 15 Jun 2010, 11:07
- Manialink: maniaolympics
- Location: In Maniaplanet Alpha
- Contact:
Re: [Tuto] Creation d'un serveur sur Windows
C'est que le lien de php n'est pas bon ou indiqué où il le faut.
Re: [Tuto] Creation d'un serveur sur Windows
Ben si regarde :


Et j'ai réussi à voir la ligne qu'il me met :;------------------
; ManiaLive
;------------------
; the default path is 'php.exe' on windows and 'php' on linux
config.phpPath = c:/wamp/bin/php/php3.5.8/php.exe
; the default is %application%/logs
; config.logsPath = /var/logs
; whether to write console output into a file, default is Off
; config.runtimeLog = On
;------------------
; Dedicated Server
;------------------
; server.host = 'localhost'
; server.port = 5000
; standard user level is SuperAdmin
; server.user = 'SuperAdmin'
server.password = '******'
; 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[] = 'jigsaw80'
; Add plugins to load.
; manialive.plugins[] = 'Author\Plugin'
; Plugins configuration
; ManiaLivePlugins\Author\PluginName\Config.name = 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 = ''
; Default database name
database.database = 'ManiaLive'
; Connection type: MySQL (by default) or SQLite
; database.type = 'MySQL'
;------------------
; 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 = false
; how long may a thread be busy until it is killed
; threading.busyTimeout = 20
; how long, if not busy, may it take for a thread to response to a ping
; threading.pingTimeout = 2
; how many jobs should be send on each loop.
; increasing this value will boost jobs/time
; decreasing it will result in a reaction time improvement.
; threading.chunkSize = 10
; 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
;------------------
; ManiaHome
;------------------
; enabling the maniahome feature allows other modules to send
; notifications about eg. records or other actions on your
; server to player's friends.
; disabled by default.
; maniahome.enabled = true
; maniahome.user = ''
; maniahome.password = ''
; maniahome.manialink = ''
;------------------
[hostname: testHost]
;------------------
; put here the configuration specific to an host
c:/wamp/bin/php/php3.5.8/php.exe==_ était innùtendù.
- jonthekiller
- Translator
- Posts: 4629
- Joined: 15 Jun 2010, 11:07
- Manialink: maniaolympics
- Location: In Maniaplanet Alpha
- Contact:
Re: [Tuto] Creation d'un serveur sur Windows
En fait, je l'ai d'abord lancé uniquement avec un config.ini, mais voyant qu'il me trouvait toujours l'erreur du php.exe, j'ai regardé dans le run.bat, qui lance un run.ini. Donc j'ai fait un copié collé du config.ini dans le run.ini, et c'est là que je n'ai plus l'erreur qu'il ne trouve pas le php.exe, mais l'erreur que jai cité dans mon dernier post.
- jonthekiller
- Translator
- Posts: 4629
- Joined: 15 Jun 2010, 11:07
- Manialink: maniaolympics
- Location: In Maniaplanet Alpha
- Contact:
Re: [Tuto] Creation d'un serveur sur Windows
Essaye un lien sans les chiffres et points pour voir, par exemple juste C:/php/php.exe
Re: [Tuto] Creation d'un serveur sur Windows
J'ai installé PHP avec Wamp, tu crois que je peux déplacer le dossier php sans que cela gène ? :S
(Edit :, j'ai quand même fait un copié/collé du dossier Php et mis sur c:/php, mais pareil, même chose...
)
(Edit :, j'ai quand même fait un copié/collé du dossier Php et mis sur c:/php, mais pareil, même chose...

- jonthekiller
- Translator
- Posts: 4629
- Joined: 15 Jun 2010, 11:07
- Manialink: maniaolympics
- Location: In Maniaplanet Alpha
- Contact:
Re: [Tuto] Creation d'un serveur sur Windows
Il ne faut pas mettre le contenu de config.ini dans run.ini mais seulement mettre le lien du php dedans.
Re: [Tuto] Creation d'un serveur sur Windows
J'ai rajouté cette ligne là :
phpPath = c:/php/php.exe
Puis j'ai essayé avec cette ligne là :
phpPath = c:/wamp/bin/php/php3.5.8/php.exe
J'ai toujours la même erreur. :S
phpPath = c:/php/php.exe
Puis j'ai essayé avec cette ligne là :
phpPath = c:/wamp/bin/php/php3.5.8/php.exe
J'ai toujours la même erreur. :S
Who is online
Users browsing this forum: No registered users and 2 guests