Jump to content
UBot Underground

VaultBoss

Fellow UBotter
  • Content Count

    790
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by VaultBoss

  1. Shouldn't you try and download the images from a website to determine how they look like and train CS first?
  2. Yeah, man, no worries.. go ahead, do it.
  3. The presence of commas in the scraped text (which most probably is your delimiter for the table columns) is what it makes things not to work. Any comma that appears, breaks a line of text into yet another column - as a result you basically want to load the file into a table, but each row has different number of columns. NOT going to work that way. If you must store the scraped text WITH commas included, I suggest you replace the delimiter with some other crazy character OR, even better, with a SET of characters that are not expected to be scraped, ever!
  4. I've been integrated its use in a few bots of mine. Some worked flawlessly, other had some troubles; but that was before the new version (they came up with CaptchaSniper X4 just now) which saw a lot of improvements. You can't be mistaken by buying it - it's just a one-time payment. It pays off for itself in bo time if you were, otherwise paying for recurring services.
  5. Personally, I think that the time spent learning how to build the proper queries gets less and less taxing, the more of them you build and in the end, pays back a hefty ROI and satisfaction of things done right. However, I know what you mean; especially when on a deadline, could be better to just DO it (the shotgun vs. laser approach)
  6. Actually, it is much better to get results already sorted by SQL, especially when dealing with large lists/tables...
  7. magoo is right, of course.. many ways to skin a cat. I wasn't trying to say his isn't good. I tend to stick to mine, because I write code that I want to re-use whenever possible. And my approach is working for me in all situations. To keep things as close to YOUR style of coding, but w/o using $next list item, you should loop like this: clear list(%images) add list to list(%images, $get files("{$special folder("Desktop")}/Pics", "Yes"), "Delete", "Global") set(#ListMax, $list total(%images), "Global") decrement(#ListMax) set(#ListIndex, 0, "Global") loop(#ListMax) { set(#ImageNumber,
  8. Aymen's plugin is probably one of THE most useful (and at the same time very complex) plugin in UBS world... And Aymen is not only an excellent developer, but also a great vendor who cares about his customers. Try to ask his help directly, he may solve your issue in a few minutes... Hope this helps...
  9. $next list item is a command that works in 2 steps: retrieves the current list item (where the index was before it was invoked moves to the next list item before allowing UBS to move to the next command in the codeThat means that the index is basically incremented automatically. It is the source of never-ending headache - especially for UBS newbs - because usually they mix this with looping a list one step more than allowed and they get lots of errors when trying to access a non-existent list item, when in fact, they only want to get the LAST one (but the command looks further) Personally, I
  10. The text view in WP doesn't show the paragraphs per se, as in HTML, unfortunately... You can only see them if you preview the page in the browser. Instead of that, WP inserts an extra row of white space between actual paragraphs in text view (probably adds the <p> tags when it pulls the text from DB at rendering later, when a client browser requests the content.) You would need to take the text content and add it to a list (use $add list to list) with the $new line separator. That is the easiest way to automate the text split into paragraphs, so to speak... Then you can insert your
  11. Well, you actually need to loop through the list and run each item through an IF to detect if it's empty (and leave it like that), while when it is not empty to get only one instant of the dupe there.
  12. It's hard to help you when there are so few details given, but since you say the dropdown is in UI and not the website, you still need to fill that dropdown from a list, better than manually... at least that is how *I* would do it, but hey... feel free to do as you see fit, of course. In regards to what to do when the user chooses a certain item from the dropdown, you could simply write a DEFINE (kinda like subroutine or function in other programming languages) that would be called for each selection separately. So you would have a DEFINE called say... London .. another one called Paris,
  13. Place the cities into a list, then refer to the $list item and construct your dropdown or whatever. You need to have the data into lists/tables/variables in order to be able to manipulate programatically (use the contained value into an IF, LOOP, etc...) For instance, if your variable containing the city name "London" was called #cityName, you would compare within the IF command by including the content of the variable ('literally' as you mentioned) by enclosing the variable name with curly quotes, like this: "{#cityName}some text here" in Code View that would output the complete text: "Lo
  14. If you are building the regex programatically (load from .txt/.csv file) you need to escape the escape sign twice. Example: \n symbols new line in regex. You can copy/paste it as is in Node View, but if you are to paste in Code View, you need to have it like this: \\n Same with \s -> \\s or \. -> \\. etc...
  15. There are many flavours of REGEX, UBS uses the .Net regex. You need to test in place where they use the exact same flavour to make sure your regex works in UBS. Dunno about your sw, what type of flavour uses (go check see if they have advanced options or some such, or check their site's FAQ for help to find out) Till then, you can use this safely as a playground: http://regexhero.net/tester/ Hope this helps you... Cheers!
  16. He's right... re-using already wrote code for common tasks is key to become more efficient. I am keeping all my defines and stuff in .txt files, but I will now assemble the most important ones in a template like malefic just said. An excellent idea. Sometimes I wanna hit my forehead for not thinking of such elementary things sooner. Cheers, mate!
  17. Yup, thx for the answer, Aymen. Just like I thought... sadly. I was hoping I wouldn't need to do that - but nonetheless, a great plugin, no doubt about that.
  18. Can this plugin manipulate already existing archives? Example that I have in mind: I have an archive with multiple folders and files inside.I also have one of the folders zipped separately (a new version)I want to add it inside the archive (replace) w/o having to unzip and then re-zip everything. Is it possible? Thanks!
  19. Hi mate.. good bot here, we are all grateful. One thing though... the .exe wants a license, which is missing from the package. Where/How to get one to test the bot? Cheers!
  20. The code I gave you only returns a string text that is the written form of the equation. You have to take it from there and extract the operators (numbers) and operands (math ops, like +, -, *, /) and use them in a JavaScript $eval to get the correct answer. Another way would be to just ask Google (copy/paste the math equation string into a Google search box) and you will get the answer.
  21. I'm not sure what you are trying to accomplish, but if I'm right and you seek to scrape the math equation from the FORM on that page, here is the UBS code to do that: set(#equation, $scrape attribute(<outerhtml=w"<form method=\"post\">*</form>">, "outertext"), "Global") After that, you can play with the string #equation and do whatever you want with it. In any case, it will only scrape that type of text within the form on the page and no other strange things. Hope this helps you. Cheers!
  22. Don't complicate your life too much. Once you scraped all the results on the page, just get rid of the rest (keep only the first one) - it's that simple... Hope this helps.
  23. There is no equivalent to the GoTo command in UBS. You need do write your own logic to fork the flow of the sequence based on your own parameters. The IF THEN ELSE IF ELSE sequence, as well as LOOP WHILE will allow you to write anything you want. But there is no JUMP/GO TO, if that is what you wanted...
×
×
  • Create New...