[Plugin]FreeZone Plugin

Post here every finished plugin

Moderator: NADEO

User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: [Plugin]FreeZone Plugin

Post by Knutselmaaster »

Nope it is still 5 tracks, as before.
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: [Plugin]FreeZone Plugin

Post by Knutselmaaster »

Vins75 told me he had problems with rounds mode, the forced spec comes after 5 rounds in stead of 5 tracks.
I tested the case, and it is true.
Can you please fix that, as some people prefer rounds mode, but also because making a 60-90k freezone server makes no sense now.
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: [Plugin]FreeZone Plugin

Post by farfa »

I corrected the bug, you can download it now from http://files.manialive.com/plugins/Freezone_Plugin.zip
I also add 2 chat messages, when the API password is incorrect and when the server is in test mode.
I also store the forced spectators in the cache.

Enjoy
Also known as: satanasdiabolo
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: [Plugin]FreeZone Plugin

Post by Knutselmaaster »

Great!
That was fast :o


How can i retrieve the cached data?
I would like to use it for mlepp, to assure that the plugins don't break freezone functionality.
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: [Plugin]FreeZone Plugin

Post by farfa »

To get the value in the cache, the key is forceSpectator. To get it you have to get the pluginId from the pluginHandler, then use the method fetch.

Code: Select all

$this->fetch('PluginId','forceSpectator');
Also known as: satanasdiabolo
Vins75
Posts: 18
Joined: 07 Feb 2011, 15:09

Re: [Plugin]FreeZone Plugin

Post by Vins75 »

the file is corrupt I think
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: [Plugin]FreeZone Plugin

Post by farfa »

The file is no more corrupted
Also known as: satanasdiabolo
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: [Plugin]FreeZone Plugin

Post by Knutselmaaster »

Thanks Farfa, i tested and rounds works perfectly now.
tmdunhill
Posts: 52
Joined: 10 Feb 2011, 02:15

Re: [Plugin]FreeZone Plugin

Post by tmdunhill »

Hello,

I have a question regarding the server log in the free zone.

You can perform the registration of more than one server in the free zone? I have registered a new server (login = tmvelox), the record was made normally and rate of Coopers happened. But the server is not enabled as the free zone.

Maybe it's because I already have a registered server, so I wonder if it is allowed to register more than one server.

I would like guidance on the subject.

greetings.

Dunhill
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: [Plugin]FreeZone Plugin

Post by Knutselmaaster »

You can register as many freezone servers as you want.
Freezone will automatically be enabled once your ManiaLive/freezone plugin makes the first contact with the freezone main server.
Post Reply

Return to “ManiaLive Plugins”

Who is online

Users browsing this forum: No registered users and 1 guest