Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008318opensim[REGION] Physics Enginespublic2018-04-16 23:382018-04-17 08:13
ReporterFerd Frederix 
Assigned ToFerd Frederix 
StatusresolvedResolutionno change required 
PlatformIntelOSWindowsOS VersionTen
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0008318: osNpc* functions are broken
DescriptionI updated year old 0.9.0 to dev master a few weeks ago. I have just now noticed that NPCs rez strangely in a Var region. They shoot off to the edge when they on rez, rather than being at the prims locations which is llGetPos().

I also compiled the latest dev master as of today and see the same results

It works in

I sometimes get a bulletsim physics crash when this occurs. Nothing is logged in the console, but avatars cannot move. Sometimes it just say "Opensim has stopped working" and quits.

Steps To ReproduceStart with the bin\ScriptEngines cleared.

Make a 4X4 sim. (1024 X 1024 meters). Add a simple NPC create script. Mine was at 755/645/44

 key npc=osNpcCreate(npcDancerFirstName,npcDancerLastName,llGetPos(),npcCard);
The NPC appears on top of the prim, as expected. Moving the prim out of the way causes the NPC to suddenly zoop over to 1024, 642. It should just fall to the ground and stand there. Because I do this in loop, I end up with a tall tower of NPC's at the edge (see photo)

If I then add this line: osNpcSit(npc,llGetKey(),OS_NPC_SIT_NOW); then the NPC immediately ends up at the 1024 edge boundary. It should sit on the prim.

Additional InformationFails in Standalone, 1 or two regions, grid mode, 1 or two regions.

I will start backtracking using git pulls until I find the spot it breaks. This may take me a while due to other commitments.

TagsNo tags attached.
Git Revision or version number
Run ModeStandalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Environment.NET / Windows64
Mono VersionNone
ViewerFirestorm 5 and Onlook
Attached Filesjpg file icon Snapshot_002.jpg [^] (2,687,349 bytes) 2018-04-16 23:38
jpg file icon Snapshot_003.jpg [^] (3,269,388 bytes) 2018-04-16 23:38

- Relationships

-  Notes
UbitUmarov (administrator)
2018-04-17 00:02

Check if NPC has rights to be on parcels
Ferd Frederix (reporter)
2018-04-17 08:13

Aha. Thank you! We had closed the sim to visitors.
Ferd Frederix (reporter)
2018-04-17 08:13

Closed as operator error.

- Issue History
Date Modified Username Field Change
2018-04-16 23:38 Ferd Frederix New Issue
2018-04-16 23:38 Ferd Frederix File Added: Snapshot_002.jpg
2018-04-16 23:38 Ferd Frederix File Added: Snapshot_003.jpg
2018-04-17 00:02 UbitUmarov Note Added: 0032647
2018-04-17 08:13 Ferd Frederix Note Added: 0032648
2018-04-17 08:13 Ferd Frederix Note Added: 0032649
2018-04-17 08:13 Ferd Frederix Status new => resolved
2018-04-17 08:13 Ferd Frederix Resolution open => no change required
2018-04-17 08:13 Ferd Frederix Assigned To => Ferd Frederix

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker