Page 11 of 21

Re: [Tool]Dedicated Manager Web site

Posted: 21 Nov 2012, 10:32
by DeeLuuXe
It works thank you :yes:

Re: [Tool]Dedicated Manager Web site

Posted: 28 Nov 2012, 14:05
by Saliom
Hi, this manager is pretty cool and works well except when i try to use the ManiaConnect API
here is the app.ini i use

Code: Select all

;;
;; MANIAPLANET DEDICATED MANAGER CONFIG
;;

; Do NOT edit these 2 lines
application.namespace = DedicatedManager
application.webapp = true

log.prefix = manager

application.URL = ***********
application.useRewriteRules = false
application.debug = false

; Database configuration
database.user = '***********'
database.password = '***********'
database.slowQueryLog = true
database.database = Manager

DedicatedManager\Config.dedicatedPath = /***********/***********/SMServer/
;DedicatedManager\Config.manialivePath = /PATH/TO/ManiaLive/
DedicatedManager\Config.maniaConnect = On
DedicatedManager\Config.admins[] = '***********','***********','***********','***********','***********'

; If maniaConnect is On, you need to create an API username and an application with this username
webservices.username = '***********'
webservices.password = '***********'
and here is the image i get with it :
Image

i have put my own maniaplanet name in the admin array, and i'd say it works cause i can see my server.

But when i put

Code: Select all

DedicatedManager\Config.maniaConnect = Off
this is what i get :
Image


what did i do wrong?? or there is a hidden option when creating the webservice application on maniaplanet or something??

Re: [Tool]Dedicated Manager Web site

Posted: 28 Nov 2012, 15:28
by The_Big_Boo

Code: Select all

DedicatedManager\Config.admins[] = '***********','***********','***********','***********','***********'
This line is wrong, you must put only 1 admin per line, like the following

Code: Select all

DedicatedManager\Config.admins[] = '***********'
DedicatedManager\Config.admins[] = '***********'
DedicatedManager\Config.admins[] = '***********'
The fact you're seing the server is because you probably set yourself as a manager of it (which is useless if you're an admin anyway).

Re: [Tool]Dedicated Manager Web site

Posted: 28 Nov 2012, 16:43
by Saliom
Ha yeah ok, i see, the fact that i was seeing only the server is because my admin line wasn't correct, so as a manager i could see the server.


putting the multiple admins as multiple lines did correct my problem, thank you :)

Re: [Tool]Dedicated Manager Web site

Posted: 12 Dec 2012, 16:56
by Clanwarz
Just love this tool! Thanks Gwendal & Maxime for all of your hard work!

Re: [Tool]Dedicated Manager Web site

Posted: 21 Dec 2012, 10:34
by farfa
Hi,

Here comes the version 1.6 that support the Dedicated Server in the version 2012-12-20. We added some new feature as well.
Now you can configure scripts before launching the server. We also added the JumpToMap feature.

Download link: DedicatedManager 1.6

Re: [Tool]Dedicated Manager Web site

Posted: 21 Dec 2012, 18:40
by TgTranquilo
Hi, i just installed this new version but I'm getting the following error:

Code: Select all

Oops! Something went wrong, please try again later.

ErrorException

    Message: Object of class DedicatedApi\Structures\ScriptSettings could not be converted to string
    Code: 0
    Request URI: http://www.tranquilo.pt/DM/index.php/create-server/set-rules/?rules%5BgameMode%5D=0&rules%5BscriptName%5D=Royal.Script.txt&scriptRules%5BBattle.Script.txt%5D%5BS_AutoBalance%5D=1&scriptRules%5BBattle.Script.txt%5D%5BS_UsePlayerClublinks%5D=1&scriptRules%5BRoyal.Script.txt%5D%5BS_MapPointsLimit%5D=200&scriptRules%5BRoyal.Script.txt%5D%5BS_OffZoneActivationTime%5D=4&scriptRules%5BRoyal.Script.txt%5D%5BS_OffZoneAutoStartTime%5D=90&scriptRules%5BRoyal.Script.txt%5D%5BS_OffZoneTimeLimit%5D=50&scriptRules%5BRoyal.Script.txt%5D%5BS_OffZoneMaxSpeed%5D=1.25&scriptRules%5BRoyal.Script.txt%5D%5BS_EndRoundTimeLimit%5D=60&scriptRules%5BRoyal.Script.txt%5D%5BS_SpawnInterval%5D=5&scriptRules%5BRoyal.Script.txt%5D%5BS_UseEarlyRespawn%5D=1&scriptRules%5BRoyal.Script.txt%5D%5BS_EndMapChatTime%5D=20&scriptRules%5BSiege.Script.txt%5D%5BS_AutoBalance%5D=1&scriptRules%5BSiege.Script.txt%5D%5BS_UsePlayerClublinks%5D=1
    /home/tranquilopt/DedicatedManager/libraries/DedicatedManager/Controllers/CreateServer.php (96)
    /home/tranquilopt/DedicatedManager/libraries/DedicatedManager/Controllers/CreateServer.php(96): ManiaLib\Application\ErrorHandling::exceptionErrorHandler(4096, 'Object of class...', '/home/tranquilo...', 96, Array)
    [internal function]: DedicatedManager\Controllers\CreateServer->setRules(Array, Array)
    /home/tranquilopt/DedicatedManager/libraries/ManiaLib/Application/Controller.php(193): call_user_func_array(Array, Array)
    /home/tranquilopt/DedicatedManager/libraries/ManiaLib/Application/Controller.php(92): ManiaLib\Application\Controller->executeAction('setRules')
    /home/tranquilopt/DedicatedManager/libraries/ManiaLib/Application/Dispatcher.php(80): ManiaLib\Application\Controller->launch('setRules')
    /home/tranquilopt/DedicatedManager/libraries/ManiaLib/Application/Bootstrapper.php(44): ManiaLib\Application\Dispatcher->run()
    /home/tranquilopt/DedicatedManager/libraries/ManiaLib/Application/Bootstrapper.php(30): ManiaLib\Application\Bootstrapper::onDispatch()
    /home/tranquilopt/DedicatedManager/www/index.php(7): ManiaLib\Application\Bootstrapper::run()
    {main}
I installed it on a new directory and even deleted the old database and ran the manager.sql again.
The server version is the 20-12 one and the error appeared in both Elite and Royal modes. Didn't try others.
It gives me this error after i confirm the Match Settings while creating a new server.

Would also like the chance to congratulate all the development team for the good work being done.

Thanks.

Re: [Tool]Dedicated Manager Web site

Posted: 21 Dec 2012, 20:53
by The_Big_Boo
Version 1.6.1 has been pushed to fix this bug, sorry for the inconvenience :oops:

And thanks for the report :)

Re: [Tool]Dedicated Manager Web site

Posted: 21 Dec 2012, 21:19
by TgTranquilo
Meanwhile i started the server manually and later added on the dedicated manager.
Except from creating server(which is fixed now), everything seems to be running smoothly.
Very nice feature "Jump to Map" btw.

5* release, tks for all the work you've done. :thumbsup:

Re: [Tool]Dedicated Manager Web site

Posted: 21 Dec 2012, 21:30
by w1lla
Hi,

When trying to add a new elite server and you get to the Script mode rules.

When you get the and you select Select one and continue you get the following error:

Code: Select all

ErrorException

    Message: file_get_contents(C:\Documents and Settings\Administrator\Desktop\Shootmania\mcon Elite\UserData/Scripts/Modes/ShootMania/Select one...): failed to open stream: No such file or directory
    Code: 0
    Request URI: http://tmnf.mouse-control.nl/smcp/www/index.php/create-server/set-rules/?rules%5BgameMode%5D=0&rules%5BscriptName%5D=Select+one...&scriptRules%5BBattle.Script.txt%5D%5BS_AutoBalance%5D=1&scriptRules%5BBattle.Script.txt%5D%5BS_UsePlayerClublinks%5D=1&scriptRules%5BFortress.Script.txt%5D%5BS_AutoBalance%5D=1&scriptRules%5BRoyal.Script.txt%5D%5BS_UseEarlyRespawn%5D=1&scriptRules%5BSiege.Script.txt%5D%5BS_AutoBalance%5D=1&scriptRules%5BSiege.Script.txt%5D%5BS_UsePlayerClublinks%5D=1
    C:\phpdev\www\smcp\libraries\DedicatedManager\Services\MatchSettingsFileService.php (489)
    [internal function]: ManiaLib\Application\ErrorHandling::exceptionErrorHandler(2, 'file_get_conten...', 'C:\phpdev\www\s...', 489, Array)
    C:\phpdev\www\smcp\libraries\DedicatedManager\Services\MatchSettingsFileService.php(489): file_get_contents('C:\Documents an...')
    C:\phpdev\www\smcp\libraries\DedicatedManager\Controllers\CreateServer.php(92): DedicatedManager\Services\MatchSettingsFileService->getScriptMatchRules('SMStorm', 'Select one...')
    [internal function]: DedicatedManager\Controllers\CreateServer->setRules(Array, Array)
    C:\phpdev\www\smcp\libraries\ManiaLib\Application\Controller.php(193): call_user_func_array(Array, Array)
    C:\phpdev\www\smcp\libraries\ManiaLib\Application\Controller.php(92): ManiaLib\Application\Controller->executeAction('setRules')
    C:\phpdev\www\smcp\libraries\ManiaLib\Application\Dispatcher.php(80): ManiaLib\Application\Controller->launch('setRules')
    C:\phpdev\www\smcp\libraries\ManiaLib\Application\Bootstrapper.php(44): ManiaLib\Application\Dispatcher->run()
    C:\phpdev\www\smcp\libraries\ManiaLib\Application\Bootstrapper.php(30): ManiaLib\Application\Bootstrapper::onDispatch()
    C:\phpdev\www\smcp\www\index.php(7): ManiaLib\Application\Bootstrapper::run()
    {main}
Maybe a bug?!