Jump to content
UBot Underground

Problem With Change File Field In Ubot 5


Recommended Posts

Wanted to start out saying earlier this week I upgraded from Standard V4 to Professional V5 and am super stoked with the upgrade and what can be done in V5. My question is this, I have a bot that when run & compiled in V4 the Change File Field works flawlessly but when I run & compile the exact same bot in V5 it doesn't work. All it does is shake the screen like when running a solve captcha command. Is anyone else having this problem? Is it a bug in V5? How do I fix it? Bottom line the bot works fine compiled using V4. It just bugs me that I can't do it in V5. Thanks in advance for any help. The wealth of knowledge on this forum is mind boggling!

beachwood

Link to post
Share on other sites

Thanks pash! Nothing fancy here but this exact code the "change file field" works perfectly in Ubot V4 and not in V5 for me. Any ideas?

Thanks!

clear cookies
navigate("http://www.aaaaaaa.c...10&md=add_form","Wait")
clear list(%ads)
ui text box("Username:",#username)
ui text box("Password:",#pass)
ui text box("Title\{Spintax|Supported\}",#title)
ui block text("Description\{Spintax|Supported\}",#description)
ui text box("Email:",#email)
ui text box("URL:",#url)
ui open file("Image",#image)
add item to list(%ads,#ads,"Don\'t Delete","Global")
set(#ads,0,"Global")
set list position(%ads,0)
ui stat monitor("Ads Posted:",#ads)
type text(<username field>,#username,"Standard")
wait(3)
type text(<password field>,#pass,"Standard")
wait(3)
click(<value="Submit">,"Left Click","No")
wait($rand(5,15))
click(<value="Submit">,"Left Click","No")
wait($rand(5,15))
loop(20) {
    navigate("http://www.aaaaa.com...10&md=add_form","Wait")
    type text(<name="title">,"{$spin(#title)}{$random text(5)}","Standard")
    wait($rand(5,15))
    change dropdown(<size=1>,"Offered")
    wait($rand(5,15))
    change dropdown(<country dropdown>,"USA")
    wait(3)
    change dropdown(<onchange="window.parent.document.getElementById('tcity').value=this.value;">,"Random - Skip First Choice")
    wait(3)
    type text(<name="brief">,$spin(#description),"Standard")
    wait($rand(5,15))
    type text(<email field>,#email,"Standard")
    wait($rand(5,15))
    type text($element offset(<url field>,0),#url,"Standard")
    wait($rand(5,15))
    type text(<name="passw">,#pass,"Standard")
    wait($rand(5,15))
    change file field($element offset(<name="userfile[]">,0),#image)
    wait($rand(5,15))
    type text(<name="verfcode">,$solve captcha(<outerhtml=w"<img src=\"vrfcd.php?idcd=*\">">),"Standard")
    wait($rand(5,15))
    click(<value="Submit Ad">,"Left Click","No")
    increment(#ads)
    wait(15)
}
Link to post
Share on other sites

Hey pash thanks for the help. Here is a quick video showing what happens. For whatever reason the video isn't showing "Run Node" when I right click but that is what I am doing on each version. https://youtu.be/vbEVmCvd2FA

Also I have tried on other sites that have a "choose file" button and I am getting the same thing

Link to post
Share on other sites

I tested it and it works normally.
Perhaps caused by the bug of command "$ element offset".

If you spot any problems You should separate out the issue.
To bring a simple test

A simple code samples for testing

ui open file("image",#image)
change file field($element offset(<name="userfile[]">,0),#image)

post-5560-0-88803000-1447513462_thumb.png

Link to post
Share on other sites

Thanks again pash! Yeah I tried using simplified code and still the same for me so I suppose it's something on my end that is above and beyond my skill level. Not a huge hassle since I can run & compile in V4. Il'l go search the 'Bugs" thread for more info.

Link to post
Share on other sites

The same thing happens to me, it just says "no file chosen". That's when Ubot's browser is set to Chrome 21, Chrome 39 doesn't work well - the browser window is blank and some window is blinking behind the program, it's malfunctioning. Please help!

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...