[XAseco] Freezone Plugin Port (Update)

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

User avatar
maniactwister
sunday driver
sunday driver
Posts: 71
Joined: 01 Jun 2010 00:37
Owned TM-games: TMU, TMUF, TM2
Manialink(s): tdracer
Contact:

[XAseco] Freezone Plugin Port (Update)

Post by maniactwister » 01 Jul 2012 19:58

This is a XAseco port of the Manialive Freezone-Plugin. I made this because being forced to run Manialive beside XAseco, which is really unperformant and botchy.
I have tested this plugin several weeks, and until now everything works fine. A big thanks to the beta testers!

This Plugin supports Undefs Third-Party Plugins UpToDate

Please note: The Plugin wont work in combination with Fufis Autoqueue. Maybe i will release a bugfix for the autoqueue soon.

Download
V1.4: http://www.tdracer.de/xaseco/download.p ... ne-1.4.zip


Installation
Important!

If you don't follow the steps carefully, the plugin will not be working properly.
  1. Unzip the archive into the XASECO folder

    Code: Select all

    xaseco/freezone.xml
    xaseco/plugins/plugin.freezone.php
    xaseco/plugins/freezone/
    xaseco/plugins/freezone/fz-rest-client.php
  2. Open the file "freezone.xml" and set <password> to your webservices-password.
  3. Insert the following line into "plugins.xml" (after all other plugins)

    Code: Select all

    <plugin>plugin.freezone.php</plugin>
  4. Restart XAseco

Changelog
v1.4 - 11.07.2012 recommended!
  • Fixed some manialink issues
  • Fixed pos_y in config.xml (. instead of ,)
  • Fixed another notification bug.
    thanks undef.de
v1.3 - 09.07.2012
  • Fixed a bug which cause XAseco to crash after some time! Update highly recommended!
    thanks TheBigG
v1.2 - 03.07.2012 broken! - update coming soon
  • The button is hidden from united players now.
  • When a player gets muted/unmuted all players gets notified. (optional)
  • The button can be moved on score.
    thanks TheBigG
v1.1 - 01.07.2012
  • Forgot the checks for updated versions.
v1.0 - 01.07.2012
  • Initial release
Copyright
The full copyright remains to the Author of the Freezone plugin for ManiaLive. I will remove this, if Nadeo doesn't agree with this plugin! I am not responsible if your server gets disabled!
Last edited by maniactwister on 11 Jul 2012 21:04, edited 6 times in total.
Image
"My english is not the yellow from the egg ..." ;)

weasel
speedy pilot
speedy pilot
Posts: 331
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: [XAseco] Freezone Plugin Port

Post by weasel » 02 Jul 2012 13:26

Oke , I installed it exactly like said in txt.

But when I restart xaseco it says :

Freezone-Plugin needs the CURL PHP extension.

And xaseco will not start.

Any help needed, sorry.

Thanks

User avatar
maniactwister
sunday driver
sunday driver
Posts: 71
Joined: 01 Jun 2010 00:37
Owned TM-games: TMU, TMUF, TM2
Manialink(s): tdracer
Contact:

Re: [XAseco] Freezone Plugin Port

Post by maniactwister » 02 Jul 2012 13:30

Are you on a linux-machine with the apt-packagemanager? If yes try this:

Code: Select all

apt-get install php5-curl
Image
"My english is not the yellow from the egg ..." ;)

weasel
speedy pilot
speedy pilot
Posts: 331
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: [XAseco] Freezone Plugin Port

Post by weasel » 02 Jul 2012 13:40

nope , windows 7

weasel
speedy pilot
speedy pilot
Posts: 331
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: [XAseco] Freezone Plugin Port

Post by weasel » 02 Jul 2012 13:41

server runs for weeks , so it's not the server.

just wanted to try youre plugin, but failed

User avatar
maniactwister
sunday driver
sunday driver
Posts: 71
Joined: 01 Jun 2010 00:37
Owned TM-games: TMU, TMUF, TM2
Manialink(s): tdracer
Contact:

Re: [XAseco] Freezone Plugin Port

Post by maniactwister » 02 Jul 2012 13:49

If youre using XAMPP this should help you: http://tech.ratedsawj.com/how-to-enable ... ampserver/

