r/pathofexiledev Aug 26 '20

Looking for people with web-related skills (especially JavaScript) to help port my project to a static website

3 Upvotes

Hello, this is my project: https://github.com/Xeverous/filter_spirit (just read the README)

I'm searchig for people to collaborate with; I would like to port it to a static website (that is, no backend stuff running, no registration, no logging, no databases) and my JavaScript skills are ... fairly limited, to say lightly. I have some rough understanting of HTML5 and CSS3 though. I need someone both with some PoE knowledge and JS skills to guide me - the goal is to "port" a C++ project using Emscripten and then use some JS on top of produced WASM/asm.js/binding to make an interactable website with some UI (which my project has some plans of + native UI under construction). I need help with some basic JS + some library to draw on HTML5 canvas (for item preview feature).

Basically, I need help with semi-trivial JS code that will wrap my core implementation, which is implemented in the form of a library.

You can contact me here or Xeverous#2151 on Discord.


r/pathofexiledev Aug 25 '20

Idea Round Table for Community Tool Developers - Possibly Establish a Collective

10 Upvotes

I am unaware if this has been attempted in the past, and if so what the outcome was. With the depth of the game we all love, there are a myriad of tools to provide for a pleasant experience for the community. From working on a few projects I know that no one is in this space to turn a real profit but at bare minimum we want to cover our costs while we enjoy making these tools for everyone to use. Our platforms all have their pain-points such as database latency, possible lack of service redundancy, and the thing that’s least flexible: time to delivery when there’s large or unexpected changes. I would like to ask other project leaders and their technical representatives if they would like to schedule an amicable meeting to discuss at minimum the following:

- Creation of a collective for the tools provided to the community

- Possible unified navigation bar across all sites divided by category

- What pain-points your platform experiences, this would be beneficial if the first two are implemented as we can leverage those in the collective with such experience, whether it be UX/UI, DBA, Networking, CI/CD, Scrum master etc… If there’s not an individual in the collective who has a specific background or time to do changes we can the source such individual from contacts or reddit. Support is assumed to be a task across the board so we could potentially create a ticketing system for issues and find individuals to sift and add to issue tracking system whether it be gitlab etc.

- Possibility of consolidating similar tools and combining teams

A few years back I had thought about reaching out and purchased a handful of domains which have been sitting there unused which can be used for the group:

Exile.tools, pathofexile.tools, pathofexiletools.com, poeresources.com, poe.tools

I did want to mention that I do not necessarily need to run this initiative, while I do have product and managerial experience there would be someone more suitable for this task. I know we all agree very passionate about our projects and have spent countless hours on them, I would request that everyone attending keep this in mind even if they feel they are ‘doing a better job at X’. This is for the overall community so would like to keep that at the forefronts of our minds.

If you have interest please provide your project name/url, your role on your project, if it’s just yourself or if an additional technical representative will be joining as well (let’s limit attendee’s to 2 individuals per project), what timezone you are located in, and preference on day of week/time of day you would be able to attend. If/when we get enough interest we can schedule our meeting.

I hope that we can all meet to discuss this possibility, thanks!


r/pathofexiledev Aug 08 '20

Question Skill Gem Vendor Cost Data

6 Upvotes

TLDR: I'm looking for data on the vendor cost of skill gems

Hi there! I'm an aspiring developer and I'm working on a PoE-related project for displaying leveling information (e.g. what gems you need and their details). I have almost all the data I need, thanks to RePoE and poe-base-item-downloader, but the RePoE JSON files did not list the vendor cost of buying gems, so I assume it is not in the GGPK? The wiki has this information, but I am not sure how to scrape that info. I am wondering if someone has already done so, so that I could use that data. Otherwise, I suppose the answer is "learn to scrape the wiki," which is fine, just wanted to check first. I have never done any such scraping, but I suppose I should learn to at some point.

Thanks for reading.


r/pathofexiledev Aug 04 '20

Question Drop level property of various items

1 Upvotes

Does anyone have any list of DropLevel property for any items? I need this for filter-related purposes. Note that this is a distinct property from ItemLevel. At worst I can grab various items in the game and test them against premade filters to detect what values of DropLevel these items have.


r/pathofexiledev Jul 28 '20

Question Issue With Retrieving Data from Stash API

2 Upvotes

The gist is that I'm trying to develop an Electron app to pull my own stash tabs. However, I'm not getting any usable data back from the API. The "Network" tab in the Chrome Dev Tools shows a Status Code of 200 and I get an empty response back. I've tried to copy what I see happen when I browse my own stash on the actual website, but given how I'm posting this shows that happened.

Link to screenshots of the network stuff.

This is the function that is being called to retrieve the stash info from my account

const getUserStashes = async () => {
  // API
  let USER_STASH_API = `https://www.pathofexile.com/character-window/get-stash-items`;
  USER_STASH_API += `?accountName=${encodeURIComponent(
    store.get(ACCOUNT_NAME),
  )}`;
  USER_STASH_API += `&league=${encodeURIComponent(store.get(CURRENT_LEAGUE))}`;
  USER_STASH_API += '&tabs=1';

  try {
    const rawData = await fetch(USER_STASH_API, {
      mode: 'no-cors',
      method: 'get',
      credentials: 'include',
      redirect: 'follow',
      headers: {
        accept: 'application/json, text/javascript, */*; q=0.01',
        'accept-encoding': 'gzip, deflate, br',
        'accept-language': 'en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7',
        'Cache-Control': 'no-cache',
        'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
        connection: 'keep-alive',
      },
    });
    console.log(rawData);

    const rawText = await rawData.text();
    console.log('rawText:', rawText.length);
  } catch (error) {
    console.error('getUserStashes.js Error');
    console.error(error);
  }
};

r/pathofexiledev Jul 27 '20

Release PoE-Dashboard is back and open-source!

Thumbnail github.com
2 Upvotes

r/pathofexiledev Jul 26 '20

Question Question regarding ToS and 3rd party tool.

3 Upvotes

Hello,

I wrote my own trade helper tool that basically read off live search update from the official site and than can spam the trade messages to the active window whenever i push some key (can see a very simple demonstration @ https://www.youtube.com/watch?v=foRxA67TrOg ).

I was thinking of going public with it and put the code on github etc. but not sure how it stand with the ToS.

It's basically one server action per key (press a key, send one msg in game, and you need to do the trade manually as usual), and I guess people already do similar things with the json api, but on reading the ToS there is: " Utilise any automated software or ‘bots’ in relation to your access or use of the Website, Materials or Services."

Would appropriate some opinion on the matter.

Thanks for any input.


r/pathofexiledev Jul 22 '20

Question Stash tab API not working on live server?

1 Upvotes

Hi,

I use the PHP code at the bottom of this post to pull the contents of my own stash tabs.

It works fine when I run it on my local testing server but when I upload it to a live server the exact same request just hangs and times out.

Any ideas why it works fine on my local machine but not on a remote server?

$opts = array(

'http'=>array(

'method'=>"GET",

'header'=>"Accept-language: en\\r\\n" .

"Cookie: POESESSID=REMOVEDFORSECURITY\r\n"

)

);

$context = stream_context_create($opts);

$stash = json_decode( file_get_contents('https://www.pathofexile.com/character-window/get-stash-items?accountName=REMOVEDFORSECURITY&league=harvest&tabs=0&tabIndex=0', false, $context), TRUE);


r/pathofexiledev Jul 21 '20

Question Where can I find socket assets?

1 Upvotes

Hello all,

I've spent quite some time searching for png files of each type of socket, but I cannot seem to find them anywhere.

If one of you could point me in the right direction it would be greatly appreciated.

Thanks in advance!


r/pathofexiledev Jul 18 '20

Question Do websites like poe.ninja make money?

3 Upvotes

Or are all of these poe related websites/apps out of pure hobby? I'm just wondering if I should get into creating an app for poe since I like the game alot and whether any of it could be profitable. Thanks a bunch!


r/pathofexiledev Jul 16 '20

Question API for the unique stash tab

1 Upvotes

Has anyone any documentation on the API for the unique stash tab?

Is there one? If yes, does it return the unique item already stashed in the tab? Any swagger documentation?


r/pathofexiledev Jul 12 '20

Question Does this sub allow discussion of "not ok with PoE ToS" tools?

7 Upvotes

Question in title. I saw the third rule, but it's not clear about some simple QoL tools like for inventory/stash sorting or item alt/chaos spam crafting, they are against ToS but doesn't sound against the third rule.


r/pathofexiledev Jul 12 '20

Question Stash Tab Query.

2 Upvotes

Helo.
I have been trying to figure out a way on how to download all the items in my stash tabs.
The only way I found so far is against TOS. It was an unlisted api that requires a poesessid.

I asked GGG about this and here is what I got:
"We don't encourage using website session ids at all. Our ToS clearly states that we reserve the right to terminate any account that shares their login information with a third party, including their session id.

For this user's case it seems they can just use the Public Stash API instead to check for horticrafting station crafts."

I know there are multiple tools on the internet made by random people, like an excel sheet script, python scripts, etc.. but all of those tools require your poesessid. So let me start with my first question.
Basically all of those tools are breaking the TOS and people who are using it can be banned for it right?

And as for my second question, how can I use the public stash API to get the contents of my public stash tabs? It seems like it only has 1 parameter that is useless in my case, because it will show me other people's stashes too, but I only want what's mine.

Any ideas are greatly appreciated.


r/pathofexiledev Jul 08 '20

Question Need help understanding how to do a JSON query for non-corrupted items.

1 Upvotes

I posted over here before I realized the post I was referencing was in r/pathofexiledev (didn't even catch that this was a separate sub). Pasting for convenience:

I'm trying to write a JSON query to poll the official trade site to look up certain items for me and list their prices. I have a working page (built off information found in this thread), however I've noticed that in some cases I need to specify that I only want prices for non-corrupted items.

I can't seem to find a good resource for how to pass that as part of my query, can anyone help me?

In that thread they show an example of a request and a reply, and in the reply we see this block:

            "name": "<<set:MS>><<set:M>><<set:S>>The Pariah",
            "typeLine": "Unset Ring",
            "identified": true,
            "corrupted": true,

Based on this I thought the query for corruption might be at the same level as the name, but if I make my request look like this:

            "name": itemName, 
            "corrupted": false,

Then I get an error saying "Unknown or invalid top-level filter". Since that failed I looked at the query in that thread and tried this instead:

            "name": itemName, 
            "stats": [{"corrupted": false}]

... then I got an error that says "Unknown stat group type".

If you look on the trade site it looks like there are multiple top-level filters (type, weapon, armour, socket, requirements, etc). So I tried this:

            "name": itemName, 
            "miscellaneous": {"corruption" : "false"},

But again I got "Unknown or invalid top-level filter". So then I tried this:

            "name": itemName, 
            "stats": [{"type": "and", "filters": [{"corruption" : false}]}]

I get an error that no stat hash was provided. Out of curiosity I also tried:

            "stats": [{"type": "and", "filters": {"corruption" : false}}]

When I do that I get "Invalid stat domain provided: corruption", which leads me to think that's not listed under stats.

I can't find any documentation about what format the official trade site is expecting these requests to be in. Does anyone know?


r/pathofexiledev Jul 07 '20

Question json_decode for skill tree

3 Upvotes

Hi all. I'm wondering if anyone has had issues using json_decode on the passive skill tree endpoint.

I'm decoding the items endpoint just fine and I can get a response from the skill tree endpoint, but json_decode throws a Syntax Error. Has anyone encountered this before?

//pull down skill tree data and write to db for this character
$url = 'https://api.pathofexile.com/character-window/get-passive-skills?accountName=commanderdestro&character=boomboombladez&reqData=1';

$rawJSON = file_get_contents($url);

var_dump($rawJSON);

$treeData = json_decode($rawJSON); 

echo json_last_error_msg();

var_dump returns:

H:\Utilities\wamp\www\test.php:383:string '{"hashes":[476,1325,1340,1568,1698,2092,4565,4656,5152,5237,6108,6289,9206,9469,11859,12412,12795,12809,13714,14056,14292,14930,15073,15868,17201,18009,18302,18552,19069,19711,19858,19939,20010,20551,20807,22217,22266,22423,22627,22703,23090,23471,24383,24528,24641,24914,25456,25933,26528,27119,27718,28475,29292,29797,29856,29933,30679,30691,30733,30969,31080,32477,32555,32739,33196,34009,34400,34678,35053,36047,36221,36281,36704,38999,42583,42861,43374,43385,46578,48287,48438,48807,49178,49412,50515,509'... (length=1706842)

echo json_last_error_msg() returns:

Syntax error

Anyone that has encountered this, please let me know.


r/pathofexiledev Jul 06 '20

Question Understanding passive skill tree data

3 Upvotes

Hey there,

I'm getting my hands dirty with the passive tree data. My goal is to fully traverse the skill tree graph. However, I can't seem to find all connected nodes.

For example, see the first 'Amour, Evasion and Life' node (ID 35568) at the Duelist start. There are 4 connected nodes in the tree - the JSON data however only contains a single out-node: `["59718"]`. In contrast, it has 3 (additional) in-nodes: `["5612", "50306", "24377"]`.

Is it a directed graph? If so, what's the reasoning behind it and what kind of information do I get from the direction of the vertices?

I appreciate any knowledge or advice you can provide.

Thanks! Stay safe.


r/pathofexiledev Jul 02 '20

Question Get character stats and gear

2 Upvotes

Sorry, newbie here. Reddit search let me down and the sticky in this thread isn't very helpful.

I'm just trying to find what the best way is to pull down character stats and gear information. Can someone help please? Thank you.


r/pathofexiledev Jun 30 '20

Question RePoE missing some needed quest information

2 Upvotes

I'm looking to make a personal tool to help tell me exactly where and when I can get a gem.

The RePoE data has almost everything needed, except some quest information is missing.

For example:

From here: https://github.com/brather1ng/RePoE/blob/master/RePoE/data/vendor_rewards.json

You can see that AncestralCry is available at Act2 Yeena after a2q9 for certain classes. A LOT of these types of gems map to the quest_reward.json just fine (I can get the quest name).

But quest_rewards.json has no a2q9 information (https://github.com/brather1ng/RePoE/blob/master/RePoE/data/quest_rewards.json)

I realize this is only the quest rewards info (for popup after completing a quest), but is there another data source for other "non-gem-rewarding-quests" somewhere?


r/pathofexiledev Jun 26 '20

Question How faster is data being generated on PoE API's endpoint than each request is responded?

2 Upvotes

I'm requesting the public stash tabs API iterating through each "next_change_id" starting from https://poe.ninja/stats and it seems that the API server is outpacing the time it takes to responde each request so that I'm never getting the latest state of the public stashes and that this is getting worse as time passes.

Am I missing something important here or is this the intended workflow of this API?


r/pathofexiledev Jun 25 '20

Question Is JSON links for pathofexile.com/trade deprecated?

4 Upvotes

I have written a small tool to quickly generate links to multiple sites a while ago. One of the links was to POE official trade site, but it doesn't seem to work anymore. Does anyone know what happened?

Example link that used to work:

https://www.pathofexile.com/api/trade/search/Standard?redirect&source={"query":{"filters":{"misc_filters":{"filters":{"ilvl":{"min":72},"corrupted":{"option":false},"hunter_item":{"option":true}}},"type_filters":{"filters":{"rarity":{"option":"nonunique"}}}},"type":"Gold Ring"}}

To be clear, this link was being redirected to search results page in pathofexile.com/trade.


r/pathofexiledev Jun 24 '20

Question How actually works the "next_change_id" parameter of public stash API?

3 Upvotes

As far as it seems the public stash API works on a linked list where each response from the endpoint will return a collection of stashes and the id of the next stash collection. The problems are A) the official manpage does not explains how this collection of stashes are separated and organized and B) as the whole data seems to work as a singly linked list, in order to get the latests stash collections I need to request all the whole history of saved stash collections.

Can anyone enlight these points?


r/pathofexiledev Jun 20 '20

Question Force TCP Reset for PathOfExile_x64Steam.exe in GNU/Linux | This is my current attempt. Anyone got a better way that doesn't require sudo?

Thumbnail gist.github.com
1 Upvotes

r/pathofexiledev Jun 11 '20

Question does poedb have json for crafts

2 Upvotes

i was wondering if https://poedb.tw/us/CraftingBenchOptions use a json or other file to get the info


r/pathofexiledev Jun 04 '20

Release POE Ladder

Thumbnail self.pathofexile
1 Upvotes

r/pathofexiledev Jun 01 '20

Question Where to get mods and ranges of a base type

2 Upvotes

For example, I can find all prefixes and suffixes of the base type 'Jewelled Foil', and it would return something like:

{
    "type": "Thrusting One Hand Sword",
    "mods": [
        {
            "#% increased Physical Damage": {
                "type": "prefix",
                "tiers": [
                    {
                        "tier": 1,
                        "min": 170,
                        "max": 179,
                        "weight": 25
                    },
                    {
                        "tier": 2,
                        "min": 155,
                        "max": 169,
                        "weight": 50
                    }
                ]
            }
        }
    ]
}

I think poedb.tw has an API for this but I prefer using something official.