Match Save Plugin XAseco

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

Moderators: Xymph, TM-Patrol

Post Reply
User avatar
www.22ndsas.org.uk
happy cruiser
happy cruiser
Posts: 111
Joined: 08 Jun 2006 17:17
Owned TM-games: Orig, Sunrise, Tmnuf
Location: East Coast (UK)
Contact:

Match Save Plugin XAseco

Post by www.22ndsas.org.uk » 18 Sep 2009 12:35

Hi guys done a search & not found the answer iam looking for.

Question with the match save plugin when this saves the results to race_results.html it lists the match from start to finish is there away of having it list finish to start so that the last track you have in the match is the first track you see in the results.

Hope that makes sence.

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

Re: Match Save Plugin XAseco

Post by nicomoore0 » 19 Sep 2009 02:38

Its already built into it.

Type: "/match start 10" to autostart 10 maps to race and it will store a .html file in the FTP of your server. Ensure the plugin is enabled by going to MENU >> MATCH >> ADMINISTRATION >> PLUGIN ENABLED (*) It will be enabled when the button glows green
C®AżΨ αηηιнιllαтσя ッ
We Are Crazy server <<-- Click to join
Server Location
United Kingdom -> England -> London

nocturne
solid chaser
solid chaser
Posts: 1390
Joined: 08 Jun 2007 18:48
Owned TM-games: all
Contact:

Re: Match Save Plugin XAseco

Post by nocturne » 19 Sep 2009 04:04

Open up your plugin.matchsave.php file, navigate to line 420 or so and replace:

Code: Select all

		$fp = fopen($MatchSettings['outfilematch'], 'w');
		fwrite($fp, $matchString);
		fclose($fp);
with this:

Code: Select all

		$matchString = array_reverse($matchString);
		$fp = fopen($MatchSettings['outfilematch'], 'w');
		fwrite($fp, $matchString);
		fclose($fp);

dago
sunday driver
sunday driver
Posts: 61
Joined: 20 Feb 2009 18:43
Owned TM-games: tmuf

Re: Match Save Plugin XAseco

Post by dago » 21 Sep 2009 18:17

Hi all

Since i activated Matchsave pugin i have weird problem.

The top left menu and operator panel are not there
sometimes well most of the times but not everytime for admin and operators and i dont know if it appends to regular players

for the operators and admin using this command
/admin panel default
Solve the operator panel but not the menu panel

I have these errors when i start xaseco but not every time

Code: Select all

