XASECO2 (TM²) v1.03

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

Moderators: Xymph, TM-Patrol

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

XASECO2 (TM²) v1.03

Post by Xymph » 05 May 2013 12:04

It's time for a new release of XASECO2 to bring this server controller to v1.03. This update adds two new checkpoint times commands, a few Dedimania-related enhancements, a new configuration option to control whether or not the maps list cache is cleared at the start of each track, recent improvements in supporting classes, and more. Here are the complete release notes:

New features and other changes in the v1.03 release of XASECO2:
  • * new /cptms command to display the checkpoint times for all local records on the current track, as a complement to /sectms
    * new /dedicptms command to display the checkpoint times for all Dedimania records on the current track, as a complement to /dedisectms
    * added the Countable interface to the MXInfoSearcher class
    * for Dedimania world records, tracks without a checkpoint are now accepted if created by Nadeo (e.g. Stadium A08)
    * removed the <max_recs> setting from dedimania.xml to insure that only the Server and player MaxRank values from the Dedimania master server are used, and to avoid confusion
    * resetting the maps list cache at the start of each map is now configurable via new rasp.settings.php setting $reset_cache_start (default: true)
    * updated the GBXDataFetcher module to the latest version
Bug fixes in the v1.03 release of XASECO2:
  • * the event name upon which to invoke clearMapsCache() isn't converted from X1 -- fixed (thanks Leigham)
Remember the usual installation/upgrade notes:

Important:
  • To configure your server for the central Dedimania database, you must copy the login value in the <masterserver_account> section from your server's dedicated_cfg.txt file into the corresponding section of the dedimania.xml file. Further, register your server with the Dedimania system, generate a DedimaniaCode, and add that in dedimania.xml as well.
  • Open port 8082 on your firewall/router for communication with the central Dedimania server.
  • In the zip file, all *.XML and *.PHP config files are 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 here), 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), all *.PHP files into the includes/ directory, and XAseco2.bat|XAseco2.sh also into the main directory.
Grab it from http://www.gamers.org/tm2/ .

Enjoy,
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

User avatar
----GLUK----
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 13 Feb 2006 20:11
Owned TM-games: all
Location: Russia
Contact:

Re: XASECO2 (TM²) v1.03

Post by ----GLUK---- » 09 May 2013 16:39

Is access plugin in this version working? In the previous it didnt.

TheBigG
smooth traffic navigator
smooth traffic navigator
Posts: 226
Joined: 16 Oct 2010 19:45
Owned TM-games: TMN! TMF
Location: Germany

Re: XASECO2 (TM²) v1.03

Post by TheBigG » 12 May 2013 17:50

hello,

i have the problem that some dedis get safed and some not.
Login of the server with that problem is "infactliga".

In Logfile i did that dedi but after map switch it did disapear.
map was black curves 3
UId=zKUpjvY0Dn8UuqBX6udHIBegh68

logfile

Code: Select all

[05/11,20:00:18] [LocalDB] player the-big-gll. finished with 34321 and took the 1. LR place!
[05/11,20:00:18] [Dedimania] player the-big-gll. finished with 34321 and took the 1. WR place!

