Looking for a mod

  • makedamnnsure
    4th Apr 2019 Member 0 Permalink

    Hey guys, I had a modded version of TPT I downloaded around 6 months ago or so that ran slightly faster than Jacob's mod, its main function was no upper limit to temperature and new state changes. When an element got too hot it was destroyed in a burst of energy.

    I know these aren't very specific concepts but if anyone can help me out I would appreciate it. I think it was a mod, and I used the console command to run the script manager. It may have been a script though that provided the same functionality.

    I accidentally deleted my copy and I can't find it anymore

  • Cracker1000
    4th Apr 2019 Member 2 Permalink

    @makedamnnsure (View Post)

    If you can tell something about the title it will be a lot easier.

    But according to your description is it this mod?

     https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=23002&PageNum=1

    Also you can install script manager by opening console and typing tpt.getscript(1, "autorun.lua", 1)

  • makedamnnsure
    6th Apr 2019 Member 0 Permalink

    Hey thankyou so much! this was the mod! I'm having trouble installing the script manager though, it's prompting me to overwrite autorun.lua and after I accept nothing changes, even after restarting. Any tips? I opened the autorun.lua file from the mod and it looks like it's compatible with scripts, so I don't know why it's not working.

    edit: I'm getting the error: attempt to call field 'register_step' (a nil value)

    Edited once by makedamnnsure. Last: 6th Apr 2019
  • jacob1
    7th Apr 2019 Developer 0 Permalink
    @makedamnnsure (View Post)
    What version of TPT are you using? Is it the latest 94.1 release?
    Also what platform?

    tpt.register_step was deprecated and removed in Version 94.0, but exists via a compatibility script. This compatibility script is supposed to always be loaded into TPT, so I find it strange that you don't have this script.

    You could download this script then add dofile("scriptcompat.lua") to the top of autorun.lua or something (would get overwritten on script manager updates). But I'd like to figure out why you don't have the script compat script running.
  • makedamnnsure
    10th Apr 2019 Member 0 Permalink

    @jacob1 (View Post)

     

    hey, Jacob. I downloaded both the 4.0 and the snapshot of The Realistic Physics Mod. After running tpt.getscript(1, "autorun.lua", 1) it asked me to install the script and it downloaded Cracker64's Autorun Script Manager The autorun to end all autoruns Version 3.11.

    This autorun doesn't work on the mod, but it does work on yours. So it's probably a version issue. The compatibility script did work btw, thanks for the help.

    If you ever need someone to stress test a version of TPT or something lmk, I guarantee I can break it lol

  • jacob1
    10th Apr 2019 Developer 0 Permalink
    @makedamnnsure (View Post)
    Very strange ... it seems to be a bug in the Windows version of that mod. The author was having trouble with the event api when he released it, because Windows compilation was broken at the time. Anyway, the issue only affects that mod.
    Edit: And I just found the issue in that mod, I'll ask the mod author to fix it.

    You can test any version or mod of TPT you want, the authors would probably appreciate it :P
    Edited once by jacob1. Last: 10th Apr 2019