Errors on startup

NodeCanvas Forums Support Errors on startup

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #10272

    Hey there. I’m having a lot of errors when I compile this although everything seems to work just fine in the editor so far. Just wondering if this was normal or not. I’m also unable to access the graph and blackboard in my scripts. I’m using java and trying to import it but it doesn’t seem to know what it is. Can you help me?

    #10279

    Sorry here’s a better pic of what’s going on

    #10278
    Gavalakis
    Keymaster

    Hello there,

    Regarding usage with JS you will have to move some folders. There is a documentation page about it:
    http://nodecanvas.com/documentation/working-with-js-or-boo/
    Have you done that?

    Regarding the errors, do those errors come up even when you don’t get the JS related errors, like for example a clean import in a new project? What platform are you building to?

    Thanks

    Join us on Discord: https://discord.gg/97q2Rjh

    #10277

    Wow I completely missed that page in the documentation! Sorry about that! I’m sure this will fix a lot of issues. Thanks for the help. I like what I’ve seen of this so far.

    #10276

    Ok so the good news is, after I moved those folders I’m now able to access the blackboard although I’m still not sure how to access the actual variables in it using Java. Could you show me a small example how I could do this? The bad news is those errors still show up every time I compile. They don’t seem to actually effect anything that I can tell so far though. I’m still able to run my game with those errors and the trees still execute just fine. I tried creating a brand new project with absolutely nothing imported into it except for NodeCanvas and still got those errors when I compiled the code and it was a project designed for PC. Since it doesn’t seem to effect anything as far as I can tell it’s a small gripe but one I figured I’d keep you in the loop about. Here’s some more screen shots of what I’m getting there…

    #10275

    And one more

    #10274

    This prints out the blackboard object and it recognizes it just fine but this is as far as I’ve been able to get as far as accessing the blackboard with Java.

    #10273
    Gavalakis
    Keymaster

    Hello,

    Regarding the error if you are using latest MonoDevelop, there shouldn’t be any. If you are using an older version of MonoDevelop, make sure you are using .NET 4. Here is a Unity answer with screnies: http://answers.unity3d.com/questions/176305/default-parameter-specifiers-are-not-permitted.html

    To get/set a blackboard variable, you do so like this in JS:
    blackboard.GetDataValue.(“myBoolName”)
    blackboard.SetDataValue(“myBoolName”, true);

    Here is the doc:
    http://nodecanvas.com/documentation/the-blackboard/direct-access/

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.