dahlia
|
a8e64cd59a
Overload INPCModule.CreateNPC() to allow agentID to be specified. Note: this is intended for use in region modules and is not exposed to scripts.
|
10 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
2cd95fac73
refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in the code that this is symmetric with CloseAgent()
|
11 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
b16bc7b01c
refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly.
|
11 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
6bdef1f70b
minor: Stop debug logging whenever an npc is moved, other npc log related formatting cleanups
|
11 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
de6ad380f6
Get rid of issue where removing NPCs would through an exception by routing close through Scene.IncomingCloseAgent() and NPCAvatar.Close() rather than directly to Scene.RemoveClient().
|
11 gadi atpakaļ |
Dan Lake
|
9f129938c9
Attachments module only registers when enabled. This enables alternative attachments module implementations. All calls to Scene.AttachmentsModule are checking for null. Ideally, if we support disabling attachments then we need a null attachments module to register with the scene.
|
11 gadi atpakaļ |
Diva Canto
|
86903f23dd
Cleanup on region modules: gave short node id's to all of them.
|
12 gadi atpakaļ |
SignpostMarv
|
f560d581bb
document & 80-character width terminal formatting
|
12 gadi atpakaļ |
SignpostMarv
|
23605cf93d
converting NPC module to ISharedRegionModule
|
12 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
c42fe6c159
Prevent race conditions when one thread removes an NPC SP before another thread has retreived it after checking whether the NPC exists.
|
12 gadi atpakaļ |
Talun
|
1b1f841c6a
Mantis 6063 osNpcTouch.
|
12 gadi atpakaļ |
dahlia
|
4186fa10f0
remove default values from prior commit since mono cant deal with them
|
12 gadi atpakaļ |
dahlia
|
b697d0e895
add OS_NPC_RUNNING option to osNpcMoveToTarget() to allow running speed for moving NPCs
|
12 gadi atpakaļ |
BlueWall
|
fba802bb03
Merge branch 'master' of /home/opensim/var/repo/opensim
|
12 gadi atpakaļ |
Talun
|
b8114d2b67
Add a version of osNpcSay that takes a channel number Mantis 5747
|
12 gadi atpakaļ |
Oren Hurvitz
|
2f398231ac
Minor improvements to logging
|
12 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
d44b7c486a
Go back to setting appearance directly in NPCModule.SetAppearance() to fix mantis 5914
|
12 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
c906128191
Fix some logic mistakes where firstly osNpcCreate() without options was creating npcs sensed as agents and secondly the OS_NPC_SENSE_AS_AGENT option was having the opposite effect.
|
12 gadi atpakaļ |
Dan Lake
|
2ebb421331
Refactor appearance saving for NPC to use AvatarFactoryModule interface.
|
12 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
9c84a8162f
If NPCModule.CreateNPC() fails to create the required ScenePresence (which should in theory never happen), don't add the NPC to the npc list but return UUID.Zero instead.
|
12 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
dbe32a1f6d
minor: put in commented out logging statements for future reuse
|
12 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
ce34b359ad
Extend m_avatars lock in NpcModule.CreateNPC over both creation of NPC scene presence and population of m_avatars.
|
12 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
7837c611fb
Add OS_NPC_SENSE_AS_AGENT option to osNpcCreate().
|
12 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
ba3491c76e
Add permissions checks for owned avatars to all other osNpc* functions.
|
13 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
b47c0d7e51
refactor: Move existing npc owner checks to NPCModule.CheckPermissions() methods and expose on interface for external calls.
|
13 gadi atpakaļ |
Melanie
|
7518b075b7
Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the owner, can be destroyed only by the owner and only the owner can save their appearance. Added "NPC" as a flag to llSensor to sense NPCs and exclude them from "AGENT" results.
|
13 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
28c4dc9be4
Fix NPC sitting for prims without a sit target.
|
13 gadi atpakaļ |
Dan Lake
|
da794f34a5
Renamed and rearranged AvatarFactoryModule to eliminate redundant lookups of scene presence by client ID.
|
13 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
de161585c0
Implement osNpcStand(<npc-id>)
|
13 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
0c041ce12f
Implement osNpcSit(). This is still in development so don't trust it
|
13 gadi atpakaļ |