Commit Graph

25700 Commits (c35803964f3ea0f59ec12095558f2bf03a066b16)

Author SHA1 Message Date
UbitUmarov 539c006cb8 change SOP updates throttles again. Small values of omega on llSetTargetOmega where skiped 2017-08-19 22:44:18 +01:00
UbitUmarov e2ca5853fc Merge branch 'master' into httptests 2017-08-18 04:33:21 +01:00
UbitUmarov ea53cb0dfa temporary change pcampbot bots lastname convention, to test at osgrid 2017-08-17 22:17:36 +01:00
Diva Canto 3acdae74db Make VERSION_FLAVOUR public too, per request. I question the practice of insulating modules against OS versions this way, but hey! -- different folks, different styles. Given that all other components of the version info are public, there's no reason for keeping this one different. 2017-08-17 11:36:18 -07: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
Diva Canto eb837defdf Revert "Let's try giving Common a default constructor instead of the workaround"
This reverts commit 8b6557e377.
2017-08-14 16:55:50 -07:00
Diva Canto 8b6557e377 Let's try giving Common a default constructor instead of the workaround 2017-08-14 16:49:11 -07:00
Diva Canto 6a0b7a607f This is the correct work around. Jenkins is confuzzled. 2017-08-14 16:40:36 -07:00
Diva Canto 40f4b30361 Strengthen the tests for the possibility that SetUpFixture does not run in the beginning. 2017-08-14 16:33:21 -07:00
Diva Canto 26a4c5ff85 Comment to trigger jenkins 2017-08-14 16:15:08 -07:00
Diva Canto af5573728a Another comment for testing jenkins 2017-08-14 15:01:19 -07:00
Diva Canto 3052c7080a Added comment just to trigger jenkins 2017-08-14 14:48:38 -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 a4e7ab6fcf avoid a null ref 2017-08-03 18:09:26 +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 fc4212bc81 mantis 8222 2017-07-29 17:54:18 +01: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 6bf96f83c5 mantis 8212 fix sqlite parameter prefixing 2017-07-23 14:29:11 +01:00
UbitUmarov 8b2e95d1c1 add a rudimentary version control to ubOde meshs cache 2017-07-23 14:23:44 +01:00
UbitUmarov 04eeb0e5cb mantis 8212 do use defined sqlite connection 2017-07-22 23:33:03 +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 a17abe7518 typo fix 2017-07-13 04:28:35 +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
UbitUmarov 79e166e9aa revert EnvironmentTick back to orignal clock, since change may cause issues on some code paths. Clean a bit get mesh and get texture throttle 2017-06-19 05:22:38 +01:00
UbitUmarov 3fc6f62c45 Merge branch 'master' into httptests 2017-06-19 03:20:40 +01:00
UbitUmarov 4df19ece53 framework main thread pool is always active and in use ( even id hard to catch) so show in on show stats. Disable ServerStatsCollector by default, since most don't use it, Adicionally it uses shared framework performance counters system that may be affected if a region crashs 2017-06-16 18:16:26 +01:00
UbitUmarov 10d526f961 Merge branch 'master' into httptests 2017-06-16 02:43:36 +01:00
UbitUmarov 822574df9f change the clock source for EnvironmentTickCount so it does get a bit more resolution if avaiable (1ms) specially on windows. This until all calls to this are removed. Coment out some stats in workpool/threads creation path 2017-06-15 20:28:20 +01:00
UbitUmarov 969d5f742c update inventory item permissions on deattach 2017-06-15 04:20:32 +01:00
UbitUmarov 1c64b5018a fix llsd DeserialiseOSDMap cast from boolean to int, this seems to fix alchemy beta 5.0 scripts upload, but this viewer seems to be of no use for opensim, sice it does crash.. insists lbsa is at second life etc 2017-06-14 22:05:53 +01:00
UbitUmarov d9a300fa8e some cleanup.. remove some stats that only some do look at once on a lifetime 2017-06-14 20:19:13 +01:00
UbitUmarov 84946e3061 Merge branch 'master' into httptests 2017-06-14 03:04:14 +01:00
UbitUmarov 5e67bd5778 main generic use JobEngine also does not need a permanent thread.. actually doesn't even seem to be in use 2017-06-14 00:51:22 +01:00
UbitUmarov 614a5266c5 guess HGEntityTransferModule jobengine does not need a permanet thread 2017-06-13 22:45:31 +01:00
UbitUmarov ed8526bcfb coment out tests that now depend on active thread pool 2017-06-13 20:34:21 +01:00
UbitUmarov ad43cc6784 change llclient async udp packets processing. Removed the shared Jobengine that made only one thread do some packets for all users, and removed the FireAndForget, so each user could issue a unlimited number of threads. Added a new JobEngine per client, so each gets at most one thread,and that thread can be released if iddle (for 5 seconds ) 2017-06-13 19:04:18 +01:00
UbitUmarov 482ff06e13 make JobEngine be a workitem of mail pool (smartThread), with the option to release thread after a idle time, so is free to do other service elsewhere 2017-06-13 18:50:34 +01:00
UbitUmarov 5ce15566ac add option for Fireandforget not timeout (our access to main smartThreadPool) 2017-06-13 18:39:42 +01:00
UbitUmarov f33a871d61 hope gc does remove a little dic and contents 2017-06-13 14:15:28 +01:00
UbitUmarov fd8836e493 dont let time go back 2017-06-13 14:09:34 +01:00
UbitUmarov 9526a96b4f some cleanup 2017-06-13 13:22:01 +01:00