
Src/main.c (line 1738) : Memory leak: part_vbuf. Src/main.c (line 3407) : Undefined behavior: variable is used as parameter and destination in sprintf(). Src/main.c (line 640) : Using sizeof for array given as function argument returns the size of pointer. Src/main.c (line 2365) : Possible null pointer dereference: load_data - otherwise it is redundant to check if load_data is null at line 2367. Src/interface.c (line 5449) : Memory leak: savefname. Src/interface.c (line 5348) : Memory leak: save. Src/interface.c (line 3148) : Possible null pointer dereference: id_d_temp - otherwise it is redundant to check if id_d_temp is null at line 3152. Src/graphics.c (line 114) : Memory leak: result. I was curious about this project and I tried cppcheck, the great static C/C++ analyzer, on the code. I think the crash happens at line 420 of http.cpp (actually 248 of ThumbnailBroker.cpp - if(http_async_req_status( req.HTTPContext))), i'm not sure if that's changed to a new line though undefined reference to `clock_gettime' jacob1: yeah, TPT keeps a socket open even if the server is done sending stuff when I exit, it still crashes, because it has open connections I noticed it crashed in visual studio because of something like that jacob1: btw, LAST_ACK means you received connection close but you havent closed it yet They were all on LAST_ACK so there may be something in that were you browsing the save search earlier?

How come the Powder Toy is responsible for 36 out of the 45 open TCP connections on my machine? Does it really need that many connections? Does it really need a connection at all, given that I have no account and was not browsing the user-submitted simulations? Redirects output to stdout.txt / stderr.txt Rotate selected area counterclockwise when pasting stampsĭirectory used for saving stamps and preferences Vertical mirror for selected area when pasting stamps Horizontal mirror for selected area when pasting stamps
THE POWDER TOY FREE DOWNLOAD INSTALL
Install powder toy, for loading saves/stamps by double clicking

Save stamp (use with Ctrl when STK2 is out)ĭebug mode (use with Ctrl when STK2 is out)Ĭycle gravity modes (use with Ctrl when STK2 is out) Switch between circle/square/triangle brush

The rest of the game is learning what happens next.
THE POWDER TOY FREE DOWNLOAD CODE
The Powder Toy is free and the source code is distributed under the GNU General Public License, so you can modify the game yourself or help with development. There is a Lua API – you can automate your work or even make plugins for the game. You can browse and play thousands of different saves made by the community or upload your own – we welcome your creations! You can then mine them and watch cool explosions, add intricate wirings, play with little stickmen or operate your machine. The Powder Toy is a free physics sandbox game, which simulates air pressure and velocity, heat, gravity and a countless number of interactions between different substances! The game provides you with various building materials, liquids, gases and electronic components which can be used to construct complex machines, guns, bombs, realistic terrains and almost anything else. Have you ever wanted to blow something up? Or maybe you always dreamt of operating an atomic power plant? Do you have a will to develop your own CPU? The Powder Toy lets you to do all of these, and even more! You can also visit the official TPT forum. To use online features such as saving, you need to register an account.

Get the latest version from the Powder Toy website.
