VhaBot Development
Obtaining the source
SVN Client
In order to get a copy of vhabot's source you need an svn client.
You can download a very user friendly svn client right here: http://tortoisesvn.net/downloads
(Remember to restart your computer after completing the installation if instructed to do so)
Preparations
- Decide where you want to place your bot files, for example: C:\code\vhabot\
- Create an empty directory which should contain the bot files (in the example: C:\code\vhabot\)
Checking Out
- Go to the directory that contains the newly created source directory (in the example: C:\code)
- Now right click the source directory (in the example: vhabot)
- Click on "SVN Checkout". A Checkout dialog will appear.
- In the field "URL of repository" place the following URL: http://code.vhabot.net/svn/vhabot/trunk
- Click OK.
For those who who prefer the command line:
svn co http://code.vhabot.net/svn/vhabot/trunk
Remember, you only need to do a checkout once, after the first checkout you can follow the following steps to easily update to the latest version:
- Go to the directory that contains the source directory (in the example: C:\code)
- Now right click the source directory (in the example: vhabot)
- Click "SVN Update".
Exporting
- Go to the directory that contains the newly created source directory (in the example: C:\code)
- Now right click the source directory (in the example: vhabot)
- Click on "TortoiseSVN" -> "Export..." An export dialog will appear.
- In the field "URL of repository" place the following URL: http://code.vhabot.net/svn/vhabot/trunk
- Click OK.
For those who would like the command line args:
svn export http://code.vhabot.net/svn/vhabot/trunk
TortoiseSVN should now start downloading all the source files.
To update the files, simply repeat this procedure.
Contributors
If you make any core modifications, and you feel that they would be helpful for the official release, please create a new thread in the developers section with the changed code (including comments in the code).
The preferred method for contributions are .patch files. TortoiseSVN should be able to generate these for you.
Of course any contribution will be fully credited and is always much appreciated.
Disclaimer
VhaBot? SVN is always "work in progress". Therefore, it may or may not work right away. A fix will be commited when available by one of the developers.
The stable release packages are recommend if you desire stability. The latest version can always be found on the release forum.
If you are a normal user, and don't do much or any code changing, stick with the release packages. It's just less of a headache on you.
