Particle Dungeon script

  • TPT_PL
    19th May 2017 Member 2 Permalink
    [removed]
    Edited 5 times by TPT_PL. Last: 3rd Jul 2023
  • tptquantum
    19th May 2017 Member 0 Permalink

    Isn't working in Jacob1's mod. 10:invalid element

  • TPT_PL
    19th May 2017 Member 0 Permalink
    Possibly you just have too many elements. Let's try it on vanilla TPT, it works fine for me.
    Or it's just Jacob's mod that messes up my script.

    @jacob1, problem?
  • tptquantum
    19th May 2017 Member 0 Permalink

    I noticed that @jacob1 's mod disables completely a script if a error occurs. It's annoying as hell

  • docRoboRobert
    19th May 2017 Member 0 Permalink

    Good work! I like this.

  • jacob2
    19th May 2017 Member 1 Permalink
    @tptquantum (View Post)
    @TPT_PL (View Post)
    That definitely sounds like too many elements to me

    It is my #1 priority to increase the element limit in my mod as the next major thing. The version yesterday was just a temporary bugfix release.

    @tptquantum (View Post)
    That is a feature of the script manager, nothing to do with my mod. It has always done that and does it in tpt too

    Edit: it is also the responsibility of the script makers to ensure the script doesn't error when the element limit is reached. You are supposed to check if elements.allocate returns -1. Pretty sure my scripts are the only ones that bother to do this though...
    Edit2: actually no idea if mine do, but I know at least 1-2 will use elements.free to replace the element if the script was already loaded.
    Edited 2 times by jacob2. Last: 19th May 2017
  • tptquantum
    19th May 2017 Member 0 Permalink

    @jacob2 (View Post)

     It's odd, only does that with your mod. Got to run this with no problem and a invalid element error. Might just remove half of my scripts.

     

    EDIT: Works, but enemies aren't fighting.

    Edited once by tptquantum. Last: 19th May 2017
  • TPT_PL
    20th May 2017 Member 0 Permalink
    They move randomly, but look at their life. If it lowers, then yep, they fight.

    And an update!
    Added tabs! (Credits to @TPT_PL)
    Added firebolt (BOLT)! Activated by touch, glows for a while, then ruptures violently!

    @jacob2 (View Post)
    With so many elements, it's hard to check every one of them. Sorry, laziness.
    Edited once by TPT_PL. Last: 20th May 2017
  • Simplerules
    26th Jul 2017 Member 0 Permalink

    u assumed me. u said simple. gahh