Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008260opensim[REGION] Scripting Enginepublic2017-11-01 08:162017-11-08 04:47
ReporterJeffKelley 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version0.9.0 
Target VersionFixed in Version 
Summary0008260: Scripts count not decremented when script deleted inside object
DescriptionThe Active Scripts count is not updated when a script is deleted from a prim.
Steps To ReproduceRez a prim, make a new script.
=> Active Scripts count increments.

Delete script (not the prim).
=> Active Script count do not decrement.

Delete the prim.
=> Active Script count still not decrements.

Your region script count is now incorrect by one. Only restart will clear.
Additional InformationPlaces where Active Scripts count may be seen :
- Viewer Statistics Window
- Monitoring Module (http://sim_ip:sim_port/monitorstats/region_uuid [^])

ScriptStopStrategy is co-op (0.9 default)
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (1 Region per Sim)
Physics EngineBulletSim
EnvironmentMono / Linux64
Mono VersionOther
ViewerFirestorm
Attached Files

- Relationships

-  Notes
(0032392)
UbitUmarov (administrator)
2017-11-01 12:38

OpenSim has no fingers, how do you expect it to count well??
(0032393)
JeffKelley (reporter)
2017-11-01 14:51

Using its toes ?
(0032400)
UbitUmarov (administrator)
2017-11-08 01:14

Nahh.. gave it 2 fingers...
(0032401)
JeffKelley (reporter)
2017-11-08 01:21

Fixed in fcb8b2a
(0032403)
Tron Mcp (reporter)
2017-11-08 04:47
edited on: 2017-11-08 04:54

i know this behavior too (but from 08x), that deleted scripts in Prims, seems to survive.

You can test if you take the prim and click "reset scripts". Only if you get the message "there were no scripts to reset" you can trust.

I found a way to fix it, if i dont delete a running script.
First i open the script and remove the "run" sign.
Then i reset the script, and open it again.

if the "run" is off (sometimes it hangs) then i delete the script.

Now the prim ist clean and will show the " no script to reset" if you try again to reset allscripts in Prim.

If you dont delete script this way you have no chance to remove ghost scrits afterwards. (beside using a database Manager, removing the script Assets, then export and import the region)

We saw this problem in Sims that showed 1200scripts when starting the sim, but we were absolutely shure that less then 400 real scripts were at the sim.

In Database Manager i found "old states" and "deleted" scripts. After killing them, sim worked much better - and no wanted script was lost.


But why this ghosts happend was a mysterium.

One posibility was the use of my firework.
A rocket rezzer that rezzes rockets, that fly physical (with own script), and independent into sky, and after firework deletes themself with llDie. The (mesh)Prims were deleted, but the scripts in the rockets seems to get zombees


- Issue History
Date Modified Username Field Change
2017-11-01 08:16 JeffKelley New Issue
2017-11-01 12:38 UbitUmarov Note Added: 0032392
2017-11-01 14:51 JeffKelley Note Added: 0032393
2017-11-08 01:14 UbitUmarov Note Added: 0032400
2017-11-08 01:21 JeffKelley Note Added: 0032401
2017-11-08 04:47 Tron Mcp Note Added: 0032403
2017-11-08 04:48 Tron Mcp Note Edited: 0032403 View Revisions
2017-11-08 04:54 Tron Mcp Note Edited: 0032403 View Revisions


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker