Page 2 of 3
Re: ManiaPlanet Server 2014-09-10
Posted: 12 Sep 2014, 12:51
by Eole
fng_thatoneguy wrote:The mode scripts did have some updates;
The changes on the script are listed
here.

Re: ManiaPlanet Server 2014-09-10
Posted: 13 Sep 2014, 10:38
by TheBigG.
Hi,
does somebody know what the max value for <clientinputs_maxlatency> is?
Re: ManiaPlanet Server 2014-09-10
Posted: 13 Sep 2014, 17:11
by steeffeen
TheBigG. wrote:does somebody know what the max value for <clientinputs_maxlatency> is?
a quick forum search found the following post by me
http://forum.maniaplanet.com/viewtopic. ... cy#p182102
Re: ManiaPlanet Server 2014-09-10
Posted: 14 Sep 2014, 13:27
by undef.de
I have just edited an own old posting from the " [MP3] REPORTS AND BUGS" forum and wanted to point to, because there was no response on it, but i think there are "important" things in it to make the handling in TM² of the UI better:
http://forum.maniaplanet.com/viewtopic. ... 47#p223847 
Re: ManiaPlanet Server 2014-09-10
Posted: 20 Sep 2014, 19:15
by TheBigG.
Hi,
after FB's weekly race the Server did crash with this in Syslog
Code: Select all
Sep 20 20:08:05 ca241 kernel: [6177666.377945] ManiaPlanetServ[10158]: segfault at 15b56f00 ip 0000000015b56f00 sp 00000000ff8fee0c error 15
in the server log is no error
Re: ManiaPlanet Server 2014-09-10
Posted: 26 Sep 2014, 20:52
by undef.de
Let's say i build a own Title (example name "Jump-N-Run@undeflabs") based upon TMStadium. If i run a dedicated server with this settings (shorted):
Dedicated config
Code: Select all
<dedicated>
<system_config>
<title>Jump-N-Run@undeflabs</title>
</system_config>
</dedicated>
MatchSettings
Code: Select all
<playlist>
<gameinfos>
<game_mode>0</game_mode>
<script_name>TimeAttack.Script.txt</script_name>
<title>Jump-N-Run@undeflabs</title>
</gameinfos>
</playlist>
Is there somewhere a possibilities for a server controller to figure out which base Title is used, in this example "TMStadium"?
Re: ManiaPlanet Server 2014-09-10
Posted: 26 Sep 2014, 22:53
by oliverde8
I had the same problem while coding eXpansion,

Steffen helped me figure it out, just get the environment of the map.
Re: ManiaPlanet Server 2014-09-10
Posted: 27 Sep 2014, 12:38
by undef.de
oliverde8 wrote:...just get the environment of the map.
Ahm... a too simple solution, i want a much more complicated one.
EDIT: Your solution doesn't work for what i wanted to do: I wanted to use it as the "packmask" parameter for dedimania, but the environment can be changed for each map in e.g. the Title "Trackmania_2@nadeolabs".
Re: ManiaPlanet Server 2014-09-10
Posted: 01 Oct 2014, 21:58
by undef.de
May i give a short reminder to those problems:
Important: ListMethods SetScriptName and GetScriptName
On change the Modescript with the ListMethod
SetScriptName, then after a map change the old Modescript is still running, but the ListMethod
GetScriptName returns the changed script name.
E.g. from 'Rounds.Script.txt' to ' 'TimeAttack.Script.txt'. Only a dedicated server restart helps, which is not really advantageous.
Reported at:
http://forum.maniaplanet.com/viewtopic. ... 45#p223445
http://forum.maniaplanet.com/viewtopic. ... 38#p218038
http://forum.maniaplanet.com/viewtopic. ... 97#p209097
Not Important: Buggy LibXmlRpc_OnRespawn response:
A detailed report see:
http://forum.maniaplanet.com/viewtopic. ... 66#p220566
Re: ManiaPlanet Server 2014-09-10
Posted: 01 Oct 2014, 23:23
by steeffeen
undef.de wrote:Important: ListMethods SetScriptName and GetScriptName
looking at
http://forum.maniaplanet.com/viewtopic.php?t=27338 i still think that it's Nadeos intended behaviour
SetScriptName only changes the name of the game mode and not the actual script
that way Nadeo thinks everything is working fine and they don't get the issue you're referring to?
so i still believe that we need to point out that we want the server to load the new script file by itself, after giving its name via SetScriptName
could we please have some confirmation by Nadeo? am i wrong?
// 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