PDA

View Full Version : Current HP Extension for 5E Ruleset - FGC



Tielc
June 3rd, 2018, 22:45
MODERATOR: Reported not compatible with current ruleset code as of 2021-02-16. And original developer has posted in post #90 that they are no longer maintaining. An alternative that has been updated can be found here. (https://www.fantasygrounds.com/forums/showthread.php?58607-5E-Constitutional-Amendments)

FGU version available here: https://www.fantasygrounds.com/forums/showthread.php?57134-Current-HP-Extension-for-5E-Ruleset-FGU-Version

This is an extension for the 5e Ruleset to add player and NPC a new field containing Current HP to the player Character Sheets and the Combat Tracker. Below is more information about this extension. This has been created as a new thread as the original extension was created by xxXEliteXxx. I've taken it and added further support for updating in the Combat Tracker and NPCs support.

Changes and Additions

Adds a new field to the Character Sheet and Combat Tracker that displays the Current HP of creatures.
The value of this new current hp field updates when the number of wounds are changed on the Character Sheet of Combat Tracker.
The value of wounds will update if the value of current hp is changed in either the Character Sheet or Combat Tracker.
Changed the display order on the Character Sheet in the Wounds area from WND—MAX—TMP to HP—MAX—TMP—WND to better reflect the order on the Combat Tracker and more logical display the information (for me).
Added Current HP to the Host and Client Combat Tracker.
Updated script to update the color of both Current HP and Wounds on the Character Sheet and Combat Tracker.
Adjusted labels on Combat Tracker to reflect the all caps lettering of the character sheet.


Update 10/28/2018 Version 2.5

Fixed bug where Using Edit Current HP in the Combat Tracker wouldn't update the Current HP on the Character Sheet.
Fixed bug where the health condition color wasn't updating when modifying the Current HP from the Host Machine to the Client Machines.


Here is a video showing how the extension works for both the GM and Players


https://www.youtube.com/watch?v=_iIVf6SdhKY

Doomskull
June 4th, 2018, 05:23
Quick question. I downloaded the ext., changed the ruleset as indicated but nothing is working. The extension is not showing up on the load campaign screen to activate it and in game all I have is the HP/TMP/WND categories on the CT and PC sheet.
What am I doing wrong? Do you need to have both extensions installed?
This is what I have:
https://i.imgur.com/AgY1gZB.jpg

damned
June 4th, 2018, 06:16
where did you put the extension. the extension wont work if ts not selected. you cant select it if its not stored in /extensions folder

Trenloe
June 4th, 2018, 06:37
@Tielc - the extension file in post #1 is invalid in two ways:
1) The files needs to be zipped up from within the extension directory, not from outside of it.
2) Use normal ZIP compression, not 7z.

@Doomskull - this is why you can't see the extension in FG.

Recommendation to any extension developer reading this - please always do a test on your extension .ext file before publicly sharing. It saves wasted time if there is an issue. Even experienced developers mess up sometimes, we forget something or click the wrong thing, etc. - I always test the .ext file for any extensions I create before uploading to the forums.

celestian
June 4th, 2018, 06:39
@Tielc - the extension file in post #1 is invalid in two ways:
1) The files needs to be zipped up from within the extension directory, not from outside of it.
2) Use normal ZIP compression, not 7zip.

@Doomskull - this is why you can't see the extension in FG.

Recommendation to any extension developer reading this - please always do a test on your extension .ext file before publicly sharing. It saves wasted time if there is an issue. Even experienced developers mess up sometimes, we forget something or click the wrong thing, etc. - I always test the .ext file for any extensions I create before uploading to the forums.

I would also recommend in this case that the developer just override the "record_char_main.xml" because expecting folks to know what you're talking about and get it all right is probably expecting to much ;) (just watched the video).

Trenloe
June 4th, 2018, 06:40
I would also recommend in this case that the developer just override the "record_char_main.xml" because expecting folks to know what you're talking about and get it all right is probably expecting to much ;) (just watched the video).
Yeah, modifying the base ruleset means that the next time an update is ran their edited 5E.pak file would be overwritten. So best to include in the extension if at all possible. The whole file doesn't need to be overwritten - just the <windowclass name="charsheet_main"> section.

celestian
June 4th, 2018, 06:54
I would also recommend in this case that the developer just override the "record_char_main.xml" because expecting folks to know what you're talking about and get it all right is probably expecting to much ;) (just watched the video).

To give you an example of what I mean. In the extension.xml file use the something like this:



<base>
<includefile source="campaign/record_char_main.xml" />
</base>


Will override the the record_char_main.xml file included in the 5E.pak file with your fixed version. Just make sure to create "campaign/" and place your working copy of the xml there.

If/when Smiteworks updates the label to have a name then you can just use a merge/replace.

Ken L
June 4th, 2018, 09:56
Extensions are a best effort by the developers done on their free time. This whole telling people how to release something freely developed is hogwash.

@Tielc, you have a minor bug in your packaging as pointed out above, other than that, from the video it looks like a neat addition, I'll have to use it in my 5e one-shots.

Sacksquatch
June 4th, 2018, 11:57
Thank you very much for making this Tielc!

Doomskull
June 4th, 2018, 13:01
Ya bud, that worked. Thanks!

damned
June 4th, 2018, 13:13
Extensions are a best effort by the developers done on their free time. This whole telling people how to release something freely developed is hogwash.

@Tielc, you have a minor bug in your packaging as pointed out above, other than that, from the video it looks like a neat addition, I'll have to use it in my 5e one-shots.

All the above posts that are making suggestions from packaging to ease of use are just that - suggestions on how to improve things. Not everyone has the same level of programming ability or familiarity with how Fantasy Grounds works. And sometimes its just another set of eyes giving a different perspective on a solution. Every one of the posters is well aware that developers are doing this in their free time. The OP has made several posts requesting help, advice or guidance and the above replies were useful.

Tielc
June 4th, 2018, 14:08
Sorry, when I saw the first post I knew what had happened. I was out all night. I've updated the uploaded file.

Trenloe
June 4th, 2018, 14:11
Extensions are a best effort by the developers done on their free time. This whole telling people how to release something freely developed is hogwash.
Recommendations on how to make an extension more robust and to work for all users first time are valuable recommendation to give. You might think it's hogwash, but I would imagine most community developers will find the feedback welcome.

celestian
June 4th, 2018, 15:46
Extensions are a best effort by the developers done on their free time. This whole telling people how to release something freely developed is hogwash.

@Tielc, you have a minor bug in your packaging as pointed out above, other than that, from the video it looks like a neat addition, I'll have to use it in my 5e one-shots.

My only intent was to help a dev out. If that's not how it came across my apologies. If someone has a good solution to do something that I've written, I'd take that feedback and use it.

Tielc
June 4th, 2018, 16:26
I've gotten through a cup of coffee this morning, something I should always do before tackling any task for the day. Just saying. I'm going to incorporate the entire character sheet to eliminate the need to modify the 5e ruleset. Assuming this doesn't come with any other complications, I'll update the original post with this new extension.

Trenloe
June 4th, 2018, 16:55
I'm going to incorporate the entire character sheet to eliminate the need to modify the 5e ruleset. Assuming this doesn't come with any other complications, I'll update the original post with this new extension.
The main complication is that it means possibly more work to make the extension compatible if (when) future FG versions are released that affect the XML in question. That is, the extension will need to be changed to use the new XML, plus the changes needed for the extension, to keep compatibility with the latest FG release.

Or, there are more chances of a clash with other extensions.

As you noted in post #1, the ideal solution is to use the merge rules, but you can't because the label control is not named - hopefully your request to add this will be addressed in the next release.

If merge rules are not possible, then the next step is to override the whole <windowclass> entry where the control resides. The rest of the XML file where that <windowclass> is specified is not needed, nor is "the entire character sheet". The more information you include, the more chances you have of a future FG release breaking it, or the extension clashing with another community extension.

My recommendation would be to just include the modified <windowclass name="charsheet_main"> XML section in your extension, as I mentioned in post #6 of this thread.

Tielc
June 4th, 2018, 21:54
I've updated the download in the original post removing the need to make any changes to the 5e Ruleset. I'm also rendering a new video showing how this extension works.

Tielc
June 4th, 2018, 21:55
The main complication is that it means possibly more work to make the extension compatible if (when) future FG versions are released that affect the XML in question. That is, the extension will need to be changed to use the new XML, plus the changes needed for the extension, to keep compatibility with the latest FG release.

Or, there are more chances of a clash with other extensions.

As you noted in post #1, the ideal solution is to use the merge rules, but you can't because the label control is not named - hopefully your request to add this will be addressed in the next release.

If merge rules are not possible, then the next step is to override the whole <windowclass> entry where the control resides. The rest of the XML file where that <windowclass> is specified is not needed, nor is "the entire character sheet". The more information you include, the more chances you have of a future FG release breaking it, or the extension clashing with another community extension.

My recommendation would be to just include the modified <windowclass name="charsheet_main"> XML section in your extension, as I mentioned in post #6 of this thread.

This actually required a decent amount of work. As doing a merge, I was able to leave out most of the xml for even the entities I've modified, including their scripts. I had to go back and spend a decent amount of time making sure I hadn't missed anything. Now, for when I deal with this in the future. If I'm editing an xml class that itself is already doing a merge, and I want to completely override the 5e ruleset implementation, how would I handle that? So I don't want the 5e ruleset implementation, but maybe I need to the CoreRPG stuff that's in that class already?

Trenloe
June 4th, 2018, 22:19
Now, for when I deal with this in the future. If I'm editing an xml class that itself is already doing a merge, and I want to completely override the 5e ruleset implementation, how would I handle that? So I don't want the 5e ruleset implementation, but maybe I need to the CoreRPG stuff that's in that class already?
You could use merge="delete" on the relevant controls, etc. to remove all of the 5E stuff you don't want.

Or take the CoreRPG implementation and add your stuff to that - overwriting the original CoreRPG and 5E layers.

Ken L
June 5th, 2018, 00:14
@Celestian, was referring to Tren here, I'm not behind the whole enforcing standardization from free contributions. There's a place for that, but FG is more of a loose confederation. Sure there's a bug that kept it from working, could have done without the pontificating.

Trenloe
June 5th, 2018, 00:35
@Celestian, was referring to Tren here, I'm not behind the whole enforcing standardization from free contributions. There's a place for that, but FG is more of a loose confederation. Sure there's a bug that kept it from working, could have done without the pontificating.
What "enforcing standardization" was I doing? I was posting a reminder for all extension developers to do a quick test that the extension works OK before uploading. Is providing feedback on how to make the extension actually loadable enforcing standardization? Maybe... I'd be pretty happy with a baseline standard of extensions that actually load.

Pontificating? Whatever. I really don't think that reminding everyone to do a quick test before publicly sharing code pontificating.

@Tielc I'm sorry if you took my comments and recommendations as me pontificating, it was not meant in that way. Code problems and packaging issues happen to us all, which is why I mentioned as a reminder to all that it is a good idea to test before posting code in the forums. It save's everyone wasting time all round. Thanks, and sorry again if what I said annoyed you.

ll00ll00ll00ll
June 5th, 2018, 01:44
The more information you include, the more chances you have of a future FG release breaking it

This is the Undermountain of Understatements.

Trenloe
June 5th, 2018, 01:58
This is the Undermountain of Understatements.
LOL. Yes, indeed...

Sacksquatch
June 5th, 2018, 18:06
I saw nothing wrong with the feedback and I doubt Tielc did either. The system is supposed to be as easy as dropping a file in the folder, and activating it on the launcher. Anything beyond that is going to cause unnecessary questions and/or frustration. The feedback worked, the extension is "mo betta", end of. :D

I put up a post on how to fix the zip issue, it helped like 1 person, and it's already fixed. That's good stuff!

Tielc
June 9th, 2018, 14:53
Can you please add this extension to the Extensions or Community Extensions post.

Zacchaeus
June 9th, 2018, 15:55
Can you please add this extension to the Extensions or Community Extensions post.

I wasn't sure if the issues mentioned previously had been fixed or not, before I stickied it. I take it they have been?

Tielc
June 9th, 2018, 15:56
Yeah, I updated the original post and attachment.

Zacchaeus
June 9th, 2018, 16:05
Looks like someone beat me to it; its already stickied.

mikeInside
July 4th, 2018, 03:58
Thank you for this extension Tielc! This is exactly what I was searching for, I feel so lucky that with fantasy grounds being such an old program I happened to look for it only a month after it was created. It was causing a lot of confusion as all my players use current HP on paper, but I kept talking about wounds.

The other thing I was seeking was a way to type in the amount of damage or healing to give a player, and you solved that too (https://www.fantasygrounds.com/forums/showthread.php?38183-Current-HP-HP-Remaining-Extension&p=389251&viewfull=1#post389251) with the /die method. My hero!

xxXEliteXxx
July 10th, 2018, 20:15
This is so awesome! I'm glad someone expanded upon it.
Thanks, Tielic!

Tielc
July 12th, 2018, 15:52
Thanks, it's great to hear that you like what I've done.

Also, today I uploaded a small fix to an issue I noticed while leveling characters. Previously when you increased the current Max HP of a character, the Current HP lagged behind by a value of one. This had to do with when the MaxValue of the text field was being set, and when the Value of the text field was being calculated. I've fixed that to update the value after the MaxValue has been set.

Smoltok
August 2nd, 2018, 14:32
Could we imagine that this extension could work with the Advanced Kombat extension ?

Tielc
August 2nd, 2018, 14:36
He is absolutely more than welcome to take what I've written in this.

Drogo210
August 18th, 2018, 08:31
Could we imagine that this extension could work with the Advanced Kombat extension ?

It is possible and I did it in few hours without knowing anything about scripting. It may be not the right way to do it but it worked :).
What I did was to look at the both extensions. I opened both and I looked at difference in the codes and I add the code that was on Current HP to the Advanced Kobact script. In addition, you need to add one folder from HP to Advanced Kobact. That's it.
If I have the permit from both authors I can even link it.

Tielc
August 18th, 2018, 14:19
It is possible and I did it in few hours without knowing anything about scripting. It may be not the right way to do it but it worked :).
What I did was to look at the both extensions. I opened both and I looked at difference in the codes and I add the code that was on Current HP to the Advanced Kobact script. In addition, you need to add one folder from HP to Advanced Kobact. That's it.
If I have the permit from both authors I can even link it.

Sure thing, go for it. I haven't really been using Fantasy Grounds lately unfortunately.

Drogo210
August 20th, 2018, 19:03
Here you can download the combined Advanced Kobact AND Current Hp extension.
24395

Moderator: I've removed this attachment since I see no evidence that you obtained the author of the Advanced Kombat extension's permission to use or abuse his code or create a different link to download it.

LordEntrails
August 20th, 2018, 20:57
Here you can download the combined Advanced Kobact AND Current Hp extension.
24395
You should start a new thread for this extension. Will be easier for people to find, plus as you update it you can just update the first post etc. Also you can g=then get it stickied :)

Tielc
August 22nd, 2018, 13:21
Is there any reason to not just install each extension separately? Do they conflict with one another or something?

Tielc
August 22nd, 2018, 13:25
Drogo210 was given permission from the creator of Advanced Kombat to the moderator who removed the link. It's found on this page - https://www.fantasygrounds.com/forums/showthread.php?44343-Extension-Advanced-Kombat-(5E)/page15 (I don't know how to permalink individual threads).

Zacchaeus
August 22nd, 2018, 14:34
The permission was dependent on a couple of things. Once he has sorted that out he can post the extension again on a separate thread.

Tielc
August 22nd, 2018, 14:35
If the combined extension is licensed GPL v3 then go ahead. You will need to ask the other extension author if he wants to do this. Was what was said. I am the other extension author, I also said to go ahead. Please explain the rest of the issue?

damned
August 22nd, 2018, 14:48
I think conditions have been met...

Drogo210
August 22nd, 2018, 15:06
I had permission from both authors.

If I missed something let me know and I will adjust for it, if I can

Drogo210
August 22nd, 2018, 15:14
Is there any reason to not just install each extension separately? Do they conflict with one another or something?

If you use them separately, the current HP on combat tracker doesn't change with wounds.

Zacchaeus
August 22nd, 2018, 16:17
If the combined extension is licensed GPL v3 then go ahead. You will need to ask the other extension author if he wants to do this. Was what was said. I am the other extension author, I also said to go ahead. Please explain the rest of the issue?

There isn't one if you gave permission and the extension is licensed (and I can't tell whether that is the case until I see the extension). However I can't reinstate the link if this is what you were saying. Drogo should start a new thread with the extension linked there.

Nylanfs
August 22nd, 2018, 17:22
Drogo210 was given permission from the creator of Advanced Kombat to the moderator who removed the link. It's found on this page - https://www.fantasygrounds.com/forums/showthread.php?44343-Extension-Advanced-Kombat-(5E)/page15 (I don't know how to permalink individual threads).

The number on the post in the upper right corner is actually a link to that post. :)

dmssanctum
August 22nd, 2018, 19:44
If you use them separately, the current HP on combat tracker doesn't change with wounds.

I've modified Advanced Kombat to include the Current HP extension for my own uses. It took a bit of trial and error, but for the most part you can copy the Current HP files into your Advanced Kombat extension and include the new files. It only gets tricky when you have to integrate the Combat Tracker files, and then you just need to combine the functions together. The functions that Current HP needs don't load correctly with both modules installed until you combine the CT files. Unless Advanced Kombat starts including Current HP though, you'll have to remodify files every time there is an update.

mikeInside
August 23rd, 2018, 06:08
Drogo should start a new thread with the extension linked there.

Seems like things are resolved, looking forward to trying it out once you post it in a new thread Drogo!

Tielc
October 25th, 2018, 15:11
I've just updated the main post with a new version of this extension as well as a new video showing the new features. For reference this is what has changed in v2.3


Updated the files to utilized the renamed objects in Fantasy Grounds v3.3.6. This means this extension will require ver 3.3.6 of Fantasy Grounds or newer.
Added the ability to modify the Current HP field, which then adjusts the current Wounds value on the Character Sheet and the Combat Tracker
Added the link icon in the Combat Tracker for PCs Current HP

Tielc
October 26th, 2018, 21:18
There's a bug with how I wanted to accomplish this in that the client and the GM's screens are fighting now to control the numbers. I'm looking for a fix for this at the moment.

mikeInside
October 26th, 2018, 21:45
Hi Tielc thanks for the new version and vid!
When I download the extension from the first post and add it to Fantasy Grounds, replacing the old one, it still shows the old welcome text:
"Current HP Extension v2.1 for FG v3.3.5 5E ruleset. Designed and Implemented by xxXEliteXxx and Tielc." and editing the current hp does not update wounds.

Tielc
October 26th, 2018, 22:35
Hi Tielc thanks for the new version and vid!
When I download the extension from the first post and add it to Fantasy Grounds, replacing the old one, it still shows the old welcome text:
"Current HP Extension v2.1 for FG v3.3.5 5E ruleset. Designed and Implemented by xxXEliteXxx and Tielc." and editing the current hp does not update wounds.

There's a problem with the extension right now, where when connected to other players, editing one value on the either the host or player side, causes the values to constantly update because of latency and the constant updating between the two clients. I'm working on a better solution for this right now.

Tielc
October 28th, 2018, 00:10
I've updated this extension to version 2.4. This fixes the bugs I was seeing with version 2.3 where player and host clients were "fighting" with each other trying to overwrite one another. I've also introduced a feature I'm really happy with. The ability to double click on a value and add or remove from the current value. Check out the main post for an updated video and the updated version of the extension.

mattekure
October 28th, 2018, 01:39
I love the extension and the changes. I just noticed what appears to be a bug in your video for the new version. At 2:07, you applied the additional wounds to the CT, but the HP field didnt change on the character sheet. 25114

Tielc
October 28th, 2018, 03:31
I love the extension and the changes. I just noticed what appears to be a bug in your video for the new version. At 2:07, you applied the additional wounds to the CT, but the HP field didnt change on the character sheet. 25114

Good catch! I had to do some jank to get this to keep the clients from trying to overwrite one another. I'll take a look tomorrow and see about fixing that.

Tielc
October 28th, 2018, 14:27
There's two new fixes in version 2.5 to address the update issue when editing the Current HP from the Combat Tracker. Those notes are on the original post.

Kordin
May 9th, 2019, 03:34
i just wanted to say thanks for your work and this ext. I have been looking for something like this for some time now. will this work with FGU when it is released?

LordEntrails
May 9th, 2019, 04:29
i just wanted to say thanks for your work and this ext. I have been looking for something like this for some time now. will this work with FGU when it is released?
Most likely. In general everything will be compatible with FGU. It is the change in rulesets that impact these types of extensions. If a new verision of the 5E ruleset is released before or with (or when it happens after) FGU release, then this extensionmight break. But we won't know that until the ruleset is in the beta test channel.

Kordin
May 9th, 2019, 20:46
thanks

Sangra69
August 1st, 2019, 09:22
SO why can't I download the extension?

LordEntrails
August 1st, 2019, 16:09
SO why can't I download the extension?
PEBKAC :)

Make sure you are on the Full Site and not the mobile site. Make sure your forum theme (bottom left corner) is set to FGResponsive.

Astaroshe
January 3rd, 2020, 00:10
Small Issue noticed with FGU and this Extension:

When loading a 5E Game (clean, fresh no other extensions) I get this error message:
Unable to locate extension file (Current HP) (campaign/template_char.xml)

Additionaly I noticed that a Player connecting to my game hosted on the cloud server they do not actually load the extension. (But also no other one like Decals/Themes, so most likely that is not a issue with the Extension itself.) Since I can use it when using a second client, I guess my players also have to load the extension themselves instead of recieving it via joining my game?

Zacchaeus
January 3rd, 2020, 09:41
Small Issue noticed with FGU and this Extension:

When loading a 5E Game (clean, fresh no other extensions) I get this error message:
Unable to locate extension file (Current HP) (campaign/template_char.xml)

Additionaly I noticed that a Player connecting to my game hosted on the cloud server they do not actually load the extension. (But also no other one like Decals/Themes, so most likely that is not a issue with the Extension itself.) Since I can use it when using a second client, I guess my players also have to load the extension themselves instead of recieving it via joining my game?

No, players download any extensions that the DM has enabled when they join the DMs game. Most extensions will probably need updated to work with Unity.

Astaroshe
January 5th, 2020, 15:47
No, players download any extensions that the DM has enabled when they join the DMs game. Most extensions will probably need updated to work with Unity.

Seems that with the current Unity Version that does not work all the time. My Players did not see the extra HP Field that this Mod adds, when just joining my game. But once I did send them the .ext File via Dropbox and they had placed it in their extension Folder, everything worked fine (Except that "Unable to loacte" Error, that this time everyone gets, but as far as I could see did not actually impact anything)

Tielc
January 6th, 2020, 14:13
I haven't been using Fantasy Grounds to run a game in some time. I'm not sure what's all changed with the 5e character sheet in Unity or mods to be able to diagnose this, but I'm guessing they changed something this mod depends on.

LordEntrails
January 6th, 2020, 20:39
The biggest issue with extensions and FGU is properly formed xml. The parser used by FGU is more strict than FGC. The second area of course is in regards to images. The 5E ruleset itself has no changes I'm aware of between FGC and FGU.

Armandeus
February 8th, 2020, 13:06
This extension is great, and in my humble opinion, should be the default behavior of the 5E ruleset. However, I'm having trouble with temporary hit points. If a character has any, they are not removed before "current hit points" are reduced. It seems that they are ignored altogether.
Could you consider subtracting from the temporary HP before reducing the current HP?
Or, am I misinterpreting the 5E rules? I've been playing since the boxed set in '82, so I get my editions confused sometimes.

Zacchaeus
February 8th, 2020, 14:30
You are correct, temporary hit points get used before current hit points. I haven't used this extension but I am assuming that the author knows this and the extension should work in this way. Check that you don't have any other extensions loaded that might be interfering with this one. Test in a new campaign with just this extension.

Trenloe
February 8th, 2020, 15:31
This extension is great, and in my humble opinion, should be the default behavior of the 5E ruleset. However, I'm having trouble with temporary hit points. If a character has any, they are not removed before "current hit points" are reduced. It seems that they are ignored altogether.
Could you consider subtracting from the temporary HP before reducing the current HP?
Or, am I misinterpreting the 5E rules? I've been playing since the boxed set in '82, so I get my editions confused sometimes.
I've just tested and it worked fine for me. I had some temporary HP setup for a PC in the combat tracker (shown in blue) and when damage was applied to that PC the temporary HP were reduced as normal. When there was no temporary HP left, wounds were applied to the PC and the current HP were reduced accordingly.

If this doesn't work for you, then (as Zacchaeus suggests) try it in a brand new campaign with only this extension enabled. If it still doesn't work, post a screenshot with the combat tracker and the chat window showing the issue.

Lou Ciphor
February 9th, 2020, 21:06
Small Issue noticed with FGU and this Extension:

When loading a 5E Game (clean, fresh no other extensions) I get this error message:
Unable to locate extension file (Current HP) (campaign/template_char.xml)


I just tried this in FGU and got the same error. Sure enough, that file simply does not exist within the extension. I just re-downloaded it from this thread, and confirmed that the file does not exist within the .ext.

Armandeus
February 14th, 2020, 08:42
Sorry it took me so long to reply.
I tried using the "sample 5E campaign" provided with FG. I only activated this one extension and no modules.
Temporary hit points do not seem to be a part of the current HP calculation. Please see the screenshot.
31599

Zacchaeus
February 14th, 2020, 09:50
Sorry it took me so long to reply.
I tried using the "sample 5E campaign" provided with FG. I only activated this one extension and no modules.
Temporary hit points do not seem to be a part of the current HP calculation. Please see the screenshot.

Temporary hit points are not added into the current hit points. They remain as a separate entity and are used up before any wounds are applied to actual hit points. In order to test add an NPC to the Combat Tracker and apply some damage to your PC.

Armandeus
February 14th, 2020, 09:52
Thank you, Zacchaeus. If you have a look at the screenshot, you can see that is what I tried, and that the temp. HP were not handled in the manner you described.
Specifically, Ravina should have 29 HP remaining and the temp HP should be 0, but she has only 25 and temp is still 5.

Zacchaeus
February 14th, 2020, 10:26
Thank you, Zacchaeus. If you have a look at the screenshot, you can see that is what I tried, and that the temp. HP were not handled in the manner you described.
Specifically, Ravina should have 29 HP remaining and the temp HP should be 0, but she has only 25 and temp is still 5.

No, what you did was just edit the boxes on the character sheet and you can edit those boxes to whatever values that you want. In order to test things out add the character to the Combat tracker, give them some temp hit points and then add an enemy to the Combat tracker and drag and drop some damage onto the PC.

Armandeus
February 14th, 2020, 11:12
Thank you. I did as you said and it worked correctly. Unlike with regular HP, these temporary HP will not respond to wounds inputted manually.

Trenloe
February 14th, 2020, 12:44
Unlike with regular HP, these temporary HP will not respond to wounds inputted manually.
That's correct. Because if you edit the wounds field, that's all you're doing - changing the value to what you want it to be. You're not actually applying damage as a process, so FG doesn't apply anything to a manual edit: no temp HP, no resistance, etc..

Klandare
March 1st, 2020, 20:31
So question just to make sure I am not missing something easy.

I was hoping that this extension could be utilized to better work with things like Aid and Heroes Feast which change a characters MAX HP and also to take into effect damage from things like necrotic which it also lowers the targets MAX HP for a period.

I am not seeing a way where if I change the MAX HP for the character (for when say Aid is cast on the character and should get 5 MAX HP increase for 8 hours), then the characters original HP MAX gets lost.

Is there anyway to have the characters original MAX HP maintained somewhere? I am currently utilizing a Note to do this when needed but it is something that I would love to work strictly through the character sheet/combat tracker.

ScriedRaven
March 15th, 2020, 00:36
I'm not sure if you're keeping up with this, but it currently glitches out if used with Combat Enhancer, any idea on how to fix that?

Zacchaeus
March 15th, 2020, 02:00
The author of this extension isn’t around much so I don’t expect this one to be updated any time soon. I’d suggest disabling this extension meantime.

ScriedRaven
March 15th, 2020, 04:27
I expected as much, but was hoping to be proven wrong. I was able to come up with a workaround, but it disables slightly more than I want it to.

zuilin
March 28th, 2020, 18:59
Somethin's a little wonky. When I first opened a char sheet from the tracker the HP shows 0 on the char sheet. I have to re-enter the proper HP and delete any wounds, then kind of mess around adding/subtracting wounds until the tracker and sheet match up. Then in seems to sync between the two.

FGC, 3.3.10, Current HP 2.5

Harcagnel
April 11th, 2020, 10:12
Any chance you could add a feature so that you see your Current HP as a number on portraits of character(s) you control so that if the GM is using "Status" view for for players on the combat tracker you (and only you) can see your actual HP without having to go into your character sheet during combat? (when in combat I prefer to keep the character sheet closed to save desktop space when possible, and when role-playing out of combat I generally keep the character sheet up to access any random request for roles and inventory etc. HP is without the biggest combat offender and it can slow combat opening and closing windows all the time.)

grimmlock
April 14th, 2020, 19:31
Any chance you could add a feature so that you see your Current HP as a number on portraits of character(s) you control so that if the GM is using "Status" view for for players on the combat tracker you (and only you) can see your actual HP without having to go into your character sheet during combat? (when in combat I prefer to keep the character sheet closed to save desktop space when possible, and when role-playing out of combat I generally keep the character sheet up to access any random request for roles and inventory etc. HP is without the biggest combat offender and it can slow combat opening and closing windows all the time.)


Somethin's a little wonky. When I first opened a char sheet from the tracker the HP shows 0 on the char sheet. I have to re-enter the proper HP and delete any wounds, then kind of mess around adding/subtracting wounds until the tracker and sheet match up. Then in seems to sync between the two.

FGC, 3.3.10, Current HP 2.5

Unfortunately, like Zacchaeus said here:


The author of this extension isn’t around much so I don’t expect this one to be updated any time soon. I’d suggest disabling this extension meantime.

You probably won't get much of a response to any issues.

Zuilin, it does look like the 1.6.0 update to 5e Combat Enhancer (https://www.fantasygrounds.com/forums/showthread.php?47146-5e-Combat-Enhancer-(built-on-retired-GPL-Advanced-Kombat-extension)) has caused issues with Current HP, so if you're using that extension, it's probably best to just disable Current HP.

solomani
April 16th, 2020, 04:05
Unfortunately, like Zacchaeus said here:
You probably won't get much of a response to any issues.

Zuilin, it does look like the 1.6.0 update to 5e Combat Enhancer (https://www.fantasygrounds.com/forums/showthread.php?47146-5e-Combat-Enhancer-(built-on-retired-GPL-Advanced-Kombat-extension)) has caused issues with Current HP, so if you're using that extension, it's probably best to just disable Current HP.

I am getting this error for the mod:
[4/16/2020 11:54:05 AM] FGU v4.0.0 ULTIMATE (2020-04-14)
[4/16/2020 11:54:40 AM] [<color="red">ERROR</color>] Unable to locate extension file. [Current HP] [campaign/template_char.xml]
[4/16/2020 11:55:20 AM] [WARNING] Frame hotkeytitlebox contains out-of-range values in Middle.
[4/16/2020 11:55:20 AM] [WARNING] Frame hotkeytitlebox contains out-of-range values in Right.

(not sure the last two in that list are related).

Anyone know the issue (I am running 5e combat enhancer as well)

If Current HP is not supported anymore is there something equivalent that is?

Thanks.

LordEntrails
April 16th, 2020, 18:26
I am getting this error for the mod:
[4/16/2020 11:54:05 AM] FGU v4.0.0 ULTIMATE (2020-04-14)
[4/16/2020 11:54:40 AM] [<color="red">ERROR</color>] Unable to locate extension file. [Current HP] [campaign/template_char.xml]
[4/16/2020 11:55:20 AM] [WARNING] Frame hotkeytitlebox contains out-of-range values in Middle.
[4/16/2020 11:55:20 AM] [WARNING] Frame hotkeytitlebox contains out-of-range values in Right.

(not sure the last two in that list are related).

Anyone know the issue (I am running 5e combat enhancer as well)

If Current HP is not supported anymore is there something equivalent that is?

Thanks.
See Post #65 https://www.fantasygrounds.com/forums/showthread.php?44140-Current-HP-Extension-for-5E-Ruleset&p=470728&viewfull=1#post470728
for the last status from the creator of this extension.

No alternatives I'm aware of.

solomani
April 16th, 2020, 22:42
Thanks but that’s a shame. The way this mod works should be the default behaviour in FGU imo. Will disable.

kentmccullough
April 28th, 2020, 22:44
@solomani
You can also change the .ext to a .zip and remove the offending line from the extension.xml
That's gotten it running for me on FGU.
Not sure exactly how acceptable this is in regards to licensing of extensions and such so I'm not willing to post the update myself. Although if I hear from one of the mods that it's acceptable I'd happily just post the FGU fix.

LordEntrails
April 29th, 2020, 00:13
@solomani
You can also change the .ext to a .zip and remove the offending line from the extension.xml
That's gotten it running for me on FGU.
Not sure exactly how acceptable this is in regards to licensing of extensions and such so I'm not willing to post the update myself. Although if I hear from one of the mods that it's acceptable I'd happily just post the FGU fix.
I've sent Tielc (the OP) a PM asking for his permission. If we don't receive it in a few days we can assume you can post and redistribute under similar terms (non-commercial and via the forums). Though you may wish to start a new thread liek Tielc did when he forked this extension from one xxxElitexxx had made.Please just make sure to give credit :)

I do encourage all community content have a license statement with it (see my signature) to make it easier for folks in the future.

zuilin
April 29th, 2020, 01:31
I've sent Tielc (the OP) a PM asking for his permission. If we don't receive it in a few days we can assume you can post and redistribute under similar terms (non-commercial and via the forums). Though you may wish to start a new thread liek Tielc did when he forked this extension from one xxxElitexxx had made.Please just make sure to give credit :)

I do encourage all community content have a license statement with it (see my signature) to make it easier for folks in the future.

I'm seeing other errors, functionality-wise; some things just not working. If you fork it, @LordEntrails, let me know and I'll tell you the bugs I'm finding.

Tielc
April 29th, 2020, 01:39
Hi there everyone. I am currently not using Fantasy Grounds, and haven't looked at this extension for some time.

I am completely okay is someone wants to take it and update as their own. I'm glad to see that people liked the initial functionality enough to keep it alive!

zuilin
April 29th, 2020, 03:57
I'm seeing other errors, functionality-wise; some things just not working. If you fork it, @LordEntrails, let me know and I'll tell you the bugs I'm finding.

Incidentally, I cracked it and I think I found the error that was causing me pain. It's an errant ">" that got into the XML as "&gt;"

LordEntrails
April 29th, 2020, 04:25
Incidentally, I cracked it and I think I found the error that was causing me pain. It's an errant ">" that got into the XML as "&gt;"
Going to share? (A little bit of peer pressure!)

I suggest a new thread. so you can post in the OP and update the attachment if you ever chose to update it.

zuilin
April 29th, 2020, 04:49
Going to share? (A little bit of peer pressure!)

I suggest a new thread. so you can post in the OP and update the attachment if you ever chose to update it.

Sure. Just working out 1 more bug I found.

zuilin
April 29th, 2020, 07:29
Sure. Just working out 1 more bug I found.

Posted here: https://www.fantasygrounds.com/forums/showthread.php?57134-Current-HP-Extension-for-5E-Ruleset-FGU-Version

Please put comments for my FGU changes only in that thread.

Thank you to Tielc for all the hard work on the great, original extension!

solomani
April 30th, 2020, 04:34
Thanks Tielc. zuilin over to you? :)

zuilin
April 30th, 2020, 05:11
Thanks Tielc. zuilin over to you? :)

Yup! See you in the other thread.

solomani
April 30th, 2020, 05:21
Could you link it? Want to subscribe. Thanks.

zuilin
April 30th, 2020, 05:45
Could you link it? Want to subscribe. Thanks.

4 posts up.

Posted here: https://www.fantasygrounds.com/forums/showthread.php?57134-Current-HP-Extension-for-5E-Ruleset-FGU-Version

Please put comments for my FGU changes only in that thread.

solomani
April 30th, 2020, 07:02
Thank you, subscribed.

zuilin
April 30th, 2020, 07:03
Thank you, subscribed.

You're welcome.

dotsoncs
May 18th, 2020, 15:49
Posted here: https://www.fantasygrounds.com/forums/showthread.php?57134-Current-HP-Extension-for-5E-Ruleset-FGU-Version

Please put comments for my FGU changes only in that thread.

Thank you to Tielc for all the hard work on the great, original extension!

zuilin - Do you mind if I retrofit your FGU changes into the FGC code?

[EDIT] Scratch that, looks like it works already in FGC.

zuilin
May 18th, 2020, 16:43
zuilin - Do you mind if I retrofit your FGU changes into the FGC code?

[EDIT] Scratch that, looks like it works already in FGC.

There are some weirdeties in the FGC version too... feel free if anything needs to be changed. In my version I did some HP change tracking that could be added to the FGC version if it’s causing problems.

TXCBoy36
June 30th, 2020, 09:45
Is this extension good to be used? Saw some issues reading thru the thread? Does it work fine with FGC?

zuilin
June 30th, 2020, 16:00
Is this extension good to be used? Saw some issues reading thru the thread? Does it work fine with FGC?

Give it a go and see how it behaves for you. Feedback is appreciated. I haven't had much time lately to test again with FGC.

zuilin
June 30th, 2020, 16:06
Give it a go and see how it behaves for you. Feedback is appreciated. I haven't had much time lately to test again with FGC.

it seems to me that the HP field on the Combat Tracker isn't updating but everything else seems to work the same in FGC as in FGU (with my fixed up FGU version). I'll try to track it (the bug) down in the next week or so.

zuilin
July 3rd, 2020, 00:42
zuilin - Do you mind if I retrofit your FGU changes into the FGC code?

[EDIT] Scratch that, looks like it works already in FGC.

Does the HP field in the Combat Tracker work for you?

JimSocks
July 30th, 2020, 05:36
The Current HP field in the CT does not seem to update in FGC. I see that's been reported above, but I wanted to share that I am seeing the same issue

JimSocks
July 30th, 2020, 19:02
Do you mind if I cannibalize this for personal use so I can add an extra tracking space on the CT and Character Sheets? I just want to strip away all functionality except the entry fields, and I want to re-label the entry fields.

As a way to get there, I would likely have to ask people for assistance in helping me strip it down., so I would have to post these files or code to get the extra help. Are you ok with this?

Zetesofos
August 2nd, 2020, 21:20
Hi there, just wanted to confirm the same - Combat Tracker isn't reflecting the changes, but character sheets are.

ZergorX
August 7th, 2020, 20:58
Hi there, just wanted to confirm the same - Combat Tracker isn't reflecting the changes, but character sheets are.

3.3.11 of FG a few issues. Scroll doesn't do anything. Starts off at zero HP for everyone including NPC. Doesn't adjust until you manually enter HP's. Wondering if you are working on it or not anymore. I like the idea as its more intuitive than tracking wnd's.

Zacchaeus
August 8th, 2020, 00:51
See post #90 above everyone.

HeavyDeception
August 23rd, 2020, 22:27
The CT is not updating the HP when you take damage. Im running 3.3.11.

Krazykc
September 27th, 2020, 02:21
Quick Question...Has anyone picked up support for this extension?

grimmlock
September 27th, 2020, 04:01
Quick Question...Has anyone picked up support for this extension?


Zuilin has moved it over to work with FGU. It’s compatible with FGC, too.

See this thread.

https://www.fantasygrounds.com/forums/showthread.php?57134-Current-HP-Extension-for-5E-Ruleset-FGU-Version

zuilin
September 27th, 2020, 05:49
Zuilin has moved it over to work with FGU. It’s compatible with FGC, too.

See this thread.

https://www.fantasygrounds.com/forums/showthread.php?57134-Current-HP-Extension-for-5E-Ruleset-FGU-Version

Mostly compatible with FGC you. I still haven’t gotten around to fixing one bug. If you’d like to give it a go to make it FGC compatible, start with my more updated FGU version above. I think you’ll have a better chance.

Vigilance
February 17th, 2021, 03:03
Looks like the extension is messed up from the new update for FGU. 43802

Zionmatrix
February 17th, 2021, 03:04
Looks like the extension is messed up from the new update for FGU. 43802

this error is in both in FGC and FGU

Moon Wizard
February 17th, 2021, 03:38
Per post #90, the original developer is no longer maintaining this extension.

An alternate extension has been developed by @MeAndUnique; and has already been updated to work with the latest ruleset changes.
https://www.fantasygrounds.com/forums/showthread.php?58607-5E-Constitutional-Amendments

Regards,
JPG

Zionmatrix
February 17th, 2021, 20:55
I know I just posted the error, but I was wondering if you are still working on the Current HP ext. Sorry, I'm not.

Copied from my PM

Foxdeceir
February 18th, 2021, 11:25
Hi

Just got warning frame tabs contains out-of-range values in bottomleft

Along with script execution error: {string "charsheet_MAIN"):5: attempt to index global 'Actormanager2' (a nil value)

grimmlock
February 18th, 2021, 12:05
Hi

Just got warning frame tabs contains out-of-range values in bottomleft

Along with script execution error: {string "charsheet_MAIN"):5: attempt to index global 'Actormanager2' (a nil value)

This extension is no longer maintained. Check out Constitutional Amendments instead. It will show current HP instead of Wounds and has some other nice features.

https://www.fantasygrounds.com/forums/showthread.php?58607-5E-Constitutional-Amendments

Alsampo
March 2nd, 2022, 10:09
Hi

Has this been updated, this is exactly what I am looking for but it keeps throwing error screens at me every time I use it.

I know this is free but id be happy to pay for an updated version

LordEntrails
March 2nd, 2022, 16:07
Hi

Has this been updated, this is exactly what I am looking for but it keeps throwing error screens at me every time I use it.

I know this is free but id be happy to pay for an updated version
Welcome

See the post immediately before yours :) #121