Jump to content
UBot Underground

Recommended Posts

Hello,

 

This is a free series to get you going fast and cut that learning curve to a minimum. This is for all users new and old however, it is targeted for the new user. These tutorials are strictly for the UBot Native Browser without any free or paid plugins and should be usable for all 3 UBot Editions.

 

These source codes are well commented throughout the code and I also started a Skype group just for beginners to get you going fast. You should be able to work through these free tutorials within a few days and start making your own software within the current week.

 

See what these tutorials are about in the UBot Store,

 

Code Docta UBot Tutorials Store

 

I really hope I helped up you with these basic tutorials.

 

Enjoy,
Nick

 

  • Like 3
Link to post
Share on other sites

Some good stuff here, I like the idea of using more functions and less variables that really got the juices flowing :)

 

As for the generic variable, it would only work in bots which are not multi-threaded. Otherwise, there could be conflicts if you run this you will see that there should be 100 items in the list but it likely will not add them all:

clear list(%items)
loop(100) {
    thread {
        Main Thread()
    }
}
define Main Thread {
    add item to list(%items,$Generic Variable($random text($rand(20,50))),"Don\'t Delete","Global")
}
define $Generic Variable(#VAR) {
    return(#VAR)
}

But keep up the good work you gave me a few ideas and I'm going to send some beer money your way :)

  • Like 1
Link to post
Share on other sites

Thanks Nick,

 

Appreciate the beers, cheers!! I also added you to my donors list. People on my donors list get special stuff :)

 

Can you be more specific in what you are referring to?

These are basic tutorials and I haven't mentioned threading yet.

 

Regards,

Nick

Link to post
Share on other sites

Some good stuff here, I like the idea of using more functions and less variables that really got the juices flowing :)

 

As for the generic variable, it would only work in bots which are not multi-threaded. Otherwise, there could be conflicts if you run this you will see that there should be 100 items in the list but it likely will not add them all:

clear list(%items)
loop(100) {
    thread {
        Main Thread()
    }
}
define Main Thread {
    add item to list(%items,$Generic Variable($random text($rand(20,50))),"Don\'t Delete","Global")
}
define $Generic Variable(#VAR) {
    return(#VAR)
}

But keep up the good work you gave me a few ideas and I'm going to send some beer money your way :)

I see, are referring to defines store item.

 

If you use a hard coded value and don't delete without any functions you will get the same result.

 

What version are you using?

I am using 5.9.44

 

I don't use that style of threading either as you will soon see.

 

http://tracker.ubotstudio.com/issues/1166

Regards,

Nick

Link to post
Share on other sites

You just mentioned something about not being sure what would happen if the function was called at the same time that is why I just made that little script and mentioned multi-threading. I'm using the latest Ubot version - can't check it at the moment.

Link to post
Share on other sites

thank you

will fix now!

 

just have finished reading the whole tutorial,very impressive with your memory saving theory. I had always thought I know ubot a lot, as a matter of fact, I never knew how to  make commands and functions whole as a bot. Please keep my donation, with help of this tutorial I believed I will make my first bot and make 100000 times of $9.99 :P

  • Like 1
Link to post
Share on other sites

You just mentioned something about not being sure what would happen if the function was called at the same time that is why I just made that little script and mentioned multi-threading. I'm using the latest Ubot version - can't check it at the moment.

Ya sorry, I think I mentioned it 7-8 months ago when I originally created the "defines" tutorial. I added it to the Boot Camp Series recently because I though it would be a good fit.

Link to post
Share on other sites

just have finished reading the whole tutorial,very impressive with your memory saving theory. I had always thought I know ubot a lot, as a matter of fact, I never knew how to  make commands and functions whole as a bot. Please keep my donation, with help of this tutorial I believed I will make my first bot and make 100000 times of $9.99 :P

Thank you and I hope it serves you well.

 

Donations inspire me to make more free stuff, it's kinda like group buys.

  • Like 1
Link to post
Share on other sites

Thank you and I hope it serves you well.

 

Donations inspire me to make more free stuff, it's kinda like group buys.

That's definate a good news for us, looking forward your new works and dont forget add me to your list please :D  

  • Like 1
Link to post
Share on other sites
  • 2 years later...

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