Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
This plugin implements an AI assistant player for ~Dwarf Fortress~ Dark Forest.
This plugin implements an AI assistant player for Dwarf Fortress Dark Forest.
Vizier is structured around "action handlers"; each handler knows how to perform a specific action, such as mining for artifacts, upgrading planets, or sending energy. You decide what action handlers to activate on each planet you own. Each time Vizier does a run, it checks every planet you own, running all the enabled action handlers, in order, until one returns an action to execute.
Handlers have global settings affecting their behaviour; settings can be overriden on a per-planet basis.
Once a run completes, the AI waits until all triggered transactions have completed before starting a new round.
When no planet is selected, Vizier shows a sortable table of all planets you own. Each action handler has a column with checkboxes for all planets it applies to, so handlers can be quickly toggled for each planet. Clicking on a planet in the left column will select it.
When a planet is selected (via the planet list or otherwise), Vizier changes to showing configuration settings for that planet. Each supported handler is shown along with an 'enable' checkbox. When enabled, configuration setting overrides for that handler on the selected planet are shown; untick 'default' or make a change to a value to override that setting. Click 'Save' to commit your changes.
Some configuration options can be set on hostile planets. Selecting a hostile planet will show you these settings, but without the ability to enable or disable handlers.
Clicking 'Global Config' on any screen allows you to update default settings for all planets.
By default Vizier runs in "dry run" mode, and does a run every 60 seconds. In dry run mode, actions are reported in the main UI, but not executed.
This handler is automatically enabled on all Foundries, and unavailable elsewhere. It can be manually disabled if desired.
This handler is only available on Planets. By default it is disabled. To use, first set your desired upgrade paths and ranks in the global configuration, then enable on planets you want upgraded.
This handler is disabled by default. Enabled planets will, by default, send energy to other planets, either for attacks or to help refill friendly planets.
Each planet has a priority. Planets aim to send energy to the target planet with highest priority, after accounting for the efficiency of sending energy between the two planets. A graph search algorithm is used to ensure energy is sent by the most efficient route - so a low level planet will send to a neighbouring high level planet that has sends enabled, rather than trying to send to a distant planet directly.
Priorities default to 0 - meaning the planet will not receive energy for itself, only as part of a route to targets with nonzero priorities. The values of priorities matter only relative to each other, so you can use whatever numbers you feel comfortable with.
A number of other settings are configurable:
Create a new plugin with this code:
export { default } from "https://cdn.skypack.dev/df-vizier"
You can also pin it to a version:
export { default } from "https://cdn.skypack.dev/df-vizier@1.0.0"
To get started run:
$ yarn install
then run;
$ yarn dev
That will spin up the df-plugin-dev-server
and all you'll need to do is create a new plugin with this code:
export { default } from "http://127.0.0.1:2222/plugin.js?dev"
This will setup some configuration client side to pull in code from your local machine.
Make sure you have mixed content enabled in your browser for the DF client, or the import will fail.
FAQs
This plugin implements an AI assistant player for ~Dwarf Fortress~ Dark Forest.
The npm package df-vizier receives a total of 4 weekly downloads. As such, df-vizier popularity was classified as not popular.
We found that df-vizier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.