[Tool]Dedicated Manager Web site

Moderator: NADEO

User avatar
farfa
Nadeo
Nadeo
Posts: 601
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: [Tool]Dedicated Manager Web site

Post by farfa » 06 May 2015, 07:37

Hi,
Can you be more precise with this sentence ?
For starters how can we add a login to access the player via web services manager
For your other questions I think it's more related to eXpension, and I can't help you with those problems
Also known as: satanasdiabolo

User avatar
gsxroil
Posts: 67
Joined: 21 May 2011, 19:43

Re: [Tool]Dedicated Manager Web site

Post by gsxroil » 06 May 2015, 10:15

OUi effectivement je vais preciser desolé .

dans /manager/app.ini j'ai configuré

Code: Select all

DedicatedManager\Config.dedicatedPath = /opt/maniaplanet-server/
DedicatedManager\Config.manialivePath = /opt/manialive/
DedicatedManager\Config.maniaConnect = on
DedicatedManager\Config.admins[] = 'monlogin'
; If maniaConnect is On, you need to create an API username and an application with this username
 webservices.username = 'login|username'
 webservices.password = 'monpwd'
Ca fonctionne parfaitement pour me connecter au manager avec mon login mais je veux donner l'acces a un autre login maniaplanet

comment faire ?


Et pour expansion peut il etre demarré via le manager etant une extension de manialive ?

User avatar
farfa
Nadeo
Nadeo
Posts: 601
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: [Tool]Dedicated Manager Web site

Post by farfa » 06 May 2015, 10:26

Hi,
If you want to give admin access to the tool, just add this line in you app.ini

Code: Select all

DedicatedManager\Config.admins[] = 'an_other_login'
Your app.ini file will looks like that

Code: Select all

DedicatedManager\Config.dedicatedPath = /opt/maniaplanet-server/
DedicatedManager\Config.manialivePath = /opt/manialive/
DedicatedManager\Config.maniaConnect = on
DedicatedManager\Config.admins[] = 'monlogin'
DedicatedManager\Config.admins[] = 'an_other_login'
; If maniaConnect is On, you need to create an API username and an application with this username
webservices.username = 'login|username'
webservices.password = 'monpwd'
Also known as: satanasdiabolo

User avatar
gsxroil
Posts: 67
Joined: 21 May 2011, 19:43

Re: [Tool]Dedicated Manager Web site

Post by gsxroil » 06 May 2015, 10:40

Thank you :thumbsup:

User avatar
w1lla
Posts: 2375
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: [Tool]Dedicated Manager Web site

Post by w1lla » 06 May 2015, 22:14

MySqli support can be handled through the following .zip: http://tmrankings.com/mp/maniaplanet_de ... vendor.zip

Just unzip it in the main folder where the other folders are in your dedicated manager.

To let expansion run:

Just edit file: maniaplanet-dedicated-manager\libraries\DedicatedManager\Services\ManialiveService line 90 and replace it with this:

Code: Select all

return implode('\\', array_slice(explode('\\', $class), 1, 4));
That will make it work eventually.
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs

User avatar
gsxroil
Posts: 67
Joined: 21 May 2011, 19:43

Re: [Tool]Dedicated Manager Web site

Post by gsxroil » 08 May 2015, 01:01

thank you very much it works perfectly for the autoload plugin :thumbsup:


the zip you gave me has not solved the problem mysqli, I always error

Code: Select all

There Seems be a problem while Establishing a MySQL connection.
 
 Advanced details
 File: connection.php
 Line: 54
 Message: There is no class for the database connection like "MySQLi" yet
I solved the problem by adding a line 117 in ManialiveFileService.php for MySQL specify the config.ini

Code: Select all

fprintf($f, "database.type = '%s'\n\n", 'MySQL');
it is important to make the necessary to work with MySQLI ?



ps: ty google translate :?

crack12321
Posts: 6
Joined: 20 Aug 2014, 23:19

Re: [Tool]Dedicated Manager Web site

Post by crack12321 » 22 Nov 2016, 11:49

tried to download this :S :D but there isnt a Setup.php anymore :S

can u tell me how to install it? o.O

thanks ;)

crack12321
Posts: 6
Joined: 20 Aug 2014, 23:19

Re: [Tool]Dedicated Manager Web site

Post by crack12321 » 22 Nov 2016, 12:31

ahh forgot to say...

im using debian

Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 3 guests