Page 1 of 4

XASECO2 (TM²) v1.03

Posted: 05 May 2013 12:04
by Xymph
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

Re: XASECO2 (TM²) v1.03

Posted: 09 May 2013 16:39
by ----GLUK----
Is access plugin in this version working? In the previous it didnt.

Re: XASECO2 (TM²) v1.03

Posted: 12 May 2013 17:50
by TheBigG
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.

Re: XASECO2 (TM²) v1.03

Posted: 12 May 2013 20:51
by Xymph
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/.

Re: XASECO2 (TM²) v1.03

Posted: 12 May 2013 22:11
by TheBigG
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

Re: XASECO2 (TM²) v1.03

Posted: 14 May 2013 23:16
by ----GLUK----
Hey Xymph, how about access plugin? It doesnt work. I want to restrict access for some countries.

Re: XASECO2 (TM²) v1.03

Posted: 15 May 2013 05:44
by Xymph
----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:

Re: XASECO2 (TM²) v1.03

Posted: 15 May 2013 12:22
by ----GLUK----
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

Re: XASECO2 (TM²) v1.03

Posted: 15 May 2013 16:23
by Xymph
----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".

Re: XASECO2 (TM²) v1.03

Posted: 18 May 2013 20:03
by TheBigG
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

Re: XASECO2 (TM²) v1.03

Posted: 18 May 2013 21:28
by ----GLUK----
Thank you, Xymph.

Re: XASECO2 (TM²) v1.03

Posted: 20 May 2013 22:40
by TheBigG
edit: after reinstall of xaseco2 and dropping the database, it does work normal now

Re: XASECO2 (TM²) v1.03

Posted: 25 May 2013 12:37
by weasel
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 ?

Re: XASECO2 (TM²) v1.03

Posted: 01 Jun 2013 09:17
by weasel
No one else having problems ?

Re: XASECO2 (TM²) v1.03

Posted: 01 Jun 2013 20:48
by Xymph
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.