Poe trade macro ошибка при запуске

Обновлено: 05.07.2024

Hello, first of all forgive me for my English, I only speak Spanish and I'm using translators.
I get error 504 and I do not know how to fix it, could someone help me?

The text was updated successfully, but these errors were encountered:

Script file not found:
C:\Users<username>\Documents\POE AHK_TradeMacroMain.ahk

That is the error i am getting.

Eruyome commented Aug 28, 2017

I don't get what's going on here. That path should read

it's missing a \ again. Does it go missing while copying the message? Can you show me a screenshot of your trademacro folder where I can see the path in the explorer window? Btw, no need to hide your username.

image

Sorry about the username this, force of habit. It goes missing when i copy or type it myself. Below is a screenshot of the trademacro main folder:

I have it set to show hidden folders as well, read on a comment from another forum that it was hidden.

Do you have "show hidden files" enabled? The file in question is the result of the merge process of ther different scripts, and the actual main file that will be executed. It is hidden though since it shouldn't be started directly.
If it's not there you may have some file write/permission issues.

Eruyome commented Aug 28, 2017

If you edit Run_Trademacro.ahk you'll find the following lines:

by replacing them with this:

you will get messageboxes after each file append, showing a "1" for an error or "0" for success.

I have "show hidden files" enabled, the issue is that the file just isn't there. Im the administrator of this PC, so i don't know why there would be any permission issues.

Eruyome commented Aug 28, 2017

You may have posted without seeing my last reply since we posted almost at the same time.

_TradeMacroMain.ahk

I did type it by hand, i had to manually copy the additionalmacros.txt file as well. I unzipped the folder into my Documents folder after i made a folder for it.

Quiptos commented Jul 5, 2019

Same here working this league up until today mostly error 504 sometimes I get a hit on an item once in awhile.

MatthewWC commented Jul 5, 2019

Also having the same issue. Tried a reinstall with no luck

Happening to me too. :(

Edit: It is working fine for uniques just not rares.

Edit 2: Also works with unidentified rares.

Mavrcks commented Jul 5, 2019

am getting the same issue here. ctrl+d is not working. have reinstalled

Oddwin commented Jul 5, 2019

Same thing here.. Just lags for about 2 mins then gives an Error.

v1clore commented Jul 5, 2019

KlutzyKirra commented Jul 5, 2019

Same issue here, normal, magic items and currency and Uniques are fine for ctrl+d but all rares are coming up with errors after a long wait period of "searching".

AngryRoleplayer commented Jul 5, 2019

tecj commented Jul 5, 2019

Same, only work advanced price check

kamillasecki commented Jul 5, 2019

Hella38 commented Jul 5, 2019

Hello,
Same problem here, any news ?

Apparently it wont be fixed for 2 days since the dev is away travelling and cannot reset it, or something like that.

Hella38 commented Jul 5, 2019

ok, thank you for the new ;)

Vukovik commented Jul 5, 2019

Same problem here, works fine with all items but rares.

It's because the rare price check pulls from a different website. poeprices.info.

Uniques and other things pull from poe.trade.

Hella38 commented Jul 5, 2019

Don't work for card's too ;)

mosquito1114 commented Jul 5, 2019

Does anyone know how to solve the problem? my problem is with the rare items

jamesgmarks commented Jul 5, 2019

This is an issue at poeprices.info which does the price predictions/guesses for un-named items. Ctrl+D will still work for unique items and some others that do not require the predictive algorithm.

Until the site is repaired, we're just gonna have to do the work manually by ourselves. :(

You can still use Ctrl+Alt+D for rares. Tick the checkboxes for the mods you think are relevant (and then open it on poe.trade if you want to see the items you are comparing to).

Eruyome commented Jul 5, 2019

The poeprices.info server is currently down and the guy behind that project is away on a trip and can't fix it for probably 2 days.

saraneth0o commented Jul 6, 2019

poeprices.info isn't down. I can access the site and use all its features.

tucomel commented Jul 6, 2019

Same problem here ! error 504

@saraneth0o is right, the server isn't down - although it's slow to respond, the site itself works and I've used it manually for the past couple of days. I also tried requesting the server with the href @arthurmelo88 posted and got a response:

504 is a gateway timeout. I can't reproduce the error currently (though I've been having it for the past couple of days), but if it keeps happening for you, you could try increasing the timeout in %USERPROFILE%\Documents\PoE-TradeMacro\config_trade.ini

Edit: To pre-empt comments on the error code, I agree that increasing the timeout wait is unlikely to fix it since the server is returning the 504, but the default wait of 25 seconds seems about correct for poeprices' response and making a difference between them will at any rate make the error message clearer

Hi. My trademacro doesnt respond to alt+D or any price related keys.
When i press to F5 i can go to my hideout or when i press Alt + E it responds. So its working but not responding Alt+D
I'm running the game Borderless windowed and got latest AHK and Trademacro.
Thanks.

TEMPLATE (Remove the explanations here from your post)

  • That you have checked the Wiki/FAQ before creating any issue.
  • That poe.trade/GGG's website don't have any issues if loading the script takes too long or failes.

Information to include:

  • AHK (including 32/64bit) version if you have any kind of script errors.
  • Windows version could be relevant.

Fill out everything that may be relevant and remove everything except these informations below:

AHK version:latest
Windows version:win10

The text was updated successfully, but these errors were encountered:

derbol commented Apr 17, 2021

Same here, most keybinds don't show anything.
When saving the information to the clipboard, I can see, that it does correctly fetch everything, it just doesn't display anything.
I reinstalled to ahk 1.33 64 bit, deleted all old trade macro folders and backups, still the same.
F5 etc works, is functioning, just not displaying anything most of the time.

Zenthae commented Apr 17, 2021

broken for me too

Uchigatan commented Apr 17, 2021

Spykerr2842 commented Apr 17, 2021

Same here. F5 works and Alt+E and not much else. Tried reinstalling everything, nothing changed

ATufekovic commented Apr 17, 2021

Bump, same issues as other people, i thought i was crazy for a moment and that i broke something before looking the issue up.

Soockee commented Apr 17, 2021

Zenthae commented Apr 17, 2021

well, anyway, since it's been month since the last update we probably won't have a fix, time to use something else

arsirantala commented Apr 18, 2021

Same here - doesn't work. Also reinstalled treade macro, but didn't change the expected behavior.

serogich commented Apr 18, 2021

and it doesn't work for me

ba-chan commented Apr 18, 2021

It's not just Alt+D, it seems to be anything that requires parsing of the item text copied from the game client. The format has changed slightly, meaning it can no longer be cut-n-pasted into Path of Building without editing either.

froks commented Apr 18, 2021

Zenthae commented Apr 18, 2021

Zerfaul commented Apr 18, 2021

Ah i didn't know this one. Thank you for sharing

serlucian commented Apr 18, 2021

same for me. ald+d not working, just alt+e ;(

Almighty1g commented Apr 18, 2021

Spykerr2842 commented Apr 18, 2021

dwiggins5091 commented Apr 19, 2021

xkylieo commented Apr 19, 2021

Theres a fix someone posted elsewhere had to edit some code at Line 7350

; ParseItemName fixed by user: uldo_. Thanks!
ParseItemName(ItemDataChunk, ByRef ItemName, ByRef ItemBaseName, AffixCount = "", ItemData = "")
isVaalGem := false
If (RegExMatch(Trim(ItemData.Parts[1]), "i)^Rarity: Gem") and RegExMatch(Trim(ItemData.Parts[2]), "i)Vaal"))

If (RegExMatch(ItemData.NamePlate, "i)Rarity\s?+:\s?+(Currency|Divination Card|Gem)", match)) If (RegExMatch(match1, "i)Gem")) ItemBaseName := Trim(RegExReplace(ItemName, "i) Support"))
> Else

>
>
ItemDataChunk := SubStr(ItemDataChunk, InStr(ItemDataChunk,"`n") + 1) ; <----- new

KingKatura commented Apr 19, 2021

Theres a fix someone posted elsewhere had to edit some code at Line 7350

leaving my copy of the fixed version if youd like.
https://www.dropbox.com/s/l2qlh4vppwbs06l/POE-ItemInfo.ahk?dl=0

; ParseItemName fixed by user: uldo_. Thanks!
ParseItemName(ItemDataChunk, ByRef ItemName, ByRef ItemBaseName, AffixCount = "", ItemData = "")
isVaalGem := false
If (RegExMatch(Trim(ItemData.Parts[1]), "i)^Rarity: Gem") and RegExMatch(Trim(ItemData.Parts[2]), "i)Vaal"))

>

If (RegExMatch(ItemData.NamePlate, "i)Rarity\s?+:\s?+(Currency|Divination Card|Gem)", match)) If (RegExMatch(match1, "i)Gem")) ItemBaseName := Trim(RegExReplace(ItemName, "i) Support"))
> Else

>
>
ItemDataChunk := SubStr(ItemDataChunk, InStr(ItemDataChunk,"`n") + 1) ; <----- new

hey it works.. drag into poemacro-resources-AHk and overwrite it will work again. Thanks for the fix now the creator needs to update it.

ArensKyle commented Apr 19, 2021

Theres a fix someone posted elsewhere had to edit some code at Line 7350
leaving my copy of the fixed version if youd like.
https://www.dropbox.com/s/l2qlh4vppwbs06l/POE-ItemInfo.ahk?dl=0
; ParseItemName fixed by user: uldo_. Thanks!
ParseItemName(ItemDataChunk, ByRef ItemName, ByRef ItemBaseName, AffixCount = "", ItemData = "")
isVaalGem := false
If (RegExMatch(Trim(ItemData.Parts[1]), "i)^Rarity: Gem") and RegExMatch(Trim(ItemData.Parts[2]), "i)Vaal"))

>
If (RegExMatch(ItemData.NamePlate, "i)Rarity\s?+:\s?+(Currency|Divination Card|Gem)", match)) If (RegExMatch(match1, "i)Gem")) ItemBaseName := Trim(RegExReplace(ItemName, "i) Support"))
> Else

>
>
ItemDataChunk := SubStr(ItemDataChunk, InStr(ItemDataChunk,"`n") + 1) ; <----- new

hey it works.. drag into poemacro-resources-AHk and overwrite it will work again. Thanks for the fix now the creator needs to update it.

Looks like this fixes the basic search functionality, but I'm still unable to run an advanced search on rare items. Anyone have ideas where that might be broken?

ArensKyle commented Apr 19, 2021

Looks like this fixes the basic search functionality, but I'm still unable to run an advanced search on rare items. Anyone have ideas where that might be broken?

Replying to my own comment, it actually looks like the item type parsing is what's busted. Advanced search will still work on weapons, but it only works on weapons. You can hack around it by setting the property "hasAdvancedSearch" to always be true instead of having it actually check. That change is in POE-TradeMacro-2.16.0\resources\ahk\TradeMacro.ahk on line 468.

Now advanced search works.

ba-chan commented Apr 20, 2021

Nice, all my use cases are now functional :-)

Nivelm commented Apr 20, 2021

First of all you need the original file from your installation with no modifications. You can extract and replace it from your downloaded POE-TradeMacro-2.16.0.zip

Go find in your PC where POE-TradeMacro is installed. Folder should be POE-TradeMacro-2.16.0

Inside POE-TradeMacro-2.16.0 folder open resources\ then ahk\

Locate POE-ItemInfo.ahk file

Open it with Notepad

Find this function: PreProcessContents (Menu-Edit-Find)

Add this new line:

Function should look like this with the new added line:

Save file and restart POETradeMacro.

nesreb commented Apr 20, 2021

@Nivelm, I edited the file and added the single line of code you suggested. Everything's working so far. Thank you for generously volunteering your time to help your fellow PoE addicts.

CountWiggin commented Apr 21, 2021

@Nivelm : Thank you for helping, it worked !. Have a nice day :)

xkylieo commented Apr 21, 2021

Theres a fix someone posted elsewhere had to edit some code at Line 7350
leaving my copy of the fixed version if youd like.
https://www.dropbox.com/s/l2qlh4vppwbs06l/POE-ItemInfo.ahk?dl=0
; ParseItemName fixed by user: uldo_. Thanks!
ParseItemName(ItemDataChunk, ByRef ItemName, ByRef ItemBaseName, AffixCount = "", ItemData = "")
isVaalGem := false
If (RegExMatch(Trim(ItemData.Parts[1]), "i)^Rarity: Gem") and RegExMatch(Trim(ItemData.Parts[2]), "i)Vaal"))

>
If (RegExMatch(ItemData.NamePlate, "i)Rarity\s?+:\s?+(Currency|Divination Card|Gem)", match)) If (RegExMatch(match1, "i)Gem")) ItemBaseName := Trim(RegExReplace(ItemName, "i) Support"))
> Else

>
>
ItemDataChunk := SubStr(ItemDataChunk, InStr(ItemDataChunk,"`n") + 1) ; <----- new

hey it works.. drag into poemacro-resources-AHk and overwrite it will work again. Thanks for the fix now the creator needs to update it.

Looks like this fixes the basic search functionality, but I'm still unable to run an advanced search on rare items. Anyone have ideas where that might be broken?

Herbie-pat commented Apr 21, 2021

Just made an account to say you:
Thank you for your excellent work!
I also got worried what could have gone wrong and i often have my issues with diving into solving problems like this. I also want to thank you in behalf of my friends who also use this tool and don't have to worry and just add the script line and enjoy playing <3

MorbiusProductions commented Apr 24, 2021

First of all you need the original file from your installation with no modifications. You can extract and replace it from your downloaded POE-TradeMacro-2.16.0.zip

Go find in your PC where POE-TradeMacro is installed. Folder should be POE-TradeMacro-2.16.0

I'm using the latest version of AutoHot Key and TradeMacro, but im getting an error when i try to run the script. It says the following:

Script file not found:
C:\Users(username)\Documents\POE AHK_TradeMacroMain.ahk

I have looked all over for a fix to this and i cant find it anywhere. Any help would be greatly appreciated.

The text was updated successfully, but these errors were encountered:

MorteNoir commented Aug 28, 2017

Run_TradeMacro.ahk

I'm not the best with scripts, but on line 64 it says:
FileDelete, %A_ScriptDir%_TradeMacroMain.ahk
Should it be deleting the file??

Clicking OK shows the next messagebox, do all of them return 1?

MorteNoir commented Aug 28, 2017

Yes, i get two messages with a "1" message.

Eruyome commented Aug 28, 2017

Ok, first of you could right click the folder and check for readonly and/or some special permission settings. Secondly you could just move it somewhere else. Maybe your Programs folder and see if the result is different.

MorteNoir commented Aug 28, 2017

Moved in into the AHK folder and it worked. Sorry to bother you with such a simple fix.

That's ok, I still don't know whats up with those random file write issues some people have, the script already uses admin elevation. maybe you can save this code as an .ahk file and place it in your trademacro root folder. I have edited the path used in this script to match the one that you used before to run trademacro from. It creates a temporary file and tests some methods to copy it over.

  • A messagebox telling you whether FileCopy worked.
  • A messagebox telling you whether FileMove worked.
  • A windows cmdlet window/console showing the output from the xcopy command.
    In all successful cases there should be a file testfile.txt being copied to your trademacro user folder.

This gets repeated a second time with admin elevation.

It doesn't test FileAppend though, Maybe only that command has an issue in your case.


Loaded up PoE macro this morning and getting this error. First time after using it fine for months.

New comments cannot be posted and votes cannot be cast


I used to get this error in the past. Usually when I cleared browser history completely.

Just retrieving the cookie file helped.

Maybe you can give that a try.

Hey! How does one do that?

If your question is answered, please reply saying either Answered or Thank You . If your content has been incorrectly flaired, please change it!

This is just a friendly reminder from your friendly neighborhood bot.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

It came back with a "1"

Читайте также: