Chrome Extension to detect recipes in your inventory

"
Repeats wrote:
Hi, just read through all possible problems with mine with no luck.

I am getting the infinite refresh bug. I did the inspect element to show the console and it came up with this error:
fail to load resource - http://www.pathofexile.com/character-window/get-stash-items
Went to that url and it only said false :(

I tried reinstalling, but still doesn't work. Any fixes or am I just dumb and can't install it properly?


Windows 7
Chrome: 19.0.1084.52 m - Version up to date

Trying the basic version and it is also doing the infinite refresh error (same error). It took awhile but the program spit out the stash error after like 2-3 minutes of waiting.

Last edited by Repeats#0576 on May 29, 2012, 5:24:40 PM
Thanks, that should help track it down.
Make Elite IV:Dangerous happen!
Pledge your backing at KICKSTARTER!
http://www.kickstarter.com/projects/1461411552/elite-dangerous
Is your character in a league other than default?
Make Elite IV:Dangerous happen!
Pledge your backing at KICKSTARTER!
http://www.kickstarter.com/projects/1461411552/elite-dangerous
I have Chrome 18.0.1015.162 m at work and probably the latest at home (since I just downloaded installed it last week) and have the same (or similar) "length" issue in all three versions (original, plus v1 & v2). The line of code actually points to the jquery lib itself, but I doubt it's the cause. Probably has something to do with passing in a null object to a jquery function.

Edit:
My characters are in default league.
Last edited by Dregos#5814 on May 29, 2012, 6:10:48 PM
"
TJJ wrote:
Is your character in a league other than default?


My characters are all in default.
Ah ha!

I've discovered the cause of the 'length' problem.

The code for parsing the response from the item queries wasn't handling an error condition in the return value.

...and what did the error object contain?

"

"You are requesting your stash too frequently. Please try again later."


*shakes fist @ GGG*

I'd wager that the "failed to load resource - http://www.pathofexile.com/character-window/get-stash-items" error has the same root cause.

You will be more likely to encounter this issue if you have empty, or nearly empty pages in your stash.
In such cases the time javascript takes to process the page is negligible causing the time between subsequent page requests to be too small.


I'll look into a fix/workaround tomorrow. (some kind of cool-off between page requests).


Oh and for the record closures & promises in javascript are a nightmare to debug.
Granted I'm still not particularly fluent in the language, but urg..... it's about as easy to debug as spaghetti basic code with goto jumps everywhere.

Closures without object oriented design are a disaster.
Make Elite IV:Dangerous happen!
Pledge your backing at KICKSTARTER!
http://www.kickstarter.com/projects/1461411552/elite-dangerous
Last edited by TJJ#0979 on May 30, 2012, 4:28:41 AM
The initial post with the link to the new version is buried somewhere deep in this thread; could you link it on an easier place, maybe in your signature?

And, I tried to implement it to an Iron 12 (Chrome-based browser) and got an "CRX_Magic_Number_Invalid" error. Is there a possible way to fix this? It dont seem to be only version related to me, but more a general issue.
invited by timer @ 10.12.2011
--
deutsche Community: www.exiled.eu & ts.exiled.eu
The extension was working with stash tabs 1-9. Then I upgraded to stash tabs 1-24 & now it's caught in an infinite refresh loop.

Windows 7
Latest Chrome

Spoiler
Last edited by Gwizz41#1493 on May 30, 2012, 7:49:13 AM
I tested it a bit and up to ten (maybe 15) stash tabs work (limited the for loop that does the "polling").
I'm not sure if i could implement the timeout right but it seems that even with a small timeout it wont work.

I also tested it on windows 7 with the latest chrome version and 30 tabs.

JavaScript and especially jquery is not my language of choice as well but i already thought of forking your project. It would be awesome, if you could add a few more inline comments as it is very hard to get into the code.

Right now I'm emerging chromium on my old T60 that is running with gentoo linux. I hope that with a slower system the plugin might work again.

Edit:
Ok, it have to be 15 tabs that work properly seeing that I got 30 Tabs and get 15 errors and Gwizz41 having 24 tabs and getting 9 errors.
Last edited by Spacke#3083 on May 30, 2012, 7:58:04 AM
"
Mr_Cee wrote:
The initial post with the link to the new version is buried somewhere deep in this thread; could you link it on an easier place, maybe in your signature?


Done, though it appears URLs are not allowed in signatures, so you'll have to copy/paste the links.

"
Mr_Cee wrote:

And, I tried to implement it to an Iron 12 (Chrome-based browser) and got an "CRX_Magic_Number_Invalid" error. Is there a possible way to fix this? It dont seem to be only version related to me, but more a general issue.


No idea I'm afraid, the inner workings of Chrome are a mystery to me and I've never even heard of Iron 12.

The crx is being constructed by Chrome itself, so it should be completely valid & correct crx.

You could try unzipping the crx (it is fundamentally just a regular zip file), enable Developer mode ("chrome://chrome/extensions/"), "Load unpacked extension..." and point it at the location you unpacked it to.

My only other suggestion is to stick with Chrome for the time being ;)
Make Elite IV:Dangerous happen!
Pledge your backing at KICKSTARTER!
http://www.kickstarter.com/projects/1461411552/elite-dangerous

Report Forum Post

Report Account:

Report Type

Additional Info