Or just google for "php curl windows"
Image
"My english is not the yellow from the egg ..." ;)

weasel
speedy pilot
speedy pilot
Posts: 331
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: [XAseco] Freezone Plugin Port

Post by weasel » 02 Jul 2012 14:02

XAMPP:

Enabling cURL in XAMPP is a bit trickier.

1. First, find all the following files.

C:\Program Files\xampp\php\php.ini
C:\Program Files\xampp\php\php4\php.ini
C:\Program Files\xampp\apache\bin\php.ini

2. Find the following code in each file.
?
Code:
1

;extension=php_curl.dll

3. Remove the ‘;’ (semi-colon) before this line in each file and save.
4. Restart Apache.

Have fun!


strange , those files do noet exist on my computer.
I use the newest xampp.

damn , hard .

other options ?

User avatar
maniactwister
sunday driver
sunday driver
Posts: 71
Joined: 01 Jun 2010 00:37
Owned TM-games: TMU, TMUF, TM2
Manialink(s): tdracer
Contact:

Re: [XAseco] Freezone Plugin Port

Post by maniactwister » 02 Jul 2012 14:06

You have to use your installationpath...In the XAMPP Control Panel click on "Explorer" and then search for:

Code: Select all

php\php.ini
apache\bin\php.ini
Image
"My english is not the yellow from the egg ..." ;)

weasel
speedy pilot
speedy pilot
Posts: 331
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: [XAseco] Freezone Plugin Port

Post by weasel » 02 Jul 2012 14:25

apache\bin\php.ini

this one does not exists

only php\php.ini

weasel
speedy pilot
speedy pilot
Posts: 331
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: [XAseco] Freezone Plugin Port

Post by weasel » 02 Jul 2012 14:34

Oke , status :

I changed the file : php\php.ini

The one I found, restarted the server and it runs !
I now have also that stupid freezone button on screen :)

But I have united acc. so I can not test it.
I wait and see if any freezoner joins.

Thanks for youre help.

TheBigG
smooth traffic navigator
smooth traffic navigator
Posts: 226
Joined: 16 Oct 2010 19:45
Owned TM-games: TMN! TMF
Location: Germany

Re: [XAseco] Freezone Plugin Port

Post by TheBigG » 03 Jul 2012 17:56

works nice but a few things should be added.
1st a possibility to move it to a other position @ scoretable becouse the button is not complete visible if it is not moveable
2nd it should be complette hidden from the united players
3rd a notice that a player is muted becouse of freezone to all players

and thanks for the port :)

User avatar
maniactwister
sunday driver
sunday driver
Posts: 71
Joined: 01 Jun 2010 00:37
Owned TM-games: TMU, TMUF, TM2
Manialink(s): tdracer
Contact:

Re: [XAseco] Freezone Plugin Port

Post by maniactwister » 03 Jul 2012 18:03

I will implement all of this, thanks for the suggestions :)

Edit: done.
Image
"My english is not the yellow from the egg ..." ;)

TheBigG
smooth traffic navigator
smooth traffic navigator
Posts: 226
Joined: 16 Oct 2010 19:45
Owned TM-games: TMN! TMF
Location: Germany

Re: [XAseco] Freezone Plugin Port (Update)

Post by TheBigG » 07 Jul 2012 17:13

thx for implement
but i think there is a problem with the got muted funktion
Image

User avatar
maniactwister
sunday driver
sunday driver
Posts: 71
Joined: 01 Jun 2010 00:37
Owned TM-games: TMU, TMUF, TM2
Manialink(s): tdracer
Contact:

Re: [XAseco] Freezone Plugin Port (Update)

Post by maniactwister » 07 Jul 2012 17:23

Image
"My english is not the yellow from the egg ..." ;)

TheBigG
smooth traffic navigator
smooth traffic navigator
Posts: 226
Joined: 16 Oct 2010 19:45
Owned TM-games: TMN! TMF
Location: Germany

Re: [XAseco] Freezone Plugin Port (Update)

Post by TheBigG » 07 Jul 2012 18:18

seems like problem is not solved
Image
it gets more and more from that messages, looks like that after 3 h and xaseco gets slower and slower
Image

Post Reply