Jump to content
UBot Underground

Why CLICK command works with captchas and IF/IF ELSE command doesn't ?


Recommended Posts

Ok i need to understand why this doesn't work ?

 

If i create images of captcha (using image recognition) with the CLICK COMMAND and run the node, it works fine (individually).

But if i put them in a IF/IF ELSE command, i get WRONG captcha when i run the node ???

 

Ex:

 

if($exists(<image="___IMAGE___8___IMAGE___">)) {
   then {
    click(<image="___IMAGE___7___IMAGE___">, "Left Click", "No")
   }
   else if($exists(<image="___IMAGE___13___IMAGE___">)) {
    click(<image="___IMAGE___14___IMAGE___">, "Left Click", "No")
   }
   else if($exists(<image="___IMAGE___15___IMAGE___">)) {
    click(<image="___IMAGE___16___IMAGE___">, "Left Click", "No")
   }
   else if($exists(<image="___IMAGE___19___IMAGE___">)) {
    click(<image="___IMAGE___20___IMAGE___">, "Left Click", "No")
   }
   else if($exists(<image="___IMAGE___25___IMAGE___">)) {
    click(<image="___IMAGE___26___IMAGE___">, "Left Click", "No")
   }
   else {
   }
}

Link to post
Share on other sites

I just tried and it doesn't work now i'm lost here.

 

CLICK comands are working fine indvidually (there's only 8 captcha possibilites to solve) when running each nodes (image recognition used on each of them)

.

IF/$EXISTS/THEN/CLICK are working fine also individually (8 working fine).

 

But when i add them in a loop it says "wrong image" bad solving and i also get this error trying to run

IF/$exists/THEN/CLICK/IF ELSE/CLICK

like stated above.

 

Is it a bug as automization won't work no matter what i try ?

Link to post
Share on other sites

Well i just tried but i don't know how to use the $search along with images ?

As i can see, there's no image recognition feature with $search

 

Let me know

Thanks

Link to post
Share on other sites

Ah... you're right...

 

I know its a silly question, but the actual images are showing in your code and not the "___IMAGE___19___IMAGE___" showing here, right?

 

Had to make sure...

Link to post
Share on other sites

Yeah and no you're not silly as i'm dumb so better be safe hehehehe...

 

It's something which would be hot if we could import the images too !

 

It's not the first time it happens. That everything works fine but not automized. Lots of sites i'm working on with this issue and it's out my hands. So it's another project of mine put ice until this issue is resolved. Might be UB itself which is having problems so i will wait unless someone pin points the problems ? Could be me trust me hahahahahaha

Link to post
Share on other sites

if the if statements are working with a captcha, that if "image" shown click that associated image from the group of images shown?

 

I had to work with something like this before, and becomes a pain to deal with as the imaging system looks for the image and has to meet a qualifing found percentage, so its best to have the same exists image as the click image, with unique identifer colors, attributes around it

Link to post
Share on other sites

I see... wow now that's something else ! So i guess like you said, this will be a pain in somewhere hehehehehe

Some will work and out of nowhere, some won't and sometimes, some will (what's happening right now) !

 

I guess the image recognition system will get better overtime

 

Thanks guys

Link to post
Share on other sites

yeah its about the % of the image selected matching the image showing,

 

So if for instance its animated images its likely best to have it loop 10 times over the if statement so it checks quickly and hopefully captures the aniamted area correctly to click it.

Link to post
Share on other sites

Damn i'm giving up ! So many hours spent.

 

Last shot i tried is:

 

SURF (defined)

IF/$EXISTS image recognition 1a/THEN/CLICK/image recognition 1b

IF/$EXISTS image recognition 2a/THEN/CLICK/image recognition 2b

IF/$EXISTS image recognition 3a/THEN/CLICK/image recognition 3b

IF/$EXISTS image recognition 4a/THEN/CLICK/image recognition 4b

 

(not inside any commands beside SURF)

 

 

SURF2 (defined)

IF/$EXISTS image recognition 1a/THEN/CLICK/image recognition 1b

IF ELSE/$EXISTS image recognition 2a/THEN/CLICK/image recognition 2b

IF ELSE/$EXISTS image recognition 3a/THEN/CLICK/image recognition 3b

IF ELSE/$EXISTS image recognition 4a/THEN/CLICK/image recognition 4b

 

(all inside the IF command)

etc...

 

and some worked and some didn't. Sometimes those that worked stopped working, then it started to work again and so on. So i guess it's a limitation of UB for now that is. I just hope that further releases will get better regarding image recognition. I tried so many images recognitions and ways, that i'm fed up hahahahaha THE HELL WITH IT

 

Cheers (unless someone has an idea ?)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...