I might have found a bug in jacobs mod..

  • trashgarbage
    7th May 2017 Member 0 Permalink

    So i was messing around in jacobs mod, downloading poorly programmed lua mods, then while i was expirimenting with something the temperature turned to -nan(ind).I cleared the world and it disappeared. I disabled all the mods then opened the PROP tool, chose 'temp' and wrote -nan(ind).It accepted it.I set the tmp of some stuff to temp -nan(ind).Here's what I discovered:

     

    *temp -nan(ind) is very contagious; placing 1 pixel of it will cause everything that is touching it to also be temp -nan(ind)

     

    *temp -nan(ind) + Ambient heat = pressure -nan(ind) everywhere

     

    *temp -nan(ind) objects will not engage in any heat related activity (for example: exploding)

     

    *x and y -nan(ind) will make the pixel disappear

     

    *vx and vy -nan(ind) will make it disappear and generate the same effect as launching something with EXTREME speed using PROP tool.

     

    *-nan(ind) wont work in normal tpt, only jacobs mod

     

    *u can also get -nan using the same method, it will behave basically the same tho

     

    *-nan(ind) wont work in any other property other than the ones mentioned above; it will just turn to 0

     

    I decided not to report it and share it here instead just in case anyone else would like to inspect it and do expiriments before devs eventually remove it

  • jacob1
    7th May 2017 Developer 0 Permalink
    "I decided not to report it and share it here instead just in case anyone else would like to inspect it and do expiriments before devs eventually remove it"

    yes, because I don't read the forums ...

    Edit: fixed for the next version
    Edited once by jacob1. Last: 7th May 2017
  • Alexwall
    8th May 2017 Member 0 Permalink

    when you click report bug on jacob1s mod it sends him a text message

  • trashgarbage
    8th May 2017 Member 0 Permalink

    Well if I only reported and didnt post it on the forum than no one would know about it.. ever.

    Also, by not reporting,I've given people enough time to expiriment with it before it's removed.

    I know jacob checks the forums.

  • nukers473
    11th Jul 2017 Member 0 Permalink

    I have the same thing but I like it.

  • Catelite
    12th Jul 2017 Former Staff 0 Permalink
    Is this something that needs to be fixed? nan and inf are fun! =P
  • jacob1
    12th Jul 2017 Developer 0 Permalink
    @Catelite (View Post)
    It's already fixed in the current version :)

    It just says "Invalid floating point number" now
  • Alexwall
    12th Jul 2017 Member 0 Permalink

    what about math.huge

  • nukers473
    25th Jul 2017 Member 0 Permalink

    math.huge is a Lua term, used to represent a very large number, in TPT this is 9999.

    Edited once by nukers473. Last: 25th Jul 2017
  • jombo23
    26th Jul 2017 Member 0 Permalink

    @nukers473 (View Post)

     

     

    What? No, this is an invalid float. When a float gets to be too crazy, it just gets referred to as "nan" or "inf", and you cant do arithematic on "nan" or "inf", so it corrupts everything around it