Page 1 of 1

[B3RC1][Fixed] Missing Function in ManiaPlanet Client

Posted: 10 Feb 2013, 15:09
by Darkminus
Hello!

First, thanks again for that awesome Realm mode.
The problem is that it's not possible to make a working realm server (I mean from the game, in local).
I first thought it wasn't the good version of the script, but in reality it's not the problem.
When I went to the script editor, I got a compilation error, without touching anything.

See the screenshot:

Image

Nothings shows up.

In the script editor, the client don't understand a specific function. If you set it in commentary, it works, but I think it's important to say you that it's not implemented in the client ^^ (It is implemented in the dedicated server since it works without touching the script)

See it here:


Image

Have a nice day everyone!
Good job for that awesome update ;)

Re: Missing Function in ManiaPlanet Client (for Realm)

Posted: 10 Feb 2013, 16:06
by steeffeen
you are using script files located in the maniaplanet folder (that's why the includes on the right hand side are yellow) and i guess the Color.Script.txt is an older version and doesn't have the function
delete your folder ManiaPlanet/Scripts/Libs/Nadeo and it will be fine

Re: [B3RC1] Missing Function in ManiaPlanet Client (for Real

Posted: 11 Feb 2013, 17:49
by Eole
Steeffeen 's suggestion is most probably the right. If you have a script with the same name and path in your Documents folder than the default Nadeo one, then ManiaPlanet will use this script in priority.
As the RgbToHsv() is a new function I added in the Color library in the latest update, if you had an old copy of this lib in your Documents folder it won't work.