eXpansion plugin pack for Manialive - (updated: 3.4.2014)

Post here every finished plugin

Moderator: NADEO

samp
Posts: 74
Joined: 03 Mar 2013, 20:29

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

Post by samp » 15 Mar 2014, 15:05

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.

oliverde8
Posts: 1321
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

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

Post by oliverde8 » 17 Mar 2014, 13:56

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:
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...

reaby
Posts: 923
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

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

Post by reaby » 03 Apr 2014, 09:50

Hey there,

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

hackie
Posts: 1060
Joined: 19 Jul 2012, 22:43

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

Post by hackie » 04 Apr 2014, 22:47

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
System Specs:
OS: Windows 7 Professionnal x64
CPU: Intel Core i7-6700K / 4 GHz - 8 MB cache
GPU: MSI GTX 980TI GAMING 6G - OC Edition
Motherboard: ASUS MAXIMUS VIII RANGER
RAM : 32Gb Kingston HyperX Savage - DDR4
DirectX 11

oliverde8
Posts: 1321
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

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

Post by oliverde8 » 04 Apr 2014, 23:11

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'
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...

hackie
Posts: 1060
Joined: 19 Jul 2012, 22:43

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

Post by hackie » 05 Apr 2014, 07:53

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.
System Specs:
OS: Windows 7 Professionnal x64
CPU: Intel Core i7-6700K / 4 GHz - 8 MB cache
GPU: MSI GTX 980TI GAMING 6G - OC Edition
Motherboard: ASUS MAXIMUS VIII RANGER
RAM : 32Gb Kingston HyperX Savage - DDR4
DirectX 11

oliverde8
Posts: 1321
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

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

Post by oliverde8 » 05 Apr 2014, 10:30

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
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...

hackie
Posts: 1060
Joined: 19 Jul 2012, 22:43

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

Post by hackie » 05 Apr 2014, 10:40

Omg , I'm such a noob in that kind of stuff.
I try it.

Thanks
System Specs:
OS: Windows 7 Professionnal x64
CPU: Intel Core i7-6700K / 4 GHz - 8 MB cache
GPU: MSI GTX 980TI GAMING 6G - OC Edition
Motherboard: ASUS MAXIMUS VIII RANGER
RAM : 32Gb Kingston HyperX Savage - DDR4
DirectX 11

hackie
Posts: 1060
Joined: 19 Jul 2012, 22:43

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

Post by hackie » 05 Apr 2014, 10:56

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.
System Specs:
OS: Windows 7 Professionnal x64
CPU: Intel Core i7-6700K / 4 GHz - 8 MB cache
GPU: MSI GTX 980TI GAMING 6G - OC Edition
Motherboard: ASUS MAXIMUS VIII RANGER
RAM : 32Gb Kingston HyperX Savage - DDR4
DirectX 11

oliverde8
Posts: 1321
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

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

Post by oliverde8 » 05 Apr 2014, 11:14

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
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...

Post Reply

Return to “ManiaLive Plugins”

Who is online

Users browsing this forum: No registered users and 0 guests