Adblock breaks this site

Minion IRC Bot: Open Source

Discussion in 'Programming General' started by Terrankiller, Sep 9, 2011.

  1. Terrankiller

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1
    Minion IRC Bot: Open Source

    This is my first source release for this project. This is also my first vb.net project so feel free to give me input as I am always looking for better ways to do things.

    Second Release:

    Functions have been cleaned up and new functions have been added. The bot can also execute commands now as the parser works (somewhat). I have added a new menu for developers to capture raw data for application development. I will be addressing a few protocol issues in the next release and expand on the functionality a bit. The next release will also have a few debugging methods and tools to be released with it for development purposes. This is not intended for a compiled release as is.

    http://siegetank.net/downloads/sources/Minion_Source_2.zip

    First Release:

    This is pretty much the skeleton of the minion bot at the moment with no real commands except joining a leaving channels. This is not intended for a compiled release as is.

    http://siegetank.net/downloads/sources/Minion_Source.zip

    [​IMG]
     
  2. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    Minion IRC Bot: Open Source

    Looks pretty sweet so far, do you want any help coding bits n peices?
     
  3. Terrankiller

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1
    Minion IRC Bot: Open Source

    Sure. Feel free to do some coding where you see fit.
     
  4. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    Minion IRC Bot: Open Source

  5. Nullware

    Nullware Guru

    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0
    Minion IRC Bot: Open Source

    I didn't compile or run it so I'm mostly making aesthetic or maintainability related comments.

    Code:
    Writeln(Me.rtbConsole, "Verion: " & Application.ProductVersion, "Verdana", 8, Color.Green, 0)
    Verion -> Version

    Code:
    Writeln(Me.rtbConsole, "Minion IRC Bot", "Verdana", 8, Color.Green, 5)
    Use Application.ProductName variable instead of raw string similar to what you did for version.

    Code:
    Writeln(Me.rtbConsole, "Written by: Terrankiller (http://siegetank.net)", "Verdana", 8, Color.Green, 0)
    You could put your own name in Application.CompanyName instead of always having to hardcode.

    Code:
    Public Function RecieveData() As String
    ...
    Dim Msg As String = RecieveData()
    
    I before E except after C. (receive ;))

    It would be nice if you chose a license for your project so that people know their rights with regards to reusing code.

    Also, hosting your project on some kind of online project/code hosting makes contributing easier for others and thus allows for more of it. I'm not sure if you were waiting till you got further before doing this but there's no real downside to putting it up early. (e.g BitBucket, Codeplex, Github, Google Code, SourceForge)
     
  6. Terrankiller

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1
    Minion IRC Bot: Open Source

    Whoops LOL.
     
  7. Terrankiller

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1
    Minion IRC Bot: Open Source

    If anyone has ideas for bot commands you can post in this thread or PM me. I am currently working on cleaning up the RecieveData function (ReceiveData now LOL) making it more efficient. I am also going to start working on the ExecuteCommand function making it actually do stuff.
     
  8. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    Minion IRC Bot: Open Source

  9. Terrankiller

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1
    Minion IRC Bot: Open Source

    Thanks :D. I will look into that whenever I get the time.
     
  10. Terrankiller

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1
    Minion IRC Bot: Open Source

    I am getting close to the 2nd release. I have cleaned up a few functions and now we can execute a few commands with parameters!

    [​IMG]

    [​IMG]
     
  11. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    Minion IRC Bot: Open Source

    while you work on the parameter engine, i can sort out the user list if you'd like.
     
  12. Terrankiller

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1
    Minion IRC Bot: Open Source

    Go for it. Also if anyone knows anything about google and youtube API let me know because I have a few questions for incorporating it into a .net application.
     
  13. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    Minion IRC Bot: Open Source

    Righto i'll start on that, unfortunately i don't know anything about the API's but i'd say there would be information out there on them.

    Also it seems you don't know about the .NET settings, so you can do away with the ini settings you have.

    Just use My.Settings
    You can set them in PROJECT > [PROJECT NAME] PROPERTIES then select the SETTINGS tab.

    Might take you a little bit to get used to but they are VERY usefull, also use the my.settings.save to save your settings when you exit your program ;)

    EDIT:
    You can set what type of settings it is (string, integer, boolean etc) and also whether it's an 'application' or 'user' setting, application settings cannot be changed, while user settings can be changed.
     
  14. Terrankiller

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1
    Minion IRC Bot: Open Source

    The thing is I was going for a bot that can load multiple profiles. Can you do that with the .net settings? (Well I am sure you could probably).
     
  15. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    Minion IRC Bot: Open Source

    Ahh i see, yer that'll be a let down then ;).
    I'm pretty sure it will only load different windows profiles.
     
  16. Terrankiller

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1
    Minion IRC Bot: Open Source

  17. blindkilla

    blindkilla Guru
    $25 USD Donor New

    Joined:
    Jun 22, 2005
    Posts:
    1,896
    Referrals:
    0
    Sythe Gold:
    6
    Discord Unique ID:
    282000633404456960
    Discord Username:
    sogord
    Minion IRC Bot: Open Source

    I might code up a command or two for it. But I really dislike the syntax of VB.

    Either way, respect for open-sourcing your program.
     
  18. Terrankiller

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1
    Minion IRC Bot: Open Source

    I am going to do a rewrite of the socket data receiving method as jakash3's method is inefficient. I am going to use a callback for this other than a loop.
     
< A little help with a project please... | Qbasic help >


 
 
Adblock breaks this site