TALES of the VALIANT
Page 50 of 50 First ... 40484950
  1. #491
    I made some minor adjustments, hopefully it's working now.

    screenshot0001.png

    screenshot0002.png
    Attached Files Attached Files
    KICK | TWITCH | YOUTUBE
    BRAZILIAN
    GMT-3
    FANTASY GROUNDS UNITY - ULTIMATE VERSION
    PLAYER ONLY
    FORGE CREATOR
    DND - Package | PFRPG2 - Package | Rolemaster (Classic) - Package | SW - Package | Traveller 2E - Package

  2. #492
    Works now thanks so much!!!

  3. #493

    Join Date
    Feb 2016
    Location
    Melbourne, Australia
    Posts
    40
    Hi there - I've only just started to use this extension but I'm sure it'll come in very handy... One thing I've noticed though is that the Calendar widget thingy is no longer displaying AM/PM next to the time. I figured it must be the theme I was using, tried a bunch of different ones and got the same result. Then I noticed the screenshots above didn't have them anymore either. Would be "nice to have" that back in the widget again - many thanks!

  4. #494

    Join Date
    Feb 2017
    Location
    the seaside, UK
    Posts
    487
    Would it be possible for 'Just The Clock Adjuster' to still expire effects when it's used to move time forward by minute or hourly increments?

    If you click for a short or long rest it does move game time forward and expires effects. But when double clicking to move time forward by my defined minutes/hours it seems to be moving calendar time forward but not actual game time, if that makes any sense, so doesn't count down or expire any effects?

    The full Clock extension is working fine in this respect, but I'd much rather use JTCA, as I don't use any of the other bells and whistles and i like to keep things as streamlined as possible, especially as I use a lot of extensions (this was tested with only this extension active though).

    Cheers,

    Simon

  5. #495
    *** Updated with the fix in the code below ***

    I have traced down a race condition with SilentRuin's GAL and the processing of "long term" effects in the advanceRoundsOnTimeChanged function in scripts/longtermeffects.lua.

    If you adjust the clock by one minute and trigger the expiration (deletion) of a spell with associated NPC token from its GAL layer, above function still tries to list this token (on CT_LIST) and its effects - which will fail with an error as the token is gone.

    Following lines in blue must be added in the function - perhaps someone maintaining the source code can please update it.
    Code:
    function advanceRoundsOnTimeChanged(nRounds)
    	if nRounds and nRounds > 0 then
    		for _,nodeCT in pairs(DB.getChildren(CombatManager.CT_LIST)) do
    		    if type(nodeCT) ~= "error" then
    			for _,nodeEffect in pairs(DB.getChildren(nodeCT, 'effects')) do
    				local nActive = DB.getValue(nodeEffect, 'isactive', 0);
    				if nActive ~= 0 then
    					local nodeActor = nodeEffect.getChild('...');
    					local nDuration = DB.getValue(nodeEffect, 'duration');
    					local bHasDuration = (nDuration and nDuration ~= 0);
    					if bHasDuration and (nDuration <= nRounds) then
    						EffectManager.expireEffect(nodeActor, nodeEffect);
    					elseif bHasDuration then
    						DB.setValue(nodeEffect, 'duration', 'number', nDuration - nRounds);
    					end
    				end
    			end
    		    end
    		end
    
    		return true;
    	end
    end
    Last edited by Arnagus; Yesterday at 15:11. Reason: Providing fix for issue

  6. #496
    Quote Originally Posted by YAKO SOMEDAKY View Post
    I made some minor adjustments, hopefully it's working now.

    screenshot0001.png

    screenshot0002.png
    Hey there! Just downloaded your version of the extension to update mine, and I've come across an issue with the weather checker. Has the function been removed? This version causes an error message to pop up.
    noweather.png

  7. #497
    I will take a look soon.
    KICK | TWITCH | YOUTUBE
    BRAZILIAN
    GMT-3
    FANTASY GROUNDS UNITY - ULTIMATE VERSION
    PLAYER ONLY
    FORGE CREATOR
    DND - Package | PFRPG2 - Package | Rolemaster (Classic) - Package | SW - Package | Traveller 2E - Package

  8. #498
    Quote Originally Posted by YAKO SOMEDAKY View Post
    I will take a look soon.
    Another issue I ran into (that I also had with the Forge version) is that traveling by normal/slow/fast with encounter chance only goes at 2 miles per hour, even though the options are set to go with the 5e travel speeds (3/2/4 respectively).

  9. #499
    It is worth remembering that the clock Adjuster in this topic is different from the one I created.
    KICK | TWITCH | YOUTUBE
    BRAZILIAN
    GMT-3
    FANTASY GROUNDS UNITY - ULTIMATE VERSION
    PLAYER ONLY
    FORGE CREATOR
    DND - Package | PFRPG2 - Package | Rolemaster (Classic) - Package | SW - Package | Traveller 2E - Package

Page 50 of 50 First ... 40484950

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Starfinder Playlist

Log in

Log in