jopeek / fvtt-loot-sheet-npc-5e

FVTT - Loot Sheet NPC 5E
MIT License
44 stars 86 forks source link

Changing to Merchant reverts to loot type every time I close the sheet #315

Closed hankland39 closed 2 years ago

hankland39 commented 2 years ago

Prototype Token always defaults to Loot Type instead of Merchant and never saves changes. Every time I close the sheet it defaults back to Loot instead of Merchant as well.

  1. on the Gear page if I change the Sheet Type from Loot to Merchant it will make the change (same for permissions) but once I close the sheet those changes do not save - thus placing a token on the map is always a Loot Type and never a merchant type.
  2. Only way I can get Merchant Type to appear for players is to manually change it after placing my token on the map and changing it to Merchant Type. I also need to keep the sheet open while doing this because if I close it as the GM it reverts back to a lootable token.

I expected the changes to the sheet type to save on my actor list while editing the sheet from the prototype token

JeffreyHartman commented 2 years ago

I have the same issue here, it seems only Loot type is working for me.

DanielBoettner commented 2 years ago

Can you provide info on the environment. I know that people have issues with this. And I encountered behavior like this before.

But to find out what causes this will have to research more.

Things that help.

GigawattWarlock commented 2 years ago

I also have this same problem. A sheet on an Actor which is set to "Merchant" reverts to "Loot" the moment I take my eye off it - so much so that I can't even show a Merchant to a player.

I'm available to screenshare and troubleshoot together if you like.

Here's my config: Module: Foundry v9 Build 255 (Stable) Server Operating System: Linux, but I would need to collaborate with the sysadmin to get shell access. Client Operating System: macOS vCurrent Browser: Chrome vCurrent (99.0.4844.74 (Official Build))

multilevel.js:1667 Multilevel Tokens |  Loaded
BloodLayer.js:18 Uncaught ReferenceError: TilesLayer is not defined
[Detected 1 package: blood-n-guts]
    at BloodLayer.js:18:41
game:1 Uncaught ReferenceError: TilesLayer is not defined
[Detected 1 package: blood-n-guts]
    at BloodLayer.js:18:41
foundry.js:62596 _______________________________________________________________
 _____ ___  _   _ _   _ ____  ______   __ __     _______ _____ 
