Page 1 of 3

Maniaplanet Server 2017-08-04

Posted: 02 Aug 2017, 16:27
by xbx
Hello folks,

Here is a new server
http://files.v04.maniaplanet.com/server ... -08-04.zip

This version should fix (hopefully!) the "memory usage explodes" issue.
as well as a few other fixes. (crashes, replay validator, ...)
(There are also a pair of new xml-rpc commands for the serverplugin script, but that's not quite ready for prime time yet)

Only the executable are updated.

edit: 2017-08-03 with an additional server crash fix.
edit: 2017-08-04 turns out, I messed up, 2017-08-03 was the same as 2017-08-02 and did not include the aforementioned fix.

Re: Maniaplanet Server 2017-08-02

Posted: 02 Aug 2017, 18:32
by Xymph
xbx wrote: 02 Aug 2017, 16:27 Here is a new server
http://files.v04.maniaplanet.com/server ... -08-02.zip

This version should fix (hopefully!) the "memory usage explodes" issue.
as well as a few other fixes. (crashes, replay validator, ...)
(There are also a pair of new xml-rpc commands for the serverplugin script, but that's not quite ready for prime time yet)

Only the executables are updated.
Indeed, so no listing from me. :mrgreen:

The listmethods script (see RPC utilities) already shows the two new methords in all four API versions:
SetServerPlugin
boolean SetServerPlugin(boolean, string, struct)
Set a the ServerPlugin settings. Parameters: ForceReload to reload from disk, optionnally: Name the filename relative to Scripts/ directory, Settings the script #Settings to apply. Only available to Admin.
GetServerPlugin
struct GetServerPlugin()
Get the ServerPlugin current settings.
Additionally, SetServerOptions requires a new parameter ServerPlugin (after KeepPlayerSlots).

xbx, typo corrections:
* "Set a the" -> "Set the"
* "optionnally" -> "optionally"

Re: Maniaplanet Server 2017-08-02

Posted: 02 Aug 2017, 18:55
by xbx
Xymph wrote: 02 Aug 2017, 18:32 Additionally, SetServerOptions requires a new parameter ServerPlugin (after KeepPlayerSlots).
mmm "requires " are you sure? Should be optional. (so you can safely ignore all this for now..;)

Re: Maniaplanet Server 2017-08-02

Posted: 02 Aug 2017, 19:10
by Xymph
xbx wrote: 02 Aug 2017, 18:55
Xymph wrote: 02 Aug 2017, 18:32 Additionally, SetServerOptions requires a new parameter ServerPlugin (after KeepPlayerSlots).
mmm "requires " are you sure? Should be optional. (so you can safely ignore all this for now..;))
You're right, it's in the second group of parameters "optionally for forever". My bad.
And yes, you mentioned this feature is not ready for production use yet. YMMV :pil

Re: Maniaplanet Server 2017-08-02

Posted: 02 Aug 2017, 19:27
by toffe
Thanks for the update. We're all running the new version right now :thumbsup:

(Btw, it would be awesome if there could be some kind of release note xml where we can see the very latest version with like so we can programmatically read it to auto-update stuff).

Re: Maniaplanet Server 2017-08-02

Posted: 03 Aug 2017, 08:16
by magnetik
Since I maintain the APT repository, you can do something paring the Packages files from it : http://apt.live.nadeo.com/dists/stable/ ... 4/Packages

Re: Maniaplanet Server 2017-08-02

Posted: 03 Aug 2017, 08:21
by toffe
magnetik wrote: 03 Aug 2017, 08:16 Since I maintain the APT repository, you can do something paring the Packages files from it : http://apt.live.nadeo.com/dists/stable/ ... 4/Packages
Correct, but can there be any delays for updating the APT repo? I mean like, is there day(s) between the release on forum and apt release?

Re: Maniaplanet Server 2017-08-02

Posted: 03 Aug 2017, 08:26
by magnetik
There should not be more than a few hours of delay and no delay in case of incompatible protocol change :thumbsup:

Re: Maniaplanet Server 2017-08-02

Posted: 03 Aug 2017, 08:33
by toffe
magnetik wrote: 03 Aug 2017, 08:26 There should not be more than a few hours of delay and no delay in case of incompatible protocol change :thumbsup:
Okay perfect, thanks :)

Re: Maniaplanet Server 2017-08-03

Posted: 03 Aug 2017, 16:09
by xbx
Updated the linux exe with an additional server crash fix.


toffe wrote: 02 Aug 2017, 19:27 (Btw, it would be awesome if there could be some kind of release note xml where we can see the very latest version with like so we can programmatically read it to auto-update stuff).
I also post the server to viewtopic.php?f=261&t=12494
And update the http://files.v04.maniaplanet.com/server ... Latest.zip file.
But I usually do it a day or so later, to make sure no outstanding issues pop out in the meantime.