Jump to content



Photo

Ubot Tutorial Series Beginner To Advanced - Source Codes

beginner source code free source code ubot training tranining free

  • Please log in to reply
11 replies to this topic

#1 Code Docta (Nick C.)

Code Docta (Nick C.)

    Member for Hire

  • Fellow UBotter
  • PipPipPip
  • 1532 posts
  • LocationIn a Python or UBot IDE or ubotdocta.com
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 28 November 2016 - 06:07 PM

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

 


UBot Expert Tutorials Store

 

ubot-docta-header-ubot-expert-store.png

 

Python and UBot expert tutorials and documentation


#2 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 3202 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 29 November 2016 - 08:08 PM

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 :)



#3 Code Docta (Nick C.)

Code Docta (Nick C.)

    Member for Hire

  • Fellow UBotter
  • PipPipPip
  • 1532 posts
  • LocationIn a Python or UBot IDE or ubotdocta.com
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 30 November 2016 - 12:17 AM

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


UBot Expert Tutorials Store

 

ubot-docta-header-ubot-expert-store.png

 

Python and UBot expert tutorials and documentation


#4 Code Docta (Nick C.)

Code Docta (Nick C.)

    Member for Hire

  • Fellow UBotter
  • PipPipPip
  • 1532 posts
  • LocationIn a Python or UBot IDE or ubotdocta.com
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 30 November 2016 - 07:32 AM

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.ubots...com/issues/1166

Regards,
Nick


UBot Expert Tutorials Store

 

ubot-docta-header-ubot-expert-store.png

 

Python and UBot expert tutorials and documentation


#5 iamddr

iamddr

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 83 posts
  • OS:Windows 7
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 30 November 2016 - 08:41 AM

Thanks, Nick

 

Intermediate Part 1 download link is actually Intermediate Part 2, please fix.



#6 Code Docta (Nick C.)

Code Docta (Nick C.)

    Member for Hire

  • Fellow UBotter
  • PipPipPip
  • 1532 posts
  • LocationIn a Python or UBot IDE or ubotdocta.com
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 30 November 2016 - 09:56 AM

Thanks, Nick

 

Intermediate Part 1 download link is actually Intermediate Part 2, please fix.

thank you
will fix now!


UBot Expert Tutorials Store

 

ubot-docta-header-ubot-expert-store.png

 

Python and UBot expert tutorials and documentation


#7 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 3202 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 30 November 2016 - 12:34 PM

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.



#8 iamddr

iamddr

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 83 posts
  • OS:Windows 7
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 02 December 2016 - 07:52 AM

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



#9 Code Docta (Nick C.)

Code Docta (Nick C.)

    Member for Hire

  • Fellow UBotter
  • PipPipPip
  • 1532 posts
  • LocationIn a Python or UBot IDE or ubotdocta.com
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 02 December 2016 - 09:09 PM

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.


UBot Expert Tutorials Store

 

ubot-docta-header-ubot-expert-store.png

 

Python and UBot expert tutorials and documentation


#10 Code Docta (Nick C.)

Code Docta (Nick C.)

    Member for Hire

  • Fellow UBotter
  • PipPipPip
  • 1532 posts
  • LocationIn a Python or UBot IDE or ubotdocta.com
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 02 December 2016 - 09:11 PM

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.


UBot Expert Tutorials Store

 

ubot-docta-header-ubot-expert-store.png

 

Python and UBot expert tutorials and documentation


#11 iamddr

iamddr

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 83 posts
  • OS:Windows 7
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 03 December 2016 - 09:03 AM

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  



#12 Code Docta (Nick C.)

Code Docta (Nick C.)

    Member for Hire

  • Fellow UBotter
  • PipPipPip
  • 1532 posts
  • LocationIn a Python or UBot IDE or ubotdocta.com
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 29 January 2019 - 03:27 PM

Changed the store link to my site

 

https://ubotdocta.com/products/


UBot Expert Tutorials Store

 

ubot-docta-header-ubot-expert-store.png

 

Python and UBot expert tutorials and documentation






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users