[Aseco Plugin] Auto Track Manager (ALL TM Versions)

This is the place where you can find everything related to the dedicated server, control scripts and community tools.

Moderators: Pit Crew, TM-Patrol

User avatar
ck|cyrus
Pit Crew
Pit Crew
Posts: 151
Joined: 11 Jul 2006 20:43
Contact:

[Aseco Plugin] Auto Track Manager (ALL TM Versions)

Post by ck|cyrus » 12 Jan 2007 12:26

NOW full support for TMU and TMN!

Hi Community.

i scripted a little plugin for Aseco to keep an eye on a good trackrotation depending on its karma.
You can specify a "voteratio" and "minvotes" and then if a track was played, the script will check the track karma and if there are enough totalvotes.
If the voteratio (good votes / total votes) is below or equal to the given ratio, the plugin will sort the track out.
You can specify if the track should only be removed from tracklist or get erased.
Automatic writing of matchsetting can be activated.
Automatic pruning of the database can be activated (to delete unused data belonging to the removed track).

ALL ACTIVITY OF ATM IS LOGGED IF YOU WANT! (aseco root directory)

Easy configuration in-game! Type "/atm" to config your plugin!

Maybe somebody can use it :)

Installation

- Download Script here: http://www.die-webber.com/downloads.php
- Copy file "plugin.autotrackmanager.php" and "plugin.autotrackmanager.config.xml" to your "Aseco/plugins" directory
- Add

Code: Select all

<plugin>plugin.autotrackmanager.php</plugin>
to THE END of your "plugins.xml"
- Open file "plugin.autotrackmanager.config.xml" and edit the variables if you want to change them. You can easily config it ingame with "/atm"

- Have fun and enjoy playing with nice tracklist;)


Changelog

12.01.2007:
New: Now full support for TMU and TMN
Fix: If track gets erased, it will now be logged in aseco console


Regards,
cyrus
Last edited by ck|cyrus on 21 Jan 2007 19:28, edited 3 times in total.
Visit our Servers:
TMU: "chaoskrieger.com @Stadium"
TMU: "chaoskrieger.com @Rounds"
TMN: "chaoskrieger.com @Fun"

BRT BigBurns
wheelbarrow operator
wheelbarrow operator
Posts: 24
Joined: 23 Aug 2006 20:09
Location: Germany
Contact:

Post by BRT BigBurns » 12 Jan 2007 13:06

Can you tell me where the plugin write the logfile?
ImageImageImageImageImage

User avatar
ck|cyrus
Pit Crew
Pit Crew
Posts: 151
Joined: 11 Jul 2006 20:43
Contact:

Post by ck|cyrus » 12 Jan 2007 13:14

Aseco Root :)
Visit our Servers:
TMU: "chaoskrieger.com @Stadium"
TMU: "chaoskrieger.com @Rounds"
TMN: "chaoskrieger.com @Fun"

Assembler Maniac
Pit Crew
Pit Crew
Posts: 1493
Joined: 03 Jun 2006 13:24
Owned TM-games: TMU
Contact:

Re: [Aseco Plugin] Auto Track Manager (TMU)

Post by Assembler Maniac » 12 Jan 2007 15:31

For people who hate long names, maybe you can shorten the config file to atm.config.xml.
Last edited by Assembler Maniac on 12 Jan 2007 15:45, edited 1 time in total.
Asus P4C800-E Deluxe
P4 3.2Ghz @ 3.35Ghz
2G Kingston Hyper-X DDR 2
ATI Radeon X850 XT Platinum 256M
Sound Blaster Audigy II
2x 120G Maxtor Hard drives
HDTV Tuner Card (Fusion 5 Gold)

User avatar
ck|cyrus
Pit Crew
Pit Crew
Posts: 151
Joined: 11 Jul 2006 20:43
Contact:

Post by ck|cyrus » 12 Jan 2007 15:37

Uhm... yes i could shorten them ;)
But now they stick together in filesystem to find them easier :)

Btw: New update out there ;) Check post #1
Visit our Servers:
TMU: "chaoskrieger.com @Stadium"
TMU: "chaoskrieger.com @Rounds"
TMN: "chaoskrieger.com @Fun"

User avatar
utal
speedy pilot
speedy pilot
Posts: 408
Joined: 30 Apr 2006 01:25
Owned TM-games: TMN, TMU, TMO, TMS
Location: Massamá, Portugal
Contact:

Post by utal » 14 Jan 2007 19:21

this is awsome!! tks for helping in track management :D

User avatar
ck|cyrus
Pit Crew
Pit Crew
Posts: 151
Joined: 11 Jul 2006 20:43
Contact:

