Rudokhvist / ASF-STM

ASF bot list trade matcher
Apache License 2.0
24 stars 2 forks source link

Hangs when Fetching bot 1 of 379 (badge 200 of 200) #20

Closed EvE-Player closed 8 months ago

EvE-Player commented 11 months ago

I have been experiencing a recurring issue with this script over the past few weeks. The problem occurs during the execution of the script when it reaches the step of "Fetching bot 1 of 379 (badge 200 of 200)." At this point, the script becomes unresponsive and fails to proceed any further. Even after waiting for an extended period of time, the script refuses to load beyond this specific stage.

Any ideas as to why?

Thank you

EvE-Player commented 11 months ago

Tried it on a different account, still the same problem "Fetching bot 1 of 210 (bade 39 of 39)

Console output is this:

Errpor.txt

If you need anything else to help debug let me know and I'll do my best to oblige!

Thank you

Rudokhvist commented 11 months ago

Thank you for report! Sadly right now I have some health issues and don't have time for active development, but I'll look into it as soon as I'll have some time.

EvE-Player commented 10 months ago

I hope you recover fully! Take care.

Rudokhvist commented 10 months ago

Sorry for the delay. Had some time today to look into it. Can't reproduce it on my account, thanks you error message you provided I see where it crashes, but I don't understand why it crashes. What browser and userscript extension are you using? Do you have other userscripts running on that page?

EvE-Player commented 10 months ago

I use google Chrome and Tamper Monkey, out of the user scripts I use the one which seems to be causing the problem is:

Steam-Autocraft-Reupload by 10101000

The code in the userscript is:

Link to a pastebin because it didn't format correctly on the comments

All other scripts were enabled/disabled one at a time and then tested with your script and worked fine, for details they are:

Rudo-script-comment

And also, when using the script now it's working, trying to match a massive inventory vs my large inventory it spits out the error:

Bad Request Your browser sent a request that this server could not understand.

The URL it is attempting to match both inventories from is:

Big URL pastebin

I believe this is because there are far too many cards on either side for Steam/Chromes and it cannot process the url?

Just a guess though,

Anyway, I'm glad to see you are hopefully doing better!

Thank you.

Rudokhvist commented 10 months ago

Ok, it is indeed caused by that script, to be more precise - by older jQuery library that it uses. I'll update next version of ASF-STM to avoid that conflict. Thank you for your report.

And also, when using the script now it's working, trying to match a massive inventory vs my large inventory it spits out the error:

You probably mean when you try to open trade window? Yes, I'm aware about this issue, and definitely want to do something about this, but so far not sure about the best approach for fix. And yes, it's happens when there is a lot of items to be traded for this match. I'll try to look at it again now, while I have some time.

Anyway, I'm glad to see you are hopefully doing better!

I'm still pretty busy, but at least some of my health issues are gone, feeling much better now. Thank you!