XASECO (TMN/TMF) v1.02

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
Xymph
Pit Crew
Pit Crew
Posts: 5645
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

XASECO (TMN/TMF) v1.02

Post by Xymph » 24 Jul 2008 22:22

It's that time again, time for a new XAseco release. This v1.02 update offers a TMF system message window that's configurable to a large degree, the new /admin call command for low-level server control on both TMN and TMF, support for .OGG comments in the music server, nice icons on all window headers in TMF, options for the /recs and /dedirecs commands, other enhancements for Forever and original TMN, and a couple of bug fixes.

Note that this release requires the new 2008-07-22 build. Here are the full release notes:

New features and other changes in the v1.02 release of XASECO:
  • * new support for a system message window on TMF with the following features:
    • * the message window becomes available when plugin.msglog.php is enabled (uncommented) in plugins.xml
      * various system messages that are sent to all players in the chat window can now be diverted into the message window in order to reduce chat clutter
      * the window normally pops up with the last 4 message lines whenever a new message is received, using a timeout that is configurable via new config.xml setting <window_timeout> (default: 6 seconds)
      * during the scoreboard at the end of each track, the window pops up with the last 6 lines if there are any new messages, for the same duration as the server's ChatTime setting (default: 10 seconds) plus an extra 5 seconds for the podium animation before the scoreboard comes up
      * the window size is restricted to 4 and 6 lines respectively due to the available screen space between the notice area and drop-down menu above it, and the main command window or scoreboard (at its largest size) below it
      * the new /msglog command displays the last 30 message lines so players can check back the system message history
      * messages to be diverted into this window can be any or all from:
      • * new/improved/equalled local records, configurable via new config.xml setting <recs_in_window> (True/False)
        * new/improved/equalled Dedimania records, configurable via new dedimania.xml setting <recs_in_window> (True/False)
        * the local records report before a track, configurable via config.xml setting <show_recs_before> (add 4 to original value: 6 = full report in window, 5 = track record in window, 2 = full report in chat, 1 = track record in chat, 0 = off)
        * the local records report after a track, configurable via config.xml setting <show_recs_after> (add 4 to original value: 6 = full report in window, 5 = top-5 in window, 2 = full report in chat, 1 = top-5 in chat, 0 = off)
        * the Dedimania records report before a track, configurable via dedimania.xml setting <show_recs_before> (2 = message window, 1 = chat, 0 = off)
        * the Dedimania records report after a track, configurable via dedimania.xml setting <show_recs_after> (2 = message window, 1 = chat, 0 = off)
        * the round finish reports in Rounds mode, configurable via new config.xml setting <rounds_in_window> (True/False)
        * the TMX World Record message at the start of a track, configurable via config.xml setting <show_tmxrec> (2 = message window, 1 = chat, 0 = off)
        * the total playtime message at the end of a track, configurable via config.xml setting <show_playtime> (2 = message window, 1 = chat, 0 = off)
        * the Jfreu Info message at the end of a track, configurable via jfreu.config.php setting $infomessages (2 = message window, 1 = chat, 0 = off)
    * new /admin call command for MasterAdmins to directly execute a server call, essentially incorporating most of the RPC Utilities, with the following options:
    • * help: Displays help information
      * help Method: Displays help for method
      * list: Lists all available methods
      * Method {params}: Executes method with any necessary parameter(s) and displays any result(s)
      * boolean parameters should be entered as 'true' and 'false' (without the single quotes); string parameters consisting of multiple words need to be entered between double quotes (")
      * methods that require an array or struct as parameter are not supported
      * Admins and Operators cannot use this command regardless of the <call> setting in adminops.xml, as it would permit them to bypass all the normal ability checks
    * new support for .OGG comments (ID3 tags) in the TMF music server plugin:
    • * the new <cache_tags> setting in musicserver.xml defines whether to cache and display comments (typically ID3 tags) for all .OGG files in the song list
      * the new <cache_file> setting defines the filename where the cached comments are stored (default: musictagscache.xml)
      * when the cache file doesn't exist upon restarting XAseco, it is created, and all .OGG files are read and their comments extracted
      * upon further XAseco restarts, and when using /music reload, the cache file is used to load the comments for all known songs, and only the .OGG files for new songs are read
      * only the first block (512 bytes) of each .OGG file is read to minimize server traffic and start-up time, but obviously this can still take some time when building the initial cache for a large song collection
      * the cache file is then immediately written out with the title and artist for all songs, ready for future restarts and reloads
      * if comments are enabled, the /music current and /music settings commands include the title and artist in their output, and the /music list command displays a secondary line with the title and artist for every song
      * the cache file can be edited manually to make adjustments or corrections to the title and artist information
      * .MUX files are ignored because they are encrypted and cannot be parsed for their comments
    * on TMF (except when /style is off) all windows now show an icon in the left corner of the header that's appropriate for that window's content
    * on TMF if config.xml setting <clickable_lists> is True, the karma values in the /list karma output are buttons to invoke /karma on the selected track
    * on TMF in the /jukebox display output, admins with the 'clearjukebox' ability get buttons at the end of every page to invoke /admin clearjukebox
    * the /recs and /dedirecs commands now accept the following options:
    • * help: Displays help information
      * pb: Runs the /pb or /dedipb command, respectively
      * new: Runs the /newrecs or /dedinew command
      * live: Runs the /liverecs or /dedilive command
      * first: Runs the /firstrec or /dedifirst command
      * last: Runs the /lastrec or /dedilast command
      * next: Runs the /nextrec or /dedinext command
      * diff: Runs the /diffrec or /dedidiff command
      * range: Runs the /recrange or /dedirange command
      * without an option, they display the local or Dedimania records for the current track as before
    * the main aseco.php program now contains a few configuration definitions that cannot be stored in a .php or .xml file:
    • * ABBREV_COMMANDS controls whether to define abbreviations for some chat commands: /ad for /admin, /jb for /jukebox, and /aj for /autojuke -- this was previously controlled by uncommenting a few lines in the pertaining source files
      * INHIBIT_RECCMDS controls whether all local and Dedimania record relations commands are disabled from the /help and /helpall lists; these are: /pb, /newrecs, /liverecs, /firstrec, /lastrec, /nextrec, /diffrec, /recrange as well as /dedipb, /dedinew, /dedilive, /dedifirst, /dedilast, /dedinext, /dedidiff, /dedirange -- note that the commands can still be used (and on TMN will be echoed to the chat window when doing so)* MONTHLY_LOGSDIR defines whether to write the log in monthly chunks in a "logs/" subdirectory -- this was previously controlled by the $log_monthly_logsdir variable in function doLog() in includes/basic.inc.php
    * on TMF, tweaked the Z-values of the single- and multi-page windows so that they clearly stay "on top of" the full chat window (except when /style is off, as those windows were already displayed correctly)
    * if $always_show_pb = false in rasp.settings.php, the Personal Best message at the start of each track is also skipped if the player uses the records panel on TMF
    * the default name for the matchsettings file used by /admin readtracklist and /admin writetracklist is now configurable via new config.xml setting <default_tracklist> (default: tracklist.txt)
    * it's now possible to add an extra explanation to the /help output to help new players, configurable via new config.xml setting <help_explanation> (default: False)
    * chat-based voting commands can be temporarily disabled during the scoreboard at the end of a track, configurable via new votes.config.php setting $disable_while_sb (default: true)
    * the default number of tracks displayed by /list newest and /list oldest is now 50
    * the dedimania.xml settings <log_news>, <show_recs_range> and <display_recs> should now be specified as True/False instead of 1/0
    * the Dedimania system "refresh" is reduced from once every 3 minutes to once every 4 minutes
    * the /donpanel command is now disabled if plugin.donate.php is disabled in plugins.xml
    * optimized URL parsing in the get_file functions of the SMInfoFetcher, TMNDataFetcher, TMXInfoFetcher and TMXInfoSearcher modules
    * new window style ProgressBar, admin panel AboveSpeed2, donate panels LeftSmall and RightSmall, and vote panel BottomCenterTransp, courtesy of nouseforname
    * this release requires the latest server build 2008-07-22
Bug fixes in the v1.02 release of XASECO:
  • * on some PHP systems all ManiaLink windows are broken -- fixed by setting locale LC_NUMERIC = "C"
    * on some servers players that leave have their win counts cleared -- fixed this long-standing issue
    * /ladder and /replay are unable to reload the current track (temporarily added via /add) if that has just been added permanently via /admin addthis -- fixed
    * disabling the default donate panel in config.xml also disables the admin panel -- fixed
Remember these installation notes:
  • Important:

    * To register your server with the central Dedimania database, you must copy the login and password values in the <masterserver_account> section from your server's dedicated.cfg (TMN) or dedicated_cfg.txt (TMF) file into the corresponding section of the dedimania.xml file, and add the 3-character nation abbreviation. Instead of the password you can also use the community code for your server by using the server login/password on the official site for your game (TMO/TMS/TMN) or on this page for TMF.
    * Open ports 8003, 8006, 8007, 8011, 8012 and 8013 on your firewall/router for communication with the central Dedimania server (if that's not possible, the system falls back on port 80).
    * In the zip file, all *.XML and *.PHP config files are now located inside the newinstall/ directory. This means that you can (and have to) unzip the download and replace all the PHP code files, without worrying about overwriting your customized config files. However, for every XML/PHP config file that was updated (see above), you must replace your version with the one from the newinstall/ directory, or compare them and add any new/changed configuration settings to your version to insure the system remains working correctly.
    * For a new installation, go into the newinstall/ directory and move all *.XML files into the main directory, next to aseco.php, and *.PHP files into the includes/ directory.
Grab it from http://www.gamers.org/tmn/ .

Cheers,
Xymph
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

djarrett
smooth traffic navigator
smooth traffic navigator
Posts: 235
Joined: 04 Jul 2006 15:01
Owned TM-games: TMO,TMS,TMN,TMU,TMUF
Location: Fayetteville,GA
Contact:

Re: XASECO (TMN/TMF) v1.02

Post by djarrett » 24 Jul 2008 23:31

HI,
I downloaded xaseco v1.02, and installed it on windows XP..with new server build 2008-07-22
I get an error..not sure why?
version 1.01 worked just fine
# initialize XASECO ############################################################

[XAseco] PHP Version is 5.2.4 on WINNT
[XAseco] Load settings [config.xml]
[XAseco] Load admin/ops lists [adminops.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.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.tmxinfo.php]
[XAseco] Load plugin [plugin.sminfo.php]
[XAseco] Load plugin [plugin.track.php]
[XAseco] Load plugin [plugin.checkpoints.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.uptodate.php]
[XAseco] Load plugin [jfreu.plugin.php]
[XAseco] Load plugin [mistral.idlekick.php]
[XAseco] Try to connect to TM dedicated server on 127.0.0.1:5072
[XAseco] Try to authenticate with login 'privite' and password 'privite'
[XAseco] Connection established successfully !
[Local DB] Load settings file
[Local DB] Try to connect to MySQL server on 'localhost' with database 'usbtmnas
eco1'
[Local DB] MySQL Server Version is 5.0.24a-community-nt
[RASP] Cleaning up unused data
*-*-*-*-*-* RASP is running! *-*-*-*-*-*
|...Loading Settings
|...Loaded!
|...Checking database structure
|...Structure OK!
|...Calculating ranks
|...Done!
[07/24,19:31:34] Load default style [styles/DarkBlur.xml]
[07/24,19:31:34] Load default admin panel [panels/AdminBelowChat.xml]
[07/24,19:31:34] Load default donate panel [panels/DonateBelowCPList.xml]
[07/24,19:31:34] Load default records panel [panels/RecordsRightBottom.xml]
[07/24,19:31:34] Load default vote panel [panels/VoteBelowChat.xml]
[PHP Warning] include(includes/votes.config.php): failed to open stream: No such
file or directory on line 47 in file C:\usbTMFserver_v2.2\Tmn\xaseco_2\plugins\
plugin.rasp_votes.php
[PHP Warning] include(): Failed opening 'includes/votes.config.php' for inclusio
n (include_path='.;C:\php5\pear') on line 47 in file C:\usbTMFserver_v2.2\Tmn\xa
seco_2\plugins\plugin.rasp_votes.php
###############################################################################
XASECO v1.02 running on 127.0.0.1:5072
Name : UnGreatful Bastards (TMUF) - xxxxxx xxxxxxxx
Game : TmForever United - United - TimeAttack
Version: 2.11.14 / 2008-07-22
Authors: Florian Schnell & Assembler Maniac
Re-Authored: Xymph
###############################################################################
Begin Race
[07/24,19:31:35] track changed [none] >> [IslandA3]
[07/24,19:31:35] current record on IslandA3 is 0:20.33 and held by SirBastardDJ

User avatar
lille79
Pit Crew
Pit Crew
Posts: 881
Joined: 09 Dec 2007 15:04
Owned TM-games: TMN, TMNF, TMUF
Location: Norway
Contact:

Re: XASECO (TMN/TMF) v1.02

Post by lille79 » 25 Jul 2008 00:04

Setting in config.xml

Code: Select all

<show_recs_before>5</show_recs_before>

gives

Code: Select all

[XAseco] PHP Version is 5.2.4 on WINNT
[XAseco] Load settings [config.xml]
[XAseco] Load admin/ops lists [adminops.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.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.msglog.php]
[XAseco] Load plugin [plugin.style.php]
[XAseco] Load plugin [plugin.panels.php]
[XAseco] Load plugin [plugin.uptodate.php]
[XAseco] Load plugin [jfreu.plugin.php]
[XAseco] Load plugin [mistral.idlekick.php]
[XAseco] Try to connect to TM dedicated server on 127.0.0.1:5071
[XAseco] Try to authenticate with login 'SuperAdmin' and password '*******'
[XAseco] Connection established successfully !
[Local DB] Load settings file
[Local DB] Try to connect to MySQL server on 'localhost' with database 'usbtmnaseco1'
[Local DB] MySQL Server Version is 5.0.24a-community-nt
[RASP] Cleaning up unused data
*-*-*-*-*-* RASP is running! *-*-*-*-*-*
|...Loading Settings
|...Loaded!
|...Checking database structure
|...Structure OK!
|...Calculating ranks
|...Done!
[07/25,01:58:56] Load default style [styles/WhiteCard.xml]
[07/25,01:58:56] Load default admin panel [panels/AdminBelowChat.xml]
[07/25,01:58:56] Load default donate panel [panels/DonateBelowCPList.xml]
[07/25,01:58:56] Load default records panel [panels/RecordsRightBottom.xml]
[07/25,01:58:56] Load default vote panel [panels/VoteBelowChat.xml]
[07/25,01:58:56] << player 248 joined the game [lille79 : $04fSSR$ffflille79 : Norway : 19822 : 85.164.13.150]
[07/25,01:58:56] ************* (Dedimania) *************
[07/25,01:58:56] * Dataserver connection on Dedimania ...
[07/25,01:58:56] * Try connection on http://dedimania.net:8012/Dedimania ...
[07/25,01:58:57] Webaccess (dedimania.net:80): send: deflate, receive: gzip
[07/25,01:58:57] * Connection and status ok! :)
[07/25,01:58:57] * NEWS (Dedimania, 08/05): news
[07/25,01:58:57] ------------- (Dedimania) -------------
###############################################################################
  XASECO v1.02 running on 127.0.0.1:5071
  Name   : usbTMFserver - lille79server5
  Game   : TmForever United - Stadium - TimeAttack
  Version: 2.11.14 / 2008-07-22
  Authors: Florian Schnell & Assembler Maniac
  Re-Authored: Xymph
###############################################################################
Begin Race
[07/25,01:58:58] track changed [none] >> [Road to Hell ssm]
[07/25,01:58:58] current record on Road to Hell ssm is 0:52.28 and held by SSRlille79
[PHP Warning] Missing argument 3 for send_window_message(), called in D:\Temp\usbTMFserver2.4wf\TMF\control\xaseco_1\aseco.php on line 1135 and defined on line 22 in file D:\Temp\usbTMFserver2.4wf\TMF\control\xaseco_1\plugins\plugin.msglog.php
So something wrong, and Xaseco stops, but setting in config.xml

Code: Select all

<show_recs_before>6</show_recs_before>
gives

Code: Select all

[XAseco] PHP Version is 5.2.4 on WINNT
[XAseco] Load settings [config.xml]
[XAseco] Load admin/ops lists [adminops.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.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.msglog.php]
[XAseco] Load plugin [plugin.style.php]
[XAseco] Load plugin [plugin.panels.php]
[XAseco] Load plugin [plugin.uptodate.php]
[XAseco] Load plugin [jfreu.plugin.php]
[XAseco] Load plugin [mistral.idlekick.php]
[XAseco] Try to connect to TM dedicated server on 127.0.0.1:5071
[XAseco] Try to authenticate with login 'SuperAdmin' and password '*******'
[XAseco] Connection established successfully !
[Local DB] Load settings file
[Local DB] Try to connect to MySQL server on 'localhost' with database 'usbtmnaseco1'
[Local DB] MySQL Server Version is 5.0.24a-community-nt
[RASP] Cleaning up unused data
*-*-*-*-*-* RASP is running! *-*-*-*-*-*
|...Loading Settings
|...Loaded!
|...Checking database structure
|...Structure OK!
|...Calculating ranks
|...Done!
[07/25,01:59:54] Load default style [styles/WhiteCard.xml]
[07/25,01:59:54] Load default admin panel [panels/AdminBelowChat.xml]
[07/25,01:59:54] Load default donate panel [panels/DonateBelowCPList.xml]
[07/25,01:59:54] Load default records panel [panels/RecordsRightBottom.xml]
[07/25,01:59:54] Load default vote panel [panels/VoteBelowChat.xml]
[07/25,01:59:54] << player 248 joined the game [lille79 : $04fSSR$ffflille79 : Norway : 19822 : 85.164.13.150]
[07/25,01:59:55] ************* (Dedimania) *************
[07/25,01:59:55] * Dataserver connection on Dedimania ...
[07/25,01:59:55] * Try connection on http://dedimania.net:8012/Dedimania ...
[07/25,01:59:55] Webaccess (dedimania.net:80): send: deflate, receive: gzip
[07/25,01:59:55] * Connection and status ok! :)
[07/25,01:59:55] * NEWS (Dedimania, 08/05): news
[07/25,01:59:55] ------------- (Dedimania) -------------
###############################################################################
  XASECO v1.02 running on 127.0.0.1:5071
  Name   : usbTMFserver - lille79server5
  Game   : TmForever United - Stadium - TimeAttack
  Version: 2.11.14 / 2008-07-22
  Authors: Florian Schnell & Assembler Maniac
  Re-Authored: Xymph
###############################################################################
Begin Race
[07/25,01:59:56] track changed [none] >> [Road to Hell ssm]
[07/25,01:59:56] current record on Road to Hell ssm is 0:52.28 and held by SSRlille79
[07/25,01:59:57] Webaccess (dedimania.net:8012): send: deflate, receive: deflate
All OK

Just a heads up :)

Works great otherwise it seems, but have to figure out what's the best use of the new window :D
ps. settings I have in config.xml is:

Code: Select all

    <show_min_recs>8</show_min_recs>
    <!-- 2 = full report, 1 = only track record, 0 = none -->
    <!-- add 4 to show the report in the TMF message      -->
    <!-- window instead of the main chat window           -->
    <show_recs_before>6</show_recs_before>
    <!-- 2 = full report, 1 = only top-5, 0 = none        -->
    <!-- add 4 to show the report in the TMF message      -->
    <!-- window instead of the main chat window           -->
    <show_recs_after>6</show_recs_after>
    <show_recs_range>False</show_recs_range>
    <!-- 2 = in TMF message window, 1 = in chat, 0 = none -->
    <show_tmxrec>2</show_tmxrec>
    <!-- 2 = in TMF message window, 1 = in chat, 0 = none -->
    <show_playtime>2</show_playtime>

    <default_tracklist>tracklist.txt</default_tracklist>
    <writetracklist_random>True</writetracklist_random>
    <help_explanation>False</help_explanation>
    <lists_colornicks>True</lists_colornicks>
    <lists_colortracks>True</lists_colortracks>
    <topclans_minplayers>2</topclans_minplayers>
    <auto_enable_cps>True</auto_enable_cps>
    <auto_enable_dedicps>True</auto_enable_dedicps>
    <adminops_file>adminops.xml</adminops_file>
    <script_timeout>60</script_timeout>

    <!-- the remaining settings are for TMF only          -->
    <clickable_lists>True</clickable_lists>
    <!-- True = in TMF message window, False = in chat    -->
    <recs_in_window>False</recs_in_window>
    <!-- True = in TMF message window, False = in chat    -->
    <rounds_in_window>False</rounds_in_window>
    <!-- timeout of the TMF message window in seconds     -->
    <window_timeout>6</window_timeout>
