

[Tuto]Manialive, Ajout du tuto sous Linux
#51 OFFLINE
Posté 23 février 2011 - 15:23
#52 OFFLINE
Posté 24 février 2011 - 09:31
Merci pour ton aide.
#53 OFFLINE
Posté 12 mars 2011 - 06:00
;------------------ ; ManiaLive ;------------------ ; the default path is 'php.exe' on windows and 'php' on linux ; phpPath = /path/php ; the default is %application%/logs ; logsPath = /var/logs ; whether to write console output into a file, default is Off ; runtimeLog = On ;------------------ ; Dedicated Server ;------------------ server.host = '127.0.0.1' server.port = 5000 ; standard user level is SuperAdmin server.user = 'SuperAdmin' server.password = 'lilsaine240305' ; when a connection can't be established after the given amount ; of time, it will timeout and manialive will shutdown. ; server.timeout = 1 ;------------------ ; Admins ;------------------ ; Add admins, that shall be able to control your server from game. admins.logins[] = '***********' ;------------------ ; Plugins ;------------------ ; Add plugins to load. ; plugins.load[] = 'Author\PluginName' plugins.load[] = 'Standard\PluginManager' plugins.load[] = 'Standard\Admin' plugins.load[] = 'Standard\Dedimania' plugins.Standard\Dedimania.password = ******** ;mettez ici le mot de passe du compte serveur plugins.Standard\Dedimania.notifications = On plugins.Standard\Dedimania.notifyNewFirstRecord = '%player% drove new first Dedimania record with a time of %time%!' plugins.Standard\Dedimania.notifyNewRecord = '%player% just ranked %rank% on Dedimania with a time of %time%!' plugins.Standard\Dedimania.notifyImprovedFirstRecord = '%player% beat his own first Dedimania record with a time of %time%!' plugins.Standard\Dedimania.notifyImprovedRecord = '%player% moved on the %rank% Dedimania rank by finishing with a time of %time%!' plugins.Standard\Dedimania.notifyImprovedRecordTimeOnly = '%player% secured his %rank% Dedimania rank by driving a time of %time%!' plugins.load[] = 'Standard\Menubar' plugins.load[] = 'Standard\Profiler' plugins.load[] = 'MLEPP\CustomChat' plugins.load[] = 'MLEPP\Core' plugins.MLEPP\Core.chatColor = $fff plugins.MLEPP\Core.emoteColor = $ea0 plugins.load[] = 'MLEPP\AdminPanel' ;plugins.load[] = 'MLEPP\ChatEmotes' ;plugins.load[] = 'MLEPP\ForceMods' ;plugins.MLEPP\ForceMods.Override[] ='false' ;plugins.MLEPP\ForceMods.Stadium[] ='http://koti.mbnet.fi/reaby/tmn/techstar_makonen.zip' ;plugins.MLEPP\ForceMods.Stadium[] ='http://koti.mbnet.fi/reaby/tmn/techstar_nixxy2.zip' ;plugins.MLEPP\ForceMods.Stadium[] ='http://koti.mbnet.fi/reaby/tmn/techstar_pablo.zip' ;plugins.MLEPP\ForceMods.Stadium[] ='http://koti.mbnet.fi/reaby/tmn/techstar_revilo.zip' ;plugins.MLEPP\ForceMods.Island[]= '' ;plugins.MLEPP\ForceMods.Speed[] = '' ;plugins.MLEPP\ForceMods.Rally[] = '' ;plugins.MLEPP\ForceMods.Bay[] = '' ;plugins.MLEPP\ForceMods.Coast[] = '' ;plugins.MLEPP\ForceMods.Alpine[] = '' plugins.load[] = 'MLEPP\JoinLeaveMessage' msg.leaveMsg = '$fff»» %title% $fff%nickname%$z$s $0ae has left the server.' msg.joinMsg = '$fff»» %title% $fff%nickname%$z$s%spec% $0ae[$fff%country%$0ae] [Ladder] joins the server.' ;plugins.load[] = 'MLEPP\RandomMessage' ;plugins.MLEPP\RandomMessage.type = 'endChallenge' ;plugins.MLEPP\RandomMessage.delay = 120 ;plugins.MLEPP\RandomMessage.messages[] = '$fff»» $0eaYou like our server? Please donate some coppers!' ;plugins.MLEPP\RandomMessage.messages[] = '$fff»» $0eaFor more information about $fffMLEPP$0ea, please visit: $fff$lhttp://mlepp.trackmania.nl$l$0ea!' ;plugins.MLEPP\RandomMessage.messages[] = "$fff»» $0eaPlease don't sound your horn entire track!" plugins.load[] = 'MLEPP\DonateCoppers' ;plugins.load[] = 'MLEPP\Jukebox' ;plugins.MLEPP\ForceMusics.Override[] ='false'; ;plugins.MLEPP\ForceMusics.Music[] ='http://toolmaster.free.fr/Music/Rock/Dire_Straits/Heavy_Fuel.mux'; ;plugins.load[] = 'MLEPP\AddRemoveTracks' plugins.load[] = 'MLEPP\Database' plugins.MLEPP\Database.type = 'MySQL' plugins.MLEPP\Database.port = '3306' plugins.MLEPP\Database.host = '127.0.0.1' plugins.MLEPP\Database.user = '*******' plugins.MLEPP\Database.password = 'l**********' plugins.MLEPP\Database.name = 'manialive' ;plugins.load[] = 'MLEPP\LocalRecords' ;plugins.load[] = 'MLEPP\PersonalMessages' ;plugins.load[] = 'MLEPP\Karma' ;plugins.load[] = 'MLEPP\Votes' ;plugins.load[] = 'MLEPP\ChatLog' ;plugins.load[] = 'MLEPP\ChatMe' ;plugins.MLEPP\ChatMe.meColor = $ccc ;plugins.load[] = 'MLEPP\ChallengeWidget' ;plugins.load[] = 'MLEPP\TmxInfo' ;plugins.load[] = 'MLEPP\ServerMail' ;------------------ ; 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 ; how long may a thread be busy until it is killed ; threading.busy_timeout = 20 ; how long, if not busy, may it take for a thread to response to a ping ; threading.ping_timeout = 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.chunk_size = 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.sequential_timeout = 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] ;------------------ ; put here the configuration specific to an host
j'ai seulement un probleme avec le mlepp et plus precisement juste la connection a la base de données . j'ai bien tout configré dans mon config.ini enfin je pense .
Occured on 11.03.2011 at 19:27:30 at process with ID #15034 --------------------------------- -> ManiaLive\PluginHandler\Exception with code 0 Could not load Plugin '\ManiaLivePlugins\MLEPP\Database\Plugin' ! - in /srv/Trackmania-serveur/ManiaLive/libraries/ManiaLive/PluginHandler/PluginHandler.php on line 185 - Stack: #0 /srv/Trackmania-serveur/ManiaLive/libraries/ManiaLive/PluginHandler/PluginHandler.php(121): ManiaLive\PluginHandler\PluginHandler->loadPlugin('\ManiaLivePlugi...') #1 /srv/Trackmania-serveur/ManiaLive/libraries/ManiaLive/PluginHandler/PluginHandler.php(682): ManiaLive\PluginHandler\PluginHandler->loadPlugins() #2 /srv/Trackmania-serveur/ManiaLive/libraries/ManiaLive/Application/Event.php(39): ManiaLive\PluginHandler\PluginHandler->onInit() #3 /srv/Trackmania-serveur/ManiaLive/libraries/ManiaLive/Event/Dispatcher.php(52): ManiaLive\Application\Event->fireDo(Object(ManiaLive\PluginHandler\PluginHandler)) #4 /srv/Trackmania-serveur/ManiaLive/libraries/ManiaLive/Application/AbstractApplication.php(127): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Application\Event)) #5 /srv/Trackmania-serveur/ManiaLive/libraries/ManiaLiveApplication/Application.php(36): ManiaLive\Application\AbstractApplication->init() #6 /srv/Trackmania-serveur/ManiaLive/libraries/ManiaLive/Application/AbstractApplication.php(134): ManiaLiveApplication\Application->init() #7 /srv/Trackmania-serveur/ManiaLive/bootstrapper.php(19): ManiaLive\Application\AbstractApplication->run() #8 {main}
je suis en php 5.3.3 sur une linuxmint 10 . avec curl et tout ce qui est requis .
peut etre le seul probleme , j'ai une version 64 bytes . et j'ai deja ete confronté a une lib libmysql.so.15 manquante pour un autre log avec connection mysql ? alors je me demande si le probleme pourais venir de la . ou de moi qui aurais omis quelque chose .
j'ai vu aussi que dans le dossier MLEPP il n'y avais pas de dossier Database ou faut il le rajouter .
en l'attente du tuto promis sur le mlepp comme j'ai put lire avant .
merci a vous d'avance
#54 OFFLINE
Posté 12 mars 2011 - 07:57
La seul solution c'est de ne pas charger le plugin database, ou sinon tu retélécharge le paquet MLEPP et tu installes le plugin database.
#55 OFFLINE
Posté 12 mars 2011 - 15:18
merci pour ta reponse .
j'ai retelecharger le plugin sur http://code.google.com/p/mlepp/
j'ai regarder , il n'y a pas de dossier Database d'inclu dans le dossier MLEPP
j'ai bien un dossier Database qui se trouve dans /librairies/manialive
comment puis je le charger ? compte tenu qu'il n'est pas dans le dossier maniaLiveplugin
peus tu me filer un lien avec le plugin mlepp complet ?
sinon tampis je vais rebasculer sur aseco
je te remerci pour ta comprehension
#56 OFFLINE
Posté 18 mars 2011 - 18:14
Bon tout d'abord bravo et merci pour le tuto :wink:
Alors voila j'ai installé php5.3.6 !
Puis configuré le config.ini comme ceci :
;------------------ ; ManiaLive ;------------------ ; the default path is 'php.exe' on windows and 'php' on linux ; phpPath = /path/php ; the default is %application%/logs ; logsPath = /var/logs ; whether to write console output into a file, default is Off ; runtimeLog = On ;------------------ ; Dedicated Server ;------------------ ; server.host = '127.0.0.1' ; server.port = 5002 ; 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 ;------------------ ; Admins ;------------------ ; Add admins, that shall be able to control your server from game. ; admins.logins[] = 'raptaure ;------------------ ; Plugins ;------------------ ; Add plugins to load. ; plugins.load[] = 'Author\PluginName' ;------------------ ; 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 ; how long may a thread be busy until it is killed ; threading.busy_timeout = 20 ; how long, if not busy, may it take for a thread to response to a ping ; threading.ping_timeout = 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.chunk_size = 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.sequential_timeout = 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] ;------------------ ; put here the configuration specific to an host
Puis j'ai bien mis "Europe/Paris" au php.ini
et j'ai rajouté l'emplacement du php.exe au run.ini
Et quand je lance run.bat la fenêtre s'ouvre et se referme aussitôt :(
mais si je laisse vide le run.ini la fenêtre m'affiche ceci :
Fatal error: Uncaught exception 'ErrorException' with message 'Unknown: It is no t safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead' in Unknown:0 Stack trace: #0 [internal function]: ManiaLive\Application\ErrorHandling::createExcpetionFrom Error(2, 'Unknown: It is ...', 'Unknown', 0, Array) #1 {main} thrown in Unknown on line 0 Appuyez sur une touche pour continuer...
Merci de votre aide !
[Edite] C'est bon sa marche cela venais des ";" qui a devant les debuts de lignes, donc a supprimé dans config.ini e php.ini
#57 OFFLINE
Posté 26 mars 2011 - 09:40
Je suis sur Linux, qui peut m'orienter à installer manialive sur mon serveur.
merci.
#58 OFFLINE
Posté 26 mars 2011 - 11:57
Ton serveur utilise quelle distribution, et quelle version de Linux ?
Car chaque version à ces spécificité pour installer les dépendances. Mais si tu t'y connais, il faut que tu installe:
- [*:dd251f2613]php 5.3
[*:dd251f2613]cURL pour php
[*:dd251f2613]MySQL
[*:dd251f2613]sqllite
Après si tu as des questions plus spécifiques, je peux également te répondre :mrgreen:
#59 OFFLINE
Posté 26 mars 2011 - 14:14
je suis bien en php 5.3 &je vais chercher pour décoder tout ça. mysql .... et pour pour cURL pour php & sqllite ... mystere et boule de gomme.
#60 OFFLINE
Posté 26 mars 2011 - 19:23
J'ai des problèmes pour installer le plugin Dedimania
Tout le reste fonctionne nickel, je vois le menu, le plugin manager, c'est très beau blabla...
La console me crache :
-> ManiaLivePlugins\Standard\Dedimania\ConfigurationException with code
0
You need to set the Standard\Dedimania.password option in the
config.ini!
Soit !
Mais !
dans mon fichier config.ini
j'ai pourtant :
plugins.load[] = 'Standard\Menubar'
plugins.load[] = 'Standard\Profiler'
plugins.load[] = 'Standard\Admin'
plugins.load[] = 'Standard\Dedimania'
plugins.load[] = 'Standard\PluginManager'
plugins.Standard\Dedimania.password = 'monsuperpassword'
plugins.Standard\Dedimania.notifications = On
plugins.Standard\Dedimania.notifyNewFirstRecord = '%player% drove new first Dedimania record with a time of %time%!'
plugins.Standard\Dedimania.notifyNewRecord = '%player% just ranked %rank% on Dedimania with a time of %time%!'
plugins.Standard\Dedimania.notifyImprovedFirstRecord = '%player% beat his own first Dedimania record with a time of %time%!'
plugins.Standard\Dedimania.notifyImprovedRecord = '%player% moved on the %rank% Dedimania rank by finishing with a time of %time%!'
plugins.Standard\Dedimania.notifyImprovedRecordTimeOnly = '%player% secured his %rank% Dedimania rank by driving a time of %time%!'
où est charlie???
En "zieutant" le code, je vois que dans la classe Dedimania
y'a un petit test sur la variable de classe $password
qui lance cette vilaine exception si $password est null
OK donc password est null :/ WTF ?!?
c'est qui qui lit config.ini et qui le lit pas bien???
donc au final je vais dans la classe Dedimania je mets mon password dans le champs static $password en dur :/ et là ça marche argh :/
le code m'a mis KO où est-ce que l'on fait un truc qui ressemble Ã
Dedimania::password = 'kikoulol'
c'est indigne de MrPropre
Si quelqu'un a une idée je prends !
Merci :D

#61 OFFLINE
Posté 28 avril 2011 - 18:13
J'ai un problème avec le manialive, il plante a chaque fois.
On me dit de mettre le Json.so mais je ne sais pas ou le mettre.
Merci d'avance
#62 OFFLINE
Posté 08 mai 2011 - 23:46
Quelqu'un peut il m'expliqué comment passé en free zone un serveur hebergé?
Mon probleme c'est que moi je n'ai pas besoin de php vu que mon serveur est hebergé, chez gaming solution..bref comment configurer le manialive
dans se cas?
merci
#63 OFFLINE
Posté 09 mai 2011 - 00:24
J'ai bien envie d'essayer tout ça, histoire d'être à jour côté gestionnaire de serveur.
En ce qui concerne les plugins et leur développement, par où est-ce que je pourrais commencer ? (je précise que je n'ai pas de connaissances...qui a dit d'apprendre sur le tas ? ^^')
En modifiant ceux existant, en prenant quelques ingrédients et en faisant ma propre recette ?
S'il existe un site dédié à Manialive, je veux bien poser mes questions (bêtes ?) là -bas !
Bonne nuit. [merci]

#64 OFFLINE
Posté 09 mai 2011 - 06:34
Il n'y a pas de site dédié, tu as le projet google code, et aussi un manialink nommé manialive
#65 OFFLINE
Posté 13 mai 2011 - 06:14

#66 OFFLINE
#67 OFFLINE
Posté 07 juin 2011 - 21:51
Tu dois paramétrer ton default Timezone dans ton php.ini
#68 OFFLINE
Posté 07 juin 2011 - 21:54
Citation
Il y a un site ManiaLive (projet google code) ou il y a la reponse, mais bon le message d 'erreur est assez explicite. En fait tu n'as pas mis la declaration de ton timezone dans le php.ini, tu dois y rajouter dans la section [Date] le code suivant
datedate.timezone = "Europe/Paris"si tu es en france pour ne plus avoir d'erreur.
Lol ^^ tu as ete plus rapide que moi

Le jour où l'on mettra les cons sur orbite, y en a qui n'ont pas fini de tourner ...
#69 OFFLINE
Posté 07 juin 2011 - 23:36
Merci
#70 OFFLINE
#71 OFFLINE
Posté 18 juin 2011 - 01:41

Le jour où l'on mettra les cons sur orbite, y en a qui n'ont pas fini de tourner ...
#72 OFFLINE
Posté 18 juin 2011 - 11:17


#73 OFFLINE
Posté 18 juin 2011 - 12:25
quand je pars manialive ca indique ceci
'"php.exe"' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
Appuyez sur une touche pour continuer...
J'ai Wampserver, servermania sous W7, je sais que Wampserver possède déjà son php et fonctionne très bien bien avec Aseco (serveur d'origine) bien sur je m'assure que Aseco ne fonctionne pas que je lance Manialive.
Voici mon config
;------------------
; ManiaLive
;------------------
; the default path is 'php.exe' on windows and 'php' on linux
phpPath = /path/php
; the default is %application%/logs
; logsPath = /var/logs
; whether to write console output into a file, default is Off
; runtimeLog = On
;------------------
; Dedicated Server
;------------------
server.host = 'localhost'
server.port = 5002
; 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
;------------------
; Admins
;------------------
; Add admins, that shall be able to control your server from game.
admins.logins[] = '********'
;------------------
; Plugins
;------------------
; Add plugins to load.
; plugins.load[] = 'Author\PluginName'
;------------------
; 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
; how long may a thread be busy until it is killed
; threading.busy_timeout = 20
; how long, if not busy, may it take for a thread to response to a ping
; threading.ping_timeout = 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.chunk_size = 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.sequential_timeout = 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]
;------------------
; put here the configuration specific to an host
La config de php.ini à la date.
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = UTC
Merci
#74 OFFLINE
Posté 20 juin 2011 - 17:42
Bon bon moi je galère aussi : système non compatible :
OpenSSL
cURL
CURL j'ai réussi il faut activer l'extension (en supprimant le ; devant ) dans le php.ini
OpenSSL bah je galère je cherche.... si quelq'un peut maider
Merci
[EDIT] : OpenSSL existe mais la ligen n'est pas maquée il faut la rajouter à la main :
extension=php_openssl.dll

#75 OFFLINE
Posté 20 juin 2011 - 18:55
Il bloque et tourne en boucle sur
[Dedimania]Starting authentification server...
[Dedimania]Please wait ...
[Dedimania]Starting authentification server...
[Dedimania]Please wait ...
[Dedimania]Starting authentification server...
Please wait ...
(...)
Et je ne peux pas faire de screen puisqu'il m'ouvre la fenêtre du dossier qui contient php.exe et je n'ai qu'uen petite seconde pour fermer manialive avant que cette fenetre ne s'active au 1er plan :)
Quelqu'un pense t-il pouvoir m'aider ?
Merci

0 utilisateur(s) li(sen)t ce sujet
0 membre(s), 0 invité(s), 0 utilisateur(s) anonyme(s)