zloop1982 / bwapi

Automatically exported from code.google.com/p/bwapi
0 stars 0 forks source link

Bullets not initialized properly #411

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
BWAPI client bullets aren't initialized properly or something.

TODO: Check it out. ;o

Original issue reported on code.google.com by AHeinerm on 18 Oct 2011 at 3:09

GoogleCodeExporter commented 9 years ago
I can reproduce this by:
0) using BWAPI as a client
1) start a game with dragoons and let them fire (I used the AIIDE 2010 Micro 
Tournament map)
2) then quit the mission and restart it (I did that automatically using the 
BWAPI.ini and the Chaoslauncher)
3) now BWAPI::Broodwar->getBullets() sometimes returns non existent bullets.

Original comment by jsch...@murmin.com on 18 Oct 2011 at 5:20

GoogleCodeExporter commented 9 years ago

Original comment by AHeinerm on 31 Oct 2011 at 10:31

GoogleCodeExporter commented 9 years ago
Can't seem to figure this one out.

Original comment by AHeinerm on 31 Oct 2011 at 10:59

GoogleCodeExporter commented 9 years ago
My description, or why it is happening?

Original comment by jsch...@murmin.com on 31 Oct 2011 at 11:12

GoogleCodeExporter commented 9 years ago
(if you can't reproduce it, I can try writing a small client that reprocudes it)

Original comment by jsch...@murmin.com on 31 Oct 2011 at 11:15

GoogleCodeExporter commented 9 years ago
I can reproduce it, I can't figure out what is causing it. The data appears to 
reset every frame. I've tried additional memory initialization, addition 
initialization of sets and arrays, and it doesn't have any effect.

Original comment by AHeinerm on 1 Nov 2011 at 4:02

GoogleCodeExporter commented 9 years ago
It is also only unique to the BWAPI client, which makes debugging that much 
more difficult.

Original comment by AHeinerm on 1 Nov 2011 at 4:04

GoogleCodeExporter commented 9 years ago
Fixed in r4000.
Please verify.

Original comment by AHeinerm on 27 Dec 2011 at 2:37