Robert Adams
df3759e099
BulletSim: Add parameter "[BulletSim]AvatarWalkVelocityFactor=1.0" to
...
adjust the walking speed passed from the simulator. Default is 1.0f so
there should be no change for regions who do not change the factor.
The adjustment for walking speed and AlwaysRun speed should be in the
simulator and not the physics engines (who all assume TargetVelocity.set
is only used for avatar walking/running) but that would require tweaking
all the phyiscs engines.
2017-10-13 12:00:07 -07:00
UbitUmarov
59afeb6c4c
remove a dead line of code
2017-10-06 02:43:46 +01:00
UbitUmarov
8520ceed63
mantis 8246: don't allow 'delete object name' to delete attachments, but allow delete object id, with confirmation
2017-10-06 02:40:28 +01:00
UbitUmarov
b1814d3492
Merge branch 'master' into httptests
2017-10-01 18:05:10 +01:00
UbitUmarov
db88c93243
bug fix: add missing stub for osSetInertia
2017-10-01 18:03:19 +01:00
UbitUmarov
765f4eef1e
Merge branch 'master' into httptests
2017-09-16 19:01:22 +01:00
UbitUmarov
2247251c2f
bug fix: Of course i had to pick a wrong number for profileBegin
2017-09-16 18:58:10 +01:00
UbitUmarov
5687c5d494
Merge branch 'master' into httptests
2017-09-16 01:00:28 +01:00
UbitUmarov
05da6b9f14
bug fix. Increase the values of profileHollow and profileBegin used to match pbs number of faces and the Mesh number of faces. The small values i used before seem to be randomly lost.
2017-09-16 00:19:58 +01:00
UbitUmarov
b581a64788
ubOde: comment out some debug stats
2017-09-08 20:04:16 +01:00
UbitUmarov
0ac81f6a09
ubOde: hashSpaces aren't that nice
2017-09-08 19:59:38 +01:00
UbitUmarov
ca493a1beb
Merge branch 'master' into httptests
2017-09-05 20:25:12 +01:00
Robert Adams
921e3ceb09
BulletSim: Merge branch 'BulletSim2017'
...
Adds raycast using Bullet physics engine.
2017-09-05 06:24:04 -07:00
Robert Adams
4608b44817
BulletSim: add raycast filtering
2017-09-05 06:19:49 -07:00
UbitUmarov
86493d75fa
Merge branch 'master' into httptests
2017-09-04 18:39:42 +01:00
Kevin Cozens
05db0c977f
Fixed typo in function name HaveNotifiedLogOfScriptStopMistmatch.
2017-09-04 13:28:31 -04:00
Robert Adams
f348f7fa90
BulletSim: first version of raycast. Only single contact point and no
...
filtering.
2017-09-03 17:15:27 -07:00
Robert Adams
33e773959f
BulletSim: modify taint processing which use locks.
...
(Merge branch 'bullettaint' into bulletcast)
2017-09-02 13:08:54 -07:00
Robert Adams
0afa3a294a
BulletSim: most of the plumbing for raycast. Needs new BulletSim.dll to
...
work.
2017-09-02 13:06:36 -07:00
Robert Adams
5c36561424
BulletSim: add clock and change logic for taint processing a little
...
so taints check if they are not in simulation time and execute
immediately if not.
2017-08-28 15:23:32 -07:00
UbitUmarov
47648557c1
fix some nunit tests
2017-08-28 10:48:46 +01:00
UbitUmarov
b3eec90d3c
Merge branch 'master' into httptests
2017-08-25 23:47:40 +01:00
UbitUmarov
396ab1424c
in some cases ll TPVs can only see avatar rotations around Z or camera misbehaves
2017-08-25 23:44:59 +01:00
UbitUmarov
dfdc3e3adf
change camera view constraint. we need to do it a lot more :(
2017-08-25 20:53:07 +01:00
UbitUmarov
a1aa2f1add
Merge branch 'master' into httptests
2017-08-24 02:18:40 +01:00
UbitUmarov
05b8ead8b2
frozen avatars should not do local teleports. Possible none should not be allowed, but that may be abusive
2017-08-24 02:11:40 +01:00
UbitUmarov
c5802c9460
change a few more parcel eject code paths
2017-08-24 01:47:01 +01:00
UbitUmarov
1a7c8893ee
add missing file. Also in last commit comment the flag was relative to (un)freeze no t(un)eject
2017-08-24 01:38:04 +01:00
UbitUmarov
74524cb3be
(un)eject flag is only lowest bit, only protect active gods from freeze; do not check landing point (telehubs) on eject.
2017-08-24 01:30:57 +01:00
UbitUmarov
b1fdb02be1
Merge branch 'master' into httptests
2017-08-22 18:39:30 +01:00
UbitUmarov
1ca70232a5
mantis 8233: media changes flag object updated in region db
2017-08-22 18:37:35 +01:00
UbitUmarov
6cf27e2191
ubOde move static/dynamic friction to unmanaged code. Note this now requeries ode version OS0.13.3 currently at opensim-libs repo trunk/unmanaged/ODE-OpenSim-Test
2017-08-21 04:54:01 +01:00
UbitUmarov
f9c01db33c
Merge branch 'master' into httptests
2017-08-19 22:48:31 +01:00
UbitUmarov
539c006cb8
change SOP updates throttles again. Small values of omega on llSetTargetOmega where skiped
2017-08-19 22:44:18 +01:00
UbitUmarov
c54cd4d808
Merge branch 'master' into httptests
2017-08-17 00:16:29 +01:00
UbitUmarov
218160494e
fix llRot2Axis(ZERO_ROTATION) and non normalized inputs, same for llRot2Angle()
2017-08-16 23:44:34 +01:00
UbitUmarov
6d4b0a8ce3
Merge branch 'master' into httptests
2017-08-16 05:05:57 +01:00
Robert Adams
78c78f69b1
Merge branch 'master' into BulletSim2017
2017-08-15 09:04:03 -07:00
Robert Adams
9e86721d70
BulletSim: remove chatty debug message.
2017-08-14 21:33:26 -07:00
Robert Adams
a754ab0e4f
Refactor archive loading to optionally start script engine after loading.
2017-08-14 21:27:53 -07:00
Robert Adams
36ee8e3941
BUlletSim: return better terrain height in
...
BSTerrainHeightMap.GetTerrainHeightAtXYZ().
Partial fix for Mantis 8011. Problem is that computed terrain height
is different than mesh height in the physics engine. For small shapes,
they would have their position corrected to above terrain so they would
never collide.
2017-08-14 21:20:59 -07:00
UbitUmarov
1dbf3215b0
jenkins tests still don't set scene.IsRunning
2017-08-13 06:34:52 +01:00
UbitUmarov
82e2e1e00c
change locking on sop updates
2017-08-13 06:04:39 +01:00
UbitUmarov
f658b68181
add a few locks
2017-08-03 17:59:30 +01:00
UbitUmarov
1830387840
Oops fix also default UseMeshiesPhysicsMesh also on ubOde
2017-08-02 03:47:53 +01:00
Kevin Cozens
cf855c3842
Corrected index number in ErrorFormat based Exception message
2017-07-30 12:27:27 -04:00
UbitUmarov
ad930f8e41
fix typo
2017-07-28 19:01:07 +01:00
UbitUmarov
21b71ff1d8
partial mantis 8219; on creating or updating items (animationsets, wearables) that reference assets, and user does not have permissions on those, abort and warn, instead of silent invalition of the references to those assets, creating a broken item
2017-07-28 17:36:40 +01:00
UbitUmarov
324bda8ab9
mantis 8218 make Meshmerizer UseMeshiesPhysicsMesh defualt to true, to match stated on ini files.
2017-07-27 16:23:08 +01:00
UbitUmarov
6996bab4a1
display remaining pass time in hours, mins or seconds acording to value
2017-07-26 20:13:30 +01:00
UbitUmarov
0b23964349
change buypass insuficent funds to make clear that its on that region money system (buypass now uses the new MoveMoney)
2017-07-26 19:12:12 +01:00
UbitUmarov
0bbe7bab7b
add new funtion bool MoveMoney(UUID fromUser, UUID toUser, int amount, MoneyTransactionType type, string text). this should be called async allowing time for money module to process it. If returns true, the transation did sucess, so if its use was to pay something, the payed item/service must be provided without fail, otherwise another method is needed so a refund is possible
2017-07-26 19:01:11 +01:00
UbitUmarov
a91ceae826
add comments to make that more clear
2017-07-26 14:26:28 +01:00
UbitUmarov
025e82341f
do not allow setting land passes on group owned land, because currently we cant give money to the group
2017-07-26 14:24:21 +01:00
UbitUmarov
74389c74cb
only allow pass renovation on the last quarter of parcel pass time. go back to MoneyMove charging method
2017-07-26 12:58:47 +01:00
UbitUmarov
d52a64c7a3
avoid leasing issues on lsl_list on domain crossings. This will make their use even more slow. AppDomainLoading just needs to be set false to have acceptable scripts performance
2017-07-26 12:53:12 +01:00
UbitUmarov
8739ceb00f
lets try using older EventManager.TriggerMoneyTransfer to pay parcel passes
2017-07-25 04:18:38 +01:00
UbitUmarov
35b1166ba8
add a few more...
2017-07-25 04:10:22 +01:00
UbitUmarov
1557b78d67
add missing session ID verification
2017-07-25 04:04:55 +01:00
UbitUmarov
1071c92bb0
fix lsl group role powers to change parcel passes
2017-07-25 03:44:52 +01:00
UbitUmarov
86c9c86eeb
allow pass recharge with no loss of current time up to 1/4 of parcel pass time.
2017-07-25 03:13:03 +01:00
UbitUmarov
c5b34a51fd
Ooops.. pay to land owner, not grid. group owned parcel not suported for now. (the pass already expired with kick action)
2017-07-25 02:39:12 +01:00
UbitUmarov
81d1ebc510
add first code to process parcel buy pass. Still testing, and still no kick on expire ( does expire on entry )
2017-07-25 01:30:35 +01:00
UbitUmarov
13564aa984
only hide parcel info from banned avatars
2017-07-24 22:04:36 +01:00
UbitUmarov
8b2e95d1c1
add a rudimentary version control to ubOde meshs cache
2017-07-23 14:23:44 +01:00
UbitUmarov
3ae210d36f
ubOde: let small spheres still be spheres
2017-07-22 02:04:02 +01:00
UbitUmarov
618e142cf8
ubOde: remove some dead code
2017-07-22 01:45:42 +01:00
UbitUmarov
d71d13f72b
ubOde: represent small objects as a box. A object is small is all scale dimensions are less or equal to option MinSizeToMeshmerize (in ODEPhysicsSettings) with default of 0.1. This is needed because this objects hit narrow phase with high overlaps alot more, and so have high cpu cost.
2017-07-22 01:31:39 +01:00
UbitUmarov
98c64f1aa9
ubOde remove ols pseudo convex for sculpts
2017-07-22 00:00:46 +01:00
UbitUmarov
c1ab1289ab
shape convex should not trigger complex cost (LI) alone
2017-07-21 16:07:04 +01:00
UbitUmarov
66a5b4d120
ubOde suport convex shapes on all normal prims and sculpts. Since code is experimental this is controled by options ConvexPrims and ConvexSculpts, on section Mesh, that can be set to false in case of problems
2017-07-21 14:11:03 +01:00
UbitUmarov
d1f7fac570
fix merge issues
2017-07-20 14:28:26 +01:00
UbitUmarov
fe6ad384e4
merge
2017-07-20 11:30:12 +01:00
UbitUmarov
4293b2cb3c
fix object updates throttle for scripts doing motion by direct change of position. Most this scripts are bad, making no use of viewers interpolators. Tanks lotek.
2017-07-18 14:09:30 +01:00
UbitUmarov
f921ad005f
KFM: changes on update method implies other changes. Still not that good. Note: objects motion timing can't be done using timers. On windows at least, those can have jitter of tens of ms
2017-07-17 00:58:35 +01:00
UbitUmarov
59de8fbba0
fix placement of xml ReadEndElement()
2017-07-16 06:10:24 +01:00
UbitUmarov
2f9222bec3
test scenes do not set IsRunning
2017-07-16 05:52:01 +01:00
UbitUmarov
9ae26fc5af
store kfm on inventory. this may still be a bit confusing on rez
2017-07-16 05:19:27 +01:00
UbitUmarov
04b97be71e
ode does not like null refs
2017-07-16 02:55:39 +01:00
UbitUmarov
cd15de628d
don't start moving KFM things on region start that where stopped on last shutdown
2017-07-16 01:31:37 +01:00
UbitUmarov
4ef64d4425
trigger moving_end also KFM stop and pause
2017-07-16 01:10:27 +01:00
UbitUmarov
101413ddd9
make KFM use scheduled terse updates. This may increase some rubber band, but is needed, and should work better with recent changes on sop terseupdates control
2017-07-16 00:48:04 +01:00
UbitUmarov
ad46a29d9e
Ooopsss
2017-07-15 20:59:16 +01:00
UbitUmarov
4b7f79e296
fixes and changes on TreePopulatorModule. Please read OpenSimDefaults.ini
...
[Trees] section. Does need more work, and some hardcode settings may not
be the optimal still"
2017-07-15 04:07:03 +01:00
UbitUmarov
8b16131206
add Util.GetTimeStamp() that returns the stamp in seconds; use it on ubOde; separed land collsions dispatch from the others...
2017-07-13 20:21:18 +01:00
UbitUmarov
bd249bdf5b
replace the wrong libOMV user modifiable Utils.EnUSCulture by our own no User modifiable Culture.FormatProvider, and also for internal coerence. We do use the libomv on other code paths, so that must be fixed
2017-07-13 04:14:33 +01:00
UbitUmarov
61e3fe42bd
fix wrong test
2017-07-13 03:26:43 +01:00
UbitUmarov
51d32e3bed
add more missing en-us culture on scene serializer writes
2017-07-13 02:57:57 +01:00
UbitUmarov
457551d069
rename SOG.UpdatePrimFlags as just UpdateFlags since this is relative to the group never individual prims/parts and so confusing
2017-07-12 10:28:11 +01:00
UbitUmarov
aff9c345dd
osSetParcelDetails: add more land update code
2017-07-12 07:27:21 +01:00
UbitUmarov
a069ed09a8
osSetParcelDetails: make seeAVs send updates. This is a temporary patch, this function does need to call a framework land function that deos issue proper updates about all fields to all cleints. ( sounds will not stop/start also for now)
2017-07-12 03:47:34 +01:00
UbitUmarov
3847f861e3
osSetParcelDetails: allow parcel group to be cleared also
2017-07-12 01:52:01 +01:00
UbitUmarov
c8a9b0321f
osSetParcelDetails: place hard restrictions on change owner,claimdate (both estate owner or manager) and group (same plus parcel owner that also needes to be a member of the new group); add PARCEL_DETAILS_SEE_AVATARS, PARCEL_DETAILS_ANY_AVATAR_SOUNDS and PARCEL_DETAILS_GROUP_SOUNDS
2017-07-12 01:44:34 +01:00
UbitUmarov
f5324833ee
remove wrong comment on lsl object rez. we can't add delays on async process
2017-07-11 02:47:37 +01:00
UbitUmarov
72bce8c4b4
do lsl object rez checks on script thread before wasting time possible creating a new poll thread
2017-07-11 02:33:48 +01:00
UbitUmarov
40b16f1705
SimpleAngularDistance update prioritization scheme ameks no sense without ordered dequeue of the updates
2017-07-10 22:01:38 +01:00
UbitUmarov
f8cdccc167
a few more changes on entities updates
2017-07-10 21:12:34 +01:00
UbitUmarov
9dbcb4e5f6
on entities updates throttles vectors needed to be compared as vectors, not just their norms
2017-07-10 19:31:35 +01:00
UbitUmarov
63e3fc21ef
fix the name of a funtion on last commit
2017-07-10 13:48:28 +01:00
UbitUmarov
cc5d6f6b7b
throttle collision sounds on a SOG.
2017-07-09 00:14:30 +01:00
UbitUmarov
ead95e85c5
bug fix: dynamic testures set to ALL_SIDES, preserve other face data already present
2017-07-07 04:57:57 +01:00
UbitUmarov
dfef16297b
ubOde don't use old ode body sleep option, a few changes on sleep control, update ode.dll (windows, others needed) (keep older versions.. bc.. well bugs happen)
2017-07-07 01:49:34 +01:00
UbitUmarov
1dc56eb15f
ubOde: but only do that if sphere is physical..
2017-07-03 23:38:55 +01:00
UbitUmarov
39751891f4
ubOde: dont do avatar step climb on small true spheres. lets play simple football
2017-07-03 22:47:27 +01:00
UbitUmarov
f3a920237b
oops i forgot the avatar knees bending on ramps... so go back..
2017-07-02 01:34:06 +01:00
UbitUmarov
edc7575f9e
a few changes to ubOde avatar collisions
2017-07-01 01:43:58 +01:00
UbitUmarov
965d004fbe
do calls to m_host.AddScriptLPS() on the right place on osslm this stat is of course still wrong LPS does not mean api function calls
2017-06-30 22:39:19 +01:00
UbitUmarov
6b0a3e981c
put osGetAgentIP() in threat control with level Severe so it can be disabled even for inworld administrators as needed on some grids. rearrage the osslEnable.ini file segregating the funtions only listed for information
2017-06-30 22:04:56 +01:00
UbitUmarov
cb2607d4fa
fix scripts xmlrpc threads names
2017-06-29 21:17:41 +01:00
UbitUmarov
190874344b
ScriptsHttpReq does not need a permanent thread
2017-06-29 21:14:20 +01:00
UbitUmarov
6bac44e767
bug fix
2017-06-29 00:42:35 +01:00
UbitUmarov
e243dd0519
put back getAgentIP bug restricted, script owner must be a Administrator (god)
2017-06-28 02:19:27 +01:00
UbitUmarov
b0a0163253
BUG FIX: change lludp hovertext utf-8 cut point. Thx djphil
2017-06-28 01:29:49 +01:00
UbitUmarov
936aee412d
remove osGetAgentIP() this was not a good idea to have :(
2017-06-27 01:41:06 +01:00
UbitUmarov
5242853d68
dont list deleted ones, that still don't know they are gone
2017-06-26 20:55:44 +01:00
UbitUmarov
b319977a3f
dont list deleted ones, that still don't know they are gone
2017-06-26 20:51:40 +01:00
UbitUmarov
e53f439981
add osGetNPCList()
2017-06-26 20:42:49 +01:00
UbitUmarov
b59ce7c968
also on the actual source file
2017-06-26 20:28:16 +01:00
UbitUmarov
f660aa37ac
add similar restrictions to osObjectTeleport :(
2017-06-26 19:40:20 +01:00
UbitUmarov
cbd0af3cab
let osTeleport* always work on script prim owner
2017-06-26 18:26:45 +01:00
UbitUmarov
ef74efeaa7
and add a missing bracket :)
2017-06-26 09:18:31 +01:00
UbitUmarov
e075cf4461
fix bad english
2017-06-26 09:08:23 +01:00
UbitUmarov
0c5f412ed4
put back restriction that on osTeleport the target must be on land owned by the script owner or this is a estate manager/owner, or target did gave script permission.
2017-06-26 02:49:20 +01:00
UbitUmarov
0418542344
some shortcuts on local osTeleport, reduce its time penalty, do it with script thread
2017-06-26 00:18:46 +01:00
UbitUmarov
3ce909528d
change Backup calls overlap control code
2017-06-25 15:42:36 +01:00
UbitUmarov
84abdf866a
add respective ossl helper funtion osDrawScaleTransform(string drawList, LSL_Float x, LSL_Float y)
2017-06-25 02:26:36 +01:00
UbitUmarov
a9a44eaeb5
add vectorrender string command ''ScaleTransf x,y;''. this allows scaling of objects to draw next. -1,1 will make text be drawn with x direction flipped (it is like the texture scale)
2017-06-25 02:17:02 +01:00
UbitUmarov
cb8975e567
add string osDrawTranslationTransform(string drawList, LSL_Float x, LSL_Float y), string osDrawRotationTransform(string drawList, LSL_Float x) and string osDrawResetTransform(string drawList) helper functions for the new vector renderer comands. Removed ThreadLevel check of similar funtions that had it None, and actually only set strings
2017-06-24 23:04:37 +01:00
UbitUmarov
5d776fca3a
add dyn textures vectorrender comands ''ResetTransf;'', ''TransTransf x,y;'' and ''RotTransf x'' string only, no ossl helper api still
2017-06-24 21:42:11 +01:00
UbitUmarov
1a8a77c41e
revert the thread level change; remove unused dynamic texture timer from internal code; let blend alpha work if < 255; let blend work with the selected face; etc
2017-06-24 09:24:56 +01:00
UbitUmarov
8d1dd44edb
simplify vectorrender background draw
2017-06-24 07:39:22 +01:00
UbitUmarov
ed8fc359f3
change thread level of osSetDynamicTextureDataBlendFace to VeryHigh
2017-06-24 06:11:10 +01:00
UbitUmarov
72db6f76b5
remove a DynamicTexture leak, make it actually return the new texture ID to ossl, do delete previus texture from local cache if temporary,at least on same cases... but still very broken..
2017-06-24 05:22:02 +01:00
UbitUmarov
ae4266916c
add string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, int timer, int face) to easy only setting a prim face
2017-06-24 04:23:13 +01:00
UbitUmarov
c3dbf91152
osDrawFilledEllipse or string comand FillEllipse identical do Ellipse one
2017-06-24 03:21:23 +01:00
UbitUmarov
191661b51d
a few more changes to iar/oar assets save error/warning to show problems known to be asset errors
2017-06-24 02:01:48 +01:00
UbitUmarov
0a1f497dee
code actually has no ideia if a id is a asset or not and does try to handle all as assets, it really can't report errors. Change messages to make more clear they are only warnings and may mean nothing at all
2017-06-23 19:55:23 +01:00
UbitUmarov
83e443bca1
do the same on OAR saves
2017-06-23 17:48:59 +01:00
UbitUmarov
95595a8360
coment out missing or damage assets messages in uuidgather that are not very usefull. In IAR save display information about items that contain references to broken assets. Note that as explained on mantis 8195 this can't will not detect all problems
2017-06-23 17:23:28 +01:00
UbitUmarov
3c6790b061
several changes to iar/oar assets error reports
2017-06-23 15:50:16 +01:00
UbitUmarov
28caf1e089
actually iar do it for iar
2017-06-22 22:09:00 +01:00
UbitUmarov
cbae148f68
show the count of broken assets we now have from gather on iar/oar pre save information
2017-06-22 21:48:26 +01:00
UbitUmarov
aea49070c9
change uuidgather a bit more
2017-06-22 21:37:51 +01:00
UbitUmarov
66c8b7202b
split some asset uuids gather i stages with dif possible errors, and dont let them be fatal
2017-06-22 19:38:38 +01:00
UbitUmarov
11d3860781
avoid some broken object assets present in osgrid inventories due to past problems, etc
2017-06-21 21:38:12 +01:00
UbitUmarov
1bfe4da378
do not try to store on oars temporary or in transit objects ( they may be deleted during the save)
2017-06-21 20:15:35 +01:00
UbitUmarov
637d35631c
make oar/iar assets writer be done by caller thread like the rest of the
...
oar/iar save. This may look more painfull but should reduce errors and
threads fights. Fill lucky i just don't stop the entire simulation during
this
2017-06-21 18:40:53 +01:00
UbitUmarov
70da902732
changes to AutoBackModule. Store folder and number of days expire is now also only defined in OpenSim.ini and so same for all regions.
2017-06-21 13:35:36 +01:00
UbitUmarov
36442c004f
changes to AutoBackModule. Add option ALL to dooarbackup to save all regions in instance
2017-06-21 03:56:43 +01:00
UbitUmarov
651952e01e
changes to AutoBackModule. Time interval is now unique and only definable on OpenSim.ini. All enabled regions will be saved in sequence whne it expires. Interval is time since last region save end, so will not follow wall clock. This reduces the chance of overlapped saves. Console command renamed to dooarbackup to be more distint from db backup. Lost the region load checks, to put back later
2017-06-21 03:31:07 +01:00