I think you didn’t understand what I’m saying.
Let’s say 5 threads are running. In case 2 of them succeed — the 1st and the last — and the middle 3 threads fail or encounter an error (like the proxy disconnecting or something not loading properly, causing the bot to stop with an error). At the end, there’s a “Delete Current Element” command.
Here’s what happens:
When thread 1 completes successfully, it removes the first line from the notepad — that’s correct.
When threads 2, 3, and 4 fail (not success or fail command, but due to an error), their data isn’t deleted from the notepad — which is also correct, because the task didn’t complete, so there’s no reason to delete that data.
However, when thread 5 runs and completes successfully, it deletes its own line (line 5) and also deletes all the lines above it, including the ones for threads 2, 3, and 4 (which failed).
So instead of deleting only the data used in thread 5, it deletes all the previous lines as well — for example, if there were 10 or 20 entries, it would remove everything up to the current task.
Thats the Issue !
Also:
I searched, but there isn’t any fully updated version of the Bablosoft/BAS manual. The official wiki at https://wiki.bablosoft.com