[Tool] PoE-TradeMacro

"
Sabahl wrote:
I have been getting this issue all league regardless of updates to the macro. I have tried uninstalling the macro, reinstalling, turning off the firewall, no dice.

Looking through earlier posts I can see others have had this issue but I have yet to see a resolution. Does anyone have any ideas as to what is happening or how to fix it?



Log included below...

Spoiler
Starting up PoE-TradeMacro....

----------------------------------------------------------
2017-12-16T20:50Z
----------------------------------------------------------

Requesting leagues from api.pathofexile.com...

cURL command:
"E:\Games\SteamLibrary\steamapps\common\Path of Exile\AHK 2.0.11\POE-TradeMacro\lib\curl.exe" "http://api.pathofexile.com/leagues?type=main" -ILks -H "Host:api.pathofexile.com" -H "Connection:keep-alive" -H "Cache-Control:max-age=0" -H "Content-type:application/x-www-form-urlencoded; charset=UTF-8" -H "Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8" -H "User-Agent:Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36" --max-time 30

Answer:
HTTP/1.1 302 Found
Server: nginx/1.8.1
Date: Sat, 16 Dec 2017 20:50:18 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: POESESSID=e0dd0c482324a1c4ef1c04e0923d643a; path=/; domain=.pathofexile.com; HttpOnly
Location: /login/?redir=%2Fleagues%3Ftype%3Dmain
X-Frame-Options: SAMEORIGIN

HTTP/1.1 404 Not Found
Server: nginx/1.8.1
Date: Sat, 16 Dec 2017 20:50:18 GMT
Content-Type: application/json
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: POESESSID=54ef657d4235163b8ba068e107032a0c; path=/; domain=.pathofexile.com; HttpOnly



----------------------------------------------------------
2017-12-16T20:50Z
----------------------------------------------------------

Testing CloudFlare bypass, connecting to http://poe.trade...

cURL command:
"E:\Games\SteamLibrary\steamapps\common\Path of Exile\AHK 2.0.11\POE-TradeMacro\lib\curl.exe" "http://poe.trade" -ILks -H "User-Agent:Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36" -H "Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8" -H "Accept-Encoding:gzip, deflate" -H "Accept-Language:de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4" -H "Connection:keep-alive" -H "Host:poe.trade" -H "Upgrade-Insecure-Requests:1" --max-time 30

Answer:
HTTP/1.1 200 OK
Server: nginx/1.12.1
Date: Sat, 16 Dec 2017 20:50:19 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
X-Frame-Options: DENY
Content-Encoding: gzip



----------------------------------------------------------
2017-12-16T20:50Z
----------------------------------------------------------

Data file download from https://raw.githubusercontent.com/POE-TradeMacro/POE-TradeMacro/master/data_trade/...

cURL command:
"E:\Games\SteamLibrary\steamapps\common\Path of Exile\AHK 2.0.11\POE-TradeMacro\lib\curl.exe" "https://raw.githubusercontent.com/POE-TradeMacro/POE-TradeMacro/master/data_trade/boot_enchantment_mods.txt" -ILks --max-time 30

Answer:
HTTP/1.1 200 OK
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-XSS-Protection: 1; mode=block
ETag: "a8b250315b5e438a1596d609d3b46493116be965"
Content-Type: text/plain; charset=utf-8
Cache-Control: max-age=300
X-Geo-Block-List:
X-GitHub-Request-Id: 3616:3817:4BC032:501FE9:5A3586F1
Content-Length: 948
Accept-Ranges: bytes
Date: Sat, 16 Dec 2017 20:50:21 GMT
Via: 1.1 varnish
Connection: keep-alive
X-Served-By: cache-lhr6333-LHR
X-Cache: HIT
X-Cache-Hits: 1
X-Timer: S1513457421.354809,VS0,VE0
Vary: Authorization,Accept-Encoding
Access-Control-Allow-Origin: *
X-Fastly-Request-ID: 15077b2a93ce2a2f5024ebb5a160bc13b216a4ee
Expires: Sat, 16 Dec 2017 20:55:21 GMT
Source-Age: 27





OK I fixed this myself by hardcoding the league into the script, but I have no idea why iot was not parsing correctly before.

league := TradeUtils.UriEncode(TradeGlobals.Get("LeagueName"))
fallback := ""
url := "http://poe.ninja/api/Data/GetCurrencyOverview?league=Abyss"
; . league

instead of

league := TradeUtils.UriEncode(TradeGlobals.Get("LeagueName"))
fallback := ""
url := "http://poe.ninja/api/Data/GetCurrencyOverview?league=" . league
That did not fix it for me. Seems like lot of people are having the problem because I am getting the same exact issue as you Sabahl. I copied your things exactly in the notepad and saved it but it changed nothing.
can someone tell me why, when i press my custom macro, a help panel pop up. the macro works fine but it's just a bit annoying when i have to close that help panel everytime i use the macro.
Can someone tell me why I keep getting wrong prices?

ctrl + d says 1a
ctrl + alt + d says 1a

poe.trade says 10c

it's starting to get annoying when you price it for 1a then get 50+ messages in 10sec. Anyway to fix it?
Last edited by Extraordinary_#3388 on Dec 24, 2017, 6:48:11 AM
"
Frejoh466 wrote:
Can someone tell me why I keep getting wrong prices?

ctrl + d says 1a
ctrl + alt + d says 1a

poe.trade says 10c
Did you check on a unique or on a rare? Uniques get checked with what they are listed already, since their randomness is minimal, so they should have an almost correct price (if you have a good rolled unique it's often more worth ofc), but rares are only getting a price prediction since every rare is different, so you can have huge price variatios here from time to time.
Last edited by shokilicious#2638 on Dec 24, 2017, 7:17:04 AM
"
Extraordinary_ wrote:

caught same today with dis after pressing OK:

what happened?
¯\_(◉◡◔)_/¯
"
Extraordinary_ wrote:

"
Hikakundesu wrote:
caught same today with dis after pressing OK:
what happened?


Please check in your settings if a league is selected. For Abyss it should read "tmpstandard". Your selection might be empty because of a mixup in an earlier release.
"
aRTy42 wrote:
"
Extraordinary_ wrote:

"
Hikakundesu wrote:
caught same today with dis after pressing OK:
what happened?


Please check in your settings if a league is selected. For Abyss it should read "tmpstandard". Your selection might be empty because of a mixup in an earlier release.

Where i can find and check this? Also got this
Spoiler
issue, may be cus of dis, my provider is guilty?
¯\_(◉◡◔)_/¯
"
Hikakundesu wrote:
"
aRTy42 wrote:
"
Extraordinary_ wrote:

"
Hikakundesu wrote:
caught same today with dis after pressing OK:
what happened?


Please check in your settings if a league is selected. For Abyss it should read "tmpstandard". Your selection might be empty because of a mixup in an earlier release.

Where i can find and check this? Also got this
Spoiler
issue, may be cus of dis, my provider is guilty?

Тоже самое братик, у тебя не билайн случайно ?

Report Forum Post

Report Account:

Report Type

Additional Info