VB AI Hello world
Posted: 02 Nov 2006, 06:17
VB AI Hello World
http://manageddreams.com/csai/testvbai.zip
To use:
*copy bot-libs\vbailoader.dll and bot-libs\vbailoader.xml into taspring\ai\bot-libs
*copy vbai\csai.dll and vbai\csai.pdb into taspring\ai\vbai (create the vbai directory)
*create a multiplayer game, and add bot "vbailoader.dll"
*it should say "Hello world from vb" when it starts up
To compile:
*open a commandline prompt (Run, Start..., "cmd", press enter)
*navigate to the vbai directory
*add vbc to the path, type:
**set PATH=%PATH%;%WINDIR%\Microsoft.Net\Framework\v2.0.50727
*compile CSAI.vb, type:
*vbc /debug /target:library CSAI.vb /reference:csaiinterfaces.dll
*copy the new CSAI.dll and CSAI.pdb into taspring\ai\vbai, overwriting the files that are currently there
http://manageddreams.com/csai/testvbai.zip
To use:
*copy bot-libs\vbailoader.dll and bot-libs\vbailoader.xml into taspring\ai\bot-libs
*copy vbai\csai.dll and vbai\csai.pdb into taspring\ai\vbai (create the vbai directory)
*create a multiplayer game, and add bot "vbailoader.dll"
*it should say "Hello world from vb" when it starts up
To compile:
*open a commandline prompt (Run, Start..., "cmd", press enter)
*navigate to the vbai directory
*add vbc to the path, type:
**set PATH=%PATH%;%WINDIR%\Microsoft.Net\Framework\v2.0.50727
*compile CSAI.vb, type:
*vbc /debug /target:library CSAI.vb /reference:csaiinterfaces.dll
*copy the new CSAI.dll and CSAI.pdb into taspring\ai\vbai, overwriting the files that are currently there