PROCUREMENT : The Ultimate Path Of Exile Companion Tool!

"
RagnarokX wrote:
i still Need a Explanation on how to make only download CERTAIN Tabs, please.
i tried Google code Forum, but noone replied.


Probably because it's already on the wiki.

https://code.google.com/p/procurement/wiki/DownloadOnlyMyTabs

First of all thanks for making such an amazing tool.
I was having a bit of trouble trying to configure a second template. I looked at the wiki and from there I changed the additional template part of the my settings file to the following:

<List name="AdditionalTemplates">
<!--<Item value="CoCShop.txt"/>-->
<!--<Item value="LvlingShop.txt"/>-->
</List>

From there when I open the program I still only see forumexporttemplate.txt in the pulldown menu. I thought I might have to physically make a txt file in the procurement file for it to work so I just made a copy of the forumexporttemplate.txt file and re-named it CoCShop.txt, program still only has the one template in the pulldown menu.
I was having problems with the program not returning all the tabs.

I did some debugging in visual studio.

In the POEModel class, method

public Stash GetStash(int index, string league, bool forceRefresh)

When you have a large number of tabs, it returns a message in the stream

{"error":{"message":"You are requesting your stash too frequently. Please try again later."}}

The serializer is converting it to a not null Stash Proxy, so it keeps going but all tabs from that point on will be empty.

I guess you need to put in some sort of wait command like it used to do.

==========================================================================
Edit : I put back the requestThrottle back into getHttpRequest into HttpTransport class, and it now loads all the tabs correctly.

I imagine there is some better sweet spot for the delay. I don't know anything about the rules of GGG Api.

Last edited by stonecourier on Feb 8, 2014, 4:36:44 AM
"
stonecourier wrote:
I was having problems with the program not returning all the tabs.

I did some debugging in visual studio.

In the POEModel class, method

public Stash GetStash(int index, string league, bool forceRefresh)

When you have a large number of tabs, it returns a message in the stream

{"error":{"message":"You are requesting your stash too frequently. Please try again later."}}

The serializer is converting it to a not null Stash Proxy, so it keeps going but all tabs from that point on will be empty.

I guess you need to put in some sort of wait command like it used to do.

==========================================================================
Edit : I put back the requestThrottle back into getHttpRequest into HttpTransport class, and it now loads all the tabs correctly.

I imagine there is some better sweet spot for the delay. I don't know anything about the rules of GGG Api.



Holyshitbbq!

Nicely spotted, that was NOT supposed to be committed! I'll revert the commit and will be doing a new release soon, this will fix all the tabs issues as you found and, as well as the majority of login issues people have been experiencing.
Procurement  : The Ultimate Exile's Companion!
Forum Thread : https://www.pathofexile.com/forum/view-thread/172710/page/1
Github : https://github.com/Stickymaddness/Procurement/
A few months ago people requested a tag for common gems and it was supposed to be added soon, but procurement still doesn't pick up common, leveled gems. How to add them?
Shop closed until further notice. Check out my Dominus musical tribute instead:
https://soundcloud.com/hackproducer0815/dominus
Posting this here. I wrote a rather substantial patch that actually lets you write your own item filters in C# for the shop system. Due to how big the change is, i haven't submitted the source code to the official repository yet. If anyone's interested in trying it out, the binaries are here:

https://dl.dropboxusercontent.com/u/934145/Procurement-1.1.2s-fork.zip

In the included "Scripts" folder you can find all the Visitors and Filters available, to use as reference points for writing you own. All these scripts are loaded on runtime, and if it fails, you'll get a message like this:

Spoiler



A Patchfile listing the changes can be found here: https://dl.dropboxusercontent.com/u/934145/procurement-scripting-1.1.2.patch
Soooooo, have fun!
Last edited by Yohanu on Feb 9, 2014, 11:36:58 AM
"

First of all thanks for making such an amazing tool.
I was having a bit of trouble trying to configure a second template. I looked at the wiki and from there I changed the additional template part of the my settings file to the following:

<List name="AdditionalTemplates">
<!--<Item value="CoCShop.txt"/>-->
<!--<Item value="LvlingShop.txt"/>-->
</List>

From there when I open the program I still only see forumexporttemplate.txt in the pulldown menu. I thought I might have to physically make a txt file in the procurement file for it to work so I just made a copy of the forumexporttemplate.txt file and re-named it CoCShop.txt, program still only has the one template in the pulldown menu.


Look carefully at the wiki :p

Your issue is that the two items are "commented out", so you need to remove the <!--- and --> bits, eg:

<List name="AdditionalTemplates">
<Item value="CoCShop.txt"/>
<Item value="LvlingShop.txt"/>
</List>

"
holocaustus wrote:
A few months ago people requested a tag for common gems and it was supposed to be added soon, but procurement still doesn't pick up common, leveled gems. How to add them?


The gem system is going to be overhauled in 1.2.0, the existing tags will remain but you'll be able to add custom gem tags, eg:

{FireGems} - All fire gems, including support
{MinionSpell} - All spells that summon minions, eg: raise zombie
{MinionSupport} - All minion support gems, eg: minion life
{AoeGems} - All AoE attacks
{BowAttackGems} - All bow attack gems

We will also have a tag for leveled gems - {LeveledGems}





Procurement  : The Ultimate Exile's Companion!
Forum Thread : https://www.pathofexile.com/forum/view-thread/172710/page/1
Github : https://github.com/Stickymaddness/Procurement/
Last edited by Stickymaddness on Feb 10, 2014, 8:58:00 AM
EDIT 2: I see you already know about the too many character requests issue.
Ignore my post then if you want.

______

I am also getting the error with v1.1.2

"
[Error] Object reference not set to an instance of an object.


when loading stash tab 1.


Tried it with a vanilla Settings.xml and with a changed one (only changes: DownloadOnlyMyLeagues: true)

I also had it work for the first time once only, then when exiting the program and loading again I would get the error.

However, I then took a look at the generated .bin file in the directory that had the same filename as my login email and it turned out that the .bin file for my character "Sadou" had this in it:

"
{"error":{"message":"You are requesting characters too frequently. Please try again later."}}


This looks like a JSON response from the GGG web API and would explain why some people can get it to work once and not again then. If you wait a while it should work again as indicated.

My guess is that Procurement can't make a C# object out of this response, hence the error message above.


Additionally, sometimes I would get the error message

"
[Error] Could not find a part of the path 'D:\Games\Downloads\Path of Exile\Programs\Procurement v1.1.2\<MY_LOGIN_EMAIL>\characterdata.bin'.


I believe this is my own fault though because I deleted the directory that houses characterdata.bin while procurement was still open and not in the process of logging in.

For some reason I had to restart not only Procurement but also Windows Explorer so that Procurement has the necessary rights again to create the login email directory.

_____

EDIT: now that I have written this post Procurement appears to be logging in fine as speculated.
It is currently downloading images.
PoE Item Info tooltip script - reveal detailed affix breakdown for any rare or unique!

http://www.pathofexile.com/forum/view-thread/790438 | IGN: Sadou
Last edited by hazydoc on Feb 11, 2014, 11:38:00 PM
"
hazydoc wrote:
EDIT 2: I see you already know about the too many character requests issue.
Ignore my post then if you want.


All of the issues you described are due to a bug that will be fixed in 1.2.0, even though you have managed to update successfully, you might still encounter issues.
Procurement  : The Ultimate Exile's Companion!
Forum Thread : https://www.pathofexile.com/forum/view-thread/172710/page/1
Github : https://github.com/Stickymaddness/Procurement/
Here, have some more code!

https://github.com/zorbathut/procurement/commit/a11f962a0a67091093c119f296e6c5b1ae5f3051

Background: I've recently started keeping Procurement in Google Docs so I can ship it back and forth easily between two computers. Unfortunately, Procurement stores its password in a format that is not computer-portable. I'm actually totally fine with that - it's a clever security improvement, so, cool - but the problem is that I can't log in even in offline mode with the wrong computer's password.

Fix: If you're logging in with "offline" mode, the password isn't needed anyway, so don't bother trying to decrypt it.

At the same time I also cleaned up the trinary operator, since it was about to get totally impossible to understand.

Would be greatly appreciative if this made it into 1.2.0 :)
Last edited by ZorbaTHut on Feb 12, 2014, 3:09:34 PM

Report Forum Post

Report Account:

Report Type

Additional Info