Plugin: AutoTrackManager

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

Moderators: Xymph, TM-Patrol

ccx
sunday driver
sunday driver
Posts: 56
Joined: 07 Feb 2009 22:41
Owned TM-games: TMUF

Re: Plugin: AutoTrackManager

Post by ccx » 21 Nov 2009 23:51

Hey W1lla !

Thx for your work ! Can you pls just say me where the function "send_window_message" is ?
[XAseco] Load plugin [plugin.autotrackmanager.php]
´╗┐[XAseco] Try to connect to TM dedicated server on 127.0.0.1:5033
[XAseco] Try to authenticate with login 'xxxxxxxxx' and password 'xxxxx'
[XAseco] Connection established successfully !
[Local DB] Load settings file [localdatabase.xml]
[Local DB] Try to connect to MySQL server on 'localhost' with database 'aseco'
[Local DB] MySQL Server Version is 5.1.30-community
[RASP] Cleaning up unused data
*-*-*-*-*-* RASP is running! *-*-*-*-*-*
|...Loading Settings
|...Loaded!
|...Checking database structure
|...Structure OK!
|...Calculating ranks
|...Done!
[11/22,00:01:08] Load default style [styles/DarkBlur.xml]
[11/22,00:01:09] Load default admin panel [panels/AdminAboveCPList.xml]
[11/22,00:01:09] Load default donate panel [panels/DonateBelowCPList.xml]
[11/22,00:01:09] Load default records panel [panels/RecordsRightBottom.xml]
[11/22,00:01:09] Load default vote panel [panels/VoteTopCenter.xml]
[11/22,00:01:11] ************* (Dedimania) *************
[11/22,00:01:11] * Dataserver connection on Dedimania ...
[11/22,00:01:11] * Try connection on http://dedimania.net:8012/Dedimania ...
[11/22,00:01:11] Webaccess (dedimania.net:80): send: deflate, receive: gzip
[11/22,00:01:11] * Connection and status ok! :)
[11/22,00:01:11] * NEWS (Dedimania, 08/05): news
[11/22,00:01:11] ------------- (Dedimania) -------------
[11/22,00:01:12] **********************(tm-karma.com)**********************
[11/22,00:01:12] plugin.tm-karma-dot-com.php/0.9.5 for xaseco
[11/22,00:01:12] Set Server location to >Morocco<
[11/22,00:01:12] Trying to authenticate with central database...
[11/22,00:01:12] Successfully started, AuthCode for this session is "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
[11/22,00:01:12] **********************************************************
###############################################
## AutoTrackManager v.0.3 loaded
## Original by ck|cyrus (martin@die-webber.com)
## edited for Xaseco by W1lla (w1llaopgezwolle@gmail.com)
###############################################
Fatal error: Call to undefined function send_window_message() in E:\xaseco\plug
ins\plugin.autotrackmanager.php on line 81

Press any key to continue...
and now the function 'atm' within the "plugin.autotrackmanager.php"
function atm(&$aseco)
{
$this->aseco = $aseco;

//load config
$this->cfg = $this->loadAtmCfg('plugin.autotrackmanager.config.xml');
$this->cfg['ENABLED'][0] = 1;
$this->cfg['VERSION'][0] = '0.3';

$this->mcolor = array('headline' => '0D0F',
'normal' => '00FF',
'red' => 'F00F',
'green' => '0D0F',
'blue' => '00FF',
'cellbg' => '222C',
);

//Showname
if($aseco->server->getGame() == 'TMF')
$this->showname = '$l[www.tmnfvenray.nl/plugin.autotrackmanager.rar]autoTrackManager$l';
else
$this->showname = 'autoTrackManager';

echo('###############################################' . CRLF);
echo('## AutoTrackManager v.'.$this->cfg['VERSION'][0].' loaded' . CRLF);
echo('## Original by ck|cyrus (martin@die-webber.com)' . CRLF);
echo('## edited for Xaseco by W1lla (w1llaopgezwolle@gmail.com)' . CRLF);
echo('###############################################' . CRLF);

$msg = $this->aseco->formatColors('{#server}>> '.$this->showname.' {#message}loaded successfully! Type /atm');

//send_window_message($aseco, $msg, false);

}
If I //comment the line 81, that works. I mean, I have no error with Xaseco, and the /atm function displays me the atm's config panel.
Can I leave this as is, or is it better to add the function 'send_window_message' ?
Then where can I find it pls ?
thx,
ccx. (Xaseco V1.10)

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Re: Plugin: AutoTrackManager

Post by w1lla » 22 Nov 2009 07:37

Code: Select all

