Socket
Book a DemoInstallSign in
Socket

spirited.io/floor

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spirited.io/floor

Go Modules
Version
v1.0.0
Version published
Created
Source

Floor Editor

A simple command-line tool for editing floor cells in a data map (DMap) file. The tool allows for modifying a cell's blocked flag, surface feedback type, and elevation. I wrote this in an hour at work during our end of sprint game time, so make a backup of your DMap files before modifying them and let me know if you run into issues. The tool can be compiled using the golang compiler for Windows, Mac, or Linux.

Build Instructions

go get spirited.io/floor
go install spirited.io/floor

Command Readme

NAME
    Floor - Conquer Online Floor Editor
    Copyright 2020 Gareth Jensen, "Spirited"
    Build 2020.01.24

ABSTRACT
    floor [-b block] [-s surface] [-e elevation] dmapfile x y

DESCRIPTION
    Floor is a program for modifying Conquer Online data maps (DMaps) with 
    custom cell definitions. Each cell of a map contains a coordinate's block
    toggle, surface feedback type, and elevation. The new or current values of
    the cell will be outputed after each command.

ARGUMENTS
    dmapfile   File path to the data map to be read or modified
    x          The X coordinate of the cell to be read or modified
    y          The Y coordinate of the cell to be read or modified

OPTIONS
    -b / -block      Replaces the block bit for the cell, 1 is blocked
    -s / -surface    Replaces the surface feedback type for the cell
    -e / -elevation  Replaces the signed elevation for the cell 
    -v / -verbose    Enables verbose logging (false)
    -? / -help       Shows help documentation and exits the program (false)

EXAMPLES
    floor desert.dmap 400 400
    floor -block 1 desert.dmap 400 400
    floor -surface 0 desert.dmap 400 400
    floor -elevation 250 desert.dmap 400 400

FAQs

Package last updated on 26 Jan 2020

Did you know?

Socket

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.

Install

Related posts