[XAseco] PHP Version is 5.2.6 on WINNT
[XAseco] Load settings [config.xml]
[XAseco] Load admin/ops lists [adminops.xml]
[XAseco] Load banned IPs list [bannedips.xml]
[XAseco] Load plugins list [plugins.xml]
[XAseco] Load plugin [plugin.localdatabase.php]
[XAseco] Load plugin [plugin.rounds.php]
[XAseco] Load plugin [chat.admin.php]
[XAseco] Load plugin [chat.help.php]
[XAseco] Load plugin [chat.records.php]
[XAseco] Load plugin [chat.records2.php]
[XAseco] Load plugin [chat.recrels.php]
[XAseco] Load plugin [chat.dedimania.php]
[XAseco] Load plugin [chat.players.php]
[XAseco] Load plugin [chat.players2.php]
[XAseco] Load plugin [chat.wins.php]
[XAseco] Load plugin [chat.laston.php]
[XAseco] Load plugin [chat.stats.php]
[XAseco] Load plugin [chat.server.php]
[XAseco] Load plugin [chat.song.php]
[XAseco] Load plugin [chat.me.php]
[XAseco] Load plugin [plugin.muting.php]
[XAseco] Load plugin [plugin.tmxinfo.php]
[XAseco] Load plugin [plugin.sminfo.php]
[XAseco] Load plugin [plugin.track.php]
[XAseco] Load plugin [plugin.checkpoints.php]
[XAseco] Load plugin [plugin.dedimania.php]
[XAseco] Load plugin [plugin.rasp.php]
[XAseco] Load plugin [plugin.rasp_jukebox.php]
[XAseco] Load plugin [plugin.rasp_chat.php]
[XAseco] Load plugin [plugin.rasp_karma.php]
[XAseco] Load plugin [plugin.rasp_nextmap.php]
[XAseco] Load plugin [plugin.rasp_nextrank.php]
[XAseco] Load plugin [plugin.rasp_votes.php]
[XAseco] Load plugin [plugin.chatlog.php]
[XAseco] Load plugin [plugin.style.php]
[XAseco] Load plugin [plugin.panels.php]
[XAseco] Load plugin [plugin.donate.php]
[XAseco] Load plugin [plugin.fufi.widgets.php]
[XAseco] Load plugin [plugin.uptodate.php]
[XAseco] Load plugin [plugin.rpoints.php]
[XAseco] Load plugin [plugin.autotime.php]
[XAseco] Load plugin [jfreu.plugin.php]
[XAseco] Load plugin [plugin.bestruns.php]
[XAseco] Load plugin [mistral.idlekick.php]
[XAseco] Load plugin [plugin.fufi.menu.php]
[XAseco] Load plugin [plugin.fufi.autoqueue.php]
[XAseco] Load plugin [plugin.entermessage.php]
[XAseco] Load plugin [plugin.lotto.php]
[XAseco] Load plugin [plugin.autoendround.php]
[XAseco] Load plugin [vineeth.bet.plugin.php]
[XAseco] Load plugin [plugin.autotime.php]
[XAseco] Load plugin [plugin.matchsave.php]
[XAseco] Try to connect to TM dedicated server on XXX.XXX.XXX.XXX:XXXX
[XAseco] Try to authenticate with login 'XXXXXXXX' and password 'XXXXXXXX'
[XAseco] Connection established successfully !
[Local DB] Load settings file
[Local DB] Try to connect to MySQL server on 'localhost' with database 'xaseco'
[Local DB] MySQL Server Version is 5.0.51b-community-nt
[RASP] Cleaning up unused data
*-*-*-*-*-* RASP is running! *-*-*-*-*-*
|...Loading Settings
|...Loaded!
|...Checking database structure
|...Structure OK!
|...Calculating ranks
|...Done!
[09/19,14:58:29] Load default style [styles/DarkBlur.xml]
[09/19,14:58:29] Load default admin panel [panels/AdminBelowChat.xml]
[09/19,14:58:29] Load default donate panel [panels/DonateBelowCPList.xml]
[09/19,14:58:29] Load default records panel [panels/RecordsRightBottom.xml]
[09/19,14:58:29] Load default vote panel [panels/VoteBelowChat.xml]
[09/19,14:58:29] ## ## ##  Lottery initialized! Ignored players: 3  ## ## ##
[09/19,14:58:29] ************* (Dedimania) *************
[09/19,14:58:29] * Dataserver connection on Dedimania ...
[09/19,14:58:29] * Try connection on http://dedimania.net:8016/Dedimania ...
[09/19,14:58:30] Webaccess (dedimania.net:80): send: deflate, receive: gzip
[09/19,14:58:30] * Connection and status ok! :)
[09/19,14:58:30] * NEWS (Dedimania, 08/05): news
[09/19,14:58:30] ------------- (Dedimania) -------------
[09/19,14:58:31] Initialize default rounds points: Formula 1 GP - 10,6,4,3,2,1
[09/19,14:58:31] << player 137 joined the game [dago : $w$900©$fffD : Canada : 1361 : XXX.XXX.XXX.XXX]
[09/19,14:58:31] << player 131 joined the game [_jeepee_ : $W$900©$fffJEEPEE : Canada : 219028 : XX.XX.XX.XX]
###############################################################################
  XASECO v1.09 running on XXX.XXX.XXX.XXX:XXXX
  Name   : VITAMINE © - XXXXXXX
  Game   : TmForever United - Stadium - TimeAttack
  Version: 2.11.21 / 2009-05-25
  Authors: Florian Schnell & Assembler Maniac
  Re-Authored: Xymph
###############################################################################
[PHP Warning] mysql_num_rows(): supplied argument is not a valid MySQL result resource on line 832 in file C:\xaseco\plugins\plugin.fufi.widgets.php
[09/19,14:58:33] Webaccess (dedimania.net:8016): send: deflate, receive: deflate
and this

Code: Select all

