[Defconapi] Bugs found

Robin Baumgarten robin.baumgarten at gmail.com
Mon Jun 22 08:14:16 CDT 2009


Hello All,

I've taken note of these bugs and will look at them during the week. Just
some quick thoughts on them:

1) (Switch to debug mode crashes game) You've already mentioned the
work-around, however that should be fixed properly.
2) Please note that the game and api run in one thread, so there should be
no need to use sleep(). The update function is called every tick by the API
and returns control to the game engine upon completion.

If you have more bugs please don't hesitate to contact me, either directly
or through the list.

Robin



2009/6/22 Mark Morris <mark at introversion.co.uk>

> Hey Jieming,
> Thanks for the bug reports.  We have a mailing list that includes the other
> people working on the project and I have copied this mail to that list - you
> should sign up to it here.<http://lists.introversion.co.uk/listinfo/defconapi>  Robin
> Baumgarten is on the list and he wrote the original API so he may know if
> these bugs have work arounds or can be quickly resolved.
>
> m.
>
>
> On 19 Jun 2009, at 15:42, jl602 at student.cs.york.ac.uk wrote:
>
> Hi Mark
>
> My name is Jieming and I'm Daniel's MSc student.
>
> Thanks a lot for the KEY of the DEFCON game. I'm now working on the
> project which is called 'Evolutionary AI Developing for DEFCON Game'. Last
> week, I was tring to code a very basic AI and found 2 bugs which could
> cause the game crash, I list them as follow:
>
> 1. I start the game by the Defcon.exe ( the valid dll file I coded already
> in the right folder), then I switch the debug mode from 'NO' to 'Yes' in
> the hall, and then the game crashed. ( it's not occur occasionally but
> always happen). To avoid the switch action, I start the game by CMD as
> typin 'DEFCON debug', and it's ok. So I think maybe here exist a bug on
> the switch action.
>
> 2. I want to give the player some feelings like the AI play the game as
> same as a human player, so I tried to make the AI place the unit one by
> one(the interval is set to 900ms), I used Sleep() function and then the
> game crashed when I enter the worldmap in DEFCON 5. (it's not occur
> occasionally but always happen)
>
> So I think maybe some function which is THREAD related should be avoided
> for developing the AI? I have no idea on the second bug.
>
> PS:The AI is just coded for placing all the units in the map which is not
> conserning battle stuff.
>
> Thanks again.
>
> Best Wishes
>
> Jieming Liu
>
>
>
>  Mark Morris
> Managing Director
>
> Introversion Software Ltd.
>
> "Science can no more tell us how to live than Religion can decree the age
> of the Earth"
>
>
> _______________________________________________
> Defconapi mailing list
> Defconapi at lists.introversion.co.uk
> http://lists.introversion.co.uk/listinfo/defconapi
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.introversion.co.uk/pipermail/defconapi/attachments/20090622/77953ebe/attachment.htm 


More information about the Defconapi mailing list