Melanie Thielker
78ed9c81ff
UserLevel must have a trusted source
2017-01-06 01:06:44 +00:00
Melanie Thielker
ad8915f154
Restructure god level and permissions
...
Create a class GodController which controls all aspects of god level,
viewer modes and user levels at ScenePresence level.
2017-01-06 00:55:14 +00:00
Melanie Thielker
46bffad558
Add GodController class
2017-01-05 23:52:47 +00:00
UbitUmarov
05902d2958
inform viewers of current godlevel; put back a small delay on teleport arrivel to give time to viewers to sync
2017-01-05 22:27:53 +00:00
UbitUmarov
83c9776cbc
allow initial automatic level to be changed by request. Since viewers still dont get real level, one will need to ask for god level then disable it to syncronize the viewer with real level.
2017-01-05 21:32:26 +00:00
UbitUmarov
1fb01a0099
add config option automatic_gods. With this option true, users that can be Gods will have that level automaticly without the need request on viewer; Propagate current god level to nearby regions (with local checks)
2017-01-05 21:21:15 +00:00
Melanie Thielker
b16abc8166
Massive tab and trailing space cleanup
2017-01-05 19:07:37 +00:00
UbitUmarov
cbc3501246
a few changes to Gods ( ie administrators) control
2017-01-05 18:02:59 +00:00
UbitUmarov
d43a3bec19
a few changes to estates and estate teleportHome (used kick)
2017-01-05 16:27:17 +00:00
UbitUmarov
da08e2e5f5
mantis 8106: improve avatar walk in mouselook
2016-12-30 19:13:18 +00:00
UbitUmarov
7cf2e81223
reinforce gc.collect on region load to also do pending finalizers
2016-12-29 00:47:02 +00:00
UbitUmarov
73b2c82427
adjust camera collision detection checks for new FS
2016-12-28 12:19:05 +00:00
Melanie Thielker
90be8d78c3
Remove obsolete config option "EventQueue". It's been always on for ages!
2016-12-20 17:10:33 +00:00
UbitUmarov
30cd36ff98
leave stupid broken permissions alone
2016-12-18 03:56:53 +00:00
UbitUmarov
2cf422582a
leave stupid broken permissions alone
2016-12-18 03:55:44 +00:00
UbitUmarov
df7435a703
just give up on Export flag, seems just broken no matter water with current FS and singu 1.8.7
2016-12-18 03:20:41 +00:00
UbitUmarov
c93551d8f4
allow a creator that is also onwer to change export flag. Add missing setting to ini files
2016-12-17 22:38:31 +00:00
Mandarinka Tasty
ec883d0f15
New OSSL function: osNpcSetProfileImage(LSL_Key npc, string image); This patch gives possibility to set image in created NPC's profile. You can use UUID of the texture or name of texture included in prim's inventory.
...
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-12-14 00:24:52 +00:00
Mandarinka Tasty
5b7986e6be
Setting precise date of creation in NPC's profile.
...
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-12-10 22:45:11 +00:00
AliciaRaven
d49a5374c3
Make it more unlikely that a script teleport will be caught by default region landing point.
2016-12-10 18:03:05 +00:00
UbitUmarov
f57403909f
do not try xbakes on HG
2016-12-10 02:03:00 +00:00
UbitUmarov
f1c6769ca5
set HasGridUserTried on usercache of NPCs
2016-12-07 02:14:26 +00:00
UbitUmarov
d4e285b1a1
add osNpcSetProfileAbout(LSL_Key npc, string about) to set NPCs profile About text. requires OsNpcCreate rights
2016-12-06 17:05:02 +00:00
UbitUmarov
51104be6d4
remove SOG.FromPartID from main code and flag it obsolete
2016-12-04 17:56:47 +00:00
Mandarinka Tasty
7c566dca5a
The new Constant: integer OBJECT_REZZER_KEY = 32;
...
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-12-04 17:18:56 +00:00
UbitUmarov
b781de73e3
mantis 7656, partialy apply patch, changing the start scripts for now
2016-11-26 04:49:35 +00:00
UbitUmarov
935510d879
add llGetMaxScaleFactor and llGetMinScaleFactor
2016-11-25 18:35:23 +00:00
UbitUmarov
b82a41d260
change llScaleByFactor (sorry Mandarinka).
2016-11-25 17:34:19 +00:00
AliciaRaven
94e48838d5
Include new Region.ini option for DefaultLandingPoint for teleports with no coords specified.
...
This is useful when using a Telehub would be to restrictive as it would block landmarks and map teleports. This location is only ever used when no coordinates are provided. If config value not set, the previous default of 128,128 is used.
2016-11-22 15:31:45 +00:00
UbitUmarov
4e64445c39
replace datetime.now on just timming by faster utcnow
2016-11-22 05:18:06 +00:00
UbitUmarov
902e8019de
HG add a small delay before start sending region data
2016-11-20 05:06:50 +00:00
UbitUmarov
1396c466f6
search accout by id not volatil user name (HG)
2016-11-18 17:30:15 +00:00
UbitUmarov
b43f36abf1
add expire time for aliens
2016-11-18 15:16:11 +00:00
UbitUmarov
35b37510fc
explicitly remove some references, and other useless changes
2016-11-17 19:15:28 +00:00
UbitUmarov
e77f913116
minor: dont let rcvd agentupdates time jump back
2016-11-16 22:34:56 +00:00
UbitUmarov
8196f21af9
change camera collision check rules
2016-11-14 22:13:02 +00:00
UbitUmarov
ae17b5d203
reduce calls to physics world cast rays for camera collision check
2016-11-14 03:21:07 +00:00
UbitUmarov
bddaef5122
on Select use again the priority queues to send ObjectProperties, including physics via caps. This is need to reduce useless redudance
2016-11-10 17:56:51 +00:00
UbitUmarov
d1baa3e0c3
fix some invalid string.format arguments
2016-11-09 22:39:52 +00:00
UbitUmarov
53003db4cf
stop warning about integer division cast to float
2016-11-09 22:12:27 +00:00
UbitUmarov
07893ec3e7
a few more changes on the avatars Velocity/TargetVelocity/SetMomentum. Need talk with Robert before last changes bc of bullet
2016-11-07 16:03:23 +00:00
UbitUmarov
9480da06b9
only add a prim to physics in PhysicsShapeType if changing from type none. when viewers change ExtraPhysics parameters, send back the new values.
2016-11-02 21:42:32 +00:00
UbitUmarov
586e4cf163
ignore prims with shape type none on max size check for physics
2016-10-17 19:16:07 +01:00
UbitUmarov
8a3958ad04
dont let ignored AgentUpdates change their throttles. Apply respective movement to physics on the handling thread, not heartbeat, avoiding missing transitions that should get into physics. Make some usefull sp state flags visible everywhere
2016-10-05 13:17:23 +01:00
UbitUmarov
f3e7603c37
minor cleanup
2016-10-02 11:54:07 +01:00
UbitUmarov
cd9d176c3c
change avatar and attachments priority (downgraded) in priritizer option SimpleAngularDistance
2016-10-02 11:12:03 +01:00
UbitUmarov
3e47df735b
exclude invalid collision sound (used as collision type flag) from assets UUIDGather
2016-09-27 16:41:13 +01:00
UbitUmarov
6779f41e21
fix linknumbers when unlink the root prim
2016-09-24 22:21:51 +01:00
UbitUmarov
9e074988f0
remove a redundant and potencially dangerous child.AbsolutePosition = child.AbsolutePosition
2016-09-24 18:16:30 +01:00
UbitUmarov
984cb38583
move wind generation out of heartbeat to a pool job. Use that to send to all clients and not one per client
2016-09-23 12:32:40 +01:00
UbitUmarov
cca01f5cda
change CreatorIdentification set code
2016-09-19 16:03:33 +01:00
UbitUmarov
592a915d8d
add rest of wiring for terrain bake persistent store (mantis 8024 but not
...
using its code). Only did minor testing in MySQL
2016-09-17 17:56:56 +01:00
UbitUmarov
47ce0f8641
add load baked terrain methods. missing file
2016-09-17 16:47:12 +01:00
UbitUmarov
71bd3ce49f
add load baked terrain methods
2016-09-17 16:42:40 +01:00
UbitUmarov
3f9f105295
add to databases a table to store baked terrain.
2016-09-17 15:45:11 +01:00
UbitUmarov
0cdad0faf4
stop using legacy storeterrain in scene.cs
2016-09-17 14:54:41 +01:00
UbitUmarov
2338d3d2e5
change spinobject math, and a few minor things
2016-09-16 22:10:36 +01:00
UbitUmarov
1b18711205
move SpinObject funtions from Scenegraph to PacketHandlers, close to grab handles, since they are related operations (possible should be moving to graph, not clear this files roles)
2016-09-16 19:33:49 +01:00
UbitUmarov
fb46eb3344
pass touch_end as other touchs, make blockgrab work on nonphysical also
2016-09-16 19:23:56 +01:00
UbitUmarov
38fb28bd68
avoid siting a avatar at 0,0,0
2016-09-12 18:19:01 +01:00
UbitUmarov
386a13d5d6
mantis: rotate avatar to lookAt o login/teleports. Some cases may still be wrong
2016-08-28 14:59:02 +01:00
UbitUmarov
ddc2f2ccd3
mantis: 8008 unscripted child prim collisions didn't trigger scripted root prim collision events; collision sounds had incorrect aggregateevents call and default sounds where muted. Future optimization needed and Testing
2016-08-28 08:45:09 +01:00
UbitUmarov
03dba18bb6
let mouse steer work on crossings; some cleanup
2016-08-28 04:43:44 +01:00
UbitUmarov
804d4971e2
my broken version of vehicle mouse steer on ubOde (no bank,needs better damp)
2016-08-28 03:51:20 +01:00
UbitUmarov
e7b0963db8
reduce math on use of camerarotation (need to add a lock there). Fix a bug on sits AToffset for some reason ATaxis got in there (needs testing)
2016-08-27 22:33:16 +01:00
UbitUmarov
9128c88d9b
remove excess data
2016-08-27 22:10:31 +01:00
Vegaslon
c918dd74da
Import plumbing from Halcyon for camera data to physics engine.
...
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-08-27 22:02:03 +01:00
UbitUmarov
78fa544f0d
experimental function. Results still too volatile to be usefull
2016-08-27 19:25:47 +01:00
UbitUmarov
d5f376a4b1
send selected objects Proprieties udp part outside update queues and as a physics single caps message per selection request
2016-08-25 09:51:34 +01:00
UbitUmarov
991dd5f471
first step changing Object Select code
2016-08-25 06:56:25 +01:00
UbitUmarov
e33c2f0d7c
fix missing PhysicsProprieties sending on Object select. This is a temporary Fix, entire Object select code needs to be changed
2016-08-25 06:32:04 +01:00
UbitUmarov
2853c12135
respect landpoint Z position also on the ugly LandingPointBehavior_OS option (default one)
2016-08-24 21:59:39 +01:00
UbitUmarov
8f509af1f4
fix the conditions to do parcel objects autoreturn
2016-08-24 04:37:21 +01:00
UbitUmarov
ed6d9199ce
coment some debug messages
2016-08-23 11:52:52 +01:00
UbitUmarov
9229d5a324
locking issue
2016-08-22 07:55:25 +01:00
UbitUmarov
b98b535a6b
locking issue
2016-08-22 06:50:20 +01:00
UbitUmarov
426e8a798f
(re)fix avatar standup from a child prim on object delete
2016-08-22 00:28:54 +01:00
UbitUmarov
0baaa23bde
remove sceneGraph MoveObject and make it part of ProcessObjectGrabUpdate ( scene.PacketHandlers) where it belongs
2016-08-21 20:00:27 +01:00
UbitUmarov
04dd2a9795
fix llCollisionSound("",0.0) not disabling sounds BUT let llCollisionSound("",value [<=1.0]) play default sounds with selected volume. I really don't care if last part is not like SL
2016-08-20 23:41:32 +01:00
UbitUmarov
4ab9cfe711
fix physics sits on child prims
2016-08-19 23:38:56 +01:00
UbitUmarov
d386bfa1b6
on sog unlink loose the reference to the deleted physics actor
2016-08-19 21:21:59 +01:00
UbitUmarov
e734d526fc
on object delete send a direct kill and a delayed one via updates queue, Until we find why some are missing, (if its not by udp nature). also remove redundant avatar stands
2016-08-19 17:57:19 +01:00
UbitUmarov
bca5fd98dc
remove some dead code
2016-08-17 21:20:20 +01:00
UbitUmarov
e9638ee9e9
increase physics collisions report rate back to 20/s
2016-08-17 20:26:01 +01:00
UbitUmarov
544b859c00
fix tests acording
2016-08-16 05:20:46 +01:00
UbitUmarov
1c1d40cf6a
libOMV PrimFlags.JointLP2P does not exist. Its bit now means
...
VolumeDetector. VolumeDetectActive is now stored on that flag bit. with
this change it is now sent to viewers that now gray out phantom on object
edit. At same time fixes the fact volumedetector was not been saved on
region db and so was lost on restarts. libOMV needs to be fix on this and other PrimFlags
2016-08-16 05:05:53 +01:00
UbitUmarov
41062c1627
fix misspelled message mantis: 7996
2016-08-16 04:21:49 +01:00
UbitUmarov
5dfb706bea
fix llVolumeDetect(FALSE) not working
2016-08-16 01:50:06 +01:00
UbitUmarov
c04792142f
partially revert commit 42a9afdc43cc.. of 06-12 not allowing more updates to be enqueued on deleted objects. Keep the catch up on deenqueue, so preserving the race condition safe guard. Let Scene sendkillObject work even if object is flaged as deleted. Still not clear how this are related to mantis 7858 or even less to 7990.
2016-08-12 03:58:04 +01:00
UbitUmarov
9aa2484f0d
to do that don't use slideexpiration; add cap event ChatterBoxForceClose
2016-08-11 08:38:39 +01:00
UbitUmarov
6f5f6431a4
add a SimpleAngularDistance Updates prioritazition scheme. Results don't look that great so don't use it still.
2016-08-09 21:46:19 +01:00
UbitUmarov
6c00016447
add a simple prim area estimator
2016-08-09 13:18:51 +01:00
UbitUmarov
9102f6e5da
fill data for llDetected funtions of collisions closer to the event. (xengine wasn't update with this on merge bc was not used there). fix some parameters
2016-08-05 22:50:15 +01:00
UbitUmarov
e9660d5d05
fix parcel Avatar Sounds using group membership not active group
2016-08-05 15:57:30 +01:00
UbitUmarov
efb60b5b42
use group provided by viewer on Object rez from inventory
2016-08-05 15:36:50 +01:00
UbitUmarov
23578635df
more changes relative to incorrect use of activegroupid
2016-08-05 15:19:42 +01:00
UbitUmarov
29dc449cc8
revert a variable rename
2016-08-04 23:00:40 +01:00
UbitUmarov
a90079bc92
cancel sending group powers on crossings, they are no longer needed.
2016-08-04 22:54:29 +01:00
UbitUmarov
e57d3edf6f
make sure all new scenepresences have fresh groups information at creation time (grouptitle missing but not that needed at that point) (use direct calls exactly where we want things to happen), reusing a funtion name to rename later
2016-08-04 21:36:41 +01:00
UbitUmarov
a66e747c95
add GetActiveMembershipData() to groups modules, let core groups also have GetMembershipData(), wait for client to ask for it not telling in OnNewClient, as other modules do.
2016-08-04 20:57:57 +01:00
UbitUmarov
4f17078b07
add a weak safeguard
2016-08-04 18:21:16 +01:00
UbitUmarov
bb8e271081
fix a typo
2016-08-04 17:29:47 +01:00
UbitUmarov
9a4afa753b
fix NULL references added in recente changes in standalone mode
2016-07-30 20:56:19 +01:00
UbitUmarov
6cd0a3e07c
fix cAgent.CrossingFlags
2016-07-30 04:25:32 +01:00
UbitUmarov
7a69b7d20d
remove more code related to Mega regions
2016-07-28 00:48:12 +01:00
UbitUmarov
ec8101a24a
remove references to RegionCombinerModule
2016-07-28 00:34:16 +01:00
UbitUmarov
9aacdca653
but buoyancy was missing
2016-07-27 21:32:47 +01:00
UbitUmarov
32e30afbcb
actually that was redundante, already done at low level
2016-07-27 21:31:43 +01:00
UbitUmarov
8c46ab02c7
move refresh forces into applyphysics
2016-07-27 21:11:39 +01:00
UbitUmarov
e951f4cc96
a few more changes relative to sits crossing
2016-07-27 14:28:16 +01:00
UbitUmarov
07853c86ed
clear SitTargetAvatar on a sop copy
2016-07-27 11:45:32 +01:00
UbitUmarov
2e4c8798ab
a few more changes on avatar crossing
2016-07-27 03:50:47 +01:00
UbitUmarov
d6e16c5130
missing changes about friends on crossings, and missing angular velocity clear on sits
2016-07-27 01:57:20 +01:00
UbitUmarov
800044cead
take friends out of onMakeRoot if crossing
2016-07-26 22:30:51 +01:00
UbitUmarov
52decfcc16
reduce some grid services calls on region crossings, sending more information on the agent update ( groups v2 needs change )
2016-07-26 21:39:47 +01:00
UbitUmarov
1d507f8073
remove extra char
2016-07-25 08:38:10 +01:00
UbitUmarov
c3b298f85e
missing file
2016-07-25 02:11:45 +01:00
UbitUmarov
76239602b4
change avatar Health, from bad penetration depth to relative velocity
2016-07-25 00:51:37 +01:00
UbitUmarov
cdf215f613
add a missing field to ChatterBoxSessionAgentListUpdates. it is still wrong, and its use even worse
2016-07-23 01:28:57 +01:00
UbitUmarov
445fb51455
make getBoundsCenter() call GetBoundsRadius() to do the math if needed
2016-07-13 22:35:46 +01:00
UbitUmarov
00687d5b0f
use geometric center and not sog root position in culling
2016-07-13 22:29:09 +01:00
UbitUmarov
14296bc792
add missing prim count for stats
2016-07-13 10:25:52 +01:00
UbitUmarov
abf423e361
be nicer to PIs (actually linux)
2016-07-12 23:23:47 +01:00
UbitUmarov
bc6c342d01
let radius be radius, not diameter
2016-07-12 17:21:34 +01:00
UbitUmarov
5bb5eb4e37
don't break child agents start position
2016-07-12 16:33:09 +01:00
UbitUmarov
e0878864e8
work around missing information on child creation, hidding its effects with reduced view range in culling option is on
2016-07-12 15:50:05 +01:00
UbitUmarov
d879e119a8
add object UUID to a debug/warn message
2016-07-12 14:45:20 +01:00
UbitUmarov
fa9a4a9a2b
some changes to RequestInventoryFile()
2016-07-09 00:20:51 +01:00
UbitUmarov
11a8a722df
don't auto return objects if they have sitting avatars (not npcs) - mantis 7828 with diferent code
2016-07-08 09:56:59 +01:00
Diva Canto
e38f16d800
Correction of a test introduced in 34b308d5b6
2016-07-07 13:06:37 -07:00
UbitUmarov
a058fca1ac
reduce lock time during object inventory ProcessInventoryBackup
2016-07-07 19:54:52 +01:00
UbitUmarov
668339f936
reduce the initial capacity of InventoryStringBuilder the 16k i added is
...
unreasonable for most cases. The coment about performance on a previus
commit refering to mantis 7904 was wrong, this changes will NOT do much in
terms of objects inventory download time, only a bit on cpu and memory
use"
2016-07-07 16:05:13 +01:00
UbitUmarov
416c02ef3a
hide the footprints of my previus bug ( take out comented code
2016-07-07 15:30:07 +01:00
UbitUmarov
a4fc22a6b6
forget InventoryStringBuilder.close()
2016-07-07 15:22:32 +01:00
UbitUmarov
14b9d31bd9
change InventoryStringBuilder. This will do much for mantis 7904 objects inventory sending is slow by design
2016-07-07 14:38:27 +01:00
UbitUmarov
f768effa87
move object inventory send to udp queue asset ( was task). Remove a call
...
to RefreshGroupMembership() on start. It was too soon and its Groups
module job
2016-07-07 12:23:53 +01:00
UbitUmarov
4119e60c0c
avoid InvalidBoundsRadius() calls caused by small changes
2016-07-07 00:16:25 +01:00
UbitUmarov
d7ab1cdd15
let RePrioritization also work on child agents
2016-07-06 18:58:28 +01:00
UbitUmarov
beafc99d43
bug fix, etc
2016-07-06 17:31:05 +01:00
UbitUmarov
0eabfb1e3e
add some needed InvalidBoundsRadius() calls
2016-07-06 16:45:27 +01:00
UbitUmarov
c02fe98b7d
add test option ObjectsCullingByDistance. In future, if true, it may
...
prevent sending objects outside view range to viewers. DO NOT SET TRUE
unless testing it. Code still not completei!!!
2016-07-06 16:13:27 +01:00
Melanie Thielker
4468aa0dcf
Merge branch 'master' of opensimulator.org:/var/git/opensim
2016-07-04 03:37:45 +01:00
Melanie Thielker
ea8f3c83bf
Finally remove the requirement for an InventoryItem/FolderBase object to
...
be passed into inventory queries.
This makes the API more homogenous and also will more clearly show
coding
errors related to HG inventory where the .Owner field has a meaning
for a query but wasn't always set.
2016-07-04 03:35:48 +01:00
Diva Canto
e00603f78a
New config var: DisableObjectTransfer. If set to True, objects never cross; instead they stay in the region, possibly placed outside its borders.
2016-07-03 12:24:31 -07:00
UbitUmarov
42dd02fc32
scale down position X and Y acording to region size on sending coarse Updates. Viewers need to scale up by same amount.
2016-07-03 15:47:20 +01:00
UbitUmarov
a443dcce89
try to place avatars on a nicer location, when they arrive into a banned parcel
2016-07-03 10:22:14 +01:00
UbitUmarov
07c8e79b03
missing file
2016-07-01 19:32:14 +01:00
UbitUmarov
9358a6ad29
revert several changes to groups modules (agentGroupData is private). change interregions invite/eject messages, etc
2016-07-01 16:10:45 +01:00
UbitUmarov
90b825cda8
if a NPC is owned, allow access if ownerID matchs parcel owner or it is in the access list. option OS_NPC_OBJECT_GROUP it still needed if access is by group (this option should also work with not owned NPC) NEEDS TESTING, may prove to be a bad solution
2016-06-28 23:30:04 +01:00
UbitUmarov
a08c354a07
fix NPCs OS_NPC_OBJECT_GROUP option. group ID needs to be set during creation, before scenepresence.CompleteMovement, set tittle just after it.
2016-06-28 18:14:30 +01:00