|  ___/ _ \| | | | \ | |  _ \|  _ \ \ / / \ \   / |_   _|_   _|
| |_ | | | | | | |  \| | | | | |_) \ V /   \ \ / /  | |   | |  
|  _|| |_| | |_| | |\  | |_| |  _ < | |     \ V /   | |   | |  
|_|   \___/ \___/|_| \_|____/|_| \_\|_|      \_/    |_|   |_|  
===============================================================
foundry.js:62606 Foundry VTT | Reestablishing existing session 83dbff751cd78c82eaf1560e
fvtt.js:1930 Beyond20: Foundry VTT module loaded.
fvtt_script.js:3890 Beyond20: Foundry VTT Page Script loaded
foundry.js:5307 Foundry VTT | Connected to server socket using session 83dbff751cd78c82eaf1560e
libWrapper-api.js:790 libWrapper: Version 1.12.4.0 (27a59fb) ready.
foundry.js:5412 Foundry VTT | Initializing Foundry Virtual Tabletop Game
colorSetting.js:664 ColorSettings | initializing
dnd5e.js:50 DnD5e | Initializing the DnD5e Game System
_______________________________
______      ______ _____ _____
|  _  \___  |  _  \  ___|  ___|
| | | ( _ ) | | | |___ \| |__
| | | / _ \/\ | | |   \ \  __|
| |/ / (_>  < |/ //\__/ / |___
|___/ \___/\/___/ \____/\____/
_______________________________
multilevel.js:142 Multilevel Tokens |  Initialized
LightsHUD.js:14  _     _       _     _       _   _ _   _ ____   | |   (_) __ _| |__ | |_ ___| | | | | | |  _ \  | |   | |/ _` | '_ \| __/ __| |_| | | | | | | | | |___| | (_| | | | | |_\__ \  _  | |_| | |_| | |_____|_|\__, |_| |_|\__|___/_| |_|\___/|____/           |___/                                 
logger.js:48 DDB Importer | INFO > Init
lib.js:20 lessfog | Initializing
monks-active-tiles.js:8 monks-active-tiles |  Initializing Monks Active Tiles
moulinette-core.js:16 Moulinette Core| Init
moulinette-gameicons.js:4 Moulinette GameIcons | Init
moulinette-imagesearch.js:3 Moulinette ImageSearch | Init
moulinette-scenes.js:7 Moulinette Scenes | Init
moulinette-sounds.js:5 Moulinette Sounds | Init
moulinette-tiles.js:9 Moulinette Tiles | Init
foundry.js:2464 Foundry VTT | Synchronized official game time in 68ms
foundry.js:4662 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/actors/parts/active-effects.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/actors/parts/actor-traits.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/actors/parts/actor-inventory.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/actors/parts/actor-features.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/actors/parts/actor-spellbook.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/actors/parts/actor-warnings.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/items/parts/item-action.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/items/parts/item-activation.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/items/parts/item-description.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/items/parts/item-mountable.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/combat-carousel/templates/combatant-card.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/tokenmagic/templates/settings/settings.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/tokenmagic/templates/settings/dnd5e/categories.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/tokenmagic/templates/settings/dnd5e/overrides.html
foundry.js:4555 Foundry VTT | Loaded localization file lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file systems/dnd5e/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/LightsHUD/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/advanced-macros/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/betterroofs/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/blood-n-guts/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/combat-carousel/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/colorsettings/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/ddb-importer/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/initiative-double-click/langs/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/dfreds-droppables/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/dice-so-nice/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/lets-trade-5e/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/levels/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/lib-wrapper/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/lootsheetnpc5e/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/monks-active-tiles/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/moulinette-core/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/moulinette-gameicons/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/moulinette-imagesearch/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/moulinette-scenes/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/moulinette-sounds/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/moulinette-tiles/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/multilevel-tokens/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/permission_viewer/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/quick-insert/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/scene-packer/languages/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/split-journal/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/token-attacher/languages/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/tokenmagic/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/vtta-core/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/vtta-tokens/lang/en.json
foundry.js:4555 Foundry VTT | Loaded localization file modules/wall-height/lang/en.json
lib.js:20 lessfog | Setup
main.js:26 Let's Trade 5e Loaded
foundry.js:63701 Foundry VTT | Delaying load of sound modules/pk-cos-gatesbarovia/assets/playlist/Fireplace%20-%20windy%20outside.mp3 until after first user gesture
token-attacher.js:1028 Token Attacher | Tools added.
foundry.js:3055 Foundry VTT | Rendering SceneNavigation
foundry.js:3055 Foundry VTT | Rendering Notifications
foundry.js:3055 Foundry VTT | Rendering Sidebar
foundry.js:3055 Foundry VTT | Rendering PlayerList
foundry.js:3055 Foundry VTT | Rendering Hotbar
foundry.js:3055 Foundry VTT | Rendering Pause
foundry.js:3055 Foundry VTT | Rendering SceneControls
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/hud/navigation.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/sidebar.html
foundry.js:3055 Foundry VTT | Rendering ActorDirectory
foundry.js:3055 Foundry VTT | Rendering CardsDirectory
foundry.js:3055 Foundry VTT | Rendering ChatLog
foundry.js:3055 Foundry VTT | Rendering CombatTracker
foundry.js:3055 Foundry VTT | Rendering CompendiumDirectory
foundry.js:3055 Foundry VTT | Rendering ItemDirectory
foundry.js:3055 Foundry VTT | Rendering JournalDirectory
foundry.js:3055 Foundry VTT | Rendering PlaylistDirectory
foundry.js:3055 Foundry VTT | Rendering SceneDirectory
foundry.js:3055 Foundry VTT | Rendering Settings
foundry.js:3055 Foundry VTT | Rendering RollTableDirectory
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/user/players.html
permission_viewer.js:204 Permission Viewer | Player List
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/hud/hotbar.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/hud/pause.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/hud/controls.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/document-partial.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/document-partial.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/chat-log.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/combat-tracker.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/compendium-directory.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/document-partial.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/document-partial.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/scene-partial.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/settings.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/document-partial.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/playlist-partial.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/combat-carousel/templates/combat-carousel-button.hbs
2foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/document-directory.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/dice/tooltip.html
4foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/document-directory.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/playlists-directory.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/dice/roll.html
foundry.js:5710 Foundry VTT | Document fonts loaded and ready
utils.min.js:8 
    PixiJS 6.2.1 - ✰ WebGL 2 ✰      http://www.pixijs.com/    ♥♥♥ 
foundry.js:17808 Foundry VTT | Viewing Scene Tavern - M
foundry.js:20037 Foundry VTT | Drawing game canvas for scene Tavern - M
tokenmagic.js:182 TokenMagic | Hook -> canvasInit
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/sidebar/chat-message.html
foundry.js:23050 Foundry VTT | Loaded modules/pk-cos-gatesbarovia/assets/scene/Tavern.webp (2%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/combat.svg (4%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/blood.svg (6%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/lightning.svg (8%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/poison.svg (10%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/radiation.svg (12%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/acid.svg (14%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/regen.svg (16%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/biohazard.svg (18%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/upgrade.svg (20%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/degen.svg (22%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/downgrade.svg (24%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/target.svg (26%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/eye.svg (28%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/sun.svg (30%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/angel.svg (32%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/fire-shield.svg (34%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/ice-shield.svg (36%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/mage-shield.svg (38%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/holy-shield.svg (40%)
foundry.js:23050 Foundry VTT | Loaded modules/pk-cos-gatesbarovia/assets/actors/Bartender.png (42%)
foundry.js:23050 Foundry VTT | Loaded modules/pk-cos-gatesbarovia/assets/actors/Lungari.png (44%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/cowled.svg (46%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/aura.svg (48%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/padlock.svg (50%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/up.svg (52%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/down.svg (54%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/skull.svg (56%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/light.svg (58%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/light-off.svg (60%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/explosion.svg (62%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/sound.svg (64%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/sound-off.svg (66%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/door-closed-outline.svg (68%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/door-open-outline.svg (70%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/door-secret-outline.svg (72%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/door-locked-outline.svg (74%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/unconscious.svg (76%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/sleep.svg (78%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/daze.svg (80%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/falling.svg (82%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/net.svg (84%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/paralysis.svg (86%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/wing.svg (88%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/blind.svg (90%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/deaf.svg (92%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/silenced.svg (94%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/terror.svg (96%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/fire.svg (98%)
foundry.js:23050 Foundry VTT | Loaded icons/svg/frozen.svg (100%)
foundry.js:3055 Foundry VTT | Rendering HeadsUpDisplay
token-attacher.js:1028 Token Attacher | Tools added.
ui.js:820 LEVELSWelcome to the 3rd Dimension
token-attacher.js:181 Token Attacher| Initialized
tokenmagic.js:182 TokenMagic | Hook -> canvasReady
lib.js:20 lessfog | Ready
quick-insert.ts:91 Quick Insert | Initializing...
quick-insert.ts:141 Quick Insert | Search Application ready
tokenmagic.js:182 TokenMagic | Hook -> ready
foundry.js:5122 game.data.version is deprecated since V9 in favor of game.version
get @ foundry.js:5122
checkCoreAvailability.js:6 [INIT] vtta-tokens Querying for vtta-core
multilevel.js:1368 Multilevel Tokens |  Refreshing all
logger.js:48 DDB Importer | INFO > Compendium 'world.ddb-cos-spells' found, will not create compendium.
logger.js:48 DDB Importer | INFO > Compendium 'world.ddb-cos-items' found, will not create compendium.
logger.js:48 DDB Importer | INFO > Compendium 'world.ddb-cos-monsters' found, will not create compendium.
logger.js:48 DDB Importer | INFO > Compendium 'world.ddb-cos-feats' found, will not create compendium.
logger.js:48 DDB Importer | INFO > Compendium 'world.ddb-cos-class-features' found, will not create compendium.
logger.js:48 DDB Importer | INFO > Compendium 'world.ddb-cos-classes' found, will not create compendium.
logger.js:48 DDB Importer | INFO > Compendium 'world.ddb-cos-racial-traits' found, will not create compendium.
logger.js:48 DDB Importer | INFO > Compendium 'world.ddb-cos-races' found, will not create compendium.
logger.js:48 DDB Importer | INFO > Compendium 'world.ddb-cos-override' found, will not create compendium.
logger.js:48 DDB Importer | INFO > Compendium 'world.ddb-cos-tables' found, will not create compendium.
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/hud/hud.html
multilevel.js:1368 Multilevel Tokens |  Refreshing all
3foundry.js:11966 Foundry VTT | Constructed index of lootsheetnpc5e.lootsheetnpc5e-rolltables Compendium containing 13 entries
checkCoreAvailability.js:6 [INIT] vtta-tokens Querying for vtta-core (attempt 1/20)...
checkCoreAvailability.js:6 [INIT] vtta-tokens vtta-core v2.0.3 found.
logger.js:54 [DEBUG] vtta-tokens: Registering setting
logger.js:60 defaultNPCFrame Object
logger.js:54 [DEBUG] vtta-tokens: Registering setting
logger.js:60 defaultPCFrame Object
logger.js:54 [DEBUG] vtta-tokens: Registering setting
logger.js:60 automaticTokenGeneration Object
logger.js:54 [DEBUG] vtta-tokens: Registering setting
logger.js:60 tokenSize Object
logger.js:54 [INFO] vtta-tokens: Registering sheets
logger.js:60 Array(4)
logger.js:54 [INFO] vtta-tokens: Preparing partials
logger.js:60 Array(2)
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/vtta-tokens/src/templates/partials/add-layer-local.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/vtta-tokens/src/templates/partials/add-layer-remote.hbs
3foundry.js:11966 Foundry VTT | Constructed index of pk-cos-baroviachurch.rolltables Compendium containing 1 entries
dnd5e.ts:93 Quick Insert | dnd5e system extensions initiated
3foundry.js:11966 Foundry VTT | Constructed index of pk-cos-burgomastersmansion.rolltables Compendium containing 0 entries
moulinette-gameicons.js:35 Moulinette GameIcons | Game-icons.net has been added to the sources to be indexed
moulinette-gameicons.js:38 Moulinette GameIcons | Module loaded
3foundry.js:11966 Foundry VTT | Constructed index of pk-cos-countscrypt.rolltables Compendium containing 1 entries
3foundry.js:11966 Foundry VTT | Constructed index of pk-cos-countsmanor.rolltables Compendium containing 0 entries
moulinette-imagesearch.js:42 Moulinette ImageSearch | Module loaded
moulinette-tiles.js:99 Moulinette Tiles | Module loaded
3foundry.js:11966 Foundry VTT | Constructed index of pk-cos-gatesbarovia.rolltables Compendium containing 1 entries
moulinette-sounds.js:128 Moulinette Sounds | Module loaded
3foundry.js:11966 Foundry VTT | Constructed index of pk-cos-villageofbarovia.rolltables Compendium containing 4 entries
moulinette-scenes.js:31 Moulinette Scenes | Module loaded
3foundry.js:11966 Foundry VTT | Constructed index of world.ddb-cos-tables Compendium containing 12 entries
foundry.js:3055 Foundry VTT | Rendering TokenHUD
foundry.js:63122 Foundry VTT | Activating pending audio playback with user gesture.
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/hud/token-hud.html
campfire_loop.ogg:1          GET https://mttecloudstorage.blob.core.windows.net/tabletopaudio/tabletopaudio-pad/Dark%20Forest/campfire_loop.ogg?se=2022-01-29T06%3A13%3A48Z&sp=r&spr=https&sv=2020-06-12&sr=c&sig=OU9JBoA0Vxa6UHt2f29Ovh1DnkIX9VCS3pONBwa73a0%3D 403 (Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.)
foundry.js:63327 Foundry VTT | Failed to load audio node: Event {isTrusted: true, type: 'error', target: audio, currentTarget: audio, eventPhase: 2, …}
_createNode @ foundry.js:63327
await in _createNode (async)
load @ foundry.js:63298
load @ foundry.js:63710
(anonymous) @ foundry.js:17633
foundry.js:3055 Foundry VTT | Rendering TokenHUD
foundry.js:3055 Foundry VTT | Rendering TokenConfig
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/scene/parts/token-lighting.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/scene/parts/token-vision.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/scene/parts/token-resources.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/scene/token-config.html
foundry.js:4662 Foundry VTT | Retrieved and compiled template templates/app-window.html
foundry.js:3055 Foundry VTT | Rendering LootSheetNPC5e
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 6 players with eligable characters found.
foundry.js:11966 Foundry VTT | Constructed index of lootsheetnpc5e.lootsheetnpc5e-rolltables Compendium containing 13 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-baroviachurch.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-burgomastersmansion.rolltables Compendium containing 0 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-countscrypt.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-countsmanor.rolltables Compendium containing 0 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-gatesbarovia.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-villageofbarovia.rolltables Compendium containing 4 entries
foundry.js:11966 Foundry VTT | Constructed index of world.ddb-cos-tables Compendium containing 12 entries
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 6 players with eligable characters found.
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/apps/lootsheet.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/body.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/footer.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/header.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/buttons/lootAll.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/buttons/lootCurrency.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/buttons/splitCurrency.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/header/navigation.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/list/default.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/list/currency.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/list/actions.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/trade/index.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/trade/currency.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/trade/inventory.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/gm/gm-settings.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/gm/inventory.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/gm/lootsheet-type.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/gm/permissions.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/gm/styling.hbs
foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/apps/lootsheet.hbs
jquery.min.js:2 The specified value "" does not conform to the required format.  The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
xe @ jquery.min.js:2
S.parseHTML @ jquery.min.js:2
S.fn.init @ jquery.min.js:2
S @ jquery.min.js:2
_renderInner @ foundry.js:3239
await in _renderInner (async)
_renderInner @ foundry.js:3777
_render @ foundry.js:3070
await in _render (async)
_render @ foundry.js:3766
render @ foundry.js:3023
render @ foundry.js:4261
render @ LootsheetNPC5e.js:138
_onClickLeft2 @ foundry.js:38977
callback @ foundry.js:24202
_handleClickLeft2 @ foundry.js:24406
_handleMouseDown @ foundry.js:24368
a.emit @ index.js:181
r.dispatchEvent @ interaction.min.js:8
r.processPointerDown @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.findHit @ interaction.min.js:8
r.processInteractive @ interaction.min.js:8
r.onPointerDown @ interaction.min.js:8
jquery.min.js:2 The specified value "" does not conform to the required format.  The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
xe @ jquery.min.js:2
S.parseHTML @ jquery.min.js:2
S.fn.init @ jquery.min.js:2
S @ jquery.min.js:2
_renderInner @ foundry.js:3239
await in _renderInner (async)
_renderInner @ foundry.js:3777
_render @ foundry.js:3070
await in _render (async)
_render @ foundry.js:3766
render @ foundry.js:3023
render @ foundry.js:4261
render @ LootsheetNPC5e.js:138
_onClickLeft2 @ foundry.js:38977
callback @ foundry.js:24202
_handleClickLeft2 @ foundry.js:24406
_handleMouseDown @ foundry.js:24368
a.emit @ index.js:181
r.dispatchEvent @ interaction.min.js:8
r.processPointerDown @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.findHit @ interaction.min.js:8
r.processInteractive @ interaction.min.js:8
r.onPointerDown @ interaction.min.js:8
logger.js:54 [INFO] vtta-tokens: getActorSheetHeaderButtons called
logger.js:60 (3) [LootSheetNPC5e, Array(1), undefined]
logger.js:54 [INFO] vtta-tokens: Adding button
logger.js:60 {label: 'VTTA Tokens', icon: 'fas fa-paint-brush', class: 'vtta-tokens', onclick: ƒ}
logger.js:54 [INFO] vtta-tokens: getActorSheetHeaderButtons called
logger.js:60 (3) [LootSheetNPC5e, Array(2), undefined]
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 6 players with eligable characters found.
foundry.js:11966 Foundry VTT | Constructed index of lootsheetnpc5e.lootsheetnpc5e-rolltables Compendium containing 13 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-baroviachurch.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-burgomastersmansion.rolltables Compendium containing 0 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-countscrypt.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-countsmanor.rolltables Compendium containing 0 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-gatesbarovia.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-villageofbarovia.rolltables Compendium containing 4 entries
foundry.js:11966 Foundry VTT | Constructed index of world.ddb-cos-tables Compendium containing 12 entries
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 6 players with eligable characters found.
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 6 players with eligable characters found.
foundry.js:11966 Foundry VTT | Constructed index of lootsheetnpc5e.lootsheetnpc5e-rolltables Compendium containing 13 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-baroviachurch.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-burgomastersmansion.rolltables Compendium containing 0 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-countscrypt.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-countsmanor.rolltables Compendium containing 0 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-gatesbarovia.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-villageofbarovia.rolltables Compendium containing 4 entries
foundry.js:11966 Foundry VTT | Constructed index of world.ddb-cos-tables Compendium containing 12 entries
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 6 players with eligable characters found.
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 6 players with eligable characters found.
foundry.js:11966 Foundry VTT | Constructed index of lootsheetnpc5e.lootsheetnpc5e-rolltables Compendium containing 13 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-baroviachurch.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-burgomastersmansion.rolltables Compendium containing 0 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-countscrypt.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-countsmanor.rolltables Compendium containing 0 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-gatesbarovia.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-villageofbarovia.rolltables Compendium containing 4 entries
foundry.js:11966 Foundry VTT | Constructed index of world.ddb-cos-tables Compendium containing 12 entries
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 6 players with eligable characters found.
foundry.js:3055 Foundry VTT | Rendering LootSheetNPC5e
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 6 players with eligable characters found.
foundry.js:11966 Foundry VTT | Constructed index of lootsheetnpc5e.lootsheetnpc5e-rolltables Compendium containing 13 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-baroviachurch.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-burgomastersmansion.rolltables Compendium containing 0 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-countscrypt.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-countsmanor.rolltables Compendium containing 0 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-gatesbarovia.rolltables Compendium containing 1 entries
foundry.js:11966 Foundry VTT | Constructed index of pk-cos-villageofbarovia.rolltables Compendium containing 4 entries
foundry.js:11966 Foundry VTT | Constructed index of world.ddb-cos-tables Compendium containing 12 entries
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 6 players with eligable characters found.
logger.js:54 [INFO] vtta-tokens: getActorSheetHeaderButtons called
logger.js:60 (3) [LootSheetNPC5e, Array(1), undefined]
logger.js:54 [INFO] vtta-tokens: Adding button
logger.js:60 {label: 'VTTA Tokens', icon: 'fas fa-paint-brush', class: 'vtta-tokens', onclick: ƒ}
logger.js:54 [INFO] vtta-tokens: getActorSheetHeaderButtons called
logger.js:60 (3) [LootSheetNPC5e, Array(2), undefined]
DanielBoettner commented 2 years ago

Thanks for the error log, maybe will help. Still have some stuff to do but hopefully can take a look at it next week.

tmexx commented 2 years ago

I am also seeing this issue. It is not just the Loot / Merchant dropdown but also the Inventory dropdown on the Setting Tab. Observed behavior: When I change from Loot to Merchant, the Trade tab shows up but the word Loot is still displayed in the dropdown. If I change it again, the dropdown seems to change to show Merchant. When the window closes and reopens, it once again shows Loot with the Trade Tab showing.

I am also seeing a strange behavior when trying to call a RollTable (world) which returns more than one result but I specify only 1 "roll". If Inventory is set to reset each time, the Inventory Tab only shows 1 item, regardless of how many additional items a normal roll would yield.

hankland39 commented 2 years ago

3.5.10 module version Win 10 Home operating system 9.255 browser version (any browser)/client 9.255 foundry version none errors in console (F12 in browser)

davemus commented 2 years ago

Reproduced it on "clear" environment, with no other modules active:

Select reverts to Loot with small delay after changing it to Merchant.

UPD if after revert select Merchant again, it will persist for some time. After re-open change back to Loot is made.

logs:

# open loot sheet here
foundry.js:3055 Foundry VTT | Rendering LootSheetNPC5e
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 0 players with eligable characters found.
foundry.js:11966 Foundry VTT | Constructed index of lootsheetnpc5e.lootsheetnpc5e-rolltables Compendium containing 13 entries
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 0 players with eligable characters found.
# change loot sheet type to merchant here
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 0 players with eligable characters found.
foundry.js:11966 Foundry VTT | Constructed index of lootsheetnpc5e.lootsheetnpc5e-rolltables Compendium containing 13 entries
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 0 players with eligable characters found.
Ksenichiro commented 2 years ago

Same problem 9.266 3.5.10 Operating system - windows 10

Foundry VTT | Rendering LootSheetNPC5e
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 0 players with eligable characters found.
foundry.js:11974 Foundry VTT | Constructed index of lootsheetnpc5e.lootsheetnpc5e-rolltables Compendium containing 13 entries
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 0 players with eligable characters found.
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/apps/lootsheet.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/body.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/footer.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/header.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/buttons/lootAll.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/buttons/lootCurrency.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/buttons/splitCurrency.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/header/navigation.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/list/default.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/list/currency.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/list/actions.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/trade/index.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/trade/currency.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/trade/inventory.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/gm/gm-settings.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/gm/inventory.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/gm/lootsheet-type.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/gm/permissions.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/partials/gm/styling.hbs
foundry.js:4660 Foundry VTT | Retrieved and compiled template modules/lootsheetnpc5e/templates/apps/lootsheet.hbs
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 0 players with eligable characters found.
foundry.js:11974 Foundry VTT | Constructed index of lootsheetnpc5e.lootsheetnpc5e-rolltables Compendium containing 13 entries
PermissionHelper.js:157 lootsheetnpc5e | PermissionsHelper | getEligablePlayerActors | 0 players with eligable characters found.
DevTools failed to load source map: Could not load content for http://26.40.254.176:30000/modules/plutonium/art-css/ArtBrowser.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
TheFinalPerry commented 2 years ago

Sometimes merchant will stick but closing and opening reverts back to loot. Dragging onto scene reverts to loot.

Module version - 3.5.10 Operating system - Win10 Browser version - Chrome Version 101.0.4951.67, Microsoft Edge Version 101.0.1210.53, Brave Version 1.39.111, Firefox 100.0.2 Foundry version - 9.269 Errors in console - no errors

DanielBoettner commented 2 years ago

The next version should hopefully fix this problem. Sorry for the delay.

GigawattWarlock commented 2 years ago

No worries man, we appreciate the work you’ve done here!

On Sat, May 28, 2022 at 12:15 PM Daniel Böttner @.***> wrote:

The next version should hopefully fix this problem. Sorry for the delay.

— Reply to this email directly, view it on GitHub https://github.com/jopeek/fvtt-loot-sheet-npc-5e/issues/315#issuecomment-1140316497, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXQPNFFMLYFXDJHZSIEWBL3VMJWF3ANCNFSM5PPVQ3XA . You are receiving this because you commented.Message ID: @.***>