njs50 / poe_ext

Path of Exile Inventory Management and Crafting Helper (Chrome Plugin)
http://njs50.github.io/poe_ext/
27 stars 14 forks source link

PoE Helper for Garena PoE #41

Open dualwind opened 9 years ago

dualwind commented 9 years ago

Hi is that possible to make this helper available for Garena PoE?

njs50 commented 9 years ago

You sure you can't just log into the regular PoE site and have it work? (make sure you have that remember me thing checked).

On Wed, Feb 4, 2015 at 3:29 AM, dualwind notifications@github.com wrote:

Hi is that possible to make this helper available for Garena PoE?

— Reply to this email directly or view it on GitHub https://github.com/njs50/poe_ext/issues/41.

dualwind commented 9 years ago

Hi njs50, thanks for your reply =)

I did log into regular PoE site (www.pathofexile.com) and checked remember me. After open up the PoE Helper i wasn't able to select any league, there's only 1 option "Loading..."

I tried log into Garena PoE site (web.poe.garena.com) and checked remember me. Not working too =/

njs50 commented 9 years ago

When you log into the regular site do you see your chars and stash etc? On Feb 4, 2015 6:28 PM, "dualwind" notifications@github.com wrote:

Hi njs50, thanks for your reply =)

I did log into regular PoE site (www.pathofexile.com) and checked remember me. After open up the PoE Helper i wasn't able to select any league, there's only 1 option "Loading..."

I tried log into Garena PoE site (web.poe.garena.com) and checked remember me. Not working too =/

— Reply to this email directly or view it on GitHub https://github.com/njs50/poe_ext/issues/41#issuecomment-72970911.

dualwind commented 9 years ago

Nope, because i never play international PoE before.

njs50 commented 9 years ago

Ah, I guess that's why it doesn't work then.

you could try modifying poe_ext/assets/js/loader.js

and changing:

function getEndpoint(method) { return "http://www.pathofexile.com/character-window/" + method; }

to

function getEndpoint(method) { return "http://web.poe.garena.com/character-window/" + method; }

you might also need to modify the urls in the poe_ext/manifest.json to allow that also.

I have no idea how this Garena thing works and I don't actually play anymore... If someone wants to figure out how it works and send in a PR so it can work for both i'm happy to merge it.

Cheers,

Nick

On Wed, Feb 4, 2015 at 9:22 PM, dualwind notifications@github.com wrote:

Nope, because i never play international PoE before.

— Reply to this email directly or view it on GitHub https://github.com/njs50/poe_ext/issues/41#issuecomment-72987946.

JonDum commented 9 years ago

By the way, thanks for maintaing this shiz, Nick.

njs50 commented 9 years ago

no worries, hope it works out for ya. looks like the item data needs to be updated if anyone is serious about actually using this thing still.

On Thu, Feb 5, 2015 at 1:51 AM, Jonathan Dumaine notifications@github.com wrote:

By the way, thanks for maintaing this shiz, Nick.

— Reply to this email directly or view it on GitHub https://github.com/njs50/poe_ext/issues/41#issuecomment-73007325.

dualwind commented 9 years ago

It works now, thank you very much! Other than the item's images not appearing, the rest are working fine =)

njs50 commented 9 years ago

you could prob search for www.pathofexile.com in the code to find which file is making those image links and replace it with the other one if you were really keen! that's what i'd end up doing. there aren't actually that many files. bleh, that code is such an embarrassment :p

On Thu, Feb 5, 2015 at 2:38 AM, dualwind notifications@github.com wrote:

It works now, thank you very much! Other than the item's images not appearing, the rest are working fine =)

— Reply to this email directly or view it on GitHub https://github.com/njs50/poe_ext/issues/41#issuecomment-73011906.