* 
Welcome Guest. Please login or register.
Did you miss your activation email?


*
gfxgfx Home Forum Help Search Calendar Login Register   gfxgfx
gfx gfx
gfx
Embed Maximize


Newbies, read these!

Character Creation
FAQs
Restrictions

Main Site
Portraits
Rules
Story Creation
Racial Crossbreeding
Magic

Contact
Tips and Tricks
IRC Chat
Measures Converter
Elven Aging Calculator

Pages: [1]   Go Down
Print
Author Topic: Poking my head in... Elven Aging Calculator and Measures Converter  (Read 3548 times)
0 Members and 1 Guest are viewing this topic.
Terra Artemos
Moonblade Warrior
Mini-mod
***
Offline Offline

Gender: Female
Posts: 1540


Human, Sophronian


« on: August 17, 2012, 11:16:01 AM »

Hello to all those that remember me, and to those that don't know me, I am the maintainer for the Elven Aging Calculator and Measures Converter. As I have been away for some time I wanted to poke my head in and get a feel for the state of these in Santharia, and to find out from the users if these tools are still accurate, or if they need updating.

Please let me know if you have any issue, questions or comments on these.

Thanks.
Logged
Altario Shialt-eck-Gorrin
Adventurer
Admin
*****
Offline Offline

Gender: Male
Posts: 7034


Human, Remusian


« Reply #1 on: August 17, 2012, 11:23:34 AM »

 :D  Nice to see you, Terra.  I use the converter often, and I have no issues with it.  It has always served me well.
Logged

Favorite Cartoon Quotes
"It was a dark and stormy night."  - Snoopy
"Ack!" - Bill the Cat
"I did not have sex with that woman, Monica Lewinski." - President Bill Clinton

My Character can be viewed @Angelina Jolie's house.  But knock first, in case I'm in my underwear.
Terra Artemos
Moonblade Warrior
Mini-mod
***
Offline Offline

Gender: Female
Posts: 1540


Human, Sophronian


« Reply #2 on: August 17, 2012, 12:47:21 PM »

Good to hear. :)
Logged
Kelancey the Green
White Nehtorian/Dalorin
Approved Character
*
Offline Offline

Gender: Male
Posts: 617


Human, Erpheronian


Homepage
« Reply #3 on: August 17, 2012, 10:57:59 PM »

Terra! What an unexpected pleasure seeing you again! I hope we get to see more of you in the coming days? And, to your question, I love what you have done with the Elven Age Calculator and Measures Converter.  grin
Logged

"Luminous beings are we, not this crude matter."  --Master Yoda
Kelancey the Green
Seh'nara Celebrindal
Swift Ranger
CD Mod
****
Offline Offline

Gender: Female
Posts: 2075


Elf, Tethinrhim


« Reply #4 on: August 17, 2012, 11:43:36 PM »

Hi Terra! I don't think we've ever RPed together or anything, but I definitely remember you. :D

I was wondering if you could add some sort of backwards calculation feature? Some players tend to put the elf ages on their CD direct, and it takes a bit of trial and error to find out exactly how old they are in human years.
Logged

Terra Artemos
Moonblade Warrior
Mini-mod
***
Offline Offline

Gender: Female
Posts: 1540


Human, Sophronian


« Reply #5 on: August 18, 2012, 05:42:39 AM »

Hmmmm... Not sure. Honestly I wrote the code a long time ago and it's been a while since I have even poked my head into it. Definitely something I would consider more strongly if there is a great demand. I do remember that JavaScript, as that is the language it was written in was not the best solution in terms of functionality, however when I originally wrote it I planned for it to be integrated with the Santharia website it's self and Java Script seemed the most universal way. I can't promise backward calculation, but I can poke my head in and see if that is even possible.

I guess I can assume that no changes have been made to elves lifespans, or any tribes have been added.
Logged
Terra Artemos
Moonblade Warrior
Mini-mod
***
Offline Offline

Gender: Female
Posts: 1540


Human, Sophronian


« Reply #6 on: August 18, 2012, 06:59:32 AM »

Addendum on the reverse aging calculation. At this time it does not seem possible to set up the age calculator to do reverse calculations due to the way aging calculations are currently handled. The following 3 equations would need to be merged into a single equation to allow for it to be done in reverse.

See the following for an idea of what I am working with...

Code:
/* Final Calculations */
//Elder Calculation
   if(targetage > 40) {
   var resultage = Math.round((targetage - 40) * 0.5 +(resultLifespan - 20));
var skillset = Math.round((targetage - 40) / 2) + 60;
   }
//Adult Calculation
else if(targetage > 20) {
var resultage = Math.round((targetage - 20) * ((lifespan - 45) / 20) + (((resultLifespan * 20) + 12800) / 720));
var skillset = Math.round((targetage - 20) * 2) + 20;
}
//Child Calculation
else {
var resultage = Math.round(targetage * (resultLifespan + 640) / 720);
var skillset = targetage;
}

Addendum:

For an explanation for what all that coding stuff means (That's just the part that give a final age, and where all the HEAVY math gets done.) take a look at this thread over at the dev board http://www.santharia.com/dev/index.php/topic,6780.0.html.
« Last Edit: August 18, 2012, 08:52:22 AM by Terra Artemos » Logged
Terra Artemos
Moonblade Warrior
Mini-mod
***
Offline Offline

Gender: Female
Posts: 1540


Human, Sophronian


« Reply #7 on: August 18, 2012, 10:15:10 AM »

Just a note. Since I brought up the topic I found a typo, and a fairly major bug, namely that I had the wrong adult elf age formula implemented and it was not working correctly. A newer version will be uploaded shortly. I would advise CD Mods to let any ages generated with the old version.
Logged
Terra Artemos
Moonblade Warrior
Mini-mod
***
Offline Offline

Gender: Female
Posts: 1540


Human, Sophronian


« Reply #8 on: August 22, 2012, 03:14:40 AM »

So, the EAC is updated and seems to be working correctly. Please note that with this update adult ages will not match those generated previously. I have also played with the idea of the previously suggested reverse EAC, however I am deadlocked at reversing formula for adult ageing, as it is very complex. It's not an impossibility, but an improbability.
Logged
Altario Shialt-eck-Gorrin
Adventurer
Admin
*****
Offline Offline

Gender: Male
Posts: 7034


Human, Remusian


« Reply #9 on: August 22, 2012, 10:15:14 AM »

 Huh?  How big of a difference are we talking about between old ages and the new ages.
Logged

Favorite Cartoon Quotes
"It was a dark and stormy night."  - Snoopy
"Ack!" - Bill the Cat
"I did not have sex with that woman, Monica Lewinski." - President Bill Clinton

My Character can be viewed @Angelina Jolie's house.  But knock first, in case I'm in my underwear.
Terra Artemos
Moonblade Warrior
Mini-mod
***
Offline Offline

Gender: Female
Posts: 1540


Human, Sophronian


« Reply #10 on: August 22, 2012, 01:23:17 PM »

That will vary depending on the elves age and tribe, however it should only effect elves ages by up to 15 years lived at the most. Also elves on the cusp of adulthood will no longer be their lifespan - 5 years, then their lifespan - 9 at the beginning of elderhood, this obviously did not work. I would like to point out that the EAC uses linear formulas, not a more natural curve, so the EAC was only ever meant as a guide, not gospel. If that is kept in mind I don't think the variance should cause anyone to panic.
« Last Edit: August 26, 2012, 12:23:11 PM by Terra Artemos » Logged
Altario Shialt-eck-Gorrin
Adventurer
Admin
*****
Offline Offline

Gender: Male
Posts: 7034


Human, Remusian


« Reply #11 on: August 27, 2012, 04:06:58 AM »

Ok, well that's something to keep in mind.  Obviously, any CD created before now will be grandfathered in.

We appreciate you keeping this up, Terra. :)
Logged

Favorite Cartoon Quotes
"It was a dark and stormy night."  - Snoopy
"Ack!" - Bill the Cat
"I did not have sex with that woman, Monica Lewinski." - President Bill Clinton

My Character can be viewed @Angelina Jolie's house.  But knock first, in case I'm in my underwear.
Pages: [1]   Go Up
Print
Jump to:  

Recent Posts
[February 10, 2022, 09:09:05 PM]

[February 10, 2022, 09:07:54 PM]

[July 30, 2021, 06:03:43 PM]

[July 30, 2021, 06:03:25 PM]

[July 30, 2021, 06:01:01 PM]

[February 12, 2021, 07:16:33 AM]

[December 13, 2020, 12:16:51 AM]

[December 13, 2020, 12:16:21 AM]

[October 05, 2020, 02:58:40 PM]

[March 19, 2020, 03:47:44 AM]
Members
Total Members: 2849
Latest: abigailjordan
Stats
Total Posts: 214569
Total Topics: 8052
Online Today: 24
Online Ever: 216
(November 30, 2006, 09:08:03 AM)
Users Online
Users: 0
Guests: 55
Total: 55

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2005, Simple Machines
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Theme based on Cerberus with Risen adjustments by Bloc and Krelia
Modified By Artimidor for The Santharian Dream
gfx
gfxgfx gfxgfx