byzantinex
 member, 125 posts
Sat 30 Dec 2017
at 14:36
Character Sheet Variable Math Calculations
Please don't yell at me. I searched all the forums, help and even used google to search the site and I couldn't find an answer to this.

Is it possible to have Variables in character sheets, and or do math calculations?

For example: You set a variable for Strength then reference that throughout your sheet so you can update that stat in one place and the math is done throughout your sheet for you?

p.s. Thank you in advance for any assistance.
Shannara
 moderator, 3767 posts
 Keep calm, drink more
 COFFEE!!!!
Sat 30 Dec 2017
at 15:42
Character Sheet Variable Math Calculations
To my knowledge, it is not possible.  :-)
JohnB
 member, 2050 posts
 Demigod of the Stunties
Sat 30 Dec 2017
at 18:35
Character Sheet Variable Math Calculations
Build your character sheet in a spreadsheet, with all the formulae you need  -  then save it in a text format when you are ready to upload it.
byzantinex
 member, 126 posts
Sat 30 Dec 2017
at 19:48
Character Sheet Variable Math Calculations
In reply to JohnB (msg # 3):

Yeah. I guess I can do that.

If I have to do that much work then I'll probably just host the sheet on another site
JohnB
 member, 2051 posts
 Demigod of the Stunties
Sat 30 Dec 2017
at 20:06
Character Sheet Variable Math Calculations
Do you think you wouldn't have to do the same amount of work setting up the formulae in a character sheet here?
byzantinex
 member, 127 posts
Sat 30 Dec 2017
at 20:20
Character Sheet Variable Math Calculations
In reply to JohnB (msg # 5):

Not at all. There are a hundred places to host character sheets online that help you with all the math.

I've even programmed some of my own

http://erbtech.com/dnd/rafe

This message was last edited by the user at 20:24, Sat 30 Dec 2017.

JohnB
 member, 2052 posts
 Demigod of the Stunties
Sat 30 Dec 2017
at 20:28
Character Sheet Variable Math Calculations
Ah -  you want a fully automated character sheet generator :)  Oh well.
bigbadron
 moderator, 15488 posts
 He's big, he's bad,
 but mostly he's Ron.
Sat 30 Dec 2017
at 20:30
Character Sheet Variable Math Calculations
Unfortunately the sheets here are just simple text documents.  While you can post links into them, mathematical functions are beyond their capabilities.

The closest you could get would be to upload your sheet elsewhere, then link to it from the character sheet here.

This message was last edited by the user at 20:32, Sat 30 Dec 2017.

byzantinex
 member, 128 posts
Sat 30 Dec 2017
at 21:14
Character Sheet Variable Math Calculations
In reply to JohnB (msg # 7):

Well, not really, but if I've got to do the spreadsheet thing then I might as well do a character tracker :-)
horus
 member, 347 posts
 Wayfarer of the
 Western Wastes
Sat 30 Dec 2017
at 23:10
Re: Character Sheet Variable Math Calculations
bigbadron:
Unfortunately the sheets here are just simple text documents.  While you can post links into them, mathematical functions are beyond their capabilities.

The closest you could get would be to upload your sheet elsewhere, then link to it from the character sheet here.


This brings to mind an interesting follow-on question:

Can character variables in the RPoL character sheets be expressed as HTML links to corresponding cells in a spreadsheet hosted elsewhere such that when the spreadsheet is updated the link in the RPoL sheet shows the updated value?

That might be a worthwhile experiment.  It might become something akin to cross-site scripting, though, and pose a security vulnerability.

Aside from the technical question, would such linking be in conformance with RPoL's terms of service?  (I don't want to attempt any experiments regarding this if it's not permitted.)
byzantinex
 member, 129 posts
Sat 30 Dec 2017
at 23:12
Re: Character Sheet Variable Math Calculations
In reply to horus (msg # 10):

I was thinking about this too.
horus
 member, 348 posts
 Wayfarer of the
 Western Wastes
Sat 30 Dec 2017
at 23:28
Re: Character Sheet Variable Math Calculations
byzantinex:
In reply to horus (msg # 10):

I was thinking about this too.

Yup.  Next logical step.  The only thing holding me back on it (I already use spreadsheets in my games) is the issue of whether or not it presents a possible attack vector for cross-site stuff.

I would think if it does that Jase would likely not permit it.

This message was last edited by the user at 00:21, Sun 31 Dec 2017.

byzantinex
 member, 130 posts
Sat 30 Dec 2017
at 23:34
Re: Character Sheet Variable Math Calculations
In reply to horus (msg # 12):

It does :-)

So we can't do it. No JavaScript is allowed either or we could do that too.
horus
 member, 349 posts
 Wayfarer of the
 Western Wastes
Sun 31 Dec 2017
at 00:25
Re: Character Sheet Variable Math Calculations
byzantinex:
In reply to horus (msg # 12):

It does :-)

So we can't do it. No JavaScript is allowed either or we could do that too.


I figured it would be like that.  The only reason Javascript is not allowed is because then somebody like me would start asking to use PHP.  (Yeah, I make joke.)
byzantinex
 member, 131 posts
Sun 31 Dec 2017
at 00:45
Re: Character Sheet Variable Math Calculations
In reply to horus (msg # 14):

Ha. Ditto. Oh well. I guess that's why so many games use Hero ... Forge? Ha. Whatever. Thanks for the clarification folks!