Issue835

Title FreedroidRPG 0.16rc2 encountered a problem in function: find_free_bullet_index
Priority bug Status resolved
Assigned To Keywords
Linked issues Watchers

Submitted on 2015-09-15 09h09 by Appoox, last changed by jesusalva.

Messages
Author: Appoox Date: 2015-09-15   09h09
Now respawning all bots on level : 8. 
---------------------------------------------------------------------------------
FreedroidRPG 0.16rc2 encountered a problem in function: find_free_bullet_index
I seem to have run out of free bullet entries.  This can't normally happen.  -->
some bug in here, oh no...


If you encounter this message, please inform the FreedroidRPG developers about it!
You can
  send an e-mail to                    freedroid-discussion AT lists.sourceforge.net
  mention it on our IRC channel        #freedroid on irc.freenode.net
  or report the bug on our tracker at  http://bugs.freedroid.org/

Thank you!
Author: matthiaskrgr Date: 2015-10-10   09h29
Can you give us some additional information? (what level were you on, were there
bots involved, can you reproduce this or was it just something you found in
console (if that's the case, there is not a lot we can do I fear))

Do you have a savegame of when it happened?
Author: greg Date: 2015-10-15   21h00
100 bullets maximum in the air is maybe a little short
Author: fluzz Date: 2015-11-01   17h36
A temporary fix was pushed in commit 836d6b2, preventing the game to stop.

However, that's not a proper fix. The static arrays currently used should be
replaced by dynarrays. I keep the ticket open, lowering its priority to 'bug'.
Author: jesusalva Date: 2018-01-11   21h52
Closing ticket as issue seems to be solved at commit febade55b at 2016-08-02.
Follows the git log. If this problem persists or is not fixed, by all means
reopen this ticket.
-----------------------------------------

commit febade55b24249ced2a55a1504f4ff007c92abb0
Author: fluzz <fluzz@gmx.com>
Date:   Tue Aug 2 17:44:59 2016 +0200

    Use a sparse dynarray to store bullets, instead of a static C array.
    
    Also change some names, to comply to our naming convention.

commit 029f403269e5c054beb04581e8f1eff7cfbbfcf4
Author: Gregory Lozet <gregorylozet@gmail.com>
Date:   Mon Aug 8 23:11:32 2016 +0200

    Use a sparse dynarray to store blasts, instead of a static C array.
    
    Also apply some renaming to comply to our naming convention.

commit f677b5bc750ec49c3e4412054e053e2167e2c77a
Author: Gregory Lozet <gregorylozet@gmail.com>
Date:   Mon Aug 8 22:10:26 2016 +0200

    Use a sparse dynarray to store melee shots, instead of a static C array.
    
    Also apply some renaming to comply to our naming convention.
History
Date User Action Args
2018-01-11 21:52:55jesusalvasetstatus: open -> resolved
messages: + msg3530
2015-11-01 17:36:44fluzzsetpriority: 0.16 rc bugs -> bug
messages: + msg3272
2015-10-15 21:00:10gregsetmessages: + msg3257
2015-10-10 09:29:39matthiaskrgrsetmessages: + msg3256
2015-09-15 09:09:12Appooxcreate