npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

screepsmod-map-tool

v1.10.0

Published

# Usage:

Downloads

137

Readme

screepsmod-map-tool

Usage:

URL: http://yourServerIP:21025/maptool/

The default username is admin, password is auto-generated at each server launch if not set in .screepsrc

If you have a config.yml you can avoid using .screepsrc by setting the env vars, see examples below

Mouse Tools

Generate Rooms

Left click to generate a room

Right click to remove a room (fills with solid room)*

Ctrl+Left Click to generate a sector

Ctrl+Right Click to remove a sector (fills with solid rooms)*

Middle clicking will flood fill from the cursor's position, this is useful to find isolated rooms

*If a room is removed but not regenerated it will be completely walled off with game objects removed. This is done because map tool can not completely remove a room as this must be done in the CLI with the map.removeRoom command.

Edit Room Terrain

Left click sets tile to wall

Right click sets tile to plain

Middle click sets tile to swamp

Open/Close Rooms

Left click to open a room (status = 'normal')

Right click to close a room (status = 'out of borders')

Ctrl+Left Click to open a sector (ignores highways)

Ctrl+Right Click to close a sector (ignores highways)

Main Menu

Save saves the current state of the map Note: reloading the window without hitting Save will reload the map from the server and all changes to the map will be lost

Generate Walls will generate solid rooms surrounding the generated ones, this prevents pathfinding errors that result from exits leading to the 'void' Note: don't leave any room open to the 'void', doing so will cause pathfinding errors

Fix All Rooms this will search for and fix exit mismatches, terrain errors, and game object errors sometimes caused by generation

The slider controls the solid wall chances for newly generated rooms

'Show Walls' will display newly generated rooms that are walled off from each other with a red line

Auto Gen will generate an entire map of the specified size (Can run autoGen(w,h) from console for custom sizes)

'Mouse Tool' select the mouse tool mode

Additional Notes

*Room types/features are automatic based on room position. (IE: bus, sk, controllers, etc)

*You can scroll the map by using the arrow keys

*There are a number of helper functions that can be accessed in devtools console e.g. generateSector('E5S5') to generate a sector around E5S5

Config

Edit .screepsrc to configure

[maptool]
user = admin
pass = password

If using screeps-launcher, you can specify user and pass in your config.yml:

env:
  backend:
    MAPTOOL_USER: admin
    MAPTOOL_PASS: password