Page 17 of 21

Re: [Tool]Dedicated Manager Web site

Posted: 06 May 2013, 10:52
by The_Big_Boo
If you do that, the input tag isn't closed anymore (which is something that should never happen). There's nothing wrong on this line so if there's a bug, please describe it.

Re: [Tool]Dedicated Manager Web site

Posted: 06 May 2013, 10:54
by w1lla
When creating a server and i go to the selecting maps for the server part: i see this: a

Code: Select all

/>
right below the randomize map order.

Did a complete new install of it to make sure.

Re: [Tool]Dedicated Manager Web site

Posted: 06 May 2013, 10:56
by farfa
The problem is that we use short tag that should no more be used to increase compatibility and make setup easier.

Re: [Tool]Dedicated Manager Web site

Posted: 07 May 2013, 20:29
by skydel0
HI im back :D

No if disabled the

Code: Select all

magic_quotes_gpc = Off

; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
; http://php.net/magic-quotes-runtime
magic_quotes_runtime = Off

; Use Sybase-style magic quotes (escape ' with '' instead of \').
; http://php.net/magic-quotes-sybase
magic_quotes_sybase = Off
and i update from the svn but still this error:

Code: Select all

Fatal error: Uncaught exception 'ErrorException' with message 'stripslashes() expects parameter 1 to be string, array given' in /opt/Ded/libraries/ManiaLib/Application/Request.php:53 Stack trace: #0 [internal function]: ManiaLib\Application\ErrorHandling::exceptionErrorHandler(2, 'stripslashes() ...', '/opt/Ded/librar...', 53, Array) #1 [internal function]: stripslashes(Array) #2 /opt/Ded/libraries/ManiaLib/Application/Request.php(53): array_map('stripslashes', Array) #3 /opt/Ded/libraries/ManiaLib/Utils/Singleton.php(25): ManiaLib\Application\Request->__construct() #4 /opt/Ded/libraries/ManiaLib/Application/Dispatcher.php(55): ManiaLib\Utils\Singleton::getInstance() #5 /opt/Ded/libraries/ManiaLib/Application/Bootstrapper.php(44): ManiaLib\Application\Dispatcher->run() #6 /opt/Ded/libraries/ManiaLib/Application/Bootstrapper.php(30): ManiaLib\Application\Bootstrapper::onDispatch() #7 /opt/Ded/www/index.php(7): ManiaLib\Application\Bootstrapper::run() #8 {main} thrown in /opt/Ded/libraries/ManiaLib/Application/Request.php on line 53
I don't understand this error :-(


I found a way to do it thx :D

Re: [Tool]Dedicated Manager Web site

Posted: 15 May 2013, 23:00
by Blacky21
Hello
sorry for my english.
I have found this nice tool but after instl i have a problem.
When i open it in the Browser it show a white page with "No input file specified".
What i make wrong. any idea?
Use it on Linux ubuntu 12.04 and php 5.3.10.
Manialive instl. dedimanager instl. and a TM2 server, Webservice instl. too.
I hope someone can help.

Nice greetings

EDIT: Problem solved. i got it working.

Re: [Tool]Dedicated Manager Web site

Posted: 17 May 2013, 18:41
by Akbalder
When starting a server with many maps, it's possible to have the error "Request-URI Too Large".
You could use use a POST request to fix this.

Re: [Tool]Dedicated Manager Web site

Posted: 20 May 2013, 22:13
by w1lla
Hi,

I am making a Shootmania manialive plugin which has the following Files.

- Main folder:
Shootmania.php which is the main file.
Matchs(folder within it Matchs.php)

Code: Select all

MainFolder
|
Shootmania.php
Matchs
|
----- Matchs.php
When in config on manialive i put in:

Code: Select all

manialive.plugins[] = 'eXpansion\Shootmania'
manialive.plugins[] = 'eXpansion\Shootmania\Matchs'
it will work offcourse in manialive but when i try to load the config file of manialive in the dedicated manager website i only see two times Shootmania being loaded which isnt correct actually.

Maybe its my newbie skills in coding or i overlooked something really odd.

Edit:

When trying to load a server dedicated file through the quick start server you cant seem to select if you want to run a tm server or a shootmania server.



with kind regards,

w1lla

Re: [Tool]Dedicated Manager Web site

Posted: 21 May 2013, 10:05
by The_Big_Boo
w1lla wrote:

Code: Select all

manialive.plugins[] = 'eXpansion\Shootmania'
manialive.plugins[] = 'eXpansion\Shootmania\Matchs'
A plugin is in a subfolder 'author/plugin-name' and there shouldn't be any exception. I don't know what you're trying to do but I'm surprised there isn't any check on ManiaLive start to prevent loading plugins in a too deep folder. Nevertheless, both will have the same id in ManiaLive so there's a lot of things which can go wrong (events, public method calls, ...) So the Dedicated Manager behaviour is actually correct.


About the title selection in quick start, it's already in the config file. It may be an idea to let the possibility to override it though.

Re: [Tool]Dedicated Manager Web site

Posted: 18 Jun 2013, 15:37
by jonthekiller
When you add a map you see the nickname of the mapper but in the maplist, you see the playerlogin. Maybe put the nickname here too?

Re: [Tool]Dedicated Manager Web site

Posted: 20 Jun 2013, 09:59
by Akbalder
When there is many maps on the server, it takes a very long time to display the map list (on our server, the map list page is 16MB!!).
When I'm connected to the server, as long as the map list page is loading, the lag prevents me from playing. :evil:

You maybe could create smaller thumbnails.
Loading a 512x512 image to display a 50x50 image is kind useless...