have u got refiler in this script? maybe its closing when shop window is opening.
@DarkstaR Does anything changed in native depositing? Its really often put items to wrong backpack, pushing items already deposited from 3bp to 6bp in depot (or from to 2 to 1 etc, its totaly random), what cause problems cuz i set it to sort it while deposit. The most annoying thing is if it deposit half of items and half not and most retarded in my opinion is, for example if bot is depositing Focus Capes and bps for Focus Capes are stacked, then if first stacked backpack is full and its depositing to second in a row stacked backpack then after it done its opening again first backpack and pushing items from first to second bp.
Edit: Everything in my script is correct for sure.