This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
TalentCalc URL Format.
Post Reply
Return to board index
Post by
samishii23
http://www.wowhead.com/?talent#IcZfk0hohZVbGVrcuVoAcct:qz0z0
I have a project going, and I would like to know how to decode the above URL to print out that config into a Talent Build.
Any help?
Post by
Toldu
Well, it seems the first tree starts after the "#I", the second tree starts after the "Z", and the third tree starts after the "ZV". The glyphs show after the colon. As for the specific points, that's a bit more complicated but I just might be interested enough to figure it out. I hate being extremely curious.
Post by
samishii23
Apparently you don't hate it that much. lol
I'm going through the TalentCalc.js file of theirs... Never seen such a jumble of code. Thats not even descriptive. Its like secretary short hand... lol
Post by
Wanderingfox
Apparently you don't hate it that much. lol
I'm going through the TalentCalc.js file of theirs... Never seen such a jumble of code. Thats not even descriptive. Its like secretary short hand... lol
It's called obfuscation. It's done on purpose to make code hard to read so that people can't copy it easily.
Post by
samishii23
It's called obfuscation. It's done on purpose to make code hard to read so that people can't copy it easily.
Alas, I don't want to copy the code. I just want to be able to read the URL to be able to make a build of it.
Post by
Skosiris
Obfuscation is mostly just for faster download/parsing times, and so comments get removed.
Post by
Wanderingfox
Obfuscation is mostly just for faster download/parsing times, and so comments get removed.
I can see download times, but parse times? What would variable name length have to do with that? XD
Post by
samishii23
I can see download times, but parse times? What would variable name length have to do with that? XD
Most programming languages (all that I know anyways) ignore white space. Excess spaces, new lines, tabs, exc.. Its only for human eyes.
When it comes to programming languages that get parsed on the fly, in this case with web browsers. The more white space there is. The slower it will be parsed. While people with faster computers will have an easier time. There have been many studies saying that in some cases with different browsers, load time could be litterally reduced in upwards of 50%.
Back to subject...
Is there anyone who may be able to tell me or help me with figuring out the URLs?
Thank you in advance.
Post by
pelf
I bet Erorus knows. Or, you could look at the code in the addon Talented. They import Wowhead talent URLs.
Post by
samishii23
Found the pattern after playing with the calc for a while.
I would post it, but after all that annoyance wouldn't want WH to suddenly change it. lol
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.