Results 1 to 8 of 8

Thread: BotTools.dll - The Botters Helpful class for commonly used functions

  1. #1
    Administrator
    Join Date
    Sep 2012
    Posts
    213
    Bots Posted
    14
    Post Thanks / Like
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)

    BotTools.dll - The Botters Helpful class for commonly used functions

    BotTools.dll A class that should help with the creation of new bots and lower the amount of code needed to get it running.
    BotTools.dll is made in C#.net 4.0
    Requirements:
    You must set the Target FrameWork of your Bot to .NET Framework 4 (NOT .NET Framework 4(client) )

    This is a combined effort project. Project Contributors include (people in bold have made contributions so far):
    Kardsen
    Jsajjan34
    Precise
    Gameloader
    (5th person not yet selected)

    What the DLL does is provide you a simple way to use commonly used functions such as:
    Generate Random First Name and/or Last Name
    Generate Random Phone Number
    Generate Random Word - Ability to select how many character of the random word to return
    Generate Random Email Username - Useful for catchalls
    Generate Dictionary List of Months - which then can return either the month name or integer
    Generate Random Month Name or Integer (integer can be returned as forced 2 digit if needed... Example 1 becomes 01)
    Generate Random Day Integer (integer can be returned as forced 2 digit if needed... Example 1 becomes 01)
    Generate Random Year Between 1957 and 1991
    Generate Random Street Address (with house number, street name and street type.. Example 1023 Howard Lane)
    Generate Dictionary List of States - which then can return either the State Name or Abbreviation
    Generate Random State Name
    Generate Random State Abbreviation
    Generate Random Zip Code (from a list of Valid US zip codes)
    Generate Random City Name (from a list of the most common USA city Names)
    HTTP GET/POST Commands wrapped up in threads (v1.0.0.2)
    Send Emails and/or sms messages via a simple to use function (great for when you want to give the notifcation option in your bot)
    Ability to send decap requests to 3 different decap services using the same basic function
    Ability to authenticate with Exploitn, BottingForce or BotInc using a the same basic function
    .... And More to come.

    The project consists of 1 zip with the dll and associated xml file that should be placed along side the dll in the project you are creating
    this will give you access to the function tips from within Visual Studio

    The other zip file contains a sample project showing the use of all features found in the dll so you can become familiar with how to use the commands
    Attached Files
    Last edited by Kardsen; 02-02-2013 at 03:20 PM.

  2. Than/ks konthedon, Weed«, Corn674 thanked for this post
    Likes konthedon, Weed«, Corn674 liked this post
  3. #2
    Administrator
    Join Date
    Sep 2012
    Posts
    213
    Bots Posted
    14
    Post Thanks / Like
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    2/2/2013
    V1.0.0.2 Uploaded
    Web request class added (jsa)
    Last edited by Kardsen; 02-02-2013 at 12:24 PM.

  4. #3
    Administrator
    Join Date
    Sep 2012
    Posts
    213
    Bots Posted
    14
    Post Thanks / Like
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Web Request Class Example:
    Code:
       //Create new instance every time you want to clear cookies
                Request = new BotTools._WebRequest();
                //Example of GET request
                string GET = Request.GET("http://www.unileverpromotions.com/dollargeneral/", "text/html, application/xhtml+xml, */*", "div");
                if (GET.Contains("SomeThing"))
                {
                    //Do Stuff here
                    //I.E string POST = Request.POST();
    
                }
                else if (GET.Contains("Bad Captcha"))
                {
                    //Report Bad Cap
                }
                else
                {
                    //Rinse and repeat. (Make sure you create a new instance of BotTools._WebRequest)
                }
                //Example of a POST request
                string POST = Request.POST("http://www.unileverpromotions.com/dollargeneral/", "text/html, application/xhtml+xml", "application/x-www-form-urlencoded", "http://www.unileverpromotions.com/dollargeneral/", "__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=&__EVENTVALIDATION=&ctl00%24MasterContentPlaceholder%24txtEmail=&ctl00%24MasterContentPlaceholder%24BtnSubmit=", "div");
                if (POST.Contains("SomeThing"))
                {
                    //Do stuff
                }
                else if (POST.Contains("Win"))
                {
                    //Do your win handling
                }
                else
                {
                    //Rinse and repeat. (Make sure you create a new instance of BotTools._WebRequest)
                }
    Last edited by Kardsen; 02-02-2013 at 12:25 PM.

  5. #4
    Senior Member Milano's Avatar
    Join Date
    May 2011
    Posts
    640
    Bots Posted
    0
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    This reminds me of Project Wraith lol xD

  6. #5
    Administrator Gameloader's Avatar
    Join Date
    May 2011
    Location
    Bottingforce.com DUH!
    Posts
    1,155
    Bots Posted
    97
    Post Thanks / Like
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Milano View Post
    This reminds me of Project Wraith lol xD
    this is different in the sense that you cannot use this to make a bot for a promo its simply used for helping with things we already do ie random names addys decap etc.
    'The people you spend the most time with make you.'
    - Gameloader -


  7. Likes »Milano« liked this post
  8. #6
    Administrator
    Join Date
    Sep 2012
    Posts
    213
    Bots Posted
    14
    Post Thanks / Like
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Gameloader is correct. Currently this dll just packages up the most commonly used functions. GUI and HTMLREQUEST handling is still the responsibility of the code.

  9. Likes »Milano« liked this post
  10. #7
    Member
    Join Date
    Jan 2012
    Posts
    47
    Bots Posted
    0
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Milano View Post
    This reminds me of Project Wraith lol xD
    Once I finish another project I'm working on, I'm going to take a look at Project Wraith again and see if I can completely redo it. I'd like to make it handle much more complex promotions.

    Quote Originally Posted by Kardsen View Post
    Gameloader is correct. Currently this dll just packages up the most commonly used functions. GUI and HTMLREQUEST handling is still the responsibility of the code.
    It looks pretty good so far, Kardsen.

  11. Likes »Milano« liked this post
  12. #8
    Super Moderator
    Join Date
    Jun 2011
    Location
    GA or FL
    Posts
    303
    Bots Posted
    24
    Post Thanks / Like
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    nice great thing when people come together for a common cause...helps everyone involved

  13. Likes »Milano«, Weed« liked this post

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •