rounds settings

UASECO is a fork of the XAseco2/1.03 controller for Trackmania and has been overhauled to support the Modescript Gamemodes of Trackmania².

Moderators: undef.de, NADEO

mathys76
Posts: 58
Joined: 30 Nov 2018, 17:32

rounds settings

Post by mathys76 » 08 Jun 2019, 14:22

i try to modify rounds settings so i have modify the file : modescript_settings.xml

Code: Select all

<rounds>
			<!-- Duration of the warm up phase in rounds (e.g. '20' for 20 secounds warm up, set to '-1' to disable a warm up timer -->
			<warm_up_duration>60</warm_up_duration>

			<!-- Number of warm up, set to '0' to disable or to '2' for two warum up rounds -->
			<warm_up_number>1</warm_up_number>

			<!-- Points limit to finish the Map, set to '-1' to disable -->
			<points_limit>-1</points_limit>

			<!-- Let you limit the number of rounds to play on a map before going to the next one. If the value is negative, the limit is disabled. -->
			<rounds_per_map>3</rounds_per_map>

			<!-- Let you select on how many maps a match will be played. If the value is negative, the limit is disabled. -->
			<maps_per_match>14</maps_per_match>

			<!-- Finish timeout in seconds for other Players to finish the Map too, set to '-1' for automatic (based on author time) -->
			<finish_timeout>25</finish_timeout>

			<!--
			Set to 'true' to use alternate rules, otherwise 'false',
			see 'rounds_usenewrules' for details: http://wiki.maniaplanet.com/en/Dedicated_servers#The_configuration_of_the_rounds_mode
			//-->
			<use_alternate_rules>false</use_alternate_rules>

			<!-- Force number of laps, '-1' to disable -->
			<force_laps_number>-1</force_laps_number>

			<!-- Set to 'true' to display time difference at each checkpoint, otherwise 'false' -->
			<display_time_diff>true</display_time_diff>

			<!-- Set to 'true' to continue to play the Map until the tie is broken, otherwise 'false' -->
			<use_tie_break>false</use_tie_break>
		</rounds>
But the changes didn't take effect what could i do?
another question : how to have a match on several maps (whithout a reset)

mathys76
Posts: 58
Joined: 30 Nov 2018, 17:32

Re: rounds settings

Post by mathys76 » 08 Jun 2019, 16:25

i have this in my logs :

Code: Select all

[PHP Notice] Undefined index: WARM_UP_NUMBER on line 465 in file C:\Users\user\Desktop\Serveur\UASECO-0.9.5_2017-06-08\plugins\plugin.modescript_handler.php
[PHP Notice] Undefined index: WARM_UP_DURATION on line 466 in file C:\Users\user\Desktop\Serveur\UASECO-0.9.5_2017-06-08\plugins\plugin.modescript_handler.php
ann another problem i add new maps sucessufullybut when i restart the serv the maps dissapeared and sometimes the map is unwell recognized unknow and no data and it

User avatar
undef.de
Posts: 1968
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: rounds settings

Post by undef.de » 08 Jun 2019, 17:25

mathys76 wrote:
08 Jun 2019, 16:25

Code: Select all

[PHP Notice] Undefined index: WARM_UP_NUMBER on line 465 in file C:\Users\user\Desktop\Serveur\UASECO-0.9.5_2017-06-08\plugins\plugin.modescript_handler.php
[PHP Notice] Undefined index: WARM_UP_DURATION on line 466 in file C:\Users\user\Desktop\Serveur\UASECO-0.9.5_2017-06-08\plugins\plugin.modescript_handler.php
It seems I forgot to add some changes in newinstall/config/modescript_settings.xml before the release, that's why you get this. Just do this:

Code: Select all

* Added `<modesetup><chase><warm_up_duration>` in `newinstall/config/modescript_settings.xml`
* Added `<modesetup><chase><warm_up_number>` in `newinstall/config/modescript_settings.xml`
to fix that message.

Anyway, you should update your 0.9.5 installation to 0.9.6, because of the slowdown bug which has been fixed in 0.9.6.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.

mathys76
Posts: 58
Joined: 30 Nov 2018, 17:32

Re: rounds settings

Post by mathys76 » 08 Jun 2019, 18:28

ok but i don't have any file in the newinstall folder soi paste the codes in config/modescript_setting.xml? What's the slowdown bug? Do you know any fix for the map that dissapear? Maybe my questions are bad questions i apologize for my bad english anyway
i make it like this

Code: Select all

<rounds>
			<modesetup><chase>120<warm_up_duration>
			<modesetup><chase>1<warm_up_number>
			<!-- Duration of the warm up phase in rounds (e.g. '20' for 20 secounds warm up, set to '-1' to disable a warm up timer -->
			<warm_up_duration>60</warm_up_duration>

			<!-- Number of warm up, set to '0' to disable or to '2' for two warum up rounds -->
			<warm_up_number>1</warm_up_number>

			<!-- Points limit to finish the Map, set to '-1' to disable -->
			<points_limit>-1</points_limit>

			<!-- Let you limit the number of rounds to play on a map before going to the next one. If the value is negative, the limit is disabled. -->
			<rounds_per_map>3</rounds_per_map>

			<!-- Let you select on how many maps a match will be played. If the value is negative, the limit is disabled. -->
			<maps_per_match>14</maps_per_match>

			<!-- Finish timeout in seconds for other Players to finish the Map too, set to '-1' for automatic (based on author time) -->
			<finish_timeout>25</finish_timeout>

			<!--
			Set to 'true' to use alternate rules, otherwise 'false',
			see 'rounds_usenewrules' for details: http://wiki.maniaplanet.com/en/Dedicated_servers#The_configuration_of_the_rounds_mode
			//-->
			<use_alternate_rules>false</use_alternate_rules>

			<!-- Force number of laps, '-1' to disable -->
			<force_laps_number>-1</force_laps_number>

			<!-- Set to 'true' to display time difference at each checkpoint, otherwise 'false' -->
			<display_time_diff>true</display_time_diff>

			<!-- Set to 'true' to continue to play the Map until the tie is broken, otherwise 'false' -->
			<use_tie_break>false</use_tie_break>
		</rounds>

User avatar
undef.de
Posts: 1968
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: rounds settings

Post by undef.de » 08 Jun 2019, 18:37

mathys76 wrote:
08 Jun 2019, 18:28
ok but i don't have any file in the newinstall folder soi paste the codes in config/modescript_setting.xml?
You can add the codes to your config/modescript_setting.xml.
mathys76 wrote:
08 Jun 2019, 18:28
What's the slowdown bug?
That was the bug that slow down every action of UASECO with many players (about more then 6 Players).
mathys76 wrote:
08 Jun 2019, 18:28
Do you know any fix for the map that dissapear?
Sorry, but I don't know what you mean here? Did you ask another question which I didn't answered yet?
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.

User avatar
undef.de
Posts: 1968
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: rounds settings

Post by undef.de » 08 Jun 2019, 18:39

You have to add this at <chase>, not <rounds>.

Code: Select all

	<!-- Duration of the warm up phase in rounds (e.g. '20' for 20 secounds warm up, set to '-1' to disable a warm up timer -->
	<warm_up_duration>-1</warm_up_duration>

	<!-- Number of warm up, set to '0' to disable or to '2' for two warum up rounds -->
	<warm_up_number>0</warm_up_number>
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.

mathys76
Posts: 58
Joined: 30 Nov 2018, 17:32

Re: rounds settings

Post by mathys76 » 08 Jun 2019, 19:05

ok sorry i just begin to develloped in php with UASECO i try to understand but it's not always easy

mathys76
Posts: 58
Joined: 30 Nov 2018, 17:32

Re: rounds settings

Post by mathys76 » 08 Jun 2019, 19:08

when i say that the map "dissapear" it's when i add a map on my serv and them when i reboot the serv the map dissapear ! Does your solution will help with that ?

mathys76
Posts: 58
Joined: 30 Nov 2018, 17:32

Re: rounds settings

Post by mathys76 » 08 Jun 2019, 19:15

if i have understand i replace

Code: Select all

			<warm_up_duration>60</warm_up_duration>
by

Code: Select all

<rounds>
<chase> <warm_up_duration>60</warm_up_duration> 

User avatar
undef.de
Posts: 1968
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: rounds settings

Post by undef.de » 08 Jun 2019, 19:23

mathys76 wrote:
08 Jun 2019, 19:08
when i say that the map "dissapear" it's when i add a map on my serv and them when i reboot the serv the map dissapear ! Does your solution will help with that ?
No, but it helps when you save the changes to the map list with "/admin writemaplist", "/admin add ID" is just temporary. :thumbsup:
mathys76 wrote:
08 Jun 2019, 19:15
if i have understand i replace

Code: Select all

			<warm_up_duration>60</warm_up_duration>
by

Code: Select all

<rounds>
<chase> <warm_up_duration>60</warm_up_duration> 
No, you have to add <warm_up_duration> and <warm_up_number> to <chase> and keep <rounds> as it was. Or take the current file and redo the changes you made.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.

Post Reply

Return to “UASECO”

Who is online

Users browsing this forum: No registered users and 2 guests