TPT Snapshots / Betas

  • jacob1
    18th Dec 2015 Developer 0 Permalink
    @jward212 (View Post)
    Well I was thinking about this, and this snapshot might break some stuff. I'll have to check and maybe add some exceptions if that is the case. But I released it anyway for testing :)

    And yes, you don't need to put .State in lua scripts at all anymore. I was actually using more fuel mod-heavy to test it. Turns out it was a terrible test subject. A bunch of the elements don't move at all for some unknown reason (probably a bug in a previous snapshot)

    Also you aren't even setting state at all. You have a bunch of stuff like this: elements.property(elements.JWARD_PT_PTRL, "State", ST_LIQUID), or this: elements.property(elements.JWARD_PT_JETB, "State", ST_liquid). This just sets it to nil. You are doing the same with .Properties. I suggest you go through the script and fix all those. Also, you can leave in setting state to support older TPT versions. And maybe you should use elem.SC_<menusection> for menusections.


    For GoL, maybe later :P.
    Edited once by jacob1. Last: 18th Dec 2015
  • jward212
    19th Dec 2015 Member 0 Permalink

    yeap, that's what I get for writing it when I was 13 :P

    so much is wrong about it, unoptimised, erroring, broken. 

    I guess I'll have time to fix it during these summer holidays

     

    earth :P

    Like my attempts of not letting my saves fall to waste? :P

    Edited once by jward212. Last: 19th Dec 2015
  • jacob1
    19th Dec 2015 Developer 0 Permalink
    New snapshot #19:
    Fix being unable to set floating point values in element.property (broke scripts)
    Fix STKM being unable to pick up most energy particles, or LOLZ/LOVE (broken in previous snapshot)
    Redo EMP triggering to fix all lag when multiple EMP go off at once
    Reduce ETRD lag (prevents most ETRD lag bombs)
    Make sure ETRD can't conduct to particles before their .life cooldown period runs out


    To @jeffluo35, I'd just like to say HA I get a solid 10fps on your lag bomb now. Once 91.0 comes out it will be useless for crashing people on TPTMP.

    Also, thank @jacksonmj for all the lag fixes, he worked out the probabilities to keep EMP working the same as before (complicated O_o), and figured out how to best reduce ETRD lag.

    Also, I fixed @jward212's more fuel mod script in this update. Apparently a change I made broke it back in January, and I guess nobody noticed? Isn't that supposed to be the point of the snapshot server >:
    Edited 2 times by jacob1. Last: 19th Dec 2015
  • Sandwichlizard
    19th Dec 2015 Member 0 Permalink

    Huge problem dude.  the save I have been building has no emp in it.  now when I spark my buttons its as if a EMP is going off and the whole save is toast.

    Edited once by Sandwichlizard. Last: 19th Dec 2015
  • jacob1
    19th Dec 2015 Developer 0 Permalink
    @Sandwichlizard (View Post)
    Can I have a link to the save? It isn't doing that for me ...

    Edit nevermind, it will be fixed in a second
    Edited once by jacob1. Last: 19th Dec 2015
  • Sandwichlizard
    19th Dec 2015 Member 0 Permalink

    I figured it out.  when you have INST>NSCN>INWR  and spark the INST it becomes and EMP bomb.

  • jacob1
    19th Dec 2015 Developer 0 Permalink
  • Sandwichlizard
    19th Dec 2015 Member 0 Permalink

    Awesome.  Seems good.  Also I have been tuning my current project for speed, trying to keep the particle count low.   I have an i3 processor running windows 8.1, the save has about 12000 particles.  I have noticed an increase in FPS with the successive releases of the Snapshots.  you have obviously made some changes that have improved efficiency.  The unpaused fps has gone from about 125 to 150 over the last few snapshots.  Thanks.

    Edited once by Sandwichlizard. Last: 19th Dec 2015
  • jacob1
    19th Dec 2015 Developer 0 Permalink
    @Sandwichlizard (View Post)
    If anything, that's actually all from snapshot 14. In that snapshot I created a new build server and finally enabled sse2 on windows. Snapshot 4 also made a bunch of efficiency improvements. But yeah, overall there are many improvements everywhere since 90.2.
  • Sandwichlizard
    19th Dec 2015 Member 0 Permalink

    cool is cool.  nice job dude!