[B3RC1][Fixed] Missing Function in ManiaPlanet Client

Moderator: NADEO

Locked
User avatar
Darkminus
Posts: 228
Joined: 05 Jun 2012, 20:54
Location: Dans mon monde.
Contact:

[B3RC1][Fixed] Missing Function in ManiaPlanet Client

Post 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 ;)
Last edited by Eole on 11 Feb 2013, 17:50, edited 2 times in total.
Reason: Edited title
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: Missing Function in ManiaPlanet Client (for Realm)

Post 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
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    Eole
    Nadeo
    Nadeo
    Posts: 1265
    Joined: 26 Apr 2011, 21:08

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

    Post 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.
    Contribute to the ManiaPlanet documentation on GitHub
    A question about ManiaScript? Ask it here!
    Locked

    Return to “Shootmania Storm Reports”

    Who is online

    Users browsing this forum: No registered users and 1 guest