Page 4 of 7

Re: ManiaLive, a new dedicated server manager

Posted: 03 Jan 2011, 17:22
by Jojo_44
No, I mean that the "run-example.bat" can read the phpPath from the config.ini ? Currently I have to set the phpPath in the .bat and if threading enabled also in the config.ini.

best regards, Jojo

Re: ManiaLive, a new dedicated server manager

Posted: 03 Jan 2011, 17:46
by aseco
You need the php path to be able to parse the config.ini file.
If want to have the php path read from the config.ini, then you apperantly need to use a different language to approach that, because you can't execute php code withouth knowing the path to the php.exe ...
And also, the threading system reads the php path from the config.ini because then you will be able to use two different executeables.
Although it might be possible to let the threading system use the php executeable that is being used for the main application by default. :roll: (Though this is a feature and there are more important things to do at the moment)

Re: ManiaLive, a new dedicated server manager

Posted: 03 Jan 2011, 18:43
by aseco
So, here's another routine release, with some bug fixes.
Thanks again to all testers!

Download
http://www.manialive.com

Changelog

Re: ManiaLive, a new dedicated server manager

Posted: 03 Jan 2011, 19:11
by oliverde8
Works great,

Will we have a Admin handler like in Aseco? if everyone starts to make their own it will create problems very quickly?

Or should we do something in our side?

Re: ManiaLive, a new dedicated server manager

Posted: 05 Jan 2011, 11:42
by aseco
oliverde8 wrote:Works great,

Will we have a Admin handler like in Aseco? if everyone starts to make their own it will create problems very quickly?

Or should we do something in our side?
Well, there is the AdminGroups which you can use to manage administrators on a very basic way. If you want to create your own, more powerful, then that's not a problem. Though we might adapt the AdminGroups module in the future ...

A server restart/maintanance is causing trouble for ManiaLive for the next hour, I'm sorry about that. There's a bug in the Updater module which keeps checking for new versions. You will get this error sooner or later (depends on the last update check, which is done every hour) and it will reappear for every second. This is fixed for the next release, for the ones who want to fix it asap, I have a patch:

Code: Select all

### Eclipse Workspace Patch 1.0
#P ManiaLiveGoogle
Index: libraries/ManiaLive/Features/Updater.php
===================================================================
--- libraries/ManiaLive/Features/Updater.php	(revision 80)
+++ libraries/ManiaLive/Features/Updater.php	(working copy)
@@ -40,7 +40,17 @@
 	 */
 	function checkUpdate()
 	{
-		$version = intval(file_get_contents('http://manialink.manialive.com/public/version'));
+		$version = 0;
+		
+		try
+		{
+			$version = intval(file_get_contents('http://manialink.manialive.com/public/version'));
+		}
+		catch(\Exception $e)
+		{
+			if (strstr($e->getMessage(), 'failed to open stream') === false)
+				throw $e;
+		}
 		
 		if ($version > \ManiaLiveApplication\Version)
 		{

Re: ManiaLive, a new dedicated server manager

Posted: 05 Jan 2011, 16:40
by reaby
aseco wrote:
oliverde8 wrote:Works great,

Will we have a Admin handler like in Aseco? if everyone starts to make their own it will create problems very quickly?

Or should we do something in our side?
Well, there is the AdminGroups which you can use to manage administrators on a very basic way. If you want to create your own, more powerful, then that's not a problem. Though we might adapt the AdminGroups module in the future ...
The sooner, the better, i was about to write Admin groups to MLEPP, since a running server needs multiple levels of administration. The sooner, the better.. we could use olivers plugin, but i think it is for end user much easier to have all essential dependencies within mlepp plugin pack and have a dependency problems like in early days of linux...

let me explain... ie. user wants to add .rpm package from the internet, then when installing he founds out that the package depends on packages x and y from authors there and there.. then he downloads them, and found out the packages the just got depends on other packages.. then the versions doesn't match and this can be such a pain to end user (ie. server admin).

Re: ManiaLive, a new dedicated server manager

Posted: 05 Jan 2011, 17:55
by oliverde8
reaby wrote:
aseco wrote:
oliverde8 wrote:Works great,

Will we have a Admin handler like in Aseco? if everyone starts to make their own it will create problems very quickly?

Or should we do something in our side?
Well, there is the AdminGroups which you can use to manage administrators on a very basic way. If you want to create your own, more powerful, then that's not a problem. Though we might adapt the AdminGroups module in the future ...
The sooner, the better, i was about to write Admin groups to MLEPP, since a running server needs multiple levels of administration. The sooner, the better.. we could use olivers plugin, but i think it is for end user much easier to have all essential dependencies within mlepp plugin pack and have a dependency problems like in early days of linux...

let me explain... ie. user wants to add .rpm package from the internet, then when installing he founds out that the package depends on packages x and y from authors there and there.. then he downloads them, and found out the packages the just got depends on other packages.. then the versions doesn't match and this can be such a pain to end user (ie. server admin).
Yes it can be quite a pain, it needs to have a standart. if not I don't mind if you add the plugin to MLEPP pack, it just isn't complete at the moment. I need to work on it, but first my physics exam.

MLEPP could be a combination of plugins of X and Y authors? you just ask the author if he is okay you add it. Or change the project name to Essential Plugin Pack :D I like that idea. Of course you will need to keep every authors folder if not it will create problems :)

Re: ManiaLive, a new dedicated server manager

Posted: 06 Jan 2011, 18:33
by farfa
New release: not a big changelog, but lot of changes in the code (it's mostly cleaning)
Here is the changelog
  • clean code to respect guidelines
  • add Filter module abstraction (see http://fr2.php.net/manual/en/book.filter.php) (can be used to check command line parameters)
  • added automatic update script
  • changed the run scripts to use a centralized php path (run.ini)
  • fixed issue in the Thread.php: 'Index unknown'
  • fixed bug when spectator could not interact with windowing system (may be related to issue 13).
The code is now matching the code guidelines we defined here: http://code.google.com/p/manialive/wiki/CodeGuidelines

Re: ManiaLive, a new dedicated server manager

Posted: 07 Jan 2011, 21:14
by Jojo_44
Hi,

i have a strange problem with displaying a label. After a defined count of letters the label will cut between a letter. I have uploaded a picture:

Image

Thanks for help, Jojo

Re: ManiaLive, a new dedicated server manager

Posted: 07 Jan 2011, 23:34
by oliverde8
did you set the labels width? if the label isn't wide a not TM will cut it automatically