I hope that Steff has a better idea, cause add callbacks in the script is like the martian language for mekremsy 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 .
[MPAseco] [v0.75] Report bugs here!
Moderator: NADEO
Re: [MPAseco] [v0.75] Report bugs here!
Re: [MPAseco] [v0.75] Report bugs here!
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
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!
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
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!
Big thanks Steeffen for this temporary solution until the official script.
And thanks Kremsy for his help.
PS: I send a message to Mewin
And thanks Kremsy for his help.
PS: I send a message to Mewin
Re: [MPAseco] [v0.75] Report bugs here!
@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
sorry for the inconvenience
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;
Re: [MPAseco] [v0.75] Report bugs here!
are you really running v0.75? ^.^
i will try it myself this evening
(sorry in case it doesn't work)
i will try it myself this evening
(sorry in case it doesn't work)
Who is online
Users browsing this forum: No registered users and 1 guest