Adapt a plugin from a Manialive one

Discover FAST, a records keeping server control script with a public records system called Dedimania, which will show records from the server on tm-exchange.com

Moderators: Slig, TM-Patrol

Post Reply
du02
highway camper
highway camper
Posts: 4
Joined: 31 Mar 2008 13:46
Owned TM-games: TMO, TMS, TMN, TMU
Location: France
Contact:

Adapt a plugin from a Manialive one

Post by du02 » 19 Apr 2014 15:55

Hello everyone

Before starting to learn php I would like to know if a Manialive plugin can be adapted for Fast (3.2.3m)
In the php files I can see that Manialib is used, could it be a problem ? Or anything else could be bad to achieve the work ?

Thanks for your help
du02 = french trackmaniack
> Be carefull <

askuri
road tourist
road tourist
Posts: 83
Joined: 21 Apr 2013 10:01
Owned TM-games: All except TMO
Manialink(s): im
Location: Germany/Rhineland-Palatinate
Contact:

Re: Adapt a plugin from a Manialive one

Post by askuri » 20 Apr 2014 11:01

It would be hard work and depending on how much ManiaLib is used i suggest to completely recode the Plugin.
But you shouöldnt start learning PHP with porting a ManiaLive Pkugin. ManiaLive is extemely complex and even for me with 2 years PHP experience (ok not soo much) sometimes hard to understand. Generally Servercontrollers are more complex then simple Manialinks, escpecially because they use OOP (i suggest you too learn normal procedural coding first).
So start learning wioth something easier. It is although hard enaugh ;)

du02
highway camper
highway camper
Posts: 4
Joined: 31 Mar 2008 13:46
Owned TM-games: TMO, TMS, TMN, TMU
Location: France
Contact:

Re: Adapt a plugin from a Manialive one

Post by du02 » 20 Apr 2014 12:56

Thank for your reply askuri.

Manialib can be used only with Manialive so ?
I will take a tour on tutorials for beginner, maybe after a couple of months it should be easier. :3
du02 = french trackmaniack
> Be carefull <

askuri
road tourist
road tourist
Posts: 83
Joined: 21 Apr 2013 10:01
Owned TM-games: All except TMO
Manialink(s): im
Location: Germany/Rhineland-Palatinate
Contact:

Re: Adapt a plugin from a Manialive one

Post by askuri » 22 Apr 2014 12:02

No Manialib can be used anywhere but in my opinion it doesnt make sense to include the huge Manialib for a single plugin :D. That would be possible but a very unclean solution ;)

du02
highway camper
highway camper
Posts: 4
Joined: 31 Mar 2008 13:46
Owned TM-games: TMO, TMS, TMN, TMU
Location: France
Contact:

Re: Adapt a plugin from a Manialive one

Post by du02 » 23 Apr 2014 19:57

Sounds good. I've started learning php, I'm hopeful and optimistic !
du02 = french trackmaniack
> Be carefull <

Post Reply