Giter Site home page Giter Site logo

durtur / dungeoneer Goto Github PK

View Code? Open in Web Editor NEW
163.0 11.0 16.0 209.67 MB

A virtual tabletop designed for 5e D&D, includes a map tool with dynamic lighting, initiative tracker, combat tracker and homebrew management.

License: GNU Affero General Public License v3.0

HTML 27.65% JavaScript 58.40% CSS 13.96%
5e dnd5e dnd-tools dnd rpg-tool virtualtabletop diceroller role-playing vtt virtual-tabletop

dungeoneer's People

Contributors

0x07c0 avatar alcros33 avatar dependabot[bot] avatar durtur avatar meik99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dungeoneer's Issues

Add some sort of database migration functionality

Dungeoneer should check version on startup in main.js. If current version is higher than last migration version, run migration (e.g. join json files). Since most json files are copied from the program folder to the AppData folder updates to monsters.json or names.json will not be inserted into these copied files.

[Question] 404 error in installer link

Hey, seen your project on reddit, I'm kind of new to github, so I hope I am doing things right, I wanted to download the latest windows installer, but it threw me to error 404. I tried to download the installer from the assets, my windows detected it as a security risk. Is this normal behavior for the setup.exe? Thank you in advance!

Edit: Forced it trough windows defender, it seems working

[Feature] Plugin/mod support

Add support for 3rd party widgets. They should be dynamically displayed in the main app screen, in an electron webview or iframe and should navigate to a website or html file that is the plugin UI.

For security reasons the main window should be refactored with context isolation in mind, to prevent unfettered access to nodejs and the file system.

Maybe add a basic API for the widgets to use.

Nonfree LICENSE

Nice tool! If you are trying to build a community around your project, I would advise using a free software or free culture LICENSE. CC ND is a nonfree license that prevents modifying the work and sharing the modifications.

I would recommend GPL-3.0-or-later or AGPL-3.0-or-later. If sticking with Creative Commons, I would suggest Creative Commons Attribution-ShareAlike 4.0 International.

DnDBeyond character query

Add option to fetch character info from a DnDBeyond character sheet. Only do this if there's alot of interest for it.

[Feature] Add support for imported sounds

The online client can only play sounds from the default sound library. It should be able to play sounds from the user defined sounds.

Encode the sound and send it over webrtc in server.js, like the token images.

[Feature] Generator replacement holders insertion

Generator settings page, when editing creature / namesets.

  • Anywhere in the text it is possible to insert replacement placeholders, such as for prewritten value tables and gender dependant pronouns for extra randomization.
  • Currently, the user cannot possibly be aware of it since it's hidden in the code.
  • Provide some means for the user to see these replacement values or insert them.
  • These values are located in the huge names.json file, replacement_values

Statblock: Roll hit dice

Allow user to roll hit dice to randomize a creature's HP when searching in main app screen, similar to equipping new weapon. Should maybe include a name change, eg. Thug (Beefy), Thug (Weakling) etc.

[BUG] Linux unable to load "./Util"

Describe the bug
Completely unresponsive main screen. Console output:

Uncaught Error: Cannot find module './Util'
Require stack:
- /tmp/.mount_DungeoJNo2Km/resources/app/app/js/modals.js
- /tmp/.mount_DungeoJNo2Km/resources/app/app/js/initiative.js
- /tmp/.mount_DungeoJNo2Km/resources/app/app/index.html
    at Module._resolveFilename (node:internal/modules/cjs/loader:940)
    at Function.o._resolveFilename (node:electron/js2c/renderer_init:33)
    at Module._load (node:internal/modules/cjs/loader:785)
    at Function.c._load (node:electron/js2c/asar_bundle:5)
    at Function.o._load (node:electron/js2c/renderer_init:33)
    at Module.require (node:internal/modules/cjs/loader:1012)
    at require (node:internal/modules/cjs/helpers:94)
    at Object.<anonymous> (/tmp/.mount_DungeoJNo2Km/resources/app/app/js/modals.js:1)
    at Object.<anonymous> (/tmp/.mount_DungeoJNo2Km/resources/app/app/js/modals.js:135)
    at Module._compile (node:internal/modules/cjs/loader:1116)

Additional context
I have no idea how does it still works on windows :/

Add the ability to give characters light sources other than Darkvision

Apologies if this exists and I haven't figured out how to use it.

Add the ability to give non-darkvision characters a torch or have a light spell cast on them.

I tried playing with the group and just giving the ndv folks a darkvision radius appropriate to the effect/item but the problem that came up was that everyone should be able to see that light source and so it didn't work out really well on the map for deciding who could really see what opponents in a cavern fight

Multiple Maps At Once

It would be awesome if we could open multiple maps at once - I play DnD on zoom and being able to flick between maps as needed would be super helpful.

