polonium bug

  • kobalt
    9th Apr 2019 Member 0 Permalink

    ID:2407632

    when i first opened up with the decayed polonium the protons would instantly absorb from far away the polo, but when i reloaded it it stopped doing that. how do i replicate this and did everyone else know that this happens?

  • jacob1
    10th Apr 2019 Developer 1 Permalink
    The difference after save / reload is because that recalculated the particle order and indexes, starting at ID#0. The bug only showed up in the original particle order.

    In the original order, particle 0 was deleted, so your newly created PROT was ID#0. A bug in POLO caused it to check if ID#0 was PROT if there were no other energy particles nearby. Bugs with particle 0 are pretty common ... after checking out your save I guessed it was that before even looking at the code :P

    Fixed for the next version: https://github.com/ThePowderToy/The-Powder-Toy/commit/76a92d75d269b4e73e19dd7d1e8e02997fdb3b29
  • kobalt
    11th Apr 2019 Member 0 Permalink

    I was looking back into the original save of the anomaly and i just loaded it and its still doing the bug

    ill see if i can digitally record it

     I managed to record it happening!

    https://youtu.be/9pOveombBWc

    Edited 2 times by kobalt. Last: 11th Apr 2019
  • jacob1
    11th Apr 2019 Developer 1 Permalink
    @kobalt (View Post)
    Well I didn't hack into your computer and fix it there ... so yeah.

    But it's definitely already fixed, for the next version, as I said.