Jump to content
UBot Underground

Aymen

Fellow UBotter
  • Content Count

    1346
  • Joined

  • Last visited

  • Days Won

    57

Posts posted by Aymen

  1. Damn just about to buy when i saw it only works with Ubot Studio 4

     

    Can i ask what is the issue which prevents you to make this work with current version of Ubot??

     

    I am using Ubot 5 that is why i am asking!

     

    I am used to all Aymens plugins to be awesome so if you could reply that would be great!

     

    Not sure if it works flawless with Ubot 5 or not , didn't make extensive tests yet!

    But i've heard Ubot 5 latest versions getting better at running plugins!

     

     

    EDIT: Also is it possible to make the Grid display in One tab and put your other commands in other tab cause i use SSUB Builder for Graphics that is why i am asking!

     

    The grid replaces the browser so it is shown in the same container as the browser , but you can use browser container switch command to switch between the browser and the data grid!

  2. Thanks for the screencast, you almost solved all of my doubts.

    I just have something that is not so clear.

    How can I iterate all the rows from the datagrid? So if the row is not checked then ignore, but if it is true then process a function with the data of the row.

    Thanks!

     

    each row has an index , you can create a variable then increment it by 1 and use that as the index

    then check the checkbox column as stated above for true or false

  3. Hi Aymen,

     

    I dont have access to pm you.

    But the exception error is a 'Microsoft .Net Framework' error. I start the app as Administrator.

     

    For the custom search engines portion, I am trying to add Google and any other since I have none listed in the drop down box.

     

    Thanks for your assistance.

     

    If you are not seeing any search engines by default , that means there is something going wrong , try to install/reinstall .Net 4.0 , and make sure to run the application as admin

     

    Regards

  4. Just getting round to using the Code Generator. I am receiving the exception error when starting up the app but  click Continue button and it remains up.

     

    My main struggle is that of figuring out how to add custom search engines in the Search URL and Xpath Expression.

     

    Is this this correct for example:

    Search Url: 'https://www.somesearchengine.com/search?q=#SEARCH'  ?

     

    Is the Xpath Expression used in this example if we are using C sharp as opposed to Ubotstudio?

     

    Not sure where to put the #NUM as per video on first page.

     

    Any pointers greatly appreciated please.

     

    Botsimmer

     

    What does the exception say ?

    Can you PM it to me ?

     

    It would be easier if you mention the search engine you want to add and i'll tell you , if it is doable , how to do it!

  5. Yes i saw that.

    But how can it pass the status of the checkbox in a variable?

    How can the bot know if it's check or unchecked?

     

    you can check for cell value like you usually do using datagrid get value function!

     

    Thanks for the update Aymen. Did you also fix the right click command issue? Where the bot freezes?

     

    Dan

     

    Nope that one is still unsolved !

     

    Regards

  6. Datagrid UI v1.0.3 Update Released!

    Changelog :

    -Setting column width is no longer necessary for datagrid styler to work
    -sorting fixed , you just need to add ':int' to the column name (for example : "name|password|age:int|country" )
    -Added checkbox column , you just need to add ':bool' to the column name (for example : "check:bool|name|password|age:int" )
    -Fixed bug when Ubot freezes and grid disappears when running show datagrid command twice

  7. Ubot is acting weird tonight. 

     

    Now I'm getting a weird error that I can't duplicate except by running a loop. When I manually execute what is inside the loop I don't get the error and everything acts fine. 

    define Delete Row {
        set(#curRow,0,"Global")
        loop($plugin function("DataGridUI.dll", "$datagridUI total rows")) {
            if($comparison($plugin function("DataGridUI.dll", "$datagridUI get value", #curRow, "PA"),"<=",#desiredPA)) {
                then {
                    plugin command("DataGridUI.dll", "datagrid delete row", #curRow)
                }
                else {
                    increment(#curRow)
                }
            }
        }
    }
    

    When I run the loop I get this. Here is the error:

    Error: This row has been removed from a table and does not have any data. BeginEdit() will allow creation of new data in this row.
    

    I then click Continue and it deletes all but one row. Very weird.

     

    I did some more digging and saw this:

     

    http://screencast.com/t/ArayHPpif

     

    Then I found the solution:

     

    http://screencast.com/t/qukYRHquH1D

     

    I needed to add a wait for the grid to catch up. 

     

    Is this normal?

     

    Yea it is all due to how ubot and the datagrid are built , Ubot threading system works in a way that it starts a task and sometimes doesn't wait for it to finish and jumps to the next one before it is fully closed! (we are talking milliseconds) so adding a small wait time can help your script to catch up!

     

    Are you guys not having problems while running the datagrid within threads? Even while using the STA thread container there's problems where columns aren't being updated. 

     

    Do you have something that i can reproduce ?

  8. Aymen, If you check a few post back you will see that I made a small video of a bug i spotted within 24 hours of purchasing this plugin. Can you let me know if I am doing something wrong, or maybe provide an example where the "data grid color" doesn't change to random rows when scrolling through the grid?

     

    Seems like a bug , if you can post it to the bug tracker i'll give it few tests!

     

    Made a short video Aymen... http://screencast.com/t/S4JyVWGG

     

    Hey Pete , about the styler , like Gogetta said above , the columns width field is mandatory , i'll think about setting default value for that!

    about the csv thing , the csv columns should match the datagrid columns!

     

    Regards

    • Like 1
  9. i got http container error when use that. without the http container everything works fine. have tested it several times

    it shows this Error : " An item with the same key has already been added ". i'm using the latest http post plugins version 2.5.5 and ubotstudio 4.2

     

     

    can u help me aymen ?

     

    thanks

     

    http container is no longer required , and it will be removed in the next update!

     

    I'm keeping it so people can update their old bots that still use http container before it is taken down!

×
×
  • Create New...