Page 1 of 2

ManiaPlanet Server 2015-03-09

Posted: 10 Mar 2015, 11:41
by xbx
Hello!

New server update available!
http://files.maniaplanet.com/ManiaPlane ... -03-09.zip

(changes since previous version;
http://files.maniaplanet.com/ManiaPlane ... _delta.zip )


Main changes:
  • TM: added support for "commands'" in script modes, and updated Chase mode.
  • a few long standing bug fixes: SetScriptName(), "Onelap Bug", GetValidationReplay() .

Re: ManiaPlanet Server 2015-03-09

Posted: 10 Mar 2015, 11:44
by xbx
TheBigG. wrote:at least a statement if there is planned IPv6 support?
at this time, it's not high priority on the todo list, unfortunately...

Re: ManiaPlanet Server 2015-03-09

Posted: 10 Mar 2015, 12:10
by Coshank90
Does this fix the cup mode + warmup = no ladder points bug?

Re: ManiaPlanet Server 2015-03-09

Posted: 10 Mar 2015, 13:18
by Xymph
xbx wrote:New server update available!
http://files.maniaplanet.com/ManiaPlane ... -03-09.zip
It includes a copy of ManiaPlanetBetaServer_2015-03-09_delta.zip but with a different filesize than the file below. That was probably not intended.
xbx wrote:(changes since previous version;
http://files.maniaplanet.com/ManiaPlane ... _delta.zip )
FYI, the actually changed files since 2015-02-18b are:

./ManiaPlanetServer
./ManiaPlanetServer.exe
./UserData/Scripts/Libs/Nadeo/MatchmakingLobby.Script.txt
./UserData/Scripts/Libs/Nadeo/MatchmakingMatch.Script.txt
./UserData/Scripts/Libs/Nadeo/ShootMania/XmlRpc.Script.txt
./UserData/Scripts/Libs/Nadeo/TrackMania/XmlRpc.Script.txt
./UserData/Scripts/Libs/Nadeo/XmlRpcCommon.Script.txt
./UserData/Scripts/Modes/ShootMania/ModeBase.Script.txt
./UserData/Scripts/Modes/TrackMania/Chase.Script.txt

and two new files:

./UserData/Scripts/Libs/Nadeo/TrackMania/WarmUp2.Script.txt
./UserData/Scripts/Libs/Nadeo/WarmUp2Common.Script.txt

The Svn glitch was also fixed. ;)

Re: ManiaPlanet Server 2015-03-09

Posted: 10 Mar 2015, 14:48
by Eole
The changelog for the scripts.

Re: ManiaPlanet Server 2015-03-09

Posted: 10 Mar 2015, 16:05
by xbx
Coshank90 wrote:Does this fix the cup mode + warmup = no ladder points bug?
yep should be also fixed.

Re: ManiaPlanet Server 2015-03-09

Posted: 10 Mar 2015, 17:51
by Xymph
xbx wrote: [*] a few long standing bug fixes: [...] "Onelap Bug", GetValidationReplay() .
Thanks for fixing this one... at long last. :mrgreen:

Re: ManiaPlanet Server 2015-03-09

Posted: 10 Mar 2015, 21:26
by undef.de
Eole wrote:The changelog for the scripts.
Please do not forget to update the docs at http://doc.maniaplanet.com/dedicated-se ... html#Chase.
I know you would not forget it, only lack of time on release day. ;)

---------------------------------------------------------------------

EDIT: LibXmlRpc_LoadingMap does always return "False" on map restart, but LibXmlRpc_BeginMap knows the truth:

Code: Select all

string(20) "LibXmlRpc_LoadingMap"
array(3) {
  [0]=>
  string(1) "1"
  [1]=>
  string(27) "oN9v9zfH8Axtqj7Jbx4Fjdbro6e"
  [2]=>
  string(5) "False"
}

string(18) "LibXmlRpc_BeginMap"
array(3) {
  [0]=>
  string(1) "1"
  [1]=>
  string(27) "oN9v9zfH8Axtqj7Jbx4Fjdbro6e"
  [2]=>
  string(4) "True"
}
Because the Libs/Nadeo/TrackMania/XmlRpc.Script.txt v2015-02-23 contains LoadingMap() twice (how is that possible?... remove the last one):

Code: Select all

// ---------------------------------- //
/** Callback sent when starting to load the map
 *	Data:
 *	[Number of the map]
 */
Void LoadingMap(Integer _Number, Boolean _Restarted) {
	XmlRpc::LoadingMap(_Number, _Restarted);
}

// ---------------------------------- //
/** Callback sent when starting to load the map
 *	Data:
 *	[Number of the map]
 */
Void LoadingMap(Integer _Number) {
	XmlRpc::LoadingMap(_Number, False);
}
Modes/TrackMania/ModeBase.Script.txt and Modes/TrackMania/ModeMatchmaking.Script.txt needs a update too to work the right way (adding parameter "MB_MapRestarted"):

Code: Select all

			// Load map
			XmlRpc::LoadingMap(MB_SectionMapNb, MB_MapRestarted);
			MB_LoadMap();
---------------------------------------------------------------------

EDIT 2:
xbx wrote: [...]a few long standing bug fixes: SetScriptName(), "Onelap Bug", GetValidationReplay()
Confirmed all above mentioned are fixed: THANKS! :thx:

Re: ManiaPlanet Server 2015-03-09

Posted: 11 Mar 2015, 15:40
by Eole
undef.de wrote:Please do not forget to update the docs at http://doc.maniaplanet.com/dedicated-se ... html#Chase.
I know you would not forget it, only lack of time on release day. ;)
Documentation updated, thanks for the reminder.
undef.de wrote:EDIT: LibXmlRpc_LoadingMap does always return "False" on map restart, but LibXmlRpc_BeginMap knows the truth. Modes/TrackMania/ModeBase.Script.txt and Modes/TrackMania/ModeMatchmaking.Script.txt needs a update too to work the right way (adding parameter "MB_MapRestarted").
Fixed in these commit and commit.
undef.de wrote:Because the Libs/Nadeo/TrackMania/XmlRpc.Script.txt v2015-02-23 contains LoadingMap() twice (how is that possible?... remove the last one):
The two functions have different signatures. The second one is there for compatibility. People would complain if their custom game modes stopped working after an update.

Re: ManiaPlanet Server 2015-03-09

Posted: 12 Mar 2015, 13:24
by Coshank90
xbx wrote:
Coshank90 wrote:Does this fix the cup mode + warmup = no ladder points bug?
yep should be also fixed.
Weey finally! :)