TPT Snapshots / Betas

  • jacob1
    16th February Developer 0 Permalink
    Snapshot 383 2025-02-15
    • Fix gravity leaking through gravity wall for a frame when undoing (since long ago)
    • Make gravity mask accessible from Lua
    • Cap VIBR .tmp and explosion .temp
    • Fix compatibility sim.TOOL_* constants (since 99.0)
    • Fix rx/ry arguments to sim.toolBox (since 99.0)
    • Fix !set commands defaulting to Kelvin, instead of to current temperature scale (since 99.0)
    • Fix possible game crash when using invalid coordinates in !bubble (since long ago)
    • Fix prop sampling ignoring temperature scale (since long ago)
    Edited once by jacob1. Last: 16th February
  • jacob1
    22nd February Developer 0 Permalink
    Snapshot 384 2025-02-21
    • Fixed a typo in the rules (via ClayStan404 #994) (since long ago)
    • Fix infinite pressure / velocity bug in the bottom right corner (since long ago)
    • Fix missing elements and spurious warning in certain saves made between versions 78.1 and 96.0 (since snapshot 378 or version 99.1)
    • Change to version 99.3 (Build 384)
  • jacob1
    4th March Developer 0 Permalink
    Snapshot 385 2025-03-03
    • Update / improve many element descriptions (via Rebmiami #983)
    • Add heat conduction to pipes (via JasonS05 #976)
    • Allow creating heat pipes by replacing BRCK with HEAC before color generation
    • Preserve deco in pipe, as long as the pipe wasn't already decorated


    This snapshot has new features, for once. Heat pipes are actually very cool. That means the pipe itself conducts heat to itself and to elements inside it. It actually makes for a great heat conductor. Not as much as HEAC but still great.

    I also made pipes preserve deco color. It's something I tried doing years ago, but had to revert it because it broke saves with pre-decoed pipe. It should work fine now.
  • Jerehmia
    4th March Member 0 Permalink

    The linux version crashed while running id:3215137 I was checking if the changes to PIPE had consequences for the coal burner because it uses PIPE partially covered with HEAC.

     

    crash.log:

     

    ERROR - Details: Memory read/write error
    An unrecoverable fault has occurred, please report it by visiting the website below

      https://powdertoy.co.uk

    An attempt will be made to save all of this information to crash.log in your data folder.
    Please attach this file to your report.

    Version: 99.3 X86_64-LINUX-GNU SNAPSHOT 385 LUACONSOLE HTTPS
    Tag: d2f8379
    Date: 2025-03-04T12:21:13Z
    Stack trace; Main is at 0x435040:
     - /home/gv/Downloads/powdersnapshot-snapshot-385-x86_64-linux-gnu() [0x591897]
     - /home/gv/Downloads/powdersnapshot-snapshot-385-x86_64-linux-gnu() [0x432d49]
     - /lib64/libc.so.6(+0x3e9a0) [0x7f93355c29a0]
     - /home/gv/Downloads/powdersnapshot-snapshot-385-x86_64-linux-gnu() [0x576a7a]
     - /home/gv/Downloads/powdersnapshot-snapshot-385-x86_64-linux-gnu() [0x4a54a7]
     - /home/gv/Downloads/powdersnapshot-snapshot-385-x86_64-linux-gnu() [0x4c3df2]
     - /home/gv/Downloads/powdersnapshot-snapshot-385-x86_64-linux-gnu() [0x4339cd]
     - /home/gv/Downloads/powdersnapshot-snapshot-385-x86_64-linux-gnu() [0x43781d]
     - /lib64/libc.so.6(+0x2814a) [0x7f93355ac14a]
     - /lib64/libc.so.6(__libc_start_main+0x8b) [0x7f93355ac20b]
     - /home/gv/Downloads/powdersnapshot-snapshot-385-x86_64-linux-gnu() [0x42e5c5]

     

  • jacob1
    4th March Developer 1 Permalink
    @Jerehmia (View Post)
    Thanks. Looks like some heat-pipe related changes broke it. The crash happens when VIBR tries to release heat. I fixed it for the next snapshot.

    Your save shouldn't break. The HEAC-PIPE reaction only happens if the PIPE is newly generated, so all existing saves should be fine (unless they generate the PIPE paths on the fly after the save is loaded)
  • Jerehmia
    4th March Member 0 Permalink

    Thanks for the quick response. It looks like there are more unexpected changes to the flow of heat, the cold exhaust of the CFLM rocket engines in id:2944844 now flows up instead of down and breaks the save after a while. This could be related to ambient heat.

  • jacob1
    13th March Developer 0 Permalink
    Snapshot 386 2025-03-12
    • Fix crash when VIBR releases heat during explosion (since 385)
    • Restrict some of the Lua API to interface events
    • Change TPT -> The Powder Toy in credits ui


    The Lua API restrictions are documented here. Non-sim things like evt.tick, keyboard / mouse handlers, and interface api stuff all count as "interface events". But the rest, such as particle update functions and simulation callback events, are non-interface events. A large amount of functions are restricted from being called or having their setters run there.

    The reason for all these restrictions is to help plan for future UI rewrites. Our Lua API is a bit too "open" right now, it means we can't change the fundamental UI / threading model without breaking certain API calls. Doing the Lua stuff in advance helps make that simpler, it's better to break them now than later. As far as I can tell, most scripts are fine. Even the big ones like TPTMP. If any script is broken, please let us know.
    Edited once by jacob1. Last: 16th March
  • Jerehmia
    13th March Member 0 Permalink

    I can confirm that it no longer crashes, but save id:2944844 still breaks after a few minutes when the CFLM rises all the way to the crane and blocks it. It's my 300+ vote page 18 save and I don't know how to fix it (I'm not bothered by the changes to PIPE but the save breaks on ambient heat working differently now).

  • EnganK
    13th March Member 0 Permalink
    I just got the described behavior on the current stable version of TPT. It looks like if there were any changes to aheat, they were made before the snapshots
  • Jerehmia
    13th March Member 0 Permalink

    Oh, I didn't notice that when I checked (I use mark2222'a mod by default, which hasn't been update for ages). Edit: removed the overly dramatic part of my response.

     

    Edit2: As it turns out this change broke every save with anbient heat enabled I made. I'm NEVER going to build something with ambient heat enabled again.

    Edited 2 times by Jerehmia. Last: 15th March