[05/11,20:00:22] [Dedimania] Unable to save ghost replay for the-big-gll.: skipped 34321 (6126,11208,15445,20310,25725,28975,34321)
my dedimania.xml

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<dedimania>
	<database>
		<welcome>{#welcome}Welcome to the Dedimania world record system at www.dedimania.com - see {#highlite}/helpdedi</welcome>
		<timeout>{#dedimsg}Dedimania system timed out - retrying in {#highlite}{1}{#dedimsg} minutes</timeout>
		<name>Dedimania</name>
		<!-- Dedimania communication link, do not modify this! -->
		<url>http://dedimania.net:8082/Dedimania</url>
		<!-- Show welcome message in chat?  -->
		<show_welcome>False</show_welcome>
		<!-- Minimum number of records you'd always like to see  -->
		<!-- at the start & end of maps, and with /dedilive (-2) -->
		<show_min_recs>8</show_min_recs>
		<!-- Display existing records at start of a new map?     -->
		<!-- 2 = in message window, 1 = in chat, 0 = none        -->
		<show_recs_before>0</show_recs_before>
		<!-- Display (possibly) updated records at end of a map? -->
		<!-- 2 = in message window, 1 = in chat, 0 = none        -->
		<show_recs_after>1</show_recs_after>
		<!-- Display records range if there are no new records?  -->
		<show_recs_range>True</show_recs_range>
		<!-- Do you want XASECO to display newly driven records? -->
		<display_recs>True</display_recs>
		<!-- Show logins for players in /dedirecs ?              -->
		<show_rec_logins>True</show_rec_logins>
		<!-- Display records in message window or in chat?       -->
		<recs_in_window>False</recs_in_window>
		<!-- Limit the highest record that will be displayed to   -->
		<!-- all? Only the pertaining player sees higher records, -->
		<!-- so typically this is the same as your Server MaxRank -->
		<limit_recs>15</limit_recs>
		<!-- Store best validation replays per track and session? -->
		<!-- VReplays are stored in UserData/Replays/VReplays/ &  -->
		<!-- top-1 Ghost Replays in UserData/Replays/GReplays/    -->
		<keep_best_vreplays>False</keep_best_vreplays>
	</database>

	<!-- Dedimania server registration, copy from dedicated_cfg.txt & -->
	<!-- generate code on http://dedimania.net/tm2stats/?do=register  -->
	<masterserver_account>
		<login>infactliga</login>
		<dedimaniacode>XXX</dedimaniacode>
	</masterserver_account>

</dedimania>
Image

and like you can see on the screenshot i was not listed as new dedi on rank 1 but the 2nd from my friend got saved.


Thanks for help

let me know if you need more information.

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

Re: XASECO2 (TM²) v1.03

Post by Xymph » 12 May 2013 20:51

TheBigG wrote:

Code: Select all

[05/11,20:00:22] [Dedimania] Unable to save ghost replay for the-big-gll.:
Create the ghost replays directory and/or make it writable by the dedicated executable, typically UserData/Replays/GReplays/.
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

TheBigG
smooth traffic navigator
smooth traffic navigator
Posts: 226
Joined: 16 Oct 2010 19:45
Owned TM-games: TMN! TMF
Location: Germany

Re: XASECO2 (TM²) v1.03

Post by TheBigG » 12 May 2013 22:11

that did not fix my problem, but i found the problem.
Problem was that Replays directory was not writable on server start amd Autosaves and so on was not createt from the dedicated server. Making that directory writeable and restarting the server after this was a success.

but thanks for help Xymph

User avatar
----GLUK----
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 13 Feb 2006 20:11
Owned TM-games: all
Location: Russia
Contact:

Re: XASECO2 (TM²) v1.03

Post by ----GLUK---- » 14 May 2013 23:16

Hey Xymph, how about access plugin? It doesnt work. I want to restrict access for some countries.

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

Re: XASECO2 (TM²) v1.03

Post by Xymph » 15 May 2013 05:44

----GLUK---- wrote:Hey Xymph, how about access plugin? It doesnt work. I want to restrict access for some countries.
Like your previous post about it, you included no information, so I ignore both.

If anyone wants help, they should include as much relevant info as possible, not as little. :roll:
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
----GLUK----
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 13 Feb 2006 20:11
Owned TM-games: all
Location: Russia
Contact:

Re: XASECO2 (TM²) v1.03

Post by ----GLUK---- » 15 May 2013 12:22

For example, i want to deny access to the server from Germany

In access.xml i have written:

Code: Select all

		<order>Deny,Allow</order>
		<allow>
			<from></from>
		</allow>
		<deny>
			<from>Germany</from>
		</deny>
plugin filename is included in plugins.xml, but people from Germany still have acces to the server

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

Re: XASECO2 (TM²) v1.03

Post by Xymph » 15 May 2013 16:23

----GLUK---- wrote:For example, i want to deny access to the server from Germany
Then use the correct zone, not just the country. As already mentioned in the v1.02 release notes, there's now a Continent part before the Country, e.g. "Europe|Germany".
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

TheBigG
smooth traffic navigator
smooth traffic navigator
Posts: 226
Joined: 16 Oct 2010 19:45
Owned TM-games: TMN! TMF
Location: Germany

Re: XASECO2 (TM²) v1.03

Post by TheBigG » 18 May 2013 20:03

hello i have a little problem with the rank. On joining it shows the wrong rank but on score and by typing /rank it shows the right rank. I have no errors on joining in the xaseco.log

screen:
Image

i will provide more info if needed

thanks for help

User avatar
----GLUK----
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 13 Feb 2006 20:11
Owned TM-games: all
Location: Russia
Contact:

Re: XASECO2 (TM²) v1.03

Post by ----GLUK---- » 18 May 2013 21:28

Thank you, Xymph.

TheBigG
smooth traffic navigator
smooth traffic navigator
Posts: 226
Joined: 16 Oct 2010 19:45
Owned TM-games: TMN! TMF
Location: Germany

Re: XASECO2 (TM²) v1.03

Post by TheBigG » 20 May 2013 22:40

edit: after reinstall of xaseco2 and dropping the database, it does work normal now

weasel
speedy pilot
speedy pilot
Posts: 331
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: XASECO2 (TM²) v1.03

Post by weasel » 25 May 2013 12:37

Hi.

New server , new install , but xlist is not working right.
( canyon server )

Last line from log :

Code: Select all

[XASECO2 Warning] Timed out while reading data from http://tm.mania-exchange.com/tracksearch?api=on&environments=1&page=
Begin Round
When I add tracks by ID nr, I have no problem so it's not my internet. ( I think )

Any suggestions ?

weasel
speedy pilot
speedy pilot
Posts: 331
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: XASECO2 (TM²) v1.03

Post by weasel » 01 Jun 2013 09:17

No one else having problems ?

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

Re: XASECO2 (TM²) v1.03

Post by Xymph » 01 Jun 2013 20:48

weasel wrote:New server , new install , but xlist is not working right.
( canyon server )

Last line from log :

Code: Select all

[XASECO2 Warning] Timed out while reading data from http://tm.mania-exchange.com/tracksearch?api=on&environments=1&page=
Begin Round
When I add tracks by ID nr, I have no problem so it's not my internet. ( I think )
MX's Canyon API responds a lot slower (2.2-2.3s) than the Stadium API (0.7-0.9)s, making the MXInfoSearcher time out on the data fetch.
In includes/mxinfosearcher.inc.php, increase the stream_set_timeout value from 2 to 3, and in includes/mxinfofetcher.inc.php too.

Keep in mind an /xlist can take 10+ secs this way, during which time XAseco2 won't be doing anything else but wait for the multiple fetches to complete.
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

Post Reply