Page 6 of 8

Re: ManiaPlanet 2 Beta Server 2013-04-12

Posted: 19 Apr 2013, 21:41
by Xymph
xbx wrote:Here is quick test update:
Dynamic and static method lists updated.
xbx wrote:GetTeamInfo() : to get infos from the team links in use for the match in progress. (the 'TeamLinkUrl' will not be filled-in until we update the scripts.)
The method help lists param ClubLinkUrl as the last one, while it actually follows after EmblemUrl.
xbx wrote:DisableServiceAnnounces() to disable 'player has joined / left the game' messages.
Is accompanied by AreServiceAnnouncesDisabled, of course.

The method help for both has a typo: "the automatic mesages" should be "the automatic messages".

In API 2011-10-06 and later, GetServerOptions & SetServerOptions method help include new entries DisableHorns and DisableServiceAnnounces.
But in API 2011-08-01, GetServerOptions is missing the DisableHorns and DisableServiceAnnounces entries, only SetServerOptions lists them.
xbx wrote:callback PlayerDisconnect() now has a second parameter "string DisconnectionReason". It's usually empty, except when the player is sent to an other server. In that case, it's "join ServerLogin" . [needs SetApiVersion("2013-04-16")]
I've created a preliminary Callbacks list for the new API version. Please let me know of other differences compared to 2012-06-19, or include it in the next full zip release.
xbx wrote:http requests user-agent fixed for linux
Nice: "ManiaPlanet/3.3.0 (Linux; rv: 2013-04-19-20_00; context: none; distro: )"

Edit: the RPC Utilities are now updated for the new API version.

Re: ManiaPlanet 2 Beta Server 2013-04-12

Posted: 19 Apr 2013, 21:49
by Xymph
kremsy wrote:Do you know what ManiaPlanet.PlayerAlliesChanged(string Login); exactly makes?
Is it when a Player changes a team?
Not sure, haven't tested for it, but that sounds plausible.

Re: ManiaPlanet 2 Beta Server 2013-04-12

Posted: 19 Apr 2013, 21:52
by w1lla
kremsy wrote:Thank you Xymph.

Do you know what ManiaPlanet.PlayerAlliesChanged(string Login); exactly makes?

Is it when a Player changes a team?
Method called when the player in parameter has changed its allies.

https://code.google.com/p/manialive/sou ... er.php#182

Re: ManiaPlanet 2 Beta Server 2013-04-12

Posted: 20 Apr 2013, 00:53
by spaii
xbx wrote: fix running a script mode server in trackmania. (stunters ;) )
Thx a lot xbx, all works nice :thx:
xbx wrote:http requests user-agent fixed for linux
That is nice too, perhaps this will correct my truncated url problem in http requests.

Re: ManiaPlanet 2 Beta Server 2013-04-12

Posted: 20 Apr 2013, 02:28
by OTMB-HGL
:thumbsup:
I know nothing about scripts and objects and limiters and all that - I just love to stunt in Canyon-environment!
So I need 2 say big thanks to xbx for his help - 2 weeks without TM²-Beta-Stunts were hell! :D

The TM²-Beta-Stunters will honour xbx on our facebook-site:
https://www.facebook.com/groups/409414552483703/

Thanks Spai and XBX for their job