[MPAseco] [v0.83] Report bugs here!

MPAseco is a server controller for Shootmania, which provides you with a framework and some standard plugins.

Moderators: kremsy, NADEO

kremsy
Posts: 1692
Joined: 21 Jul 2011, 09:51

[MPAseco] [v0.83] Report bugs here!

Post by kremsy » 02 Nov 2013, 18:34

Please report any bugs from the current MPAseco version here!
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

User avatar
toffe
Posts: 594
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: [MPAseco] [v0.83] Report bugs here!

Post by toffe » 06 Nov 2013, 16:08

Something wrong with line 204 in the plugin.rasp_chat.php file?
https://github.com/ManiaAseco/MPAseco/b ... t.php#L204

I'm getting a syntax error. '[3]' is wrong or misplaced?

Thanks guys,
Toffe
ManiaPlanet Toolkit: topic + download app.
ManiaCalendar: http://maniacalendar.com / manialink
ManiaCDN: topic
PyPlanet: Python Server Controller Image

kremsy
Posts: 1692
Joined: 21 Jul 2011, 09:51

Re: [MPAseco] [v0.83] Report bugs here!

Post by kremsy » 06 Nov 2013, 23:33

toffe wrote:Something wrong with line 204 in the plugin.rasp_chat.php file?
https://github.com/ManiaAseco/MPAseco/b ... t.php#L204

I'm getting a syntax error. '[3]' is wrong or misplaced?

Thanks guys,
Toffe
It's strange, have it on many servers working, which php version do you use?
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

User avatar
toffe
Posts: 594
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: [MPAseco] [v0.83] Report bugs here!

Post by toffe » 06 Nov 2013, 23:42

Indeed there are much servers that are running on the newest version without problems. I'm using PHP 5.3.10 in my test environment.
ManiaPlanet Toolkit: topic + download app.
ManiaCalendar: http://maniacalendar.com / manialink
ManiaCDN: topic
PyPlanet: Python Server Controller Image

User avatar
The_Big_Boo
Posts: 1041
Joined: 15 Jun 2010, 15:46

Re: [MPAseco] [v0.83] Report bugs here!

Post by The_Big_Boo » 07 Nov 2013, 00:18

This syntax has been introduced with PHP 5.4

Btw, is there any page with MPAseco requirements? I can't find one.
OS: Win 7 Pro x64
RAM: 2x4GB Corsair @ 1600MHz
CPU: Intel i5 760 @ 3.6GHz
Mobo: Asus P7P55D-E
GPU: NVidia GTX 760 2GB
HDD: WD Black 1TB
Sound: VIA VT1828S (onboard)
Peripherals: Razer DeathAdder - Razer DeathStalker - Logitech F310

kremsy
Posts: 1692
Joined: 21 Jul 2011, 09:51

Re: [MPAseco] [v0.83] Report bugs here!

Post by kremsy » 07 Nov 2013, 08:56

The_Big_Boo wrote:This syntax has been introduced with PHP 5.4

Btw, is there any page with MPAseco requirements? I can't find one.
There is no requirement page, because we thought about that soo much ;), im sorry when I programmed things which are running only under PHP 5.4, never tested them with 5.3 :(.

As I see, ManiacTwister already fixed this issue, just have overseen the fact that it's a new feature in PHP 5.4;).
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

User avatar
The_Big_Boo
Posts: 1041
Joined: 15 Jun 2010, 15:46

Re: [MPAseco] [v0.83] Report bugs here!

Post by The_Big_Boo » 07 Nov 2013, 09:48

kremsy wrote:I don't exactly get why this shouldn't work on PHP 5.3, because with end() you get the last element (which is a array itself) of the array,
and in the next line I get the third Element from the inner array, don't see any reason why it should not be working.
It's not a matter of runtime logic but PHP has, like any other language, a grammar defining what's possible to write and everything else isn't. Before PHP 5.4, there were no grammar rule saying you can use the array access operator right after a function call, so you can't do it.
OS: Win 7 Pro x64
RAM: 2x4GB Corsair @ 1600MHz
CPU: Intel i5 760 @ 3.6GHz
Mobo: Asus P7P55D-E
GPU: NVidia GTX 760 2GB
HDD: WD Black 1TB
Sound: VIA VT1828S (onboard)
Peripherals: Razer DeathAdder - Razer DeathStalker - Logitech F310

kremsy
Posts: 1692
Joined: 21 Jul 2011, 09:51

Re: [MPAseco] [v0.83] Report bugs here!

Post by kremsy » 07 Nov 2013, 09:50

The_Big_Boo wrote:
kremsy wrote:I don't exactly get why this shouldn't work on PHP 5.3, because with end() you get the last element (which is a array itself) of the array,
and in the next line I get the third Element from the inner array, don't see any reason why it should not be working.
It's not a matter of runtime logic but PHP has, like any other language, a grammar defining what's possible to write and everything else isn't. Before PHP 5.4, there were no grammar rule saying you can use the array access operator right after a function call, so you can't do it.
It makes sence for me now, but when I checked out the GitHub code before, I haven't seen that it was already fixed, so I was a bit confused.

But thanks for your explanation ;).
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

User avatar
mangastef
Posts: 790
Joined: 15 Jun 2010, 22:46
Location: Chez moi
Contact:

Re: [MPAseco] [v0.83] Report bugs here!

Post by mangastef » 10 Nov 2013, 18:58

If I understand correctly, you must use PHP 5.4 to update MPaseco?
ImageImage
Image

kremsy
Posts: 1692
Joined: 21 Jul 2011, 09:51

Re: [MPAseco] [v0.83] Report bugs here!

Post by kremsy » 11 Nov 2013, 19:10

mangastef wrote:If I understand correctly, you must use PHP 5.4 to update MPaseco?
You have two possabilities, the first is not to update, and the second is to put this file into your plugins directory after updating:
https://github.com/ManiaAseco/MPAseco/b ... p_chat.php
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

Post Reply

Return to “MPAseco”

Who is online

Users browsing this forum: No registered users and 1 guest