//Showname
if($aseco->server->getGame() == 'TMF') 
$this->showname = '$l[www.tmnfvenray.nl/plugin.autotrackmanager.rar]autoTrackManager$l';
else
$this->showname = 'autoTrackManager';
is the window message that appears ingame.

but the link is outdated and useless...

the rest will work if you use that one.

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

ccx
sunday driver
sunday driver
Posts: 56
Joined: 07 Feb 2009 22:41
Owned TM-games: TMUF

Re: Plugin: AutoTrackManager

Post by ccx » 22 Nov 2009 19:50

Sorry W1lla... I don't understand ... This code is the missing function, or it replace the line 81 ?
Then what is supposed to be in the Url ?

Thx,

ccx.

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Re: Plugin: AutoTrackManager

Post by w1lla » 07 Jan 2010 09:53

Fixed.

was a error due to the plugin being made pre 1.10.

www.w1lla.nl/plugin.autotrackmanager.zip

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

User avatar
Jackel
speedy pilot
speedy pilot
Posts: 316
Joined: 06 Oct 2006 09:57
Owned TM-games: TMN,TMU,&TMS
Location: Florida, USA
Contact:

Re: Plugin: AutoTrackManager

Post by Jackel » 04 Jul 2010 05:40

willa, any chance of modifying the code too check for author time too make sure a track is not too short for ladder servers?
Founder and Admin of Cobra Gaming Systems.

Image
Image
Image

User avatar
Ejri_Ma_Tjrich
pedestrian
pedestrian
Posts: 8
Joined: 13 Nov 2009 07:22
Owned TM-games: TMNF
Contact:

Re: Plugin: AutoTrackManager

Post by Ejri_Ma_Tjrich » 22 Aug 2010 14:19

hi all
i installed the plugin but i got a probem,when in game i type /atm doesn't work , then i tryied /atm setpercent ,it said to me that i have to be admin to use this fonction, but i am a masteradmin.
Image
Image
Image

User avatar
nicomoore0
speedy pilot
speedy pilot
Posts: 325
Joined: 27 May 2008 16:58
Owned TM-games: All
Location: Scotland

Re: Plugin: AutoTrackManager

Post by nicomoore0 » 12 Apr 2011 19:25

Does anyone still have this? The download link isn't working :(

Thanks
C®AżΨ αηηιнιllαтσя ッ
We Are Crazy server <<-- Click to join
Server Location
United Kingdom -> England -> London

Xymph
Pit Crew
Pit Crew
Posts: 5714
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: Plugin: AutoTrackManager

Post by Xymph » 12 Apr 2011 19:32

nicomoore0 wrote:Does anyone still have this? The download link isn't working
From someone who offered to mirror my plugins repository just a month ago, that's a very weird question. :P
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

User avatar
nicomoore0
speedy pilot
speedy pilot
Posts: 325
Joined: 27 May 2008 16:58
Owned TM-games: All
Location: Scotland

Re: Plugin: AutoTrackManager

Post by nicomoore0 » 12 Apr 2011 20:59

Xymph wrote:
nicomoore0 wrote:Does anyone still have this? The download link isn't working
From someone who offered to mirror my plugins repository just a month ago, that's a very weird question. :P
Not been on in a while lol. I completely forgot about xaseco.org, but bogged under with coursework :) Ty for the reminder dude :D
C®AżΨ αηηιнιllαтσя ッ
We Are Crazy server <<-- Click to join
Server Location
United Kingdom -> England -> London

giu
sunday driver
sunday driver
Posts: 68
Joined: 30 Apr 2007 09:38
Owned TM-games: tm?
Contact:

Re: Plugin: AutoTrackManager

Post by giu » 05 May 2011 15:17

Great tool!

But... ^^

The message saying a track has been deleted due to bad karma is NOT displayed too all players?!??!? At least not here on my server, but Admins only. Can i change a little something, so that message will be seen by all?

Best regards

Giu
Image

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Re: Plugin: AutoTrackManager

Post by w1lla » 06 May 2011 08:05

Yes thats possible.

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

giu
sunday driver
sunday driver
Posts: 68
Joined: 30 Apr 2007 09:38
Owned TM-games: tm?
Contact:

Re: Plugin: AutoTrackManager

Post by giu » 06 May 2011 10:27

lol, yes. great. i figured that much. but can anyone tell me what to change please?
Image

gringomortale
wheelbarrow operator
wheelbarrow operator
Posts: 15
Joined: 19 Jul 2006 11:02

Re: Plugin: AutoTrackManager

Post by gringomortale » 07 May 2011 19:46

i would like to know too. sorry me not programming skills having. i try undersand script but i dunno anything :roll:

Post Reply