ManiaLive, a new dedicated server manager

Discuss the Dedicated Server Tools developed by Nadeo Live such as ManiaLive, Trust Circles, Dedicated Manager, Competition Manager and Lobbies

Moderator: NADEO

User avatar
aseco
Posts: 96
Joined: 06 Jul 2010, 17:08
Location: Germany
Contact:

Re: ManiaLive, a new dedicated server manager

Post by aseco »

oliverde8 wrote:I realy think it is on my side also, I would be surprise if it isn't.

http://91.121.149.10/users/oliverde8/menuHud.rar

I would be even more surprise if my code can actually show something. :roll: There is quite a lot of copy paste modify from your MenuBar in there :oops: . I just need to get it recursive
Okay, finally I found what was causing the issue.
One reason was that you made wrong use of the callback method in the Button.php:

Code: Select all

$this->background->setAction($this->callback($this->getWindow(),'toggleSub',$this->id, $this->level));
which you should call like that:

Code: Select all

$this->background->setAction($this->callback(array($this->getWindow(),'toggleSub'),$this->id, $this->level));
The callback is just one parameter, either just a string to the callback method if it is in the same object. Or an array of the object the callback method can be found and its name.

Second there is a bug in the windowing system that caused a recursive search on an array.
It will be solved in the next release, until then you can fix it by using the eclipse patch:
http://files.manialive.com/windowing_patch.txt
i7 920 | Nvidia GTX260 | 4Gb DDR3
www.floschnell.de | I like that comic
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: ManiaLive, a new dedicated server manager

Post by oliverde8 »

Hi, I was using php 5.3.0 I just upgraded to php 5.3.4 because of some troubles with the ini files and have this error

-

Code: Select all

> ErrorException with code 0
    Invalid CRT parameters detected
  - in
      C:\Users\oliver\Contacts\Desktop\oyun\TMF\ManiaLive_1.0b\libraries\ManiaL
      ive\DedicatedApi\Xmlrpc\Client_Gbx.php on line 314
  - Stack: #0 [internal function]:
      ManiaLive\Application\ErrorHandling::createExcpetionFromError(2, 'Invalid
      CRT par...', 'C:\Users\oliver...', 314, Array)
           #1
      C:\Users\oliver\Contacts\Desktop\oyun\TMF\ManiaLive_1.0b\libraries\ManiaL
      ive\DedicatedApi\Xmlrpc\Client_Gbx.php(314): stream_select(Array, NULL,
      NULL, 0, 2000)
           #2
      C:\Users\oliver\Contacts\Desktop\oyun\TMF\ManiaLive_1.0b\libraries\ManiaL
      ive\DedicatedApi\Connection.php(108):
      ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx->readCallbacks()
           #3
      C:\Users\oliver\Contacts\Desktop\oyun\TMF\ManiaLive_1.0b\libraries\ManiaL
      ive\Application\AbstractApplication.php(120):
      ManiaLive\DedicatedApi\Connection->executeCallbacks()
           #4
      C:\Users\oliver\Contacts\Desktop\oyun\TMF\ManiaLive_1.0b\bootstrapper.php
      (13): ManiaLive\Application\AbstractApplication->run()
           #5 {main}
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
megaplayer
Posts: 90
Joined: 17 Jun 2010, 09:07
Location: Bietigheim-Bissingen, Germany

Re: ManiaLive, a new dedicated server manager

Post by megaplayer »

help! how i can start manialive? i'm having a dedicates server now and it works fine, but now i want to install manialive on it. i installed xampp and copied manialive into C:/xampp/htdocs/manialive/ i also made some configuration in config/config.ini/ (server name, host port, superadmin name and pw etc...) , but how i can start it now? pls answer me! if you're german, you can explain me in german :D
TheM
Posts: 1379
Joined: 15 Jun 2010, 14:30
Location: Uden, Noord-Brabant, Netherlands
Contact:

Re: ManiaLive, a new dedicated server manager

Post by TheM »

You have to double-click on the run-example.bat, this would start ManiaLive.
Global moderator | Dutch moderator | Laddermoderator | ManiaWiki moderator
Server Manager/webmaster of Smurfen.net, join us on Canyon, Valley and Royal!
ESL (Game) Staff Head for TrackMania (Stadium, Canyon and Valley).
megaplayer
Posts: 90
Joined: 17 Jun 2010, 09:07
Location: Bietigheim-Bissingen, Germany

Re: ManiaLive, a new dedicated server manager

Post by megaplayer »

hmmm... looks like i have to configure where php.exe is. going backwards in directory is "../", right? i will try, thx
uhhmmm... where to configure that? ^^ sry for stupid question...

EDIT: ok, i changed the path now in run-example.bat, but how i can go backwards in directories? php exe is in
xampp/php/php.exe
and run-example.bat is in xampp/htdocs/manialive/run-example.bat
so i have to say that run-example.bat has to go 2 directorys back and then into /php/, and then start php.exe
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: ManiaLive, a new dedicated server manager

Post by Knutselmaaster »

Just enter the full path (example C:\Program Files\XAMPP\php\)
User avatar
Jojo_44
Posts: 485
Joined: 12 Jul 2010, 15:58
Location: Germany->Bavaria
Contact:

Re: ManiaLive, a new dedicated server manager

Post by Jojo_44 »

In the config.ini is a option called "phPath = xx/yyy" but how do the "run-example.bat" know this path ? For what is the option ?

and if i set

Code: Select all

 server.host = 'localhost'
don´t work but this works:

Code: Select all

 server.host = '127.0.0.1'
regards, Jojo
Image
my english sounds very unfriendly but it isn´t ;)
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: ManiaLive, a new dedicated server manager

Post by farfa »

Jojo_44 wrote:In the config.ini is a option called "phPath = xx/yyy" but how do the "run-example.bat" know this path ? For what is the option ?
This option is made for the threading system. It has to launch a new php thread. So if you want to use the threading system (for example the Dedimania use it) you have to set this option.

And obviously the .bat know anything about the config.ini file
Also known as: satanasdiabolo
User avatar
Jojo_44
Posts: 485
Joined: 12 Jul 2010, 15:58
Location: Germany->Bavaria
Contact:

Re: ManiaLive, a new dedicated server manager

Post by Jojo_44 »

farfa wrote:And obviously the .bat know anything about the config.ini file
Yes and why must I set the phpPath in the "run-example" and also in the "config.ini", when the "run-example.bat" know anything about the config.ini ? Would be more easy if you set it in one time in the config.ini or ?

regards, Jojo
Image
my english sounds very unfriendly but it isn´t ;)
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: ManiaLive, a new dedicated server manager

Post by farfa »

The only way to don't have to set the path to php.exe each time is to add php to your environment variable name PATH.
You can edit this in your system options
Also known as: satanasdiabolo
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest