XASECO (TMN/TMF) v0.98

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) v0.98

Post by Xymph » 08 May 2008 17:17

Here goes again with another beefy XASECO release. There are two features that require the new beta dedicated but otherwise there's no reason to hold up this version any longer. Themes this time include Dedimania enhancements (checkpoint references, further communication improvements), Laps and Stunts mode support, new admin commands, and various improvements and fixes. Dig in at http://www.gamers.org/tmn/Features_098.html or below:
  • New features and other changes in the v0.98 release of XASECO:

    * new /dedicps command to select which Dedimania record is used as reference for checkpoints tracking, with the following features:
    • o checkpoint references are stored for all players (according to their preferences) only at the start of a track, not when entering the /dedicps command or when the player (re)connects
      o with no parameter (/dedicps) the player's own record on each track is selected or, if none is set, the last record on the pertaining track
      o /dedicps {1-30} selects Dedimania record 1-30 on each track or, if unavailable, again the last record
      o /dedicps off disables the Dedimania references for checkpoints tracking
      o as usual, once a player gains a better finish time than the chosen Dedimania reference, the checkpoints panel (TMF) or pop-up (TMN) will use those corresponding checkpoints for further updates during the current track
      o if the checkpoints for the chosen Dedimania record are invalid (empty, or the last checkpoint doesn't match the finish time) then no record is used as reference during that track for the pertaining player(s)
      o the chosen /dedicps setting is remembered between a player's reconnects as long as /cps remains enabled, until the next XASECO restart

    * new /admin shuffle (alias /admin shufflemaps) command to shuffle (randomize) the current track list; this requires having set <writetracklist_random> to True in config.xml, and defining an $autosave_matchsettings filename in rasp.settings.php – note that autosaving only happens during a track switch, so if you shuffle immediately after adding a track, the addition will be lost
    * new /admin addlocal command to add a track to the server's track list from the local 'Challenges/Downloaded/' directory; the track filename cannot contain spaces or non-typable characters, but can be entered case-insensitively and the '.Challenge.gbx' extension is optional – also, the $jukebox_adminadd setting is respected
    * new /admin specfree command (only on TMF) to set the camera mode of a spectator (login or ID) to Free – requires build '2008-05-07' or later

    * added support for TMF Laps mode:
    • o the checkpoints tracking system (if activated via /cps) will show the difference to the best lap at each checkpoint and at the lap finish, and update the best lap data after each improved lap
      o if /dedicps is activated, the lap data for the chosen Dedimania record is used as initial best lap according to the rules above
      o local records are now maintained and compared on lap basis, meaning that those records will usually be unbeatable once the server is switched back to another game mode than TimeAttack, so keep that in mind when picking tracks for TimeAttack and Laps versus other modes
      o Dedimania records are also maintained and compared on lap basis like the central Dedimania system does (where they're mixed with TimeAttack mode records only), so they are now properly supported
    * added support for TMUF Stunts mode:
    • o updated /track, /recs and /dedirecs, /pb and /dedipb, and all record relation commands to show scores
      o updated the 'before' and 'after' track record messages (both local and Dedimania) to show scores
      o updated the new/improved/secured/equalled record messages (both local and Dedimania) to show scores
      o updated all record sorting into descending order
      o updated /list nogold and /list noauthor to check for player scores worse than the tracks' gold and author scores
      o adjusted the /list help information
      o disabled the /list longest/shortest command
      o disabled all /cps functionality (checkpoints are inactive)
      o disabled Dedimania records handling until the central Dedimania system supports them

    * added explanations why the checkpoints panel doesn't appear immediately when /cps is activated (Stunts mode, spectating, and warm-up phase all disable the panel temporarily)
    * on TMF, multi-page ManiaLink windows now show the current and total page numbers in the header
    * on TMF, multi-page ManiaLink windows of more than 5 pages now include Prev5 and Next5 buttons to speed up navigation through long lists
    * updated the Dedimania system to randomly choose between the :8003 and new :8006 and :8007 communication ports (remember to open those ports on your firewall/router as well) in order to distribute the load across more Dedimania servers
    * new records in the /recs and /dedirecs lists are now highlighted with a black time
    * on TMF, the /stats output now displays the full location path (sans "World|") instead of just the nation (thanks w1lla)
    * on TMF, the /server output now includes the server's location path (again without "World|") – requires build '2008-05-07' or later
    * added the capability to write the log in monthly chunks named "logfile-YYYYMM.txt" in an (automatically created) "logs/" subdirectory, instead of the single big "logfile.txt" – this is activated by setting "$log_monthly_logsdir = true" in function doLog() in includes/basic.inc.php, as it cannot be a configuration option because configs aren't read until later during start-up
    * various welcome messages and in-game URLs are now hyperlinked to the external browser
    * updated the /add and /admin add commands to time out when the TMX site is down
    * minor optimizations of all multi-page window code
    * an example plugin.ml_howto.php module is included to demonstrate how to create single- and multi-page ManiaLink windows

    Bug fixes in the v0.98 release of XASECO:

    * when <lists_colortracks> is True, recently played tracks are no longer greyed out to visually distinguish them from tracks that can be jukeboxed – fixed
    * jukeboxing a track via /admin add and /admin replay leaves out the Environment value – fixed
    * even when a player ID cannot be obtained from the local database, there's still an attempt to insert a finish time for the pertaining player login – fixed
    * on TMF, the /admin shutdown command produced a PHP warning because /autoquit is now the default – fixed, a QuitGame call is only done if /noautoquit was active
Don't forget these:
  • Important:

    * To register your server with the central Dedimania database, you must copy the three values in the <masterserver_account> section from your server's dedicated.cfg file into the corresponding section of the dedimania.xml file. 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 and 8007 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 config files are now located inside the newinstall/ directory. This means that you should be able to unzip the download and replace all the code files (unless you made changes to any) without worrying about overwriting your customized config files. However, for every XML/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.
The download and all further information is on my XASECO/TMN page:

http://www.gamers.org/tmn/

Enjoy!
Xymph
Last edited by Xymph on 08 May 2008 20:25, edited 2 times in total.
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

corneb
smooth traffic navigator
smooth traffic navigator
Posts: 256
Joined: 18 Jul 2006 14:23
Owned TM-games: TMN, TMU
Location: NED

Re: XASECO (TMN/TMF) v0.98

Post by corneb » 08 May 2008 17:44

Running fine, but I saw that "Zone" is blank in /server?
DutchTM.nl - The Dutch TrackMania Community!
Dedicated Server Tools

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

Re: XASECO (TMN/TMF) v0.98

Post by CRMax » 08 May 2008 18:00

Nice one Xymph! :1010
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) v0.98

Post by Xymph » 08 May 2008 18:06

corneb wrote:Running fine, but I saw that "Zone" is blank in /server?
What zone should it be? Can you run the RPC utilities to find what the server thinks it is?

php sendcmd.php GetDetailedPlayerInfo your_server_login
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

corneb
smooth traffic navigator
smooth traffic navigator
Posts: 256
Joined: 18 Jul 2006 14:23
Owned TM-games: TMN, TMU
Location: NED

Re: XASECO (TMN/TMF) v0.98

Post by corneb » 08 May 2008 18:14

Xymph wrote:
corneb wrote:Running fine, but I saw that "Zone" is blank in /server?
What zone should it be? Can you run the RPC utilities to find what the server thinks it is?

php sendcmd.php GetDetailedPlayerInfo your_server_login
Utrecht, The Netherlands, your command gives me the following:
debian:/home/corne/rpc_utilities# php sendcmd.php GetDetailedPlayerInfo corne
Login failed - Error -1000: Password incorrect.
DutchTM.nl - The Dutch TrackMania Community!
Dedicated Server Tools

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) v0.98

Post by Xymph » 08 May 2008 18:36

corneb wrote:Utrecht, The Netherlands, your command gives me the following:
debian:/home/corne/rpc_utilities# php sendcmd.php GetDetailedPlayerInfo corne
Login failed - Error -1000: Password incorrect.
Uhh, obviously you must edit sendcmd.php for the port/password of your server, just like config.xml in XAseco. :wink:
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

corneb
smooth traffic navigator
smooth traffic navigator
Posts: 256
Joined: 18 Jul 2006 14:23
Owned TM-games: TMN, TMU
Location: NED

Re: XASECO (TMN/TMF) v0.98

Post by corneb » 08 May 2008 18:46

Ah, sorry, didn't know that, but now I get this:
debian:/home/corne/rpc_utilities# php sendcmd.php GetDetailedPlayerInfo corne
Can't do/get GetDetailedPlayerInfo ! Error -1000: Login unknown.
Doing it for another username who is in the server, he gives results.
DutchTM.nl - The Dutch TrackMania Community!
Dedicated Server Tools

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) v0.98

Post by Xymph » 08 May 2008 20:00

corneb wrote:Ah, sorry, didn't know that, but now I get this:
debian:/home/corne/rpc_utilities# php sendcmd.php GetDetailedPlayerInfo corne
Can't do/get GetDetailedPlayerInfo ! Error -1000: Login unknown.
Doing it for another username who is in the server, he gives results.
Doh. This is another feature that requires the new beta:
xbx wrote:detailed playerinfos work for the server login
I made a note in the Features list.

Btw, the reason I'm not requiring that build yet is because it isn't out of beta yet. Once it is official, the next XAseco release will check/require it.
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
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: XASECO (TMN/TMF) v0.98

Post by w1lla » 09 May 2008 07:34

/server command works fine with beta dedicated.
also is nice to see the next5 prev5 but i would try to make it different due to the fact that the maniapage is small and not so big to implement it.

In /helpdedi it might be nice not to see the link but just a text where you could click to go to the destination website.

Code: Select all

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

corneb
smooth traffic navigator
smooth traffic navigator
Posts: 256
Joined: 18 Jul 2006 14:23
Owned TM-games: TMN, TMU
Location: NED

Re: XASECO (TMN/TMF) v0.98

Post by corneb » 09 May 2008 07:48

Yes, with new dedicated it works ok, but in /server there is a place where it is more transparent than the rest of the window: http://83.161.24.58/~corneb/xaseco.jpg

And /admin uptodate works only the second time for me.
DutchTM.nl - The Dutch TrackMania Community!
Dedicated Server Tools

Kjell T. Ring
sunday driver
sunday driver
Posts: 71
Joined: 03 Aug 2007 09:31
Owned TM-games: TMN, TMS
Location: Norway

Re: XASECO (TMN/TMF) v0.98

Post by Kjell T. Ring » 09 May 2008 07:55

Installed and working fine so far. Haven't tested it much yet.
Thanks Xymph :thumbsup:

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

Re: XASECO (TMN/TMF) v0.98

Post by CRMax » 09 May 2008 08:17

Maybe you can ask the Board Administrators to make a board for XAseco?
Aseco/RASP 2 have allready a board...
Sorry for my bad English :D
Clanleader of the world famous 【ฯЯ】 clan!
Visit us at: http://intense.racing.free.fr/!

User avatar
Knutselmaaster
swift roadking
swift roadking
Posts: 692
Joined: 16 Feb 2007 01:40
Owned TM-games: TMO/TMN/TMNF/TMU
Manialink(s): intr
Location: Between DisneyLand and Paris
Contact:

Re: XASECO (TMN/TMF) v0.98

Post by Knutselmaaster » 09 May 2008 08:51

they are just beginning to create them, max.
I'm sure that xymph gets his too ;)

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

Re: XASECO (TMN/TMF) v0.98

Post by CRMax » 09 May 2008 08:59

Knutselmaaster wrote:they are just beginning to create them, max.
I'm sure that xymph gets his too ;)
Oke... is good Knutsel :P
Mooi!
Sorry for my bad English :D
Clanleader of the world famous 【ฯЯ】 clan!
Visit us at: http://intense.racing.free.fr/!

TripleT
smooth traffic navigator
smooth traffic navigator
Posts: 193
Joined: 12 Feb 2008 15:14
Owned TM-games: TMNF
Location: Germany

Re: XASECO (TMN/TMF) v0.98

Post by TripleT » 09 May 2008 12:01

wow you are fast
nice work xymph will install it today on our war and public server nice new features :thumbsup:
maybe the wrong thread but when will the new dedicated beta-server will be "official" or a non beta server? :roflol:

TripleT

Post Reply

Who is online

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