Time Limit on Time Attack Tracks

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
nachtvlieger
highway camper
highway camper
Posts: 3
Joined: 11 Apr 2021 17:22
Owned TM-games: TMU

Time Limit on Time Attack Tracks

Post by nachtvlieger » 11 Apr 2021 17:52

Hello,

I have made my own TMU server and everything works fine, i have set the tracks on Time Attack with 7 minutes time.

If i start the server and play the first track the time limit is 7 minutes, but if the second track loads the server sais set time limit for the loaded track
and the time limit is different then the 7 minutes.

Does enyone knows how i can change the time limit for every track to 7 minutes ?

Gr Nachtvlieger

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

Re: Time Limit on Time Attack Tracks

Post by weasel » 12 Apr 2021 16:39

I believe you can set that in the matchsettings file :

<timeattack_limit>300000</timeattack_limit> ( 300000 stands for 5 min )

You can find that file : Gamedata/Tracks/Matchsettings/settings.txt


( uhm, if you run xaseco I don't know for sure if xaseco effects your time , long time ago I setup a server )

nachtvlieger
highway camper
highway camper
Posts: 3
Joined: 11 Apr 2021 17:22
Owned TM-games: TMU

Re: Time Limit on Time Attack Tracks

Post by nachtvlieger » 14 Apr 2021 18:01

Hi Weasel,

I have set the Matchsettingsfile to 420000 = 7 Min , same problem first track is good second track is other time.
The tracks on the server are downloaded from TMX, i will test the same settings on the standard nadeo tracks and then see if the time stays the same.

Wil let you know.

Gr Nachtvlieger

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

Re: Time Limit on Time Attack Tracks

Post by weasel » 14 Apr 2021 19:52

Like I said , its been awhile since I played with xaseco.
I think a setting in xaseco is the problem for your time change.

I will take a look.


Always first track good , after starting the server ?

Maybe xaseco reads a wrong matchsettings file after track change , be sure all names are the same.
a function in rasp.settings.php in the icludes folder of xaseco :

Code: Select all

//Set to filename to enable autosaving matchsettings upon every track switch
$autosave_matchsettings = 'settings.txt';  // e.g. 'autosave.txt'


Or , maybe you run autotime function. Then the time is set to X x the author time.

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 278
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: Time Limit on Time Attack Tracks

Post by L3cKy » 14 Apr 2021 23:21

weasel wrote:
14 Apr 2021 19:52
Maybe xaseco reads a wrong matchsettings file after track change , be sure all names are the same.
a function in rasp.settings.php in the icludes folder of xaseco :

Code: Select all

//Set to filename to enable autosaving matchsettings upon every track switch
$autosave_matchsettings = 'settings.txt';  // e.g. 'autosave.txt'
The "autosave_matchsettings" gets overwritten (not loaded) at the end of a race from the matchsettings file the server got started with. ;)
I wouldn't recommend to use the same name as the matchsettings file. 8)
weasel wrote:
14 Apr 2021 19:52
Or , maybe you run autotime function. Then the time is set to X x the author time.
Yeah he wrote it already ... :D
nachtvlieger wrote:
11 Apr 2021 17:52
but if the second track loads the server sais set time limit for the loaded track
Check if the plugin "plugin.autotime.php" is enabled at "plugins.xml".
If this is the case then you have to comment out the line:

Code: Select all

from:
<plugin>plugin.autotime.php</plugin>

into:
<!-- <plugin>plugin.autotime.php</plugin> -->
If not pls send a note or screenshot of your plugins.xml and we will see which plugin overwrites the matchsettings. ;)

So long L3cKy

nachtvlieger
highway camper
highway camper
Posts: 3
Joined: 11 Apr 2021 17:22
Owned TM-games: TMU

Re: Time Limit on Time Attack Tracks

Post by nachtvlieger » 15 Apr 2021 17:46

Hi,

Found it !!

I have changed the autotime file to 7 minutes and it works.

Thanks Guys

Gr nachtvlieger

Post Reply