Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006445opensim[REGION] Scripting Enginepublic2012-11-28 11:232012-11-28 11:23
ReporterRobert Adams 
Assigned To 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target Versionmaster (dev code)Fixed in Version 
Summary0006445: Vehicle state is not saved with script state
DescriptionVehicle scripts set a bunch of variables for vehicle properties. These settings are not saved and restored with the script. This causes scripted vehicles to not have vehicle features restored when a region is restarted.
Steps To ReproduceRez a "Flying Tako 2.1 SO-0.2 - Touring" in a water region. This particular boat sets the vehicle parameters at rez time. Sail the boat, get off, leave the boat in the region and then restart the region. In the newly rebooted region, try to sail the boat. It will sink under the waves because it does not have its boat vehicle parameters set.

The problem is that neither a state_entry nor on_rez event happen when the boat reappears in the restarted region so the boat is relying on its state set before the region was restarted.

The restoration of vehicle script parameters must happen in SL. An OpenSim workaround is to use the region_restart event to reset the vehicle parameters.
TagsNo tags attached.
Git Revision or version number2ccd4c130234ff16a6c31845958476c759f72245
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Script Engine
Mono VersionNone
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-11-28 11:23 Robert Adams New Issue

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker