ManiaLib 2.0.1 for Maniaplanet

Open source, lightweight PHP framework for Manialink and Web development.

Moderator: NADEO

Post Reply
User avatar
gouxim
Nadeo
Nadeo
Posts: 1154
Joined: 14 Jun 2010, 17:20

ManiaLib 2.0.1 for Maniaplanet

Post by gouxim » 10 Jan 2012, 16:29

Hi fellow coders,

We are releasing the first official version of ManiaLib for Maniaplanet!

ManiaLib is a lightweight PHP framework for Manialink and Web developement. It provides a set of object-oriented libraries to help you save time on classic Manialink (and Web) tasks.

ManiaLib is meant to be a very flexible framework that doesn't get in the way of the developer.

You will find a couple of example of what you can actually do with ManiaLib on the homepage of the project at http://code.google.com/p/manialib/

For now, it lacks documentation but we will progressively write it. If you have any questions, don't hesitate to create a topic and ask for help, we will write documentation depending on what questions people are asking!

Download is here: http://code.google.com/p/manialib/downloads/list

Have fun :thumbsup:
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)

vitessepure
Posts: 10
Joined: 05 Jun 2011, 20:17
Contact:

Re: ManiaLib 2.0 for Maniaplanet

Post by vitessepure » 10 Jan 2012, 21:42

Maybe I'm wrong but you forgot a ";" in Manialib/Maniascript/Main.php (line 30) :

Code: Select all

static function loop()
{
	Manialink::appendScript('manialib_main_loop()');   // ";" after manialib_main_loop() ?
}

User avatar
gouxim
Nadeo
Nadeo
Posts: 1154
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 2.0 for Maniaplanet

Post by gouxim » 10 Jan 2012, 22:37

Yes indeed, thanks. :thumbsup:
It actually was working because most the time a "}" end up just after that so apprently the ";" is not needed in that case.
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)

vitessepure
Posts: 10
Joined: 05 Jun 2011, 20:17
Contact:

Re: ManiaLib 2.0 for Maniaplanet

Post by vitessepure » 10 Jan 2012, 23:08

I am not sure. ManiaScript in ManiaPress 0.3 doesn't work but when i add this ";" it works.

User avatar
w1lla
Posts: 2359
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: ManiaLib 2.0 for Maniaplanet

Post by w1lla » 10 Jan 2012, 23:18

Thanks for making Manialib 2.0 :P

As for documentation its also wise to let the community help you for some generous reasons ;)
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs

User avatar
gouxim
Nadeo
Nadeo
Posts: 1154
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 2.0 for Maniaplanet

Post by gouxim » 11 Jan 2012, 12:05

vitessepure wrote:I am not sure. ManiaScript in ManiaPress 0.3 doesn't work but when i add this ";" it works.
You're right. I'm so dumb :oops: . Im quickly releasing manialib 2.0.1 and maniapress 0.3.1 to fix that
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)

User avatar
gouxim
Nadeo
Nadeo
Posts: 1154
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 2.0 for Maniaplanet

Post by gouxim » 11 Jan 2012, 12:15

Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)

User avatar
Jojo_44
Posts: 500
Joined: 12 Jul 2010, 15:58
Location: Germany->Bavaria
Contact:

Re: ManiaLib 2.0.1 for Maniaplanet

Post by Jojo_44 » 05 Mar 2012, 21:43

I guess I have to create the rewrite rules myself because I didn´t find it in the package ?

best regards, Jojo
Image
my english sounds very unfriendly but it isn´t ;)

User avatar
gouxim
Nadeo
Nadeo
Posts: 1154
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 2.0.1 for Maniaplanet

Post by gouxim » 05 Mar 2012, 23:56

I'll commit the file tomorow, it's pretty simple.
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)

User avatar
gouxim
Nadeo
Nadeo
Posts: 1154
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 2.0.1 for Maniaplanet

Post by gouxim » 06 Mar 2012, 11:15

Jojo_44 wrote:I guess I have to create the rewrite rules myself because I didn´t find it in the package ?

best regards, Jojo
http://forum.maniaplanet.com/viewtopic.php?f=40&t=8985
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)

Post Reply

Return to “ManiaLib”

Who is online

Users browsing this forum: No registered users and 2 guests