Skip to content

entity server script not ending properly when reloaded or replaced with another #654

Open
@shocktail39

Description

@shocktail39

i've been working on making the clock from majora's mask in overte. it mostly works, but when the server script reloads, the previous script keeps running.

to reproduce, go into a server, rez the model at this url https://shocktail.social/overte/items/termina_clock/termina_clock.glb and attach the server script at this url https://shocktail.social/overte/items/termina_clock/termina_clock.js . you should see that the initial model now has three children: the hour hand, the minute hand, and an AM/PM panel, and at the start of the next minute, they will rotate to match the current time.

next, replace the server script with https://shocktail.social/overte/items/termina_clock/lets_break_it.js . this script deletes all children, and then only adds the minute hand; it also does nothing to animate the clock. the hour hand and AM/PM panel will still be there though, as well as two minute hands. and what's more is they'll still spin as if termina_clock.js is still running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv8Bugs related to the new V8 scripting engine

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions