Closed aengis closed 7 years ago
Does this always happen?
yes, every time....
but the main script still runs ( didnt notice until today), and stays on the menu bar
win xp 32b sp3 no firewall already tryed to add it to the anti viruts safe list, just in case... no changes.
I tried running the script in xp compatibility mode and also in 32 bit, but I can't reproduce the error.
Just to be sure (because of your file path): You unzipped the whole download and you are running the "POE-ItemInfo.ahk" file?
yes, i unzipped it and i am running the main script with right click run script
I'm a bit curious, do you also have this problem running TradeMacro https://github.com/PoE-TradeMacro/POE-TradeMacro/releases? You probably have but I want to make sure.
EDIT: If that's the case you could edit TradeMacros config file config_trade.ini
. You can't get the script started, so you probably can't use the settings menu, so do it manually. This file is being created in the main script root folder on scriptstart. There's the key/value pair ShowUpdateNotifications = 1
, change it to 0
to skip the update check. ItemInfo simply uses a default of 1 here while TradeMacro actually can change this option. Of course you can also find the line ShowUpdateNotification := 1
in the ItemInfo code and change it to 0
to test it, but this isn't a long term solution.
There's probably something wrong with the WinHTTP request but I can't say yet what exactly, this may need giving you a a dev version with more debug output but I'm trying to release a TradeMacro 2.0 beta today so I'm a bit more focused to do that first.
If you have problems with all WinHTTP requests you can't use TradeMacro, you could use ItemInfo though as long as you skip the UpdateCheck.
ok, the error on trademacro changed and got this.... i dont have any cookies on IE so it mighty be the reason.
the problem concerning itemInfo is not urgent since the script runs, even when it cant update himself.
It seems that you simply have problems with all WinHTTp requests, they all fail. WinHttp is used to download all kinds of information and the poe.trade pages. This is not cookie related.
http://superuser.com/questions/558070/how-to-turn-off-winhttp-proxy
I really forgot about this... https://github.com/POE-TradeMacro/POE-TradeMacro/wiki/FAQ "2. Cloudflare Bypass (Cookies) issues":
9. TradeMacro uses WinHTTPRequest 5.1 to connect to poe.trade/Github. WinHTTP has it's own proxy settings, the default settings don't use any proxy server but this could have been changed on your system. You can check this by opening a windows console window and executing:
netsh winhttp show proxy
If this lists any proxy servers instead of "DirectAccess (no proxy server)" you can reset this proxy.
According to this it is setup correctly. Not sure if that registry path is really missing...
You could download the latest code https://github.com/PoE-TradeMacro/POE-TradeMacro/archive/devEru.zip and use resources\tests\Test_WinHTTPRequest.ahk
. I added this to test download problems with some debug output, not sure if it helps.
EDIT: Btw, I have that registry path and key.
cant turn off the winhttp since it seems i have none installed :P
Well, try to install (re-install) it then :p
i've been trying to find the package, but since there is no longer support for XP, the windowsxp-kb842773-v2-x86-esn ( winhttp 5.1 ) is impossible to find :(
Hm, that's too bad. At least ItemInfo is working for you when disabling updates. I should implement a fallback for all WinHTTP requests using UrlDownloadToFile if that fails. This would work for ItemInfo (always) and TradeMacro unless someday poe.trade has cloudflare protection again so that I have to send a useragent and cookies.
"unexpected message or incorrect format"
autohotkey version 1.1.24.05