Page 6 of 9
Re: [ManiaScript] List of known bugs and Suggestions
Posted: 04 Aug 2013, 16:22
by spaii
You're welcome!

Re: [ManiaScript] List of known bugs and Suggestions
Posted: 23 Sep 2013, 12:05
by steeffeen
ShootMania:
to increase the usability of the storm it would be great if you could set the center point of the storm with coordinates and not just with block ids
Re: [ManiaScript] List of known bugs and Suggestions
Posted: 25 Oct 2013, 19:00
by steeffeen
one thing that would be really really helpful is a library for actual json conversation
currently we can only craft our own json string that can be SENT to a server but FETCHING data from a server is soo incredibly dirty because we would have to parse it step by step etc
of course it's kind of difficult to decode a json without dynamic objects but it's still possible
either with associative arrays or with key-value coding
does anyone have an idea for a clean way to parse a data string with a constant structure but with a dynamic length and with unpredictable values?
Re: [ManiaScript] List of known bugs and Suggestions
Posted: 25 Oct 2013, 19:27
by w1lla
Code: Select all
public function __construct($json = false) {
if ($json)
$this->set(json_decode($json, true));
}
public function set($data) {
foreach ($data AS $key => $value) {
if (is_array($value)) {
$sub = new RpcObject();
$sub->set($value);
$value = $sub;
}
$key = lcfirst($key);
$this->{$key} = $value;
}
}
This is what i did... Then just get the variables which are sent by the array.
Re: [ManiaScript] List of known bugs and Suggestions
Posted: 25 Oct 2013, 19:35
by steeffeen
i'm talking about maniascript and not about php
//edit: i guess i will have to mess around with xml
XML is like violence: if it doesn’t solve your problem, you aren’t using enough of it.
Re: [ManiaScript] List of known bugs and Suggestions
Posted: 30 Oct 2013, 20:30
by w1lla
Medium/High:
Bug of Nickname of Players that are too long in ScoreTable.
The NickName of Players isn't filled properly or are too big. In for example siege, players nicknames are combined with the armors they have left. Which is quite unreadable.
Re: [ManiaScript] List of known bugs and Suggestions
Posted: 31 Oct 2013, 14:49
by Eole
w1lla wrote:Bug of Nickname of Players that are too long in ScoreTable.
It's fixed in the next version. Do you have other examples than in Siege? With a screenshot if possible.
Re: [ManiaScript] List of known bugs and Suggestions
Posted: 01 Dec 2013, 15:11
by steeffeen
a Color Property for the class CMlGauge would be great

so you don't have to create a new manialink all the time (for a changed color="" attribute)
Re: [ManiaScript] List of known bugs and Suggestions
Posted: 13 Jan 2014, 23:42
by steeffeen
i thought it has been requested already but i couldn't find the thread
- please make it possible to close the current manialink from maniascript
with that i mean that the complete manialink browser closes as if you would have hit the Escape key or clicked on a control with action="0"
Re: [ManiaScript] List of known bugs and Suggestions
Posted: 14 Jan 2014, 12:26
by magnetik
Your dream will come true (in next update) :
http://maniaplanet.github.io/documentat ... tions.html
Is that up to date documentation? YEAH
(thanks xbx)