THE FORUM IS IN READ-ONLY MODE
Going to the next line of the "combo" or adding +1 without stopping the bot
So it's a little bit tricky to explain what I'm trying to do.
I would like to create a loop where if the bot doesn't find the key it goes to the next combo.
I don't want to set it to fail I just want to JUMP back to my request and go to the next combo.
If not possible how to do the same thing while adding +1 to a 4 digit number (0000,0001,0002, etc...)
Here is an example of what I did on another config that does basically what I want to do now :
IF "<SOURCE>" DoesNotExist SET STATUS BAN ENDIF IF "<SOURCE>" Contains "A" SET VAR "result" "false" ENDIF IF "<SOURCE>" Contains "sB" SET VAR "result" "true" ENDIF IF "<SOURCE>" Contains "Access Denied" SET VAR "result" "ban" ENDIF IF "<result>" EqualTo "true" SET STATUS CUSTOM "CUSTOM" ENDIF IF "<result>" EqualTo "ban" SET STATUS BAN ENDIF IF"<result>" EqualTo "false" JUMP #FUNCTION1 ENDIF
Except this was easy because I just jumped back to a function that created a random string, so here the bot would only stop if BAN or if it found the key I wanted and it went to CUSTOM.
Thanks for your help, and if it needs clarification I'll be glad to try !
A single bot has no knowledge of other data lines, proxies, etc. it can only know the data line and proxy assigned to it, so what you want to do is impossible by design. You have to use the FAIL status. In my opinion you could pass the data (e.g. session cookies) from a bot to another for example via global variables or global cookies so that the next both can pick up from where the last bot finished.
OK I see, and how about the variable thing of 0001 if not then 0002 etc...?
You could make a while loop, and inside put a function compute block which you can then pad with zeros basing on its length
If you want an automatic padding function you can open an issue and I will include it in 1.2.1
I succeeded for that using :
SET VAR "num" "0" SET VAR "prefix" "000" # IF "<num>" LESSTHAN "10000" ENDIF IF "<num>" LessThan "1000" SET VAR "prefix" "0" ENDIF IF "<num>" LessThan "100" SET VAR "prefix" "00" ENDIF IF "<num>" LessThan "10" SET VAR "prefix" "000" ENDIF #Compute FUNCTION Compute "<num>+1" -> VAR "num" #Constante FUNCTION Constant "<prefix><num>" -> VAR "CODE" ENDWHILE
And I jump to my #Compute function if fail.
But it's slower than going from a combolist from 0000 to 9999 despite the request blocks jumped sadly.
Any tricks I could use ?
I don't know, sorry. Maybe try to contact my collaborators and they can give it a look?
No worries, thanks for your help !