[Defconapi] Problem building SimpleBot
cl2006 at doc.ic.ac.uk
cl2006 at doc.ic.ac.uk
Thu Aug 6 12:49:42 CDT 2009
Another thing to note is that I had trouble getting it to work with older versions of Visual Studio ( anything less than 2008 ) so that might be another reason for the observed behaviour.
On Wed, 5 Aug 2009, spooq wrote:
> You need to use the latest beta version from Robins page.
>
> Don't worry about the dll size, different compilers will have
> different output and it might be a release/debug difference as well.
>
> 2009/8/5 Dan <danlambeth at hotmail.com>:
>> Hi,
>>
>>
>>
>> I have a problem getting Defcon to work with my ai bot .dll. I am using
>> Visual Studio 2003 to compile the source code from SimpleBot. The .dll it
>> creates is actually smaller than the simplebot.dll included in the download
>> package â not sure if this is significant or not, but it is definitely not
>> compiling exactly the same .dll. I have all my options for the Visual Studio
>> project set as required. Two other ai bots I have tested work seemingly
>> correctly (at least they donâÂÂt make Defcon crash), they are the already
>> compiled simplebot.dll and ivai.dll.
>>
>>
>>
>> When I load my bot Defcon crashes back to Windows. I have traced through in
>> Visual Studio and it is in Bot::Initialise when the line
>> m_game->SendChatMessage("/name [Bot]TestBot", CHATCHANNEL_PUBLIC); is
>> executed.
>>
>>
>>
>> Does anyone have any clues as to what is going wrong?
>>
>>
>>
>> Dan
>>
>> _______________________________________________
>> Defconapi mailing list
>> Defconapi at lists.introversion.co.uk
>> http://lists.introversion.co.uk/listinfo/defconapi
>>
>>
> _______________________________________________
> Defconapi mailing list
> Defconapi at lists.introversion.co.uk
> http://lists.introversion.co.uk/listinfo/defconapi
>
More information about the Defconapi
mailing list