Page 4 of 4

Re: [Beta2.1] ManiaPlanet 2 Beta Server 2013-01-23c

Posted: 01 Feb 2013, 12:18
by w1lla
When using With APIVersion: 2012-06-19 i cant properly use OnEndMap with the following things:

Code: Select all

function onEndMap($rankings, $map, $wasWarmUp, $matchContinuesOnNextMap, $restartMap) {
Rankings give me a null.

If i alter the Api Version to 2011-10-06 it does seem to work.

This only seems to be a bug in TM2Canyon and not in Shootmania.

Or am i working on something bad it seems.

Re: [Beta2.1] ManiaPlanet 2 Beta Server 2013-01-23c

Posted: 01 Feb 2013, 21:16
by steeffeen
kremsy wrote:TriggerModeScriptEventArray does not work, a callback comes from EType::Unknown, and i found no way to send array data with it.
well the callback is listed in pending events but we have no idea how to access the elements of the array

Re: onEndRound doesn't trigger :(

Posted: 07 Feb 2013, 22:26
by reaby
w1lla wrote:When using With APIVersion: 2012-06-19 i cant properly use OnEndMap with the following things:

Code: Select all

function onEndMap($rankings, $map, $wasWarmUp, $matchContinuesOnNextMap, $restartMap) {
Rankings give me a null.
If i alter the Api Version to 2011-10-06 it does seem to work.
I can confirm this bug

also
when using With APIVersion: 2012-06-19 with canyon

Code: Select all

function onEndRound() { }

doesn't trigger.

Re: [Beta2.1] ManiaPlanet 2 Beta Server 2013-01-23c

Posted: 07 Feb 2013, 22:47
by reaby
Looks like the whole callback is removed from the newest api... this is bad. thiiiis is baaaaaad :evil: