[Defconapi] Loading debug symbols without user intervention

Luke Meyers n.luke.meyers at gmail.com
Thu Mar 26 11:24:06 CDT 2009


Hi Chong-U,

Thanks for your reply.  I have been using the command-line option to
specify my AI DLL, and it works as far as loading up the bot.  It's
just the debug symbols that fail.  I guess it's not such a huge deal
since in any truly automated runs I wouldn't care about hitting
breakpoints and such, but it's still odd (and a little bit of a hassle
to race against that 5-second timer).  I'll probably learn to live
with it though, unless someone else has an idea.

Good luck on your project!

Cheers,
Luke

On Thu, Mar 26, 2009 at 5:52 AM, Chong-U Lim <cl2006 at doc.ic.ac.uk> wrote:
> Hey Luke,
>
> I'm writing a bot for my final year BEng individual project, hehe, and I
> happen to be focusing quite a bit on genetic algorithms ;) I don't have
> any formal write up and my wiki is quite out of date ( as it's
> examinations period now ), but I'm always happy to discuss anything
> regarding the bot.
>
> Pertaining to your question, there should be a command-line argument
> that goes something like AI="<path to dll here>" which should automate
> the selection of the AI bot automatically, rather than relying on you to
> select it from the drop down box. I, personally, have used that quite a
> fair bit, so I'm pretty sure it works... though it's important to get
> the relative directory path correct.
>
> Do follow up if anything doesn't work.
>
> All the best!
>
> -Chong-U
>
> Luke Meyers wrote:
>> Okay, writing again a little sooner than I thought :)
>>
>> I've got a skeleton for my own bot now, based on simplebot.  I played
>> around with the command line args and have been able to launch the
>> game with debugger attached and set breakpoints and such.  However,
>> there's one snag -- Visual Studio doesn't load the symbols unless I
>> physically click and select my bot from the dropdown on the battle
>> lobby.  This kind of puts a chink in my plans for fully touchless
>> world domination.
>>
>> I can understand why the symbols wouldn't be loaded right at launch,
>> since it's choosing an AI DLL to load at runtime, but once it's
>> actually got the game up and running it's obviously got the bot loaded
>> because I can see the bot's behavior.  The command line option to
>> choose the AI performs the same function and should make twiddling
>> this UI widget unnecessary, but it fails to load the debug symbols.
>>
>> Anyone else have this problem?  Any solutions?
>> _______________________________________________
>> 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