Jump to content
UBot Underground

Gogetta

Moderators
  • Content Count

    870
  • Joined

  • Last visited

  • Days Won

    73

Everything posted by Gogetta

  1. Are you sure it isn't just the plugins that are causing the crashing? It seems that your workaround is working because by renaming the UBot Studio folder the new install doesn't include the old plugins. I have not had a problem since I disabled the old plugins. Just a thought.
  2. I couldn't figure out why the new socket commands weren't working for me. It wasn't until I disabled Aymen's http post plugin I figured out there were some compatibility issues between the two. Just wanted to let you guys know. Edit: Make sure after you disable the plugin to restart UBot then it should work. Can run this code and if YouTube loads its working. plugin command("SocketCommands.dll", "socket container") { plugin command("SocketCommands.dll", "socket navigate", "GET", "http://youtube.com") load html($plugin function("SocketCommands.dll", "$socket page html")) }
  3. Yes I would like a video created as well. I am having a problem where the container still shares cookies when i use the thread command. I might be doing something wrong though so a video would be great. I uploaded a cookie example below showing my problem. Comments were also added to the script. Thanks Cookie Test.ubot
  4. Here try to run this in your script after filling out the login details. run javascript("formLogin.submit();")
  5. The only way to store commands and use them as a function is to use the private bot bank. Its a little bit of a pain to be honest but it's what is needed for what you are looking to do. http://wiki.ubotstudio.com/wiki/The_Bot_Bank
  6. Does your script use any plugin or image recognition? If so, remove either the plugin or the image from the AppData folder and it should cause your script to open with an error in code view. I would try that. If not contact support and send them your script.
  7. What you are suggesting would require a loop along with another list. Because when you scrape a list from some page all of the items are added to your list at once. The only way to add the commas to each item in the list without using the replace would be to use a loop along with an add item to list command and adding a comma to each item as it loops. Try my solution using the replace in the UI, it works. However you will need to switch between another tab to see that the list was actually added. ui list box("List Of Urls To Message", $replace(%urls, $new line, ","), #savefile) navigate("ht
  8. Try this code. ui list box("List Of Urls To Message", $replace(%urls, $new line, ","), #savefile) clear list(%urls) add list to list(%urls, $list from text("google yahoo bing", $new line), "Delete", "Global")
  9. Here I added a few comments to the code. clear list(%surname) add list to list(%surname, $list from file("{$special folder("Application")}\\surname.txt"), "Delete", "Global") clear list(%name) add list to list(%name, $list from file("{$special folder("Application")}\\name.txt"), "Delete", "Global") loop(1) { set(#name, $random list item(%name), "Global") set(#surname, $random list item(%surname), "Global") comment("I\'m not sure why you are clearing the data list here, or why you are adding to the list from file. If you leave the clear data list inside the loop it will keep cleai
  10. Not sure what your code looks like but you could try a replace before adding it to the box. Just replace the space with a comma.
  11. Use this code to upload the image... change file field($element offset(<name="composer_unpublished_photo[]">, 1), $nothing) wait for browser event("Everything Loaded", "") change file field($element offset(<name="composer_unpublished_photo[]">, 1), "C:\\Users\\admin\\Pictures\\AddToCart1.jpg")
  12. Yeah, that was to match only the root domain when comparing to the next list item in a. I'll be the first to admit that I am not to good with regex. I used the regex cause I wasn't to sure if you wanted to match a domain even if the url was a subpage. If it doesn't matter you dont need to use regex for this. But take a look at this. http://www.regular-expressions.info/wordboundaries.html When I tested it with the example you provided above it worked. Here it is again without using regex, but the list b can't contain any subpages or it wont match the current a item. match lists.ubot
  13. Thanks Aymen, I have been waiting on the container fix.
  14. It can be done with something like this. navigate("http://www.youtube.com/results?search_query=gta+5+online&oq=gta+5+online&gs_l=youtube.3..0i3l3j0l7.2760.4195.0.4343.9.6.0.3.3.0.74.353.6.6.0...0.0...1ac.1.11.youtube.6BBFtfnsxmM", "Wait") wait for element(<class=w"yt-uix-sessionlink yt-uix-tile-link yt-uix-contextlink*">, "", "Appear") change attribute(<href=w"*googleads.g.doubleclick.net*">, "href", $nothing) clear list(%data) add list to list(%data, $scrape attribute(<href=w"/watch?v=*">, "fullhref"), "Delete", "Global")
  15. The newest one that was revealed today is the security system. http://ubotstudio.com/blog/ Looks like UBot 5 will be released in a few days.
  16. You need to use the $get files function and load the file names into a list. Here is a quick example. ui text box("Path to Html Files:", #path) clear list(%get_files) add list to list(%get_files, $get files(#path, "Yes"), "Delete", "Global") loop($list total(%get_files)) { set(#current_filename, $next list item(%get_files), "Global") set(#current_file, $read file(#current_filename), "Global") comment("Start the replacing here and save the file back using the current_filename variable.") }
  17. ui block text("Content:", #content) clear list(%list1) add list to list(%list1, $list from text(#content, $new line), "Delete", "Global")
  18. Here is an example that should help with both questions. yellowpage example.ubot
  19. Logging in to Youtube is the easy part. Not sure if it's because of the latest updates that made this easy for me. The only problem I am having is on the actual commenting.
  20. i didn't even think to try the in shared browser command, I'll have to test it out and see how this works. Anyway, the http post plugin worked good also. Thanks for the share, Edit: Not intended to hijack your thread or anything, just adding to it. Anyway, this works flawlessly and works every time to download the csv. Requires the http post plugin though.The variables are set to local so just add the define to your scrip and set the parameters. download keywords.ubot
  21. Try debugging the error using a notepad. Copy all of your code into a notepad and begin adding it back in segments. That way you can easily locate and remove the code that is causing the issue. Edit: Sorry, I just reread your post. If this is working when in node view like normal, then when you close and reopen this same bot it loads in code view with an error it might be a bug. I have had something like this happen in one of my projects I was working on. You might want to contact support and see what they say.
  22. Here try looking over this example for a few ideas. googel and bing.ubot
  23. The load html was used just for an example. You can remove that from the code and use the #write_spin variable.
×
×
  • Create New...