Page 13 of 15

Re: eXpansion plugin pack [Manialive 3.1] updated: 11.1.2014

Posted: 15 Mar 2014, 15:05
by samp
Hi,
First of all great work guys. :thumbsup:
I finally managed to get the latest dev-version running. I'll report problems if I found some.

I had huge issues getting it working.
- I installed Manialive master
- Your version of ManiaLib
- Dev version of eXpansion

Autoload did not work, plugins were not found. Tried with different paths.
I put all eXpansion plugins to config.ini => plugins were found.
This caused lots of path/namespace issues, but one by one I changed them (there still might be something wrong).

Any Idea why the autoload fails?


Two fixes:

1. Widgets_Times/Gui/Widgets/TimePanel.php line 99
Should be $this->specTarget instead of $this->target
otherwise the checkpoint widget is not working.

2. LocalRecords/LocalRecords.php line 585
Should be $nrecord->time >= $score instead of $nrecord->time > $score
to get the equals messages working.

Edit. The cp-time doesn't seem to work... It does not display anything
(It works one time on the map where manialive is restarted, but when map changes nothing is displayed)

Edit2. And this is all on Windows and time-attack server.

Re: eXpansion plugin pack [Manialive 3.1] updated: 11.1.2014

Posted: 17 Mar 2014, 13:56
by oliverde8
oliverde8 wrote: If you want to try the dev version had just confirmation that the composer installation works :
1)Clone the default ManiaLive : https://github.com/maniaplanet/manialive.git or download it
git clone https://github.com/maniaplanet/manialive.git

2)Edit composer file to include expansion
Open composer.json with notepad
Add , "ml-expansion/expansion": "dev-dev" to the end of the require list

3)Use composer install(need to download compose at https://packagist.org/)
do php composer.phar install
It should install everything automatically

*)To update ManiaLive or eXpansion
do php composer.phar update
And magic is done

!!Once we realese the only thing you will need to do if you install using composer is to change dev-dev to dev-master to keep a have a stable version.
If you use this it should work fine, our forks of Manialive-lib are for older versions. That is why you probably had issue with namespaces. I have an installation done this way and works fine :thumbsup:

We have been absent on eXp with Reaby for a while now. Actually I have taken nearly 4 weeks of vacation so I am some place where I nearly don't have internet XD. We will have a look into the problems you have reported :thumbsup:

Re: eXpansion plugin pack [Manialive 3.1] updated: 3.4.2014

Posted: 03 Apr 2014, 09:50
by reaby
Hey there,

download at http://ml-expansion.com/dl/expansion_03042014.zip
contains UI changes and few minor fixes.

Re: eXpansion plugin pack [Manialive 3.1] updated: 11.1.2014

Posted: 04 Apr 2014, 22:47
by hackie
Hey

Was on youre driftstation , o man . looks awesome. :1010
Is that release already for download ?

What about that small update , how install ? :?

That server of yours looks realy nice , only missed best cp times on top but thats personally I think.

Keep up reaby , and team.

GoodGame. :pil

Re: eXpansion plugin pack [Manialive 3.1] updated: 11.1.2014

Posted: 04 Apr 2014, 23:11
by oliverde8
Hey hackie,

Reaby put a download link to the last version :D, to install
Just download it from here, http://ml-expansion.com/dl/expansion_03042014.zip

put your server settings, and database settings in the configuration file, and it is ready to launch :thumbsup:

nothing else to do, manialive everything is in that package.

by default Widgets_BestCheckpoints isn't loaded, just add this to the autoloader :

Code: Select all

manialive.plugins[] = 'ManiaLivePlugins\eXpansion\Widgets_BestCheckpoints\Widgets_BestCheckpoints'
I also do recomend

Code: Select all

manialive.plugins[] = 'ManiaLivePlugins\eXpansion\ServerStatistics\ServerStatistics'

Re: eXpansion plugin pack [Manialive 3.1] updated: 11.1.2014

Posted: 05 Apr 2014, 07:53
by hackie
I do not understand.
you say all is in package , but manialive or plugins are not included.

only see an .phar file and some tools.
that windows batch file "start" won't start.
so I'm a bit confused here.

Re: eXpansion plugin pack [Manialive 3.1] updated: 11.1.2014

Posted: 05 Apr 2014, 10:30
by oliverde8
hackie wrote:I do not understand.
you say all is in package , but manialive or plugins are not included.

only see an .phar file and some tools.
that windows batch file "start" won't start.
so I'm a bit confused here.
The phar file contains everything, it a compilation of all the php files(Plugins and Manialive)

Well you need to edit the start.bat to configure the php path, as you do it with XAseco or other controllers, and it should run.
For some reasons windows doesen't like phar files so you might get a popup saying it is dangerous to run a phar file, but just ignore it :D

Re: eXpansion plugin pack [Manialive 3.1] updated: 11.1.2014

Posted: 05 Apr 2014, 10:40
by hackie
Omg , I'm such a noob in that kind of stuff.
I try it.

Thanks

Re: eXpansion plugin pack [Manialive 3.1] updated: 11.1.2014

Posted: 05 Apr 2014, 10:56
by hackie
php is not recognize as internal or external command , program...

Failed.

Do you have exapmle of batch file ?
I mean what to add to set path.

I looked in xaseco for example but that does not work.

Re: eXpansion plugin pack [Manialive 3.1] updated: 11.1.2014

Posted: 05 Apr 2014, 11:14
by oliverde8
You just need to replace php with the path to your php installation, mine looks like

Code: Select all

C:\wamp\bin\php\php5.3.0\php.exe eXpansion_0.9.1.phar
pause