-
-
Notifications
You must be signed in to change notification settings - Fork 103
Search for minimum bin not working. #204
Comments
If anyone can create a PR for this, please do! I have no time to work on this right now unfortunately. |
Hi, So I've been digging and seems the following queries the transfer list, but there is an issue when selecting a player after doing it the first time, seems the BIN price does not return correctly from the second time onwards. Although if you wait say a minute+ then it randomly works sometimes. I'll have another look when I get some free time. Replace:
With:
|
I'm not even able to query any player BINS at all, so i find it weird that you're actually able to query the first you choose. |
The line of code modified shown in my post did query the first attempt successfully but had unusual behaviour after that. I haven't had time to look at this any further. If you replace the line shown and rebuilt the app then you should get the same results. |
"Although if you wait say a minute+ then it randomly works sometimes. " You can force it to 'redo' the second search properly by pressing compare price first and then pressing search minimum bin. Almost as if that "clears the cache". Maybe that can help you to understand the problem. |
I'm not familiar with JavaScript so i have no idea where and how to change the variable, sadly. |
So it seems the problem lies somewhere in the following:
When searching for a player after successfully getting a BIN the first time (as described before) the function seems to return information based on the first player searched for, not the second. I have hacked about at it and can get it to work if you put in a large delay 10 seconds+ in the As @guiseppeshen mentioned it seems there may be a cache of some sort and after adding a large delay this seems to clear. |
- Clear transfer cache before querying market. - Use new DTO.
@Mardaneus86 Spot on with the cache, I have tested with multiple use cases and seems to be fixed now. PR: #205 |
READ BEFORE YOU ADD AN ISSUE: Do not request autobuyer features, because they are considered as cheating. Issues regarding autobuyers will be closed immediately.
Expected behavior:
Click on search minimum BIN, returns minimum BIN
Current behavior:
Click on search minimum BIN, hangs at searching minimum BIN....
Metadata:
To Reproduce
Steps to reproduce the behavior:
Screenshots
Error:
transferobjects is not defined.
const searchCriteria = new transferobjects.SearchCriteria();
The text was updated successfully, but these errors were encountered: