• Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums
C

Carson Herrick

@Carson Herrick
About
Posts
6
Topics
1
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    Shared Scripts not working
  • C Carson Herrick

    @JasonL
    I can confirm they are working despite a warning, in strict mode.
    Thanks!


  • Shared Scripts not working
  • C Carson Herrick

    Re: Shared Modules - Ability to share code between cloud scripts
    I am using

    "use strict";
    bridge.include("external_script_name.ccjs");
    

    But when I try to use it, the web editor gives me an error
    'external_function_name' is not defined.
    I know the external function is all good. The error goes away, when I copy it locally.


  • Unity Room Server
  • C Carson Herrick

    @David-St-Louis-0 @Paul-Winterhalder
    Hi again.
    I would like to debug my server locally, in Unity. I have the _S2S stuff all hooked up as described in the walk through.
    But then I tried to do the following (actual numbers redacted)

    #if UNITY_EDITOR
                var appId = "00000";
                var serverName = "MyServerName";
                var secret = "00000000-0000-0000-0000-000000000000";
                _lobbyId = "00000:myLobbyTypeId:00";
    #else
                // Load environment variables passed in by brainCloud to our container
                var appId = Environment.GetEnvironmentVariable("APP_ID");
                var serverName = Environment.GetEnvironmentVariable("SERVER_NAME");
                var secret = Environment.GetEnvironmentVariable("SERVER_SECRET");
                _lobbyId = Environment.GetEnvironmentVariable("LOBBY_ID");
    #endif
    

    However, I am getting a perpetual error:
    #S2S S2S Failed: {"packetId":1,"messageResponses":[{"reason_code":40613,"status_message":"Processing exception: Unrecognized lobby: 00000:myLobbyTypeId:00","status":400}]}

    I even signed up for a Dev+ subscription, just in case that was the problem, per this thread. No luck.

    How can I test my server code locally, while still planning for the full-on S2S Docker container deployment?
    Thanks


  • Unity Room Server
  • C Carson Herrick

    For any other small developers out there, just trying to test things out.
    Looking through Docker Hub menus and their documentation, it appears you can either create 1 free private repo on your User account (which doesn't allow teams), or you can create a team on an Organization account, which does not offer 1 free private repo. To add private repos to an Organization account, you are looking at a minimum cost of $35/month.


  • Unity Room Server
  • C Carson Herrick

    @Paul-Winterhalder
    Thanks.
    Note, I think you meant username "braincloudhost", as posted above. ("bchosting" doesn't exist)


  • Unity Room Server
  • C Carson Herrick

    @David-St-Louis-0 Hi brainCloud. I am trying to follow this guidance. I'm new to Docker and containers.

    "From docker hud, you need to give read access to this user: braincloudhost"
    Did you mean dockerhub online web app? I have not found "permissions" on there. Only a Collaborators option, which gives read and write access.

    This guidance
    http://help.getbraincloud.com/en/articles/3942761-custom-multiplayer-server-with-unity
    has a step "2. Install docker daemon"
    On the Docker site I found the option to install a Docker Desktop app (for Windows). Is that what you mean?
    Or is there really just a daemon to download? I cannot find such a thing by searching the Docker site. Do you have a link?

    If I bother with the whole desktop app, is that where I can find the read-only permissions options?

    Thanks!

  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users