PDA

View Full Version : [Extension] 5E Next Level XP Automated and DM Edit Only XP



rob2e
July 22nd, 2019, 03:20
Hey everyone. I'm posting this extension because we made it live on episode 75 of "All Things Fantasy Grounds Talk Show". DiabloBob and Celestian are the engineers. I am the moron who followed instructions.

It is now available on the DMs Guild for Pay What You Want -- http://affiliates.fantasygrounds.com/316077/15958/url_30155

Video - https://youtu.be/gLogLWICYFo

Here's a summary of the extension thus far:

v1.0 - 2019.07.21

The extension auto-updates the "Next Level XP" when a PC levels up. It will also make the XP number itself uneditable by players (only the DM can make changes).

v1.1 - 2019.07.23

Secured the boxes so that dragging a number onto them would not change the values.

v1.2 - 2019.07.28

1. Added a global message when a player's character levels up, and the player hears a 'ding' when the message appears in chat. *a player needs to be logged in and have a character for this to occur*
2. When the player's character receives experience, the player will see a message providing the current experience total as well as what is needed for the next level. The message also says how many experience points is needed to level. *A player needs to be logged in and have a character for this to occur*
3. In the options, under 'Game (GM)' there is an option for 'Experience Chart Type'. The default is Standard level 20, options are Standard level 30, and off (which will require the DM to manually enter in the total exp needed). The experience needed box will auto-populate with the appropriate experience totals for the levels and will stop updating the value at the appropriate levels as well. 20 and 30 respectively.

v1.3 - 2019.8.12

Updated so only GM can set chat messages... also put the 2 options for exp chart and exp messaging under Game (GM) still the same setup... "Enable" all messages for Players, "On Level" only when they have enough to level, and "off" - no messages.

https://media.discordapp.net/attachments/472220052599603200/610562964621230227/Rob2eOptions.jpg

Diablobob
July 23rd, 2019, 16:57
Attached is the update that Val from discord server did.

I merged the original and the update. Attached.

~Diablobob

rob2e
July 23rd, 2019, 17:10
...and may we know what this update does?

Diablobob
July 23rd, 2019, 17:37
Sorry... the update fixes a minor issue found, where the player could still drag a number value to the exp needed field and overwrite it... the update fixes it

Dtoad
July 23rd, 2019, 18:07
Does the extension alert the player to the level up or just change the value of the next level? I would hate for someone to miss a level because they dont have the value memorized.

DOH! I am stupid. "PC levels up" means when a player actually levels up.

NoobBat
July 26th, 2019, 03:48
This looks great just have one question as I have a campaign I am running right now where we are planning to exceed level 20 using xp values we designed to go to level 30 and beyond if needed. I was just wondering if there is a way to expand the array that these values are pulled from in the GUI or would the best be be to manually enter the extended values each level.

rob2e
July 26th, 2019, 04:55
This looks great just have one question as I have a campaign I am running right now where we are planning to exceed level 20 using xp values we designed to go to level 30 and beyond if needed. I was just wondering if there is a way to expand the array that these values are pulled from in the GUI or would the best be be to manually enter the extended values each level.

You can crack open the extension and add the values from 21 to 30.

Diablobob
July 26th, 2019, 14:18
This looks great just have one question as I have a campaign I am running right now where we are planning to exceed level 20 using xp values we designed to go to level 30 and beyond if needed. I was just wondering if there is a way to expand the array that these values are pulled from in the GUI or would the best be be to manually enter the extended values each level.

What xp chart are you using? The one from Epic levels module that Rob converted? Or is there another chart?... I am asking because I could update it later with those options selectable in the options menu, I would just like to know if there is a commonly accepted exp chart...

Currently I’m trying to polish off adding messages when people are able to level...

Diablobob
July 28th, 2019, 09:51
Here's a summary of the extension thus far:

v1.0 - on 2019.07.21 - Rob2e made the original extension with the assistance of Diablobob and Celestian. The exension auto-updates the "Next Level XP" when a PC levels up. It will also make the XP number itself uneditable by players (only the DM can make changes).

