ManiaPlanet Server 2014-09-10

Moderator: NADEO

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

Re: ManiaPlanet Server 2014-09-10

Post by undef.de »

steeffeen wrote: // Edit: ha, by reading all the posts of the thread i linked (would have been a good idea to do that earlier instead of only the first post) i found that:
Gugli wrote:When you want to switch to another mode, you call

Code: Select all

SetScriptName("RoyalV2.Script.txt");
so it seems i was wrong, a confirmation by Nadeo would still be good i guess
Yes, would be good... but if SetModeScriptText works, then a possible work-around would be to call SetScriptName and after that send SetModeScriptText with the contents of the Modescript. Can't test it right now, i try that later today.

EDIT: Not a pratical work-around, because then GetScriptName returns <in-development>.
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
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: ManiaPlanet Server 2014-09-10

Post by Eole »

@Undef.de: I don't know if you can still answer in the old topic, but what was the problem with the buggy LibXmlRpc_OnRespawn response?
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: ManiaPlanet Server 2014-09-10

Post by undef.de »

Eole wrote:@Undef.de: I don't know if you can still answer in the old topic, but what was the problem with the buggy LibXmlRpc_OnRespawn response?
Sure: What i mean is the "NullId" on respawning on the Startblock. To reproduce, just respawn on the Startblock on a multilap Map direct after loading the Map. Then the "waypoint number in the race" is "NullId".
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: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: ManiaPlanet Server 2014-09-10

Post by undef.de »

I don't know if this is the right place to post this, but when the dedicated Server running a Modescript Gamemode like TimeAttack.Script.txt in Trackmania2, then "ESC -> Help" doesn't display any Helptext:

Image

This is also in Rounds.Script.txt.

I guess this is because the Scripts doesn't contain a Helptext?!
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
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: ManiaPlanet Server 2014-09-10

Post by Eole »

I fixed the help text problem. The changes are available on GitHub.
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: ManiaPlanet Server 2014-09-10

Post by undef.de »

Eole wrote:I fixed the help text problem. The changes are available on GitHub.
Confirmed... thanks!
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: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: ManiaPlanet Server 2014-09-10

Post by undef.de »

AutoSaveValidationReplays
With this dedicated_cfg.txt settings:

Code: Select all

	<server_options>
		<autosave_validation_replays>True</autosave_validation_replays>
	</server_options>
or when i set AutoSaveValidationReplays to true, then the dedicated creates a folder named »υηפєғױĿαвѕ in Replays/ with such files:

Code: Select all

Validation_2014-10-08-21-27-35_Just For Fun 9_ぎтяα¢кєяѕ_ρнαѕє '''(06'06''79).Replay.Gbx
Validation_2014-10-08-21-32-32_Just For Fun 9_ぎтяα¢кєяѕ_ρнαѕє '''(00'36''24).Replay.Gbx
Validation_2014-10-08-21-33-21_Just For Fun 9_ぎтяα¢кєяѕ_ρнαѕє '''(00'34''30).Replay.Gbx
Validation_2014-10-08-21-45-34_A02-mini_ぎтяα¢кєяѕ_ρнαѕє '''(00'33''60).Replay.Gbx
Validation_2014-10-08-21-58-00_Short Distance Nº 06_ぎтяα¢кєяѕ_ρнαѕє '''(00'26''08).Replay.Gbx
Validation_2014-10-08-22-00-33_Short Distance Nº 06_ぎтяα¢кєяѕ_ρнαѕє '''(00'23''99).Replay.Gbx
»υηפєғױĿαвѕ seems to be the Servername »υηפєғĿαвѕ
ぎтяα¢кєяѕ_ρнαѕє ''' seems to be the Nickname ぎтяα¢кєяѕ|ρнαѕє '''

System:
Dedicated Server: 2014-09-10
Script: TimeAttack.Script.txt
OS: OpenSuse 12.2 Linux

My suggestion for a maybe better filename is:
Validation 2014-10-08 22-00-33 i_7qz6Nbf6E0NrhzLDOEn4CPWZa undef.de (23993).Replay.Gbx
Validation %Y-%m-%d %H-%m-%s Uid PlayerLogin (23993).Replay.Gbx

That would make it easier to parse and to find a validation replay for a Uid, Player and Time. The space as separator is maybe not the best solution, but the Uid can contain underscore, splitting the filename at _ fails in that case.

Btw.: I was thinking that validation replays will be stored inside of the folder Replays/VReplays/ or Replays/Autosaves/, and not in a folder named with the Servername. ;)


GetValidationReplay
Another problem i have with Modescript Gamemodes:
When using the ListMethod RestartMap, after that i can not get validation replays with the ListMethod GetValidationReplay from the round before. I always get then the error: -1000 No new replay.

This is because a RestartMap is a instant restart in Modescript Gamemodes, without a ManiaPlanet.EndMap callback as it was in the legacy Modes.

It would be nice if the dedicated server can hold the validation replays until the map has changed, to be able to use GetValidationReplay. :thumbsup:
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.
TheBigG.
Posts: 401
Joined: 11 Jun 2011, 16:11

Re: ManiaPlanet Server 2014-09-10

Post by TheBigG. »

Hi,

yesterday after FB's weekly race the dedicated Server did crash again.

Code: Select all

Oct 11 17:05:26 ca241 kernel: [7979577.398936] ManiaPlanetServ[778]: segfault at 17743700 ip 0000000017743700 sp 00000000ffc73d3c error 15
It seem like it does crash if there are lots of players on the server and they leave in a short time. We had 200 Players and they did leave in some minutes.
Client:
OS: Win10/Debian CPU: Intel 9900k GPU: NVIDIA 1080TI Display: 3x Acer Predator XB271HUbmiprz 1440p@165 Hz

Server:
OS: Debian Stable @ Backports Kernel CPU: Intel 6700k RAM: 32 GB Storage: 2x 256 GB NVMe SSD@Raid 1
Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 1 guest