Bug in current version of TPT

  • Videogamer555
    31st Aug 2016 Member 0 Permalink
    The most recent version of TPT (91.5) has this bug where powdered material spreads out farther to the right than to the left. To replicate the bug, hold control and drag out a box of a powder. You will notice it sluffs off on both the left and the right, but it sluffs off way more on the right, so that the slope on the right is much flatter than the slope on the left. On the left, it stops sluffing when the slope makes about a 45 degree angle to the ground. On the right, it stops sluffing when the slope makes a much shallower angle.

    Just noticed another bug. The element COAL no longer absorbs neutrons. It used to absorb neutrons, which allowed it to behave like the actual carbon control rods in a nuclear power plant, but now neutrons just bounce off of it, just as with any other solid substance in TPT.
    Edited once by Videogamer555. Last: 31st Aug 2016
  • jacob1
    1st Sep 2016 Developer 0 Permalink
    @Videogamer555 (View Post)
    In the end it won't be any steeper than 45 degrees. There might be some oddities with how it all works due to the order the particles are created in, but it seemed pretty normal to me.

    COAL absorbs neutrons when it gets turned into WOOD (since COAL + NEUT = WOOD). I don't think anything has changed here. It isn't a guaranteed reaction so a lot bounce off, and always have.
  • Videogamer555
    13th Sep 2016 Member 1 Permalink
    The first bug (the one about how powders slough off differently on left and right sides now), is in fact a bug. It NEVER used to do that. When you did ctrl+drag to make a square of a powdered material, it would ALWAYS end up with 45deg slopes. Now it doesn't. I don't know if this is the unintentional result of some kind of optimizing that you developers did in order to speed up some other aspect of the game by simplifying one of the algorithms, but whatever is the cause, it is not a nice outcome. I've depended on being able to make triangles and trapezoids with 45deg slopes on BOTH sides, by simply creating squares and rectangles of a powder, and then letting gravity do the work of making the triangle or trapezoid. The bug that you developers introduced into TPT makes this technique no longer work. Please look into what might be the cause of this, and fix the bug. Thanks in advance.
  • jacob1
    13th Sep 2016 Developer 0 Permalink
    @Videogamer555 (View Post)
    We changed the order that boxes create particles in due to another bug with movement.

    I just went and looked for the commit that changes it, it is here: https://github.com/simtr/The-Powder-Toy/commit/57409b0b4113c7e08d2dd392584ead248b774cb5

    It looks like with the old way, liquids had buggy movement. And with the new way, powders do. It should be easy to change it so that only powders use the old way.
    Edited once by jacob1. Last: 13th Sep 2016