[XAseco] PHP Version is 5.2.6 on WINNT
[XAseco] Load settings [config.xml]
[XAseco] Load admin/ops lists [adminops.xml]
[XAseco] Load banned IPs list [bannedips.xml]
[XAseco] Load plugins list [plugins.xml]
[XAseco] Load plugin [plugin.localdatabase.php]
[XAseco] Load plugin [plugin.rounds.php]
[XAseco] Load plugin [chat.admin.php]
[XAseco] Load plugin [chat.help.php]
[XAseco] Load plugin [chat.records.php]
[XAseco] Load plugin [chat.records2.php]
[XAseco] Load plugin [chat.recrels.php]
[XAseco] Load plugin [chat.dedimania.php]
[XAseco] Load plugin [chat.players.php]
[XAseco] Load plugin [chat.players2.php]
[XAseco] Load plugin [chat.wins.php]
[XAseco] Load plugin [chat.laston.php]
[XAseco] Load plugin [chat.stats.php]
[XAseco] Load plugin [chat.server.php]
[XAseco] Load plugin [chat.song.php]
[XAseco] Load plugin [chat.me.php]
[XAseco] Load plugin [plugin.muting.php]
[XAseco] Load plugin [plugin.tmxinfo.php]
[XAseco] Load plugin [plugin.sminfo.php]
[XAseco] Load plugin [plugin.track.php]
[XAseco] Load plugin [plugin.checkpoints.php]
[XAseco] Load plugin [plugin.dedimania.php]
[XAseco] Load plugin [plugin.rasp.php]
[XAseco] Load plugin [plugin.rasp_jukebox.php]
[XAseco] Load plugin [plugin.rasp_chat.php]
[XAseco] Load plugin [plugin.rasp_karma.php]
[XAseco] Load plugin [plugin.rasp_nextmap.php]
[XAseco] Load plugin [plugin.rasp_nextrank.php]
[XAseco] Load plugin [plugin.rasp_votes.php]
[XAseco] Load plugin [plugin.chatlog.php]
[XAseco] Load plugin [plugin.style.php]
[XAseco] Load plugin [plugin.panels.php]
[XAseco] Load plugin [plugin.donate.php]
[XAseco] Load plugin [plugin.fufi.widgets.php]
[XAseco] Load plugin [plugin.uptodate.php]
[XAseco] Load plugin [plugin.rpoints.php]
[XAseco] Load plugin [plugin.autotime.php]
[XAseco] Load plugin [jfreu.plugin.php]
[XAseco] Load plugin [plugin.bestruns.php]
[XAseco] Load plugin [mistral.idlekick.php]
[XAseco] Load plugin [plugin.fufi.menu.php]
[XAseco] Load plugin [plugin.fufi.autoqueue.php]
[XAseco] Load plugin [plugin.entermessage.php]
[XAseco] Load plugin [plugin.lotto.php]
[XAseco] Load plugin [plugin.autoendround.php]
[XAseco] Load plugin [vineeth.bet.plugin.php]
[XAseco] Load plugin [plugin.autotime.php]
[XAseco] Load plugin [plugin.matchsave.php]
[XAseco] Try to connect to TM dedicated server on XXX.XXX.XXX.XXX:XXXX
[XAseco] Try to authenticate with login 'XXXXXXXXX' and password 'XXXXXXX'
[XAseco] Connection established successfully !
[Local DB] Load settings file
[Local DB] Try to connect to MySQL server on 'localhost' with database 'xaseco'
[Local DB] MySQL Server Version is 5.0.51b-community-nt
[RASP] Cleaning up unused data
*-*-*-*-*-* RASP is running! *-*-*-*-*-*
|...Loading Settings
|...Loaded!
|...Checking database structure
|...Structure OK!
|...Calculating ranks
|...Done!
[09/19,09:23:26] Load default style [styles/DarkBlur.xml]
[09/19,09:23:27] Load default admin panel [panels/AdminBelowChat.xml]
[09/19,09:23:27] Load default donate panel [panels/DonateBelowCPList.xml]
[09/19,09:23:27] Load default records panel [panels/RecordsRightBottom.xml]
[09/19,09:23:27] Load default vote panel [panels/VoteBelowChat.xml]
[09/19,09:23:27] ## ## ##  Lottery initialized! Ignored players: 3  ## ## ##
[09/19,09:23:27] ************* (Dedimania) *************
[09/19,09:23:27] * Dataserver connection on Dedimania ...
[09/19,09:23:27] * Try connection on http://dedimania.net:8006/Dedimania ...
[09/19,09:23:27] Webaccess (dedimania.net:80): send: deflate, receive: gzip
[09/19,09:23:27] * Connection and status ok! :)
[09/19,09:23:27] * NEWS (Dedimania, 08/05): news
[09/19,09:23:27] ------------- (Dedimania) -------------
[09/19,09:23:28] Initialize default rounds points: Formula 1 GP - 10,6,4,3,2,1
[09/19,09:23:28] << player 192 joined the game [dago : $w$900©$fffD : Canada : 95685 : 
[09/19,09:23:29] << player 190 joined the game [psychoqc : $w$900©$fffPsychoQc : Canada : 127213 : 
[09/19,09:23:29] << player 187 joined the game [disturbedone : $04b-:Ecl$069ipt$04bicA:- : Canada : 396752 
###############################################################################
  XASECO v1.09 running on XXX.XXX.XXX.XXX:XXXX
  Name   : VITAMINE © - XXXXXXX
  Game   : TmForever United - Stadium - TimeAttack
  Version: 2.11.21 / 2009-05-25
  Authors: Florian Schnell & Assembler Maniac
  Re-Authored: Xymph
###############################################################################
Begin Round
[PHP Warning] mysql_num_rows(): supplied argument is not a valid MySQL result resource on line 832 in file C:\xaseco\plugins\plugin.fufi.widgets.php
[09/19,09:23:31] Webaccess (dedimania.net:8006): send: deflate, receive: deflate
But sometimes i dont have errors, might be related if there is players or not on server
And even if i dont get error still have problem with menu and operator panel

Thank you for whoever spent time to help me

Dan
join VITAMINEC
Servermania V 0.98
xaseco 1.10

User avatar
www.22ndsas.org.uk
happy cruiser
happy cruiser
Posts: 111
Joined: 08 Jun 2006 17:17
Owned TM-games: Orig, Sunrise, Tmnuf
Location: East Coast (UK)
Contact:

Re: Match Save Plugin XAseco

Post by www.22ndsas.org.uk » 23 Sep 2009 15:31

Thanks nocturne

Post Reply