AnthonyMonette / TheWitcherTRPG

FoundryVTT The witcher trpg system
GNU General Public License v3.0
29 stars 34 forks source link

Macro drag creation not working anymore #286

Closed LinkDragmire closed 1 year ago

LinkDragmire commented 1 year ago

Since the last update, dragging a weapon or a spell into the hotbar no longer creates a working macro to use it for an attack, it states the error "You can only create macro buttons for owned items" and creates a macro to show the item instead.

Melkkart commented 1 year ago

Hello, it works correctly for me, but, I have to drag from the icon, if I drag from the name, I get the same error as you, try to drag from the icon to the bar.

LinkDragmire commented 1 year ago

Hi, just tried this to verify, it's the same like drag from the name. both create the item reference with a book symbol and the same error message occurs. I tried as GM and with a player account with an owned PC.

Melkkart commented 1 year ago

ok, try this. Sin título

Create This macro, only need change ID of object and actor, With this macro, the combat menu is opened.

actor = game.actors.get('Az40UdrlFeLUw7qv'); actor.rollItem("CySiWUUM0QKhPYZA")

LinkDragmire commented 1 year ago

this way for creating works. my players could create macros like before too. Seems to be an GM only issue right now.

ortegamarcel commented 1 year ago

I had the same problem on my Kompendium World, where there are no users instead of me (gamemaster). I needed to configure the ownership of the token to default = "Owner".

AnthonyMonette commented 1 year ago

I tried on my side and it seems to work fine with the latest version.
@LinkDragmire could you try and confirm if this is still an issue, Thanks!

LinkDragmire commented 1 year ago

will try next week, when I'm able to access my setup

LinkDragmire commented 1 year ago

Ok, I just tested with the following result:

It seems to be a problem with the default ownership. This was set to limited in my world for the player tokens. So my "GM"-Account could see the token and handle it, but the permission was limited. Crreating a macro from a PC didn't work. I tried setting the ownership to default value None. Now It's working for the GM-Account. I will set the ownership for the other players to limited for each on their own.

Maybe It's an issue, which could be ignored. Maybe it could be handled, that GM-Accounts always count as owning Tokens.

For me, I found a solution, could be closed. But i would participate in finding a solution, if someone wishes to do it.

@AnthonyMonette what's your thoughts about it?

AnthonyMonette commented 1 year ago

Since it' a permission issue and can be solved trough configuration, I won't be adressing it, but thanks for the input. I'll close it but we will still have the information here, Thank you!