pwatson100 / alienrpg

Alien RPG system for Foundry VTT.
GNU General Public License v3.0
38 stars 31 forks source link

Acid Splash return "no token selected" error #288

Open jacksands opened 3 months ago

jacksands commented 3 months ago

Hi! tks again for all your work. but I have an issue

Creating a New creature causes a bug were sometimes the acid splash roll returns an "no token selected error".

There is no module active during my test and creating a new character creature 1 in 3 times causes the bug to reappear, assigning a new token to the sheet solves it but only until the game is reloaded, when the same bug return on the sheet.

tested with no modules

https://github.com/user-attachments/assets/d338331e-1e37-4812-93e4-574ec0acc553

Foundry Virtual Tabletop: Version 12 Stable, 12.330 Game System: alienrpg, 3.2.1 Active Modules: 0 Performance Mode: 3

OS: Windows 15.0.0 x86 (64-bit) Client: Not(A:Brand/24.0.0.0 GPU: ANGLE (NVIDIA, NVIDIA GeForce RTX 2060 (0x00001E89) Direct3D11 vs_5_0 ps_5_0, D3D11) Max Texture Size: 16384

Scene: 8165 x 8050 | Grid Size: 115 | Padding Percentage: 0.05 Walls: 243 | Ambient Lights: 84 | Ambient Sounds: 30 | Tiles: 34 | Tokens: 45 Largest Texture: 7245 x 7130.028076171875

Actors: 82 | Items: 520 | Journal Entries: 21 | Rollable Tables: 56 | Playlists: 12 | Compendium Packs: 2 | Chat Messages: 1

World Scripts:

pwatson100 commented 2 months ago

Thanks for repoting this. Took a little while but from my testing it throws that message on any creature that is Linked. If the creature is unlinked it works fine. As soon as I set the token/actor to linked it misbehaves.

Now to work out how to fix it!!

pwatson100 commented 2 months ago

Cracked it. Will be fixed in next release.