Navigation

    forum

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    1. Home
    2. Shangmaro
    • Flag Profile
    • block_user
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Groups
    • Blog

    Shangmaro

    @Shangmaro

    4
    Posts
    896
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Shangmaro Follow

    Posts made by Shangmaro

    • Tutorial Training is broken

      Running the Steam client.

      • Start up the app
      • Click "Start tutorial" in the bottom-right corner
      • Click "Training"
      • Observe: there is no code.

      Branch says "default", but it's empty. If I click "Open local folder" the path that it gives is: "C:\Users\asout\AppData\Local\Screeps\scripts\screeps.com\null" and of course doesn't contain anything. The code browser just shows one module (main) which is empty.

      If I click Exit, OK, then close the Simulation Mode, I get a different main menu, this one with just Community servers and Private server, except both lists are empty. Clicking "Private server" seems to wake the system up, and clicking "Screeps" also seems to go somewhere useful and properly initialize the app.

      Because, at this point, if I click "Start tutorial" / "Training", the path is gives is now: C:\Users\asout\AppData\Local\Screeps\scripts\screeps.com\tutorial-5 (which is, indeed, the last branch I was playing around with in the tutorial)

      So there's a workaround here, and the easiest way to do that is, instead of going to "Start tutorial" from the main page is to Connect to the Official Server, Menu, Simulation, Training - and now my code path is set up properly.

      posted in Technical Issues and Bugs
      Shangmaro
    • RE: Local server doesn't render map

      ok, sure. I'm new here, I'll bow to your wisdom here. Marked unsolved.

      posted in Technical Issues and Bugs
      Shangmaro
    • RE: Local server doesn't render map

      Yep, this looks like a bug in the Steam new user flow. No badge created, game probably throws an exception, and the rest of the client never does anything useful.

      Found a likely db.json candidate in steamapps/common/screeps/server.

      No such file in AppData/local/screeps, and there are several other db.json files under server/package/node_modules but I figure they're not relevant.

      So... being a lazy coder, I never tried to verify the bug today before I started changing code 🙂 so I just added the badge object, started it up, and now it looks better. The "Display" popup in the top right of the map is there, rooms render, I can drill down into rooms, and "SELECT YOUR ROOM" is displayed (and I can place a Spawn, too).

      This seems to be the fix, silas, thanks!

      posted in Technical Issues and Bugs
      Shangmaro
    • Local server doesn't render map

      I just moved to a new laptop, and have freshly installed lots of things, including screeps. This is an Alienware Windows 10 Pro laptop, so it's got decent memory & disk & whatnot.

      So. I launch screeps, click Private server, then click "Start server" next to localhost. The server seems to start up fine.

      Then I click on the "localhost" box again, and I get a screeps window with my profile in the upper right (I created a new account) but it didn't ask me to pick a badge. I'm on the World View, but none of the rooms render -- the screen is just a wash of dark grey. The zoom in/out buttons are on the left, menu top left, stats top rightish, profile popup, and in the middle (below the "Check out the alpha version..." banner is a search box.

      As I mouse around, rooms display a lighter-grey hover-over, and a popup displays the room names (eg Room W6N6) and owners (hint: they're all none).

      And that's it. I can't click on any rooms.

      No mods installed, but I'm expecting it to look like some Youtube videos, eg Atanner's "Screeps Starter Codebase Template".

      The six processes all look ok; none are reporting egregious errors -- backend says it's couldn't reload bot aI "simplebot" (ENOENT), and the backend previously complained about STEAM_KEY env variable not found but it did say it was trying to connect to the local Steam client (and no further errors, so I assume that worked).

      Connecting (in the Steam client) generates a Sign in message, and two GETs (the second of which takes 1ms and says '(unfinished).

      Any idea what's going on? Is there any way to debug this?

      posted in Technical Issues and Bugs
      Shangmaro