Post by ck|cyrus » 14 Jan 2007 19:25

Thx :)
There will be a bunch of new features in the new versions.

But ATM i/we are working on aseco 1.0.0 and converting the plugins ^^
Visit our Servers:
TMU: "chaoskrieger.com @Stadium"
TMU: "chaoskrieger.com @Rounds"
TMN: "chaoskrieger.com @Fun"

User avatar
utal
speedy pilot
speedy pilot
Posts: 408
Joined: 30 Apr 2006 01:25
Owned TM-games: TMN, TMU, TMO, TMS
Location: Massamá, Portugal
Contact:

Post by utal » 15 Jan 2007 14:42

good luck with that then :)
ck|cyrus wrote:Thx :)
There will be a bunch of new features in the new versions.

But ATM i/we are working on aseco 1.0.0 and converting the plugins ^^

User avatar
CavalierDeVache
smooth traffic navigator
smooth traffic navigator
Posts: 191
Joined: 23 May 2006 23:47
Owned TM-games: tmu tmn tms tmo
Location: Yellowstone Valley
Contact:

Post by CavalierDeVache » 20 Jan 2007 23:31

Howdy

I have this installed on a United server and a LAN Nations server and it's looking good there :) But it does not work on Sunrise since it does not support SendDisplayServerMessages, it does run until someone types /atm then it freezes the chat. I wonder if my downloaded file is complete since the php file does not end with ?> or is that not needed?

User avatar
ck|cyrus
Pit Crew
Pit Crew
Posts: 151
Joined: 11 Jul 2006 20:43
Contact:

Post by ck|cyrus » 21 Jan 2007 19:09

Hmm ok thx for the info Cavalier,
i could not test the plugin in TMS or TMO. But actually i thought it would be the same functions in TMN/TMO/TMS because it is the same server version.
But unfortunately it isnt ^^

Maybe i do a downgrade to chat only for TMO/TMS in future but actually i am working on a version for aseco1.0.0 with new features

- Whitelist
- New tracks auto added if one track got removed/erased
- etc.


Stay tuned :)


Update: :lol: öhm, yes, i forgot the "?>" tag ^^ thanks to the error handling in php :roll:
Visit our Servers:
TMU: "chaoskrieger.com @Stadium"
TMU: "chaoskrieger.com @Rounds"
TMN: "chaoskrieger.com @Fun"

Evero
highway camper
highway camper
Posts: 2
Joined: 15 Jan 2007 18:58
Contact:

Post by Evero » 29 Jan 2007 20:47

Cyrus: This is a nice plugin, it really is, but I was wondering if you could make a plugin that allows "regular" guys, as in the people playing on the server to start a vote to remove a track. (As in the admin command /admin remove)

Regards, PHP noob, Evero
Last edited by Evero on 29 Jan 2007 20:58, edited 1 time in total.

User avatar
ck|cyrus
Pit Crew
Pit Crew
Posts: 151
Joined: 11 Jul 2006 20:43
Contact:

Post by ck|cyrus » 29 Jan 2007 20:49

Nice idea,
i will keep it in mind for future version :)
Thx, cyrus
Visit our Servers:
TMU: "chaoskrieger.com @Stadium"
TMU: "chaoskrieger.com @Rounds"
TMN: "chaoskrieger.com @Fun"

Evero
highway camper
highway camper
Posts: 2
Joined: 15 Jan 2007 18:58
Contact:

Post by Evero » 29 Jan 2007 21:21

ck|cyrus wrote:Nice idea,
i will keep it in mind for future version :)
Thx, cyrus
Tell me when your releasing the new version then ;)

fredde
sunday driver
sunday driver
Posts: 52
Joined: 03 Aug 2006 09:18
Contact:

Post by fredde » 13 Mar 2007 09:48

getting som trouble when i´m running fast, any ideas for that
Fatal error: Class 'Aseco' not found in /home/tmu/TrackmaniaServer/plugins/plugin.autotrackmanager.php on line 16

/F

User avatar
El Fuego
solid chaser
solid chaser
Posts: 1097
Joined: 27 Oct 2006 11:00
Owned TM-games: TMUF, TM2 C/S
Location: Nae too far frae Glesgie
Contact:

Post by El Fuego » 13 Mar 2007 14:58

Erm - because this is a plugin for ASECO? Where in this thread does it say this plugin is compatible with FAST? :roll:

(I seriously wonder about the ability of some people to read, and to comprehend what they are reading. :lol: )
Cheers!
.FUEY.
Diary Of A Mad Man

Post Reply