Minion IRC Bot: Open Source

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

Minion IRC Bot: Open Source
  1. Unread #1 - Sep 9, 2011 at 1:38 PM
  2. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    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]
     
  3. Unread #2 - Sep 10, 2011 at 12:24 AM
  4. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Minion IRC Bot: Open Source

    Looks pretty sweet so far, do you want any help coding bits n peices?
     
  5. Unread #3 - Sep 10, 2011 at 3:20 AM
  6. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Minion IRC Bot: Open Source

    Sure. Feel free to do some coding where you see fit.
     
  7. Unread #4 - Sep 10, 2011 at 6:15 AM
  8. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Minion IRC Bot: Open Source

  9. Unread #5 - Sep 10, 2011 at 8:53 AM
  10. Nullware
    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0

    Nullware Guru

    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)
     
  11. Unread #6 - Sep 10, 2011 at 9:26 AM
  12. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Minion IRC Bot: Open Source

    Whoops LOL.
     
  13. Unread #7 - Sep 11, 2011 at 4:51 PM
  14. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    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.
     
  15. Unread #8 - Sep 12, 2011 at 2:47 AM
  16. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Minion IRC Bot: Open Source

  17. Unread #9 - Sep 12, 2011 at 8:56 AM
  18. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Minion IRC Bot: Open Source

    Thanks :D. I will look into that whenever I get the time.
     
  19. Unread #10 - Sep 13, 2011 at 2:50 AM
  20. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    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]
     
  21. Unread #11 - Sep 13, 2011 at 5:08 AM
  22. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Minion IRC Bot: Open Source

    while you work on the parameter engine, i can sort out the user list if you'd like.
     
  23. Unread #12 - Sep 13, 2011 at 7:23 AM
  24. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    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.
     
  25. Unread #13 - Sep 13, 2011 at 7:47 AM
  26. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    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.
     
  27. Unread #14 - Sep 13, 2011 at 7:51 AM
  28. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    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).
     
  29. Unread #15 - Sep 13, 2011 at 7:54 AM
  30. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    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.
     
  31. Unread #16 - Sep 13, 2011 at 12:31 PM
  32. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Minion IRC Bot: Open Source

  33. Unread #17 - Sep 13, 2011 at 12:52 PM
  34. blindkilla
    Joined:
    Jun 22, 2005
    Posts:
    1,896
    Referrals:
    0
    Sythe Gold:
    6
    Discord Unique ID:
    282000633404456960
    Discord Username:
    sogord

    blindkilla Guru
    $25 USD Donor New

    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.
     
  35. Unread #18 - Sep 20, 2011 at 6:18 PM
  36. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    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 >

Users viewing this thread
1 guest


 
 
Adblock breaks this site