PDA

View Full Version : [extension] Spell Tokens Extension



bratch9
November 19th, 2020, 12:11
This extension is now on www.dmsguild.com 'Fantasy Grounds Spell Tokens' (https://www.dmsguild.com/product/326932/Fantasy-Grounds-Spell-Tokens-extension)
My other extensions can be found on www.dmsguild.com 'Bratch Nine' (https://www.dmsguild.com/browse.php?keywords=&author=Bratch+Nine&artist=&pfrom=&pto=)
RULESET : 5E

This extension is designed to allow tokens to be applied and dragged onto the map a character is on.

I'll add more information at a later date, as people are asking for a thread to post issues away from the dms guild...


Note. Extra ruleset support has been removed due to hosting requirements on DMS Guild. I'm not sure when/how this we get resolved but I will look into options.


NOTE. for support on rulesets 3.5E, PFRPG, PFRPG2, SFRPG

For now you need to do some work by hand, on windows you can rename the '2797083-5E_B9_SpellTokens.ext' file to '.zip' ( you might need to turn on extension in your windows folder properties to see these.. )
Once the extension has a zip extension, you can 'double click' and open the extension into the window 'virtual folder' view of zip files, as if you had extracted it into directory.
You can then drag the below 'extension.xml' file into the 'virtual folder' for the zip, ( or even direct onto the '2797083-5E_B9_SpellTokens.zip' file ) and windows will ask you if you want to replace the file. ( Select the yes option. )
Once this is done you can rename back to '.ext' and all should be good to go on the other rulesets.


NOTE. I've also included the Starfinder module ( spells with token names ) and ShipGridToken.xml that was part of the DMsGuild files. The 'spells' in the module should allow you to drag at 'large' token which has the 'forward' and arc marks. ( see sf_grid.jpg )

Raddu
November 24th, 2020, 17:26
I just got this from the Guild, which one is the most up to date extension?
5E_B9_SpellTokens.ext
or
5E_B9_SpellTokens_v1.8.ext
?

Weissrolf
November 26th, 2020, 01:13
Ahoi, I am using FGU.


I set up 'Alarm' and 'Alarm (3rd)' with different tokens, and when I rename the spell and reparse it goes between both tokens..
For some reason seems to work now, but only when the GM reparses the spell action (not the player).


I'm not sure how to set up this 'locked' mode you talk about, is this a FGU or a FGC ?
https://i.imgur.com/FG1zJbw.png


Testing token size seems to be set for me when I drag from a character spell onto the map, again this is FGU. ( Are you using FGC ? )
I originally did not use the new v2 Assets Spell Token size feature. The new feature handles this correctly now and is greatly appreciated. Thanks for that.


To delete a toke from a spell, at the moment, you would have to go into the 'spell token' in the assets section and create a new line with the name of the spell, and leave its token in the 'empty' state.. then re-parse the spell on the character sheet. ( I've added a bug to my list to clear the slot if the associated line in the spell token is removed when re-parsed on the character sheet. )
I originally used v1.8 where all spell actions had a spell token slot, the new system and coming bug fix sounds perfect. Still have to figure out how to calculate the size without having to do trial & error.

- Where do I find that "Fantasy Grounds Spell Tokens" pack you mention in your product description? A search only points to your extension page here, so I suspect that it is listed under a different name?!

- Spell tokens are placed behind PC tokens, but they are placed in front of all others tokens (especially NPCs) and thus cover them. This is the main problem that keeps me from using the extension.

bratch9
November 26th, 2020, 11:30
Ahoi, I am using FGU.


For some reason seems to work now, but only when the GM reparses the spell action (not the player).


https://i.imgur.com/FG1zJbw.png


I originally did not use the new v2 Assets Spell Token size feature. The new feature handles this correctly now and is greatly appreciated. Thanks for that.


I originally used v1.8 where all spell actions had a spell token slot, the new system and coming bug fix sounds perfect. Still have to figure out how to calculate the size without having to do trial & error.

- Where do I find that "Fantasy Grounds Spell Tokens" pack you mention in your product description? A search only points to your extension page here, so I suspect that it is listed under a different name?!

- Spell tokens are placed behind PC tokens, but they are placed in front of all others tokens (especially NPCs) and thus cover them. This is the main problem that keeps me from using the extension.


I've added a note to check client re-parse for issues.

I'll have a look to see if I can place them under the NPC.

Default token settings are for https://www.dmsguild.com/product/195599/DUNGEONS-AND-DRAGONS-5e-Spell-Tokens-21 if you want to used these in more then the 5E ruleset you need to edit the 'definition.xml' to add the extra rulesets ( see attached file. )

-pete

bratch9
November 26th, 2020, 11:31
I just got this from the Guild, which one is the most up to date extension?
5E_B9_SpellTokens.ext
or
5E_B9_SpellTokens_v1.8.ext
?

5E_B9_SpellTokens.ext is the most upto date.


(5E_B9_SpellTokens_v1.8.ext is the older basic 5E only ruleset version for people who dont want to upgrade while the new version gets 'bug fixed' and 'suggestions' added.. )

Weissrolf
November 26th, 2020, 12:57
I'll have a look to see if I can place them under the NPC.
That would be great, thanks!


Default token settings are for https://www.dmsguild.com/product/195599/DUNGEONS-AND-DRAGONS-5e-Spell-Tokens-21 if you want to used these in more then the 5E ruleset you need to edit the 'definition.xml' to add the extra rulesets ( see attached file. )
These look gorgeous, thanks for the updated definition file. Unfortunately they lack grids for Pathfinder, but I may still get them.

bratch9
November 29th, 2020, 20:03
That would be great, thanks!


These look gorgeous, thanks for the updated definition file. Unfortunately they lack grids for Pathfinder, but I may still get them.

Why would tokens need grids ? ( Sorry not a pathfinder player.. )

Weissrolf
November 29th, 2020, 20:17
Like in olden DnD area effects in Pathfinder are not circle based, but grid-based. And the area is smaller in PF compared to DnD.

Main problem remains that fact that FGU places non CT tokens over CT NPC tokens and thus covers/buries them underneath. It's not the fault of the extension and Diablob's similar spell token extension suffers from the same issue.

bratch9
November 29th, 2020, 22:52
Like in olden DnD area effects in Pathfinder are not circle based, but grid-based. And the area is smaller in PF compared to DnD.

Main problem remains that fact that FGU places non CT tokens over CT NPC tokens and thus covers/buries them underneath. It's not the fault of the extension and Diablob's similar spell token extension suffers from the same issue.

Tokens are worse, been looking at it... FGC actually places CT NPC over CT Player tokens, and FGU placed CT Player tokens over CT NPC... And I can not find the 'how' they do this to even think about a fix. ( I suspect it goes outside the lua scripts into code we dont have control over.. )

Some of the spell tokens in the pack are square, but the tokens are mainly D&D and not specific for Pathfinder.. Size and Alpha mask configures these things.. so maybe we need to fix a set of token for Pathfinder that work.. ( I'm not an artist so it not anything I can do.. )

Moon Wizard
November 30th, 2020, 00:36
Tokens should be in order added to map (on initial add); and last one moved is on top. It should have nothing to do with whether they are in the CT or not.

JPG

Weissrolf
November 30th, 2020, 01:22
Tokens should be in order added to map (on initial add); and last one moved is on top. It should have nothing to do with whether they are in the CT or not.
I did a quick test in an empty campaign. Curiously CT PC tokens also get covered by non CT tokens there, so now every CT token is covered by non CT ones.

In the following image I put the non CT token first, then the CT NPC and then the CT PC. As you can see the CT PC is at the bottom, the CT NPC on top of the CT PC and the non CT token on top of both.

https://i.imgur.com/9CIhCkX.png

Both CT PC and NPC follow FG's token stacking rule : last token to move is put at the bottom of the stack, not on top. The non CT token always stays on top of the CT ones regardless of what is moved where.

Moon Wizard
November 30th, 2020, 09:01
I've filed a ticket for Carl to look at the issue. The stacking should be last one moved is on top, not bottom.

Regards,
JPG

Weissrolf
November 30th, 2020, 10:49
Thanks, but the worse problem remains that non CT tokens keep covering CT ones. Curiously they only covers NPC CT tokens in my full PF2 campaign (extensions and all), PC CT tokens stay on top non CT tokens in that campaign. But in the empty campaign I used for the screenshots it works differently.

bratch9
November 30th, 2020, 12:44
Ive added a test.zip which has my 'campaigns' and 'cache' for for a FGU 5E game, and some start/end pngs from token not covered, to moving the fireball spell token over the npc and pc token.

You can see from the images that on FGU the PC token normally stays on top, with the npc token stays at the back, while you drag the fireball token about 'between' them.. This seems to be the same on the client and gm side.

What I'd like is a new access function, say 'tokeninstance.setAtBack(true);' to always force these to the back of the stack.. ( like the 'tokeninstance.setVisible(true);' function. )

[ note, FGC seems to stack in a different order with npc tokens on top of pc tokens.. its very odd.. ]

(This was created with my extension, but now the token is on the map my extension is not required so I've turned it off for the campaigns... as my extension creates a public/non owned token that allows players to move the token without moving the LOS around... its an odd configuration to try and make the best visual/access as possible.. ive attached the 'FG Battle Maps.xml', which is also in the zip file.)

-pete

Lino
December 16th, 2020, 00:15
Hi, I have laoded the extention and all the Spells' tokens of the 5e Spell Tokens 2.1; I can see the tokens in the PCs action tab, but when I drag them on a map set with a grid the tokens don't appear; the same from the Spell Token Config.

Larsenex
December 16th, 2020, 01:40
Tokens are worse, been looking at it... FGC actually places CT NPC over CT Player tokens, and FGU placed CT Player tokens over CT NPC... And I can not find the 'how' they do this to even think about a fix. ( I suspect it goes outside the lua scripts into code we dont have control over.. )

Some of the spell tokens in the pack are square, but the tokens are mainly D&D and not specific for Pathfinder.. Size and Alpha mask configures these things.. so maybe we need to fix a set of token for Pathfinder that work.. ( I'm not an artist so it not anything I can do.. )

If you made Pathfinder 2E specific extension for this I would purchase it immediately.

Lino
December 16th, 2020, 10:48
Hi, I have laoded the extention and all the Spells' tokens of the 5e Spell Tokens 2.1; I can see the tokens in the PCs action tab, but when I drag them on a map set with a grid the tokens don't appear; the same from the Spell Token Config.

Sorry, I forgot to write I use FGU and I play 5E D&D.

42072

If I drag a spell token it doesn't appear on the map.

nix4
December 18th, 2020, 05:18
Greetings, unable to get this to work in Fantasy Grounds Unity under the 1e Pathfinder Ruleset. Is this compatible? Looks to be 5e but the GMGuild extension says that it supports PFSRD. *.ext file is loaded into the correct folder, launcher selection for extension updated..but I see nothing for adding tokens as shown in screenshots for players spells...

Frodie
December 19th, 2020, 18:37
Where do the xml files go?

bratch9
December 19th, 2020, 19:02
Where do the xml files go?

xml files go any place you like, when you use the 'import' button a 'file folder explorer' opens and you can navigate to the location you have the file.

-pete

bratch9
December 19th, 2020, 19:13
Sorry, I forgot to write I use FGU and I play 5E D&D.

42072

If I drag a spell token it doesn't appear on the map.


I'm not sure on your issue, maybe a extension compat issue.. I see you have a few loaded but could not see which version of the spells tokens you have loaded..

See attached image, I can drag from both gm and player side and all seems ok.

are you using v2.2 ?

could you try on a new game with just this extension ?

-pete

bratch9
December 19th, 2020, 19:23
Greetings, unable to get this to work in Fantasy Grounds Unity under the 1e Pathfinder Ruleset. Is this compatible? Looks to be 5e but the GMGuild extension says that it supports PFSRD. *.ext file is loaded into the correct folder, launcher selection for extension updated..but I see nothing for adding tokens as shown in screenshots for players spells...

v2.2 should work with pf 1e, see attached..

the main issue you will have is actual graphics tokens, as the best set available is for 5e.

for this I have the module with the 5e graphics for tokens 'edited' to allow them on pf 1e and load up the 5e spell tokens xml file... this allows spells like 'fireball' that exist in both to work and show up.

now getting actual pf 1e graphic versions with the correct radius to setup with the extension is not something I can sort out.. ( Been a programmer and not an artist !! )

so your ability to use might be limited to your own custom graphics for spells, which can be configured as you like..

-pete

bratch9
December 19th, 2020, 19:31
If you made Pathfinder 2E specific extension for this I would purchase it immediately.

the extension works fine under pf 2e, see attached..

the issue will be getting tokens specific for the spell of pf 2e. As you can see in this example I've loaded the 5e graphic tokens and used a common spell 'fireball' to show the spell tokens working. But I'm not sure its the correct size for pf2e fireball, as I dont think the 5e fireball is the same radius.. ( not sure.. )

as a programmer, the extension works, as NOT an artist I can not provide any pathfinder specific token graphics... ( sorry.. )

-pete

Frodie
December 19th, 2020, 20:13
Cool, the "import" button the same as importing character xml?
Edit, sorry I found it on the spell button under assets. Thank you!

Lino
December 20th, 2020, 12:13
I'm not sure on your issue, maybe a extension compat issue.. I see you have a few loaded but could not see which version of the spells tokens you have loaded..

See attached image, I can drag from both gm and player side and all seems ok.

are you using v2.2 ?

could you try on a new game with just this extension ?

-pete

Tried with a new campaign with jut your EXT and the Spell Token 2.2, sadly nothing happens. it's really wierd.

bratch9
December 20th, 2020, 14:45
Tried with a new campaign with jut your EXT and the Spell Token 2.2, sadly nothing happens. it's really wierd.

Hi,
Can you you attach a zip of a new campaign with the spelltokens.xml imported with just my mod and a new character with a spell on ( eg fireball, or spirit guardian ).. Just load 'SRD' 5e or 'player's handbook'.

Can you use a map from the 'fg battle maps', say 'battlemap01'..

Can you drag a token from the player character onto the map, even if it does not show this is also helpful... as it could still be added to the map but be invisible.. ( I can see this data in the 'campaign/moduledb/FG Battle Maps.xml file to see if its got some 'odd' settings that is causing you an issue, or if its not in the data at all. )

Also can you check you have 'visibility' turned on ? ( I know a silly question, but check 'right click' on the map and on the radial check the 'oval eye' (visibility) radial and then use the show always option... just to try and rule out a visibility issue.. )

Also if it does not show up, can you type the '/console' command in chat to show this and attach an image... so I can see if Fantasy grounds is giving an message of some sort...

From the past images it looks like you are using an upto date 5e ruleset on FGU, so I dont see why it would not work with a clean new campaign.

( just go to your '<user>AppData\Roaming\SmiteWorks\Fantasy Grounds\campaigns' folder [ or go into the 'settings' app and select the 'advanced tab' this should list your 'data directory' to see the install location, which you should know if you are adding mod/extensions anyway !! ] and just zip the single 'campaign name' folder tree for the new campaign you made... if you call it '5e_spelltoken' when you make it, it will be in '<user>AppData\Roaming\SmiteWorks\Fantasy Grounds\campaigns\5e_spelltoken' )

Thanks, -pete

Lino
December 21st, 2020, 08:51
Hi,
Can you you attach a zip of a new campaign with the spelltokens.xml imported with just my mod and a new character with a spell on ( eg fireball, or spirit guardian ).. Just load 'SRD' 5e or 'player's handbook'.

Can you use a map from the 'fg battle maps', say 'battlemap01'..

Can you drag a token from the player character onto the map, even if it does not show this is also helpful... as it could still be added to the map but be invisible.. ( I can see this data in the 'campaign/moduledb/FG Battle Maps.xml file to see if its got some 'odd' settings that is causing you an issue, or if its not in the data at all. )

Also can you check you have 'visibility' turned on ? ( I know a silly question, but check 'right click' on the map and on the radial check the 'oval eye' (visibility) radial and then use the show always option... just to try and rule out a visibility issue.. )

Also if it does not show up, can you type the '/console' command in chat to show this and attach an image... so I can see if Fantasy grounds is giving an message of some sort...

From the past images it looks like you are using an upto date 5e ruleset on FGU, so I dont see why it would not work with a clean new campaign.

( just go to your '<user>AppData\Roaming\SmiteWorks\Fantasy Grounds\campaigns' folder [ or go into the 'settings' app and select the 'advanced tab' this should list your 'data directory' to see the install location, which you should know if you are adding mod/extensions anyway !! ] and just zip the single 'campaign name' folder tree for the new campaign you made... if you call it '5e_spelltoken' when you make it, it will be in '<user>AppData\Roaming\SmiteWorks\Fantasy Grounds\campaigns\5e_spelltoken' )

Thanks, -pete
I’ll do in few days: I’m busy, sorry.

Lino
December 21st, 2020, 16:38
Hi,
Can you you attach a zip of a new campaign with the spelltokens.xml imported with just my mod and a new character with a spell on ( eg fireball, or spirit guardian ).. Just load 'SRD' 5e or 'player's handbook'.

Can you use a map from the 'fg battle maps', say 'battlemap01'..

Can you drag a token from the player character onto the map, even if it does not show this is also helpful... as it could still be added to the map but be invisible.. ( I can see this data in the 'campaign/moduledb/FG Battle Maps.xml file to see if its got some 'odd' settings that is causing you an issue, or if its not in the data at all. )

Also can you check you have 'visibility' turned on ? ( I know a silly question, but check 'right click' on the map and on the radial check the 'oval eye' (visibility) radial and then use the show always option... just to try and rule out a visibility issue.. )

Also if it does not show up, can you type the '/console' command in chat to show this and attach an image... so I can see if Fantasy grounds is giving an message of some sort...

From the past images it looks like you are using an upto date 5e ruleset on FGU, so I dont see why it would not work with a clean new campaign.

( just go to your '<user>AppData\Roaming\SmiteWorks\Fantasy Grounds\campaigns' folder [ or go into the 'settings' app and select the 'advanced tab' this should list your 'data directory' to see the install location, which you should know if you are adding mod/extensions anyway !! ] and just zip the single 'campaign name' folder tree for the new campaign you made... if you call it '5e_spelltoken' when you make it, it will be in '<user>AppData\Roaming\SmiteWorks\Fantasy Grounds\campaigns\5e_spelltoken' )

Thanks, -pete

42186

I guees I've done all.
Let me know if something misses.
Thanks.

bratch9
December 21st, 2020, 17:07
42186

I guees I've done all.
Let me know if something misses.
Thanks.

Thanks, this all looks ok... and for me seems to work ok... see attached, from me dragging the token from the character sheet onto the map.

The only thing I changed, which I'll take a look at, was that I moved the game from private 'cloud' to 'lan' settings.. I would think that this does not cause an issue, but maybe it i causing some network message issue that I've not covered.

I'll take a look later to see if this is the case.. and have a look down the internal xml files of the campaign etc..

I just wanted to let you know I had a quick look and it does see odd that it is not working for you..

-pete

DM_BK
December 21st, 2020, 19:01
Any word on the issue with the spell tokens being on top of the other tokens on the map?

I could swear this was working correctly (spell tokens being below CT creatures) a few weeks ago and now it's not. But based on the timeline of this thread...seems like I imagined it working correctly and it never did?

I'm using FGU.

bratch9
December 22nd, 2020, 00:02
Any word on the issue with the spell tokens being on top of the other tokens on the map?

I could swear this was working correctly (spell tokens being below CT creatures) a few weeks ago and now it's not. But based on the timeline of this thread...seems like I imagined it working correctly and it never did?

I'm using FGU.

Just had a quick play with just normal player tokens, and FGU still is not dealing with token order. Its supposed to make the last moved token the top, but they are not changing layer order at all. This implies Spell Tokens will still do the same poor order.

The layer draw order is not controlled by the lua side, so this is waiting on a program update..

-pete

Lino
December 29th, 2020, 08:44
Thanks, this all looks ok... and for me seems to work ok... see attached, from me dragging the token from the character sheet onto the map.

The only thing I changed, which I'll take a look at, was that I moved the game from private 'cloud' to 'lan' settings.. I would think that this does not cause an issue, but maybe it i causing some network message issue that I've not covered.

I'll take a look later to see if this is the case.. and have a look down the internal xml files of the campaign etc..

I just wanted to let you know I had a quick look and it does see odd that it is not working for you..

-pete

Ok, I wait for your next deeper check.
In the meantime Iíll try a LAN campaign to see if it works.
Thanks.

bratch9
December 29th, 2020, 13:06
Ok, I wait for your next deeper check.
In the meantime Iíll try a LAN campaign to see if it works.
Thanks.

Hi, I've had a go with your provided zip in private cloud config as you provided, and it see all to work for me when I dm and client join from my single pc. putting tokens onto the map works for both player and client side and both can move them around.

Can I ask a silly question, you are trying to drag the token onto the map, and not expecting it to just magic its way onto the map when you cast a spell ?

Ive attached 'tokenadd2.jpg' which show that you need to drag the image from the character sheet onto the map or the image from the assets/config onto the map to make a 'dm/gm' token..

Let me know if you manage to get it working with the Lan side, the only other option is to provide some code you can add to the extension to add some debug output. Do you think you have the ability to unzip the extension and replace files and do some extra tests ?

Thanks,

Pete

bratch9
December 30th, 2020, 18:03
Ok, I wait for your next deeper check.
In the meantime I’ll try a LAN campaign to see if it works.
Thanks.

Hi,

I could only reproduce token not showing up, when the client had a map open ( ie double click the token to open up the map the player is actually on from the combat tracker ), while the DM did not have that map open, then when you drag on it does not work..

This is because players can not add a token to the map, so I have to send a message to the 'host' for the host(DM) to add the token.


So can I ask then you were having issues was this 'client/player' could not add the token to the map... and did you have the map closed at the DM side ? ( If so can you let me know if you can get tokens if the dm has the require map open that the client is adding to.. )

Thanks, pete

bratch9
December 30th, 2020, 20:18
Ok, I wait for your next deeper check.
In the meantime I’ll try a LAN campaign to see if it works.
Thanks.

Hi, I've updated spell token v2.5. This version now checks to see if the image/map is open at the dm/gm side or not. If not it will open add the token and then close the image/map.

let me know either way if this sorts out ( or not ) your missing token case.

-pete

Lino
December 31st, 2020, 13:28
Hi, I've had a go with your provided zip in private cloud config as you provided, and it see all to work for me when I dm and client join from my single pc. putting tokens onto the map works for both player and client side and both can move them around.

Can I ask a silly question, you are trying to drag the token onto the map, and not expecting it to just magic its way onto the map when you cast a spell ?

Ive attached 'tokenadd2.jpg' which show that you need to drag the image from the character sheet onto the map or the image from the assets/config onto the map to make a 'dm/gm' token..

Let me know if you manage to get it working with the Lan side, the only other option is to provide some code you can add to the extension to add some debug output. Do you think you have the ability to unzip the extension and replace files and do some extra tests ?

Thanks,

Pete

Hi, I've tried in Lan but it has the same issue.

There are no silly questions, but silly answers...:) So, I drag the token on the map from PC action tab.

Weissrolf
December 31st, 2020, 13:40
Any news from SW's side about tokens covering NPCs?

Lino
December 31st, 2020, 13:50
I tried your new updeted extention: sadly does the same to me.

I never used your extention as a client, but only as a DM/GM.

bratch9
December 31st, 2020, 14:25
Any news from SW's side about tokens covering NPCs?

No update about token covering.

I did some tests, and the released FGU still has the same issue. ( did not check the Dev build. )

Also sent direct message, maybe in the new year we might be able to sort this out.

( I've asked for a 'setAtBack' token function to make spell tokens behind everything.. Lets see what we get in the new year.. )

-pete

bratch9
December 31st, 2020, 14:30
I tried your new updeted extention: sadly does the same to me.

I never used your extention as a client, but only as a DM/GM.

Hi,

yep, you need to 'left click and hold' on the image on the character sheet and drag it onto the map. When you do this you should see the image of the token under the cursor ( its alpha'ed so might be faint ), and then when over the map release the left mouse button.

The same for 'GM/DM', if you open up the assets/spell token configuration page, you can also drag the token image onto the map to make 'gm/dm' on the map.

-pete

Lino
January 4th, 2021, 09:25
Hi,

yep, you need to 'left click and hold' on the image on the character sheet and drag it onto the map. When you do this you should see the image of the token under the cursor ( its alpha'ed so might be faint ), and then when over the map release the left mouse button.

The same for 'GM/DM', if you open up the assets/spell token configuration page, you can also drag the token image onto the map to make 'gm/dm' on the map.

-pete

What you suggest is what I always do and I see the faint image of the token while I drag it. But when I release it on the map it vanishes.

It works only when I drag tokens from the Asset window directly.

bratch9
January 4th, 2021, 14:57
What you suggest is what I always do and I see the faint image of the token while I drag it. But when I release it on the map it vanishes.

It works only when I drag tokens from the Asset window directly.

When you say 'assets' window, are you taking about 'assets' or are you talking 'assets/spell token configuration' window ?

ie do you get the correct size token with a 'spell token name (GM)' style helper text ? or do you just get a normal size token ?

I ask because I'm trying to narrow down what parts are working ? ( if you get the ''spell token name (gm)' and the correct size then I can focus on just the player side, otherwise it looks like the 'ondrop' not working in both cases.. )

Could you post an image of the 'assets' or 'assets/spell token configuration' side working ?

-pete

Lino
January 4th, 2021, 17:28
When you say 'assets' window, are you taking about 'assets' or are you talking 'assets/spell token configuration' window ?

ie do you get the correct size token with a 'spell token name (GM)' style helper text ? or do you just get a normal size token ?

I ask because I'm trying to narrow down what parts are working ? ( if you get the ''spell token name (gm)' and the correct size then I can focus on just the player side, otherwise it looks like the 'ondrop' not working in both cases.. )

Could you post an image of the 'assets' or 'assets/spell token configuration' side working ?

-pete

When I say "assets" I mean the "asset" window. This way it works but tokens haven't the correct size: just one feet square.
42561

From "Spell tokens config." it doesn't work, as from the PC sheet.
42562

bratch9
January 5th, 2021, 12:44
When I say "assets" I mean the "asset" window. This way it works but tokens haven't the correct size: just one feet square.
42561

From "Spell tokens config." it doesn't work, as from the PC sheet.
42562

Could you open a cmd window and type 'chcp' for me and let me know what code page your machine is in ? ( See attached codepage.png for mine. )

Can you also try without opening all the edit options on the image map, you see to have both open draw and edit open. ( I can see you are on the 'play' button mode, which should be ok. )

Thanks, pete

Lino
January 5th, 2021, 16:05
Could you open a cmd window and type 'chcp' for me and let me know what code page your machine is in ? ( See attached codepage.png for mine. )

Can you also try without opening all the edit options on the image map, you see to have both open draw and edit open. ( I can see you are on the 'play' button mode, which should be ok. )

Thanks, pete

42610

42611

Sorry, the same result.

bratch9
January 6th, 2021, 19:59
42610

42611

Sorry, the same result.

Hi Lino,

Can you update to the v2.5d of spell tokens, see ST_Debug.png.

I've added an option for 'Show Debug', please turn this on, and make a wide chat window, open your normal character and drop on a spell token onto a map.

If you can layout the windows so I can see the full debug, like in mine, this should give me a good indication of what location is processed or not in your game that then fails to add a spell token.

Thanks, Pete

Lino
January 7th, 2021, 09:48
Hi Lino,

Can you update to the v2.5d of spell tokens, see ST_Debug.png.

I've added an option for 'Show Debug', please turn this on, and make a wide chat window, open your normal character and drop on a spell token onto a map.

If you can layout the windows so I can see the full debug, like in mine, this should give me a good indication of what location is processed or not in your game that then fails to add a spell token.

Thanks, Pete

Now it works!
That's fine. I don't know what has happened or what you have done, but thanks!

42664

Lino
January 7th, 2021, 10:18
Now it works!
That's fine. I don't know what has happened or what you have done, but thanks!

42664


But it doesn't work with my actual campaign with all the other extensions...
See the attached image.

42665

bratch9
January 7th, 2021, 17:44
But it doesn't work with my actual campaign with all the other extensions...
See the attached image.

42665

could you try that AAW map in the basic just my extension test campaign ? ( If it fails, that would be map image specific and I'd need to look at the map pack. )

if it works with just my mod, then you will need to try and pick half your extensions and disable them, try and see if it now works or not... and use this to try and cut back to which of the extensions you have turned on that is causing a conflict.

If we can get it to a specific extension causing issues, you could add that to the test campaign and see if it fails again in the my extension + other extension and let me know. ( I might have access to the other extension to see what is causing the conflict.. )

[ A 5e campaign I play in, uses a bunch of rob2e and madnomad and my spell token extension works fine, so it might be a version update/out of date issue or just an extension we dont use..)

bratch9
January 7th, 2021, 18:08
But it doesn't work with my actual campaign with all the other extensions...
See the attached image.

42665

while it does not look the case in the image, did you happen to try it while the map was 'maximised' ? ( and then changed that after the test to take the image ? )

Lino
January 7th, 2021, 18:48
Tested: it doesn't work when the map is maximized. the other way it works fine, even in my campaign full of extentions.

bratch9
January 7th, 2021, 19:22
Tested: it doesn't work when the map is maximized. the other way it works fine, even in my campaign full of extentions.

nice, I've got a fix for maximized and also pushed to desktop ( double maximized... )

just got to fix up a Starfinder rule set issue, due to a code change in the rule set.

should have an update later tonight.

bratch9
January 7th, 2021, 21:14
Tested: it doesn't work when the map is maximized. the other way it works fine, even in my campaign full of extentions.

v2.6 is updated with support for maximized images when you drag on the token.

Give it a go, without the show debug enabled, and see if its working in all the cases you were having issues with. In both/all your campaigns with all extensions..

Let me know if its working, and if you find any other issues it fails to work in.

-pete

Lino
January 7th, 2021, 21:28
v2.6 is updated with support for maximized images when you drag on the token.

Give it a go, without the show debug enabled, and see if its working in all the cases you were having issues with. In both/all your campaigns with all extensions..

Let me know if its working, and if you find any other issues it fails to work in.

-pete

Wow! Faster than light!

I let you know soon, thanks.

Lino
January 7th, 2021, 21:44
Wow! Faster than light!

I let you know soon, thanks.

Now it works in all the situations.

Great job Pete!