small question in the end here: Is it possible to remove the Karma in the chat? Since many use fufi's plugin, it's a little unnecesery (wrong-spelling probably) also having it in the chat. (I may recall someone else asking about this, but couldn't find anything in the search...)
/lille79
Old man of the Norwegian Trackmania team Super Sheep Racing
To visit my homepage/blog, and download the usbTMFserver, this is the place to go.

MadMax01
cyclist
cyclist
Posts: 37
Joined: 18 Apr 2008 03:25
Owned TM-games: TMN,TMU,TMNF,TMUF

Re: XASECO (TMN/TMF) v1.02

Post by MadMax01 » 25 Jul 2008 01:54

well im not having none of those problems. it works great for me, but... i do have 1 little small problem.

it says :

[PHP Warning] Invalid argument supplied for foreach() on line 131 in file C:\Program Files\xxxxxxxx\xaseco\plugins\plugin.musicserver.php

when i restart the music server ( /music reload ) it says that but after that it will restart it. any ideas?

and a BIG Thx's for all of your hard work!!!

CRMax
sunday driver
sunday driver
Posts: 55
Joined: 27 Jan 2008 20:04
Owned TM-games: TMU, TMUF

Re: XASECO (TMN/TMF) v1.02

Post by CRMax » 25 Jul 2008 07:47

djarrett wrote:HI,
I downloaded xaseco v1.02, and installed it on windows XP..with new server build 2008-07-22
I get an error..not sure why?
version 1.01 worked just fine
# initialize XASECO ############################################################

[XAseco] PHP Version is 5.2.4 on WINNT
[XAseco] Load settings [config.xml]
[XAseco] Load admin/ops lists [adminops.xml]
----
[07/24,19:31:34] Load default style [styles/DarkBlur.xml]
[07/24,19:31:34] Load default admin panel [panels/AdminBelowChat.xml]
[07/24,19:31:34] Load default donate panel [panels/DonateBelowCPList.xml]
[07/24,19:31:34] Load default records panel [panels/RecordsRightBottom.xml]
[07/24,19:31:34] Load default vote panel [panels/VoteBelowChat.xml]
[PHP Warning] include(includes/votes.config.php): failed to open stream: No such
file or directory on line 47 in file C:\usbTMFserver_v2.2\Tmn\xaseco_2\plugins\
plugin.rasp_votes.php
[PHP Warning] include(): Failed opening 'includes/votes.config.php' for inclusio
n (include_path='.;C:\php5\pear') on line 47 in file C:\usbTMFserver_v2.2\Tmn\xa
seco_2\plugins\plugin.rasp_votes.php
###############################################################################
XASECO v1.02 running on 127.0.0.1:5072
Name : UnGreatful Bastards (TMUF) - xxxxxx xxxxxxxx
Game : TmForever United - United - TimeAttack
Version: 2.11.14 / 2008-07-22
Authors: Florian Schnell & Assembler Maniac
Re-Authored: Xymph
###############################################################################
Begin Race
[07/24,19:31:35] track changed [none] >> [IslandA3]
[07/24,19:31:35] current record on IslandA3 is 0:20.33 and held by SirBastardDJ
You have to put all PHP files (that stands in the /newinstall folder) in the /includes folder...
The XML files have to be in the root folder.

I hope your problem is solved after reading this!

Greetings from Max
Sorry for my bad English :D
Clanleader of the world famous 【ฯЯ】 clan!
Visit us at: http://intense.racing.free.fr/!

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

Re: XASECO (TMN/TMF) v1.02

Post by Xymph » 25 Jul 2008 08:42

MadMax01 wrote:well im not having none of those problems. it works great for me, but... i do have 1 little small problem.
it says :

[PHP Warning] Invalid argument supplied for foreach() on line 131 in file C:\Program Files\xxxxxxxx\xaseco\plugins\plugin.musicserver.php

when i restart the music server ( /music reload ) it says that but after that it will restart it. any ideas?
I can't reproduce that, you'll need to provide more details about the exact steps you're taking and their results. The best way is to delete the existing musictagscache.xml file and restart XAseco, and once it's running use /music list to see whether the tags have been read. Then use /music reload which should take very little time if all song tags have been properly cached, and /music list again.
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

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

Re: XASECO (TMN/TMF) v1.02

Post by Xymph » 25 Jul 2008 08:48

lille79 wrote:Setting in config.xml

Code: Select all

<show_recs_before>5</show_recs_before>

gives

Code: Select all

[PHP Warning] Missing argument 3 for send_window_message(), called in D:\Temp\usbTMFserver2.4wf\TMF\control\xaseco_1\aseco.php on line 1135 and defined on line 22 in file D:\Temp\usbTMFserver2.4wf\TMF\control\xaseco_1\plugins\plugin.msglog.php
Good catch, I forgot to retest that after changing the send_window_message() definition elsewhere. To fix change aseco.php line 1135 into:

Code: Select all

        send_window_message($this, $message, false);
and line 1211 into:

Code: Select all

        send_window_message($this, $message, true);
The download has been updated with this.
lille79 wrote: small question in the end here: Is it possible to remove the Karma in the chat? Since many use fufi's plugin, it's a little unnecesery (wrong-spelling probably) also having it in the chat. (I may recall someone else asking about this, but couldn't find anything in the search...)
I can add a configuration option for that in the next release.
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

woki
sunday driver
sunday driver
Posts: 61
Joined: 20 Jul 2008 08:29
Owned TM-games: TMN,TMUF
Manialink(s): woki
Location: Netherlands,Friesland: ijlst
Contact:

Re: XASECO (TMN/TMF) v1.02

Post by woki » 25 Jul 2008 09:13

Nice work Xymph i have it installed on Speed + mini's Server in the netherlands
Image

Image

User avatar
pokwuk
sunday driver
sunday driver
Posts: 71
Joined: 14 Oct 2006 16:08
Owned TM-games: (TMN(F),TMO,(TM(U)
Location: POR&UK

Re: XASECO (TMN/TMF) v1.02

Post by pokwuk » 25 Jul 2008 09:15

i have upgraded and i got this error...didnt found anything any sugestions??

[XAseco] Load settings [config.xml]

Fatal error: Cannot use string offset as an array in D:\Documents and Settings\A
dmin\Desktop\xaseco\includes\xmlparser.inc.php on line 70
Press any key to continue . . .

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

Re: XASECO (TMN/TMF) v1.02

Post by Xymph » 25 Jul 2008 09:25

pokwuk wrote:i have upgraded and i got this error...didnt found anything any sugestions??

[XAseco] Load settings [config.xml]

Fatal error: Cannot use string offset as an array in D:\Documents and Settings\Admin\Desktop\xaseco\includes\xmlparser.inc.php on line 70
Sounds like a typo in config.xml. Find it, fix it, and try again. :)
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

djarrett
smooth traffic navigator
smooth traffic navigator
Posts: 235
Joined: 04 Jul 2006 15:01
Owned TM-games: TMO,TMS,TMN,TMU,TMUF
Location: Fayetteville,GA
Contact:

Re: XASECO (TMN/TMF) v1.02

Post by djarrett » 25 Jul 2008 15:14

CRMax wrote:
djarrett wrote:HI,
I downloaded xaseco v1.02, and installed it on windows XP..with new server build 2008-07-22
I get an error..not sure why?
version 1.01 worked just fine
You have to put all PHP files (that stands in the /newinstall folder) in the /includes folder...
The XML files have to be in the root folder.

I hope your problem is solved after reading this!

Greetings from Max
Doh, I was kinda stupid there...thanks for the help

Ptitzizi
road tourist
road tourist
Posts: 104
Joined: 03 May 2008 15:13
Owned TM-games: TMF

Re: XASECO (TMN/TMF) v1.02

Post by Ptitzizi » 25 Jul 2008 15:56

One more time, great job Xymph, it's just perfect :D
It still lacks the public menu but it's not essential :)
Good luck for the next releases !

djarrett
smooth traffic navigator
smooth traffic navigator
Posts: 235
Joined: 04 Jul 2006 15:01
Owned TM-games: TMO,TMS,TMN,TMU,TMUF
Location: Fayetteville,GA
Contact:

Re: XASECO (TMN/TMF) v1.02

Post by djarrett » 26 Jul 2008 00:01

Thanks Xymph,
seems to work well in Time attack and rounds on two separate servers.
Thanks for the good work :pil

cow
smooth traffic navigator
smooth traffic navigator
Posts: 216
Joined: 20 Mar 2007 02:53
Owned TM-games: TMU, TMS, TMO
Contact:

Re: XASECO (TMN/TMF) v1.02

Post by cow » 26 Jul 2008 01:41

/admin players restarts xaseco for me.. on linux
used to work.
not a huge deal
nice easy way to reload xaseco i guess :P
join me at the music tower
Tet19's MusicTower

User avatar
BReMFoX
smooth traffic navigator
smooth traffic navigator
Posts: 275
Joined: 05 Sep 2006 08:53
Owned TM-games: TMUF
Location: The Netherlands

Re: XASECO (TMN/TMF) v1.02

Post by BReMFoX » 26 Jul 2008 07:36

Nice work again Xymph!

When the setting cache_tags in musicserver.xml is set to false, the music window is off screen (below), the window is too long.

When someone is racing and someone is spectator and the track ends, the racer still gets the message that he wins his # race.
But he isn't racing against anyone?

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests