Coder Social home page Coder Social logo

Comments (7)

JustArchi avatar JustArchi commented on May 25, 2024 1

Great, that's very valuable info, thanks a lot, I should be able to make the method more robust now. Will do that and then release new version for you to test 👍

from archisteamfarm.

JustArchi avatar JustArchi commented on May 25, 2024

You have 6 exceptions, but only 4 bots. Didn't you send unpack ASF two times at once?

from archisteamfarm.

JustArchi avatar JustArchi commented on May 25, 2024

Ah okay, now I see, there are 6, so each bot threw that exception.

The question stands however, are you sure there weren't two consecutive fetch requests? If not, how many items in inventory those accounts have, more than 5k?

from archisteamfarm.

Citrinate avatar Citrinate commented on May 25, 2024

I've only been able to reproduce this error when I make 2 or more fetches in quick succession. The less time between fetches, the more likely there will be an error. The number of items in each of these inventories is: 448, 79, 34, 34, 35, and 663.

The chat that produced the log above is:

[11:09 AM] Citrinate: !status asf

[11:09 AM] BotA:
	<citrinate> Bot is not farming anything.
	<BotA> Bot is not farming anything.
	<BotB> Bot is not farming anything.
	<BotC> Bot is not farming anything.
	<BotD> Bot is not farming anything.
	<BotE> Bot is paused or running in manual mode.There are 6/6 bots running, with total of 0 games (0 cards) left to farm.

[11:09 AM] Citrinate: !unpack asf

[11:09 AM] BotA: <citrinate> Success!
	<BotA> Success!
	<BotB> Success!
	<BotC> Success!
	<BotD> Success!
	<BotE> Success!

[11:09 AM] Citrinate: !unpack asf

[11:09 AM] BotA: <citrinate> Done!
	<BotA> Done!
	<BotB> Done!
	<BotC> Done!
	<BotD> Done!
	<BotE> Done!

from archisteamfarm.

JustArchi avatar JustArchi commented on May 25, 2024

Okay, that explains everything, could you check how much time you need before it starts working again? Roughly, in seconds, before you get at least one success, since the moment it stops working.

from archisteamfarm.

Citrinate avatar Citrinate commented on May 25, 2024

It never stops working completely, it's just that individual fetches may fail. If one fails, the next one usually succeeds.

For example, if I make one request every second I might see a string of: Success, Success, Fail, Success, Fail, Success, Success.

I haven't seen any fails when I test 1 fetch every 5 seconds either from my 79 item bot or my 663 item bot.

from archisteamfarm.

JustArchi avatar JustArchi commented on May 25, 2024

I've marked V6.0.1.18 for release with this fix. If you'll get any further issues with the new method let me know. It seems we need similar level of bulletproofing as old AWH method, that simply already has it implemented by me before (sigh).

from archisteamfarm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.