• Log in or sign up for an account here: https://www.sythe.org/login

Minion IRC Bot: Open Source

Terrankiller

Ex-Administrator

Retired Administrator
Visual Basic Programmers
Joined
May 7, 2005
Sythe Gold
1
Messages
1,286
Location
California
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

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

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

Looks pretty sweet so far, do you want any help coding bits n peices?
 
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)
 
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.
 
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!

bot_test_1.png


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

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.
 
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).
 
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.
 
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.
 
Runescape Gamblingrunescape gambling
Back
Top