A GreaseMonkey user script to add a skill recap to any passive skill tree permalink

I replied this to someone asking me to explain the PHP code:
"
Blackclaw wrote:
Well the parts that aren't commented are mainly the functions used to decrypt the URL because I have just adapted the javascript code from the official website. I'm not sure why they do it this way to be honest. From what I remember thought:
* the URL is base64 but / was replaced by _ and + by - for obvious reasons
* once you have decoded the base64 data, the first 4 bytes are the tree skill version (2 iirc), then 2 bytes for fullscreen (0 or 1) and then all the skill IDs (2 bytes each) => Use ReadInt
* to get a database of the skills I used the following method:
1. login to the official website
2. open the url https://www.pathofexile.com/character-window/get-passive-skills?reqData=true&character=<CharacterName>
3. retrieve the huge JSON data
4. beautify the huge JSON data (I used this one because it is one of the few that doesn't try to kill my PC)
5. search for "nodes": and that's your array of skills
After that I used Notepad++ and regexp to remove unecessary data like icon, etc.
ks is for keystone such as CI
not is for notable like Shield Mastery
dn is the name of the skill
sd is an array of strings with the skill description
I imagine the rest is data related to the graph and I just ignored it

I hope this helps, I don't really want to spend much more time going back on this since I lost interest in the game.


It looks like a bunch of similar tools have been made such as this. If it was based on my work, there is no mention of it. However I hope I helped in some ways to get things started :D Yay open source right?
Hi, Blackclaw!

Will be updating your script to reflect the recent duelist passive tree changes?

Thanks again for your spectacular work on this. I use it nearly everyday :)
Just wanted to stop in and say thank you for this it is awesome.
bumping so people can see this awesome!!!!
Hey, so I love this tool and been using it extensively, but always annoyed me that the new nodes weren't working, so I decided to update the nodesjSON variable to be inclusive of the entire new tree. I believe I have it working now. I know Blackclaw you said you weren't interested in maintaining this any longer. Is there anyway you could pass the torch to me, as I would be willing to keep it up to date. I know I am able to just submit a new GreaseMonkey script, but the 1k or so people that have installed the script already wouldn't be updated. If I don't hear back soon, I'll just post my script anyway, and pass along the new link.
I love this tool, thank you for working on it!
My only problem is that whenever I make builds on my browser I can never see the changes, but whenever I click other links it works.
I have tried everything I can think of from refreshing to rebooting, any idea why I can't see my own build changes?
"
stringman520 wrote:
Hey, so I love this tool and been using it extensively, but always annoyed me that the new nodes weren't working, so I decided to update the nodesjSON variable to be inclusive of the entire new tree. I believe I have it working now. I know Blackclaw you said you weren't interested in maintaining this any longer. Is there anyway you could pass the torch to me, as I would be willing to keep it up to date. I know I am able to just submit a new GreaseMonkey script, but the 1k or so people that have installed the script already wouldn't be updated. If I don't hear back soon, I'll just post my script anyway, and pass along the new link.


It would be awesome to install the update you've done. Can't imagine it would be an issue to post up a new one.

Cheers & thanks for adjusting the script :)
So the new script lives here: http://userscripts.org/scripts/show/165195. If you follow the instructions from the first post, and instead install the script above, it should work fine.

I have tested this for the nodes I remember changing from the previous skill tree, but if I missed any that aren't working now, please let me know.

Thanks to Blackclaw to doing all the real work in this (and then even explaining how to decode the skill tree). From now on, I'll be maintaining the script above.
Many thanks for the update! I've loved this script ever since I found it. It's great to have it integrated into the PoE web site's skill tree planner vs having to go to another site like ExilePro to get a summary. (And it's great to have it working for my Duelist again :)


P.S. You might consider just starting a new thread so that people can easily find the link to the script in the 1st post (and you can keep updated info there that's easy to find).
Anyone who thinks “the customer is always right” never worked in tech support.
Last edited by megachirops#4632 on Apr 17, 2013, 1:54:37 PM
"
megachirops wrote:
Many thanks for the update! I've loved this script ever since I found it. It's great to have it integrated into the PoE web site's skill tree planner vs having to go to another site like ExilePro to get a summary. (And it's great to have it working for my Duelist again :)


P.S. You might consider just starting a new thread so that people can easily find the link to the script in the 1st post (and you can keep updated info there that's easy to find).


Good thought, will do that right now.

Report Forum Post

Report Account:

Report Type

Additional Info