[BUG] Broken thumbnails in default map library

Describe the bug
Client is unable to find map thumbnails when listing available maps.

Expected behavior
Thumbnail is loaded and displays map or foregroundBase64 extracted from .dungeoneer_map json file.

Screenshots
image

Additional context
Console output:

Failed to load resource: net::ERR_FILE_NOT_FOUND 
~/.config/Dungeoneer/data/maptool_libraries/Default/thumbnails/roadside%20waterfall.dungeoneer_map.png

for every map available.

~/.config/Dungeoneer/data/maptool_libraries/Default/thumbnails/ exists, but is empty.

Mass-deleting homebrewed monsters.

Hello. Apologies in advance if this is the wrong forum to be asking these questions, I'm still very much a github rookie.

Question: I tried implementing a long list of Homebrew monsters, and accidentally ended up including all the pre-existing ones as homebrew. Is there a way to delete all the homebrew monsters without selecting them one at a time? I've tried deleting homebrew folders from the installation folder, but to little success.

Also just want to add: amazing app! It's incredibly user-friendly even for simpletons such as myself.

image

Relative layer positioning

It's great that we can set foreground and background images - and the scrolling features is ace.
Would be great if we could offset the origin of the foreground relative to the background.

In the below example, I've pulled some random images from google just to illustrate the problem/use case.

image

Maptool: Map library and map presets

Add map library thingy, per campaign, to the maptool. Should make it easier for the easier to search for the right map.
Some map presets should be included.

Detect grid size via map name

Add an option to automatically size a map when loaded if the file name has the following format: [50 x 50] or [50] (w).

[Question] Giant Icons appearing on map

Not sure if this is a bug or I'm just doing something wrong but occasionally I hit keystroke while scrolling the mouse-wheel (I think) and a giant icon pops up on the map screen. It stays constantly in the same place regardless of how I move the map underneath it. I can't seem to click on it or get it go away (well, sometimes it goes away but I don't know what I did, if anything).

Any thoughts?

DungeoneerScreenCap

A "New Map" or "Delete All Walls" option would be useful

I don't know if my workflow for setting up maps is completely not the way it was intended to be done but I'm finding that when I try to set up a new dungeon level and get rid of the old one I'm basically erasing the walls using the delete wall tool which is time consuming on for a complicated dungeon level.
My workflow for setting up a level is kinda simple:

  • Load scanned map as foreground layer
  • Rescale size until the grid lines up properly
  • Turn on the show visibility layer and then draw in the walls over the map
  • Save map

Opacity layer

Add an opacity layer that goes over the foreground, pawn and effect layer. This layer should ignore clicks and have similar shifting features as the background layer.

Linux support (or at least partial support)

Hello! I'm running this on linux, and while basic things work fine, like the dice rolls and item look-ups, the majority of UI elements have bugs. If you're ok with giving me a bit of extra time, I'd love to help get things working under Linux. The main thing at this stage that I'd like to use is the map tool, but no elements are visible, and clicking "image" for backgrounds does nothing.

yarn install returns two errors about packaging, but yarn start opens the window without issue.

info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check
. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.

Things known working:

  • Dice roller
  • Item lookup
  • Table lookup
  • Table Random roll
  • Conditions
  • spell lookup
  • loot gold calculater
  • Save roller
  • Shop generator

Things known not working:

  • Monster lookup
  • NPC and tavern generation (empty drop-downs, except gender)
  • All map visuals, including measuring tools

[BUG] can't change the radius of bright and dim light

When I am trying to change the default option of bright/dim light, it breaks the light tool. It means, that I am not able to place any light source until I reload the map. And even after that I can't change the radius.

Tried fully uninstalling the program, deleting the "appdata" folder included. Nothing solved the issue

Thanks in advance

[BUG]

Describe the bug
When opening the player tab, if you delete all players, you are no longer able to add players until you refresh the whole application
Expected behavior
even if all players are deleted the 'add' button should still function

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
sometimes it also does not allow me to close the player tab if all players are deleted until i refresh

[BUG] client side sound issue

Custom/default sounds can't be heared on a client side. Connecting to myself via a browser - no sounds. Also tried the phone, the same problem. Asked friend to connect - nothing. Any ideas?

[Feature] Generator settings UI fixes

Generator settings page needs some UI love. Search box for creatures/namesets is too small and not corner rounded.

  • The tab buttons are too close to the title bar
  • The explanation text could look better.
  • It should be clearer when the user is creating new tables vs editing an existing one to prevent accidental overwrites

Maptool multi level support

Add layer functionality to the foreground and the FOV segments. Including lower level vision blocking segments should be optionally on/off.

Add theme support

replace all colors and bg paths with css vars and refactor those vars into separate css file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.