Page 3 of 5
Re: [MPAseco] [v0.75] Report bugs here!
Posted: 17 Jul 2013, 11:23
by franck70
kremsy wrote:The problem is that your Script is not extending the ModeBaseScript, where nadeo put the Callbacks for the Server-controller in, there are some different ways now.
The easiest way is to add the callbacks yourself like this:
http://forum.maniaplanet.com/viewtopic. ... 97#p145143
Maybe steff has better ideas, he is the Script King

.
I hope that Steff has a better idea, cause add callbacks in the script is like the martian language for me

Re: [MPAseco] [v0.75] Report bugs here!
Posted: 17 Jul 2013, 11:42
by franck70
I don't made this script ,just download Kremsy

Re: [MPAseco] [v0.75] Report bugs here!
Posted: 17 Jul 2013, 12:07
by steeffeen
i've posted the need of callbacks in the linked thread on maniapark and the author of the game mode said that he might fix it but probably not in the near future..
http://www.maniapark.com/forum/viewtopi ... 70#p190170
it wouldn't take long to insert them manually for now, but before i do that you could maybe message him too
Re: [MPAseco] [v0.75] Report bugs here!
Posted: 17 Jul 2013, 19:16
by steeffeen
i've quickly made a version with the needed callbacks
please use it for now:
http://files.team-devota.com/CaptureTheFlag.Script.txt
the actual script author (mewin) will update the official script as soon as he has time to do that so i would like to ask everyone to use his version as soon as it's available

Re: [MPAseco] [v0.75] Report bugs here!
Posted: 17 Jul 2013, 20:36
by franck70
Big thanks Steeffen for this temporary solution until the official script.
And thanks Kremsy for his help.
PS: I send a message to Mewin

Re: [MPAseco] [v0.75] Report bugs here!
Posted: 18 Jul 2013, 07:13
by franck70
@Steeffen :
the script still does not work, still the same problem
@Kremsy
I try to modify the file mpaseco.php it doesn't work too
Code: Select all
case 'ManiaPlanet.EndRound': // none new
$this->endRound();
break;
case 'ManiaPlanet.StatusChanged': // [0]=StatusCode, [1]=StateName
// update status changes
$this->prevstatus = $this->currstatus;
$this->currstatus = $call[1][0];
// check WarmUp state
if ($this->currstatus == 3 || $this->currstatus == 5) { */
$this->client->query('GetWarmUp');
$this->warmup_phase = $this->client->getResponse();
}
if ($this->currstatus == 4) { // Running - Play
$this->runningPlay();
}
$this->releaseEvent('onStatusChangeTo' . $this->currstatus, $call[1]);
break;
/* case 'ManiaPlanet.BeginMap': // [0]=Challenge
$this->beginMap($call[1]);
break;
case 'ManiaPlanet.EndMap': // [0]=Challenge
if($this->endmapvar==0)
$this->endMap($call[1]);
break;
case 'ManiaPlanet.PlayerManialinkPageAnswer': // [0]=PlayerUid, [1]=Login, [2]=Answer, [3]=Entries
$this->releaseEvent('onPlayerManialinkPageAnswer', $call[1]);
break;
case 'ManiaPlanet.BillUpdated': // [0]=BillId, [1]=State, [2]=StateName, [3]=TransactionId
$this->releaseEvent('onBillUpdated', $call[1]); */
break;
sorry for the inconvenience
Re: [MPAseco] [v0.75] Report bugs here!
Posted: 18 Jul 2013, 08:26
by steeffeen
are you really running v0.75? ^.^
i will try it myself this evening
(sorry in case it doesn't work)