v1.1 - Update by Valeriangamer (on Rob2e's discord server) on 2019.07.23 - Secured the boxes so that dragging a number onto them would not change the values.

v1.2 - Update by Diablobob on 2019.07.28 :
1. Added a global message when a player's character levels up, and the player hears a 'ding' when the message appears in chat. *a player needs to be logged in and have a character for this to occur*
2. When the player's character receives experience, the player will see a message providing the current experience total as well as what is needed for the next level. The message also says how many experience points is needed to level. *a player needs to be logged in and have a character for this to occur*
3. In the options, under 'House Rules' there is an option for 'Experience Chart Type'. The default is Standard level 20, options are Standard level 30, and off (which will require the DM to manually enter in the total exp needed). The experience needed box will auto-populate with the appropriate experience totals for the levels, and will stop updating the value at the appropriate levels as well. 20 and 30 respectively.

Hope you like the updates!
~Diablobob

P.S. - I will remove the ext once post 1 has been updated.


Here is the new version of the extension. v1.2 - 7/28/2019

Dtoad
July 28th, 2019, 10:31
Awesome! Although I will admit I was wrong about how I assumed the original worked. I thought it changed the next level field when the exp field reached that number, not when the player actually leveled up. I was looking for a problem that was already solved.

Great work! Cant wait for a Huzzah! sound to be triggered by a level up.

MrDDT
July 28th, 2019, 16:29
NICE! Thank you so much everyone working on this. I got the sound and notice on level up!

Diablobob
July 29th, 2019, 17:20
the new update... not a full version update

just removed a couple debug statements, and a couple of code massages that Valeriangamer suggested for efficiency and syntax.

Thank you again Valeriangamer for the suggestions and help!

V/r,
Diablobob


Still v1.2

NoobBat
July 30th, 2019, 00:35
You guys are my heroes and awesome I was trying to figure out how to crack open the mod and hitting a dead end due to lack of time with a new job and all

Diablobob
July 30th, 2019, 01:20
It’s our pleasure... I’ve only thought of one other coding massage I might want to do in the future... but it wouldn’t affect anything user side... but, as is... I’d say that this is straight out a pretty solid extension for 5e games... if anyone has any suggestions of features to add related to xp management, please feel free to suggest them or try even making the edit as a learning experience and post it here... we tried to keep this extension fairly simple, but it covers a lot of aspects of coding things for FG... also if anyone has any questions on how things work, how we came about the code, or what things in the code mean, feel free to ask!...hope it’s useful...

El Condoro
August 4th, 2019, 02:16
The chat message on the player side seems to update with every DM XP keystroke. So, when the DM edits the new XP on the PC sheet to be, say 300, there is a player-side message for the 3, the 0 and the second 0.

Dtoad
August 4th, 2019, 03:05
Any chance we could get a lock-out for currencies?

Diablobob
August 4th, 2019, 12:19
The chat message on the player side seems to update with every DM XP keystroke. So, when the DM edits the new XP on the PC sheet to be, say 300, there is a player-side message for the 3, the 0 and the second 0.


I can add an option to turn it off if you wish... but I cannot stop the messaging unless you turn it all off... I can get to in the middle of this next week

El Condoro
August 4th, 2019, 13:25
Could the message only happen when the XP field is exited (or loses focus)? Otherwise, there will be 5 messages for 10,000 XP, for example.

MrDDT
August 4th, 2019, 17:17
Lock out for money also would be amazing!

mattekure
August 4th, 2019, 21:53
Lock out for money also would be amazing!

I'd second this. locking the money fields would allow the DM to force players to use the various shop options as well to buy stuff. Stuff like using the DOE Locations extension or the SRD shop https://www.fantasygrounds.com/forums/showthread.php?47586-5e-SRD-Working-Shop&p=423077#post423077

bmos
December 20th, 2019, 13:52
Just tried this in Fantasy Grounds Unity and it works like a charm!

vaughnlannister
April 22nd, 2020, 12:44
v1.2 - 2019.07.28

1. Added a global message when a player's character levels up, and the player hears a 'ding' when the message appears in chat. *a player needs to be logged in and have a character for this to occur*
2. When the player's character receives experience, the player will see a message providing the current experience total as well as what is needed for the next level. The message also says how many experience points is needed to level. *A player needs to be logged in and have a character for this to occur*
3. In the options, under 'Game (GM)' there is an option for 'Experience Chart Type'. The default is Standard level 20, options are Standard level 30, and off (which will require the DM to manually enter in the total exp needed). The experience needed box will auto-populate with the appropriate experience totals for the levels and will stop updating the value at the appropriate levels as well. 20 and 30 respectively.

"Still works in FGU, only the chat triggers only tell what xp you are awarded and not how much you will need to level up. Still a very useful extension thanks for all the hard work!"

Minsupa
April 25th, 2020, 23:22
Is there a way for this extension to be altered and used inside of the pfrpg2 ruleset?

LordEntrails
April 25th, 2020, 23:40
Is there a way for this extension to be altered and used inside of the pfrpg2 ruleset?
Yep. It would require you (or someone) to alter this extension or write a new one.

I suspect between the video from the OP and pulling apart the extension it should be easy to do. But, as always when using someone else's work, you should ask if they are ok if you do that if you plan to redistribute it :)

Tykho
June 12th, 2020, 14:47
In FGU, I now get this error when attempting to load the extension:

[6/12/2020 9:46:31 AM] [<color="red">ERROR</color>] Extension Info Load (5E_Next_Level_XP_Automated_and_DM_XP_Edit_Only): Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 1, position 8.

ShaunB
September 27th, 2020, 22:12
Works great for me in the lastest version of FGU. Thanks for your hard work. Entering next level XP manually is a chore

Wulfgangrpg
February 9th, 2024, 22:57
Hi, is this extension still operational? Does it still work with FGU, or as the function of this extension been added to FGU?

rob2e
February 9th, 2024, 23:23
Hi, is this extension still operational? Does it still work with FGU, or as the function of this extension been added to FGU?

It still works. As a matter of fact, as of today, you can get it on the Forge instead of DMs Guild.

PlexusDM
April 22nd, 2024, 00:19
Hello ! Link seems to indicate the extension isn't available anymore on DM's Guild. Is there anywhere else I might be able to grab it ?

LordEntrails
April 22nd, 2024, 02:42
Hello ! Link seems to indicate the extension isn't available anymore on DM's Guild. Is there anywhere else I might be able to grab it ?
According to the post right above yours, it's on the Forge. A search of the Forge gives me this link; Fantasy Grounds Forge (https://forge.fantasygrounds.com/shop/items/1585/view)

rob2e
April 22nd, 2024, 03:20
Hello ! Link seems to indicate the extension isn't available anymore on DM's Guild. Is there anywhere else I might be able to grab it ?

Link fixed.

PlexusDM
April 22nd, 2024, 05:18
Oh god, I'm sorry I completely missed the extra pages, checked just the 1st one :facepalm: thanks!