Commit Graph

25102 Commits (2bb5e985740b7c6aa75cd31aa057d39d56f024b6)

Author SHA1 Message Date
UbitUmarov 1c7b688db4 add suport for PRIM_SIT_TARGET on Set(link)PrimitveParameters. This may not be SL compatible. hack: to let active work with zero offset and rotation add a little Z value to offset 2016-11-05 18:28:30 +00:00
UbitUmarov 060350832a add suport for PRIM_SIT_TARGET on get(link)PrimitveParameters and fix typos 2016-11-05 16:50:41 +00:00
UbitUmarov be0a957363 add a few lsl constants and move some around 2016-11-05 15:42:37 +00:00
Mandarinka Tasty 72db2d064a It looks, that attachments show console command incorrectly returns Item ID. In fact, FromItem ID is returned. So I have added proper Item ID to be returned. There are cases, that FromItem ID is also useful, so I keep it for compatibility.
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-11-05 13:47:29 +00:00
UbitUmarov 9b78eb20c0 by design HUD objects are private 2016-11-04 11:58:52 +00:00
Mandarinka Tasty b0f87fba1c Implementation of new LSL function: list llGetAttachedList(key avatar); It also returns HUDs' keys.
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-11-04 10:55:11 +00:00
UbitUmarov d2e380e81e on get asset with callback, do the callback even if asset not found. This is needed on same cases 2016-11-03 16:56:09 +00:00
UbitUmarov 73b20c2ca2 XEngine: make calls to gc.collect on region startup scripts loading a configurable option, since it is very slow operation 2016-11-03 12:58:43 +00:00
UbitUmarov f29d5ad662 ubOde: if a mesh does not contain data for shape type PRIM, dont collide as convex as before but just don't collide matching the type NONE viewers display in this case 2016-11-02 22:33:32 +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 7c4f2b048f ignore prims with shape type none on max size check for physics
also on llStatus()
2016-10-25 20:44:41 +01:00
UbitUmarov db0c268140 mantis 8041: check target user password on save/load IAR 2016-10-25 20:16:23 +01:00
Diva Canto 4c76a061c7 Flip master to 0.9.1 2016-10-24 09:21:44 -07:00
UbitUmarov d550b485f1 viewer crash bug fix: fis the udp packets split of SendEstateList() large lists; Enforce size limits on the estate lists since currently required for viewers compatibily; improve handling of changes with large selected items. This is still bad, users may need to close and reopen the region/estate information to get correct Allowed and Banned lists after a change. This happens because of viewer resent/outOfOrder packets that completly break this lists updates protocol 2016-10-24 10:23:31 +01:00
UbitUmarov 586e4cf163 ignore prims with shape type none on max size check for physics 2016-10-17 19:16:07 +01:00
UbitUmarov 954bcbc5ef bug fix: let ALL avatar controls have a repeat rate controled by viewer (so as before commit 8a3958ad04 on this) 2016-10-15 20:44:18 +01:00
UbitUmarov 7cd4fa8cf5 bug fix: We can't filter out any of the avatar controls relative to movement, even if not flying (a condition i incorrectly added recently) in fact the entire AgentUpdates throotling is questionable, since its viewer Job. But keeping it... 2016-10-15 20:26:23 +01:00
UbitUmarov 7494d7726a change math on GetParcelMaxPrimCount and GetSimulatorMaxPrimCount to reduce round errors, limit both to region max prims. consider ObjectBonus on last one also. Change a variable name in PrimLimitsModule to make it more clear 2016-10-11 01:14:53 +01:00
UbitUmarov 76a2d90dad remove attachment to event OnPreAgentUpdate that is doing nothing 2016-10-05 13:38:12 +01:00
UbitUmarov 2e863edfe9 Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-10-05 13:18:14 +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
Robert Adams e13fecfd3d BulletSim: zero velocity target when setting velocity through the
SetMomentum method.
2016-10-03 20:47:30 -07: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
Robert Adams c7e4b14a26 BulletSim: fix problem with avatar velocity going to zero when flying across
region boundries.
Move code for Velocity, ForceVelocity and SetMomentum to BSPhysObject and
   have both BSPrim and BSCharacter share the code.
2016-09-30 19:35:44 -07:00
UbitUmarov 46dd899d9e MySQLFSAssetData asset type is a int not a varchar 2016-09-27 21:29:09 +01:00
UbitUmarov 9b2f186a8c MySQLFSAssetData on store, if a asset already exists, assume its a valid store or regions will keep retry. The other DBs do replace the item, why doesn't FS do the same? 2016-09-27 21:10:01 +01:00
UbitUmarov 58513fab8f save oar: simplify confusing successefull assets saving message 2016-09-27 16:49:55 +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 f6e77e3935 load oar; activate area cliping if bounding-origin option is given. as help says 2016-09-27 15:24:05 +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 42989176ec mute a debug message to mute jak daniels 2016-09-23 19:27:25 +01:00
UbitUmarov d196958cc4 make sendRegionInfoPacketToAll really send to all ( inc child agents) thx Jak Daniels 2016-09-23 18:56:47 +01:00
UbitUmarov f613b5f517 fix caching of wind and cloud packets in the case of several regions on a instance, that got broken with the necessary send to child agents. 2016-09-23 18:28:46 +01:00
UbitUmarov 22b531f2e4 make clouds a bit diferent on regions running on same instance.. well should be diferent .. :) 2016-09-23 17:13:59 +01:00
UbitUmarov f5189b2cdd do the same for legacy clouds (still visible on older viewer ie singu 1.8.7). Fix clouds update. Send clouds and wind also to child agents. 2016-09-23 16:04:43 +01:00
UbitUmarov 8d7f10e36b cache wind compressed data so cpu burning compression is only done after a change. Not happy with version scheme for several regions on same instance, but should be ok for now 2016-09-23 13:55:23 +01:00
UbitUmarov a6df626868 add a version tag to wind and cloud data updates to iclient 2016-09-23 13:03:16 +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 7201352074 bug fix: add a missing return; add some error messages 2016-09-22 22:08:21 +01:00
UbitUmarov d3627c4f33 no need to send wind on avatar arrival when it is sent periodicly 2016-09-22 19:25:04 +01:00
UbitUmarov 94e983c95f mantis 8027: let osMessageAttachments also send to attachments child prims.. also changed its code structure and could not test 2016-09-22 17:05:05 +01:00
UbitUmarov bbe8ef0528 mantis 8027: allow messages to be sent to attachments child prims in llRegionSayTo 2016-09-22 02:05:25 +01:00
UbitUmarov bf17da3d61 check for null target, minor cleanup 2016-09-21 22:51:25 +01:00
UbitUmarov 874ba6b363 avoid a null ref 2016-09-19 19:40:13 +01:00
UbitUmarov cca01f5cda change CreatorIdentification set code 2016-09-19 16:03:33 +01:00
UbitUmarov 1b7327800a fix GetUserUUI 2016-09-19 15:41:14 +01:00
UbitUmarov 7e751d5010 replace no thread safe code 2016-09-19 12:39:22 +01:00
UbitUmarov 092d4fb9ff fix typo in table name, thx tglion 2016-09-18 20:00:47 +01:00
UbitUmarov 188b5030f7 restore sqlite fixes from commit 0e6874..that got lost 2016-09-17 19:46:40 +01:00
UbitUmarov 4dc787eb32 store all terrain in Variable2DGzip format 2016-09-17 19:13:46 +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
AliciaRaven 7c4c3f0d10 Minor. Remove unused integer arrays from TerrainModule 2016-09-15 22:46:59 +01:00
AliciaRaven 733782f214 Minor. Make email module log message format consistent with other modules 2016-09-15 18:45:42 +01:00
AliciaRaven f8ac3d9464 Minor, remove unused OSDMap declaration in MySQL profiles 2016-09-15 18:42:28 +01:00
UbitUmarov f2dfd0a01a make login to default regions be flaged also as login via RegionID, so landpoints can work on those default regions 2016-09-15 01:56:38 +01:00
UbitUmarov c4f30a3c31 add skeleton on handle revoke permissions packet ( non funtional still ) ( do it not using a multidelegate event ) 2016-09-12 18:26:24 +01:00
UbitUmarov 38fb28bd68 avoid siting a avatar at 0,0,0 2016-09-12 18:19:01 +01:00
UbitUmarov 34dce801b2 put a lock back in ubOde character :( 2016-09-12 18:10:11 +01:00
UbitUmarov b9380c033d move region comands out of LocalGridServiceConnector where they do not belong 2016-09-10 12:43:48 +01:00
UbitUmarov b8d97ff37d mantis 8021: fix show regionsinview help text 2016-09-07 12:43:38 +01:00
UbitUmarov d5dbcc8ad7 ubMeshmerizer: add a few more try{} guards in file operations, etc 2016-09-05 15:59:33 +01:00
UbitUmarov 02ecff255d in show regionsinview display the name of the config option (MaxRegionViewDistance) that controls the regions View range 2016-09-05 14:51:54 +01:00
UbitUmarov 4f80c52509 add console comand show regionsinview lists the regions that can be seen from a region so may also get child agents from it 2016-09-05 14:26:52 +01:00
UbitUmarov ed06bfb585 fix console comand Show Neighbours and enable it 2016-09-05 13:41:06 +01:00
UbitUmarov 49c579ec71 suspend httpdos on mapimge, fix image not been updated after first Get till restart 2016-09-05 12:30:25 +01:00
tglion 0e68742afc Fix some wrong handling of booleans for SeeAVs, AnyAVSounds and GroupAVSounds fields in sqlite3-database
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-09-05 08:39:16 +01:00
UbitUmarov b5e7816b77 try to reduce the amount of assets created editing materials 2016-09-04 07:25:55 +01:00
UbitUmarov 6526de04cb make sure materials are cached. Split POST and PUT handlers for better readability 2016-09-04 04:19:10 +01:00
UbitUmarov c37877ed34 tests making sure evering thing is coerently wrong.. 2016-09-03 07:29:42 +01:00
UbitUmarov 16cec3041f <0,0,0,0> is not a rotation 2016-09-03 07:09:05 +01:00
UbitUmarov d9572bdf4e ConvexDecomposition remove a copy of vertices not needed for ubOde 2016-09-02 11:55:59 +01:00
UbitUmarov ea686058c9 ConvexDecomposition fix some incorrect convexhull mesh generation for ubOde 2016-09-02 10:37:18 +01:00
UbitUmarov 054cc8f08e Xengine only do GC.Collect if logins disabled 2016-09-01 20:49:07 +01:00
UbitUmarov f6eac5aa7a remove some MegaRegions code from ubOde 2016-09-01 17:25:29 +01:00
UbitUmarov 6c6a965320 remove some MegaRegions code from physics 2016-09-01 16:15:51 +01:00
UbitUmarov fced64aef5 change asset upload retry timer AutoReset back to true 2016-09-01 16:00:21 +01:00
UbitUmarov bc1f5ebbb9 change MAXSENDRETRIESLEN from test value to normal 2016-09-01 13:03:47 +01:00
UbitUmarov 04351cc1c2 asset tests that still need UploadAttempts 2016-09-01 13:01:18 +01:00
UbitUmarov 924aaedfce assets uploads to grid. Change the retry code. Stop using asset.UploadAttempts field that should be removed 2016-09-01 12:45:09 +01:00
UbitUmarov 2a0df34087 Xengine: and fix line count again 2016-08-31 14:36:07 +01:00
UbitUmarov 2cbacbfb82 Xengine: put back a newline on scripts preamble, and the ugly filename prefix, for now 2016-08-31 12:47:56 +01:00
UbitUmarov 96ee7e4c2c Xengine: if option AppDomainLoading = true, create script domains for each SOG (like already done for attachments) and not per script. This should reduce number of domains without excessive problem of deleted scripts still loaded. 2016-08-31 12:03:06 +01:00
UbitUmarov a2a84dea49 Xengine: coment out tests too dependent on precise characters and lines generated on code convertion, viewer error position is what matters 2016-08-31 11:17:30 +01:00
UbitUmarov 0f993a1278 Xengine: also missed a few newlines account 2016-08-31 10:39:01 +01:00
UbitUmarov eca0ebab9d Xengine: forgot to do the indent on map too 2016-08-31 10:25:19 +01:00
UbitUmarov 3db81d87d6 Xengine: fix intermediate csharpe source identation. Not sure why i care, compiler sure doesn't and only we bother to create this files on code gen debug 2016-08-31 09:42:03 +01:00
UbitUmarov 5afc5fe343 Xengine: try to reduce memory pressure of scripts compile. Still ugly code, possible mistakes, but i need to share it before i loose it :) ) 2016-08-31 09:15:08 +01:00
UbitUmarov 4e1784d069 Xengine: remove a no thread safe locking, don't allocate a few objects only needed if creating a new domain 2016-08-30 08:56:35 +01:00
UbitUmarov ed555801a4 mantis 8013: change attachment group to active group on attach from inventory 2016-08-29 19:41:26 +01:00
UbitUmarov 2b1b013404 ubOde add a missing decimal dot :) 2016-08-29 16:25:46 +01:00
UbitUmarov 155a861a4f ubOde mouse look steer with some MOUSELOOK_BANK action 2016-08-29 16:22:16 +01:00
UbitUmarov d96c05a121 change my previus fix, change xengine to expect SOG and not attachments module, this way not breaking other script engines or modules out there for no valid reason 2016-08-29 12:18:01 +01:00
UbitUmarov a4bf78fa19 mantis 8006: AttachmentModule triggered OnAttach by SOG xengine expects by SOP 2016-08-29 11:53:07 +01:00
UbitUmarov 9a67c9fd78 disable AttachmentModule tests again :( 2016-08-29 10:19:02 +01:00
UbitUmarov 2ab7248e31 allow AttachmentModule tests, some may now work 2016-08-29 10:09:59 +01:00
UbitUmarov 832758df2b mantis: 8006 restrict the suspention of Trigger OnAttach to the problematic case where scripts are created, and not always as i incorrectly did before. This is still a temporary fix, other modules will not get the notification in that case. But that needs a deeper fix possible in xengine 2016-08-29 10:03:06 +01:00
UbitUmarov 90d88f2df5 disable AttacmentsModule tests because they depend on OnAttach event currently not avaiable 2016-08-28 15:11:22 +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 b2021cf83a mantis: 8006 remove duplication of attach script events. This is a temporary fix because TriggerOnAttach will not be trigger on attachment from inventory, (for now only Xengine connects to it on core). 2016-08-28 11:28:49 +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 0628671d69 missing file 2016-08-28 03:54:47 +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 abadad47d3 stack overflow is (not)funny :) 2016-08-27 18:03:21 +01:00
UbitUmarov b2386b8d0d llCollisionSound(,value) back to disable all sounds. new osCollisionSound(..). allows defualt sounds with volume 2016-08-27 16:38:29 +01:00
UbitUmarov 38ba839eb3 watchdog timeouts: replace a silly List copy i added doing it a better way 2016-08-25 23:31:18 +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 90fc4183dc suspend the use of SelectedObjects list. It is not threadSafe and is not in use (possible cant even be used) 2016-08-25 07:12:50 +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 7ce6430a86 put back the console comand i remove since it is not a repetion 2016-08-25 04:55:01 +01:00
UbitUmarov c0f7e1edba why did u used RunInThread? change to RunInThreadPool 2016-08-25 03:55:56 +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 387d564aad do similar changes to unused checksManager 2016-08-24 07:41:11 +01:00
UbitUmarov fc45942026 remove redundate console comand add, change stat deregister 2016-08-24 06:57:21 +01:00
UbitUmarov 32396742f8 reduce unnecessary allocation of new items 2016-08-24 06:26:31 +01:00
UbitUmarov 99c3b61bd9 dont request a workjob if we can see there is nothing to do 2016-08-24 06:20:04 +01:00
UbitUmarov 8f509af1f4 fix the conditions to do parcel objects autoreturn 2016-08-24 04:37:21 +01:00
UbitUmarov c05ee23d3d minor change on warp3d lib 2016-08-24 04:10:35 +01:00
UbitUmarov 09e8289c68 potencial null ref 2016-08-24 02:21:33 +01:00
UbitUmarov f9f35e5049 potencial null ref 2016-08-24 02:10:34 +01:00
UbitUmarov fdea8fc96b potencial null ref 2016-08-24 02:00:50 +01:00
UbitUmarov 3c30223c77 potencial null ref 2016-08-24 01:40:35 +01:00
UbitUmarov 55680c9cd6 potencial null ref 2016-08-24 01:34:21 +01:00
UbitUmarov 517064121d estate handleTerrainRequest memory leaks 2016-08-24 01:22:50 +01:00
UbitUmarov 6744ec95a9 DynamicTextureModule memory leaks 2016-08-24 01:05:01 +01:00
UbitUmarov 35cc0420c8 fix a use of string Trim() 2016-08-24 00:20:45 +01:00
UbitUmarov 4dbd353110 remove some dead code 2016-08-24 00:13:54 +01:00
UbitUmarov 95970d7788 use known name a group ejetee if its local client 2016-08-24 00:06:47 +01:00
UbitUmarov 7a2256a8cd change odd condition on groupsV2 add to role 2016-08-23 23:48:07 +01:00
UbitUmarov ed6d9199ce coment some debug messages 2016-08-23 11:52:52 +01:00
UbitUmarov 8eacc6b207 replace warp3D.dll by a newer modified version. (only minor testing done :( 2016-08-23 10:58:34 +01:00
UbitUmarov 08c1dff86c change strange rotation in legacy MapImageModule (untested) 2016-08-22 20:43:47 +01:00
UbitUmarov 133fce98e7 change ODEs topcolliders code ( still bad), plus a few memory leaks 2016-08-22 20:28:15 +01:00
UbitUmarov a2c80b20d7 try to make mono happy 2016-08-22 08:35:39 +01:00
UbitUmarov 9953dad3a9 workaround potencial memory leak 2016-08-22 08:16:06 +01:00
UbitUmarov 39e92adaf2 workaround potencial memory leak 2016-08-22 08:12:32 +01:00
UbitUmarov 9229d5a324 locking issue 2016-08-22 07:55:25 +01:00
UbitUmarov d1e3be1efe minor locking issue 2016-08-22 07:51:36 +01:00
UbitUmarov 3abd54082f remove unnecessary lock 2016-08-22 07:32:12 +01:00
UbitUmarov 2d4d1adb4d locking issue 2016-08-22 07:24:58 +01:00
UbitUmarov cc322861ca minor locking issue 2016-08-22 07:14:33 +01:00
UbitUmarov b98b535a6b locking issue 2016-08-22 06:50:20 +01:00
UbitUmarov 3ffb6e8120 minor locking issue 2016-08-22 06:29:54 +01:00
UbitUmarov 4f4227d5bb workaround potencial memory leak 2016-08-22 06:23:55 +01:00
UbitUmarov 27dcb01b2e workaround potencial memory leak 2016-08-22 06:06:13 +01:00
UbitUmarov 5d5bad5fc1 workaround potencial memory leaks 2016-08-22 06:03:39 +01:00
UbitUmarov 52a80f1742 workaround potencial memory leak 2016-08-22 05:47:19 +01:00
UbitUmarov c8a1d7e5a7 workaround potencial memory leaks 2016-08-22 03:55:01 +01:00
UbitUmarov 426e8a798f (re)fix avatar standup from a child prim on object delete 2016-08-22 00:28:54 +01:00
UbitUmarov 67a853a70e add a missing lock() 2016-08-21 22:44:21 +01:00
UbitUmarov 0f4d54b8b2 put back the dangerous resp.ReuseContext = true option, that for some odd reason OSgrid nginx configuration seems to need 2016-08-21 20:52:31 +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 963b296f93 in HGAssetBroker do cache all if asset id changed 2016-08-21 04:56:23 +01:00
UbitUmarov b566be4f82 partially apply patch in mantis 8002 2016-08-21 03:06:31 +01:00
UbitUmarov 5d42d24428 limit the scan of terrain EnforceEstateLimits to the area changed. 2016-08-21 02:10:45 +01:00
UbitUmarov d9647dbf7c fix llSetText utf8 string size cliping 2016-08-21 00:57:25 +01:00
UbitUmarov 73719b2efc fix terrain BMP image format on SaveStream mantis: 8001 2016-08-21 00:25:32 +01:00
UbitUmarov 3337ebe93c make the case llCollisionSound("",1.0) more clear its retunring to default sounds, ie like a prim that never had this funtion called. 2016-08-21 00:02:31 +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
Melanie Thielker 0517e3d439 Mantis #8000, don't charge for updating classifieds. Thanks, Cinder!
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2016-08-20 22:44:32 +01:00
Melanie Thielker 82244cca68 Allow creation of user appearance from a model avatar. Thank you,
Cinder, for this patch.

Signed-off-by: Melanie Thielker <melanie@t-data.com>
2016-08-20 22:42:32 +01:00
UbitUmarov c17e337eca fix GetLandData(...) in land connectors not suporting large regions 2016-08-20 01:59:40 +01:00
UbitUmarov 4ab9cfe711 fix physics sits on child prims 2016-08-19 23:38:56 +01:00
UbitUmarov 6ad0f3250b fix ubOde prims unlink that got broken fixing sleeping bodies collisions, core removes and adds a prim with same LocalID not giving time for physics to actuly delete, so when it did it LocalID was lost 2016-08-19 21:28:40 +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 52afd8588d fix updates resend by reEnqueing, that got broken down the line 2016-08-19 17:49:59 +01:00
UbitUmarov 3fef576554 avoid telling a work job to cancel itself 2016-08-19 16:14:08 +01:00
UbitUmarov 6703be2a90 do not enqueue next event processing if script is in SelfDelete state 2016-08-19 14:17:57 +01:00
UbitUmarov e62d38a4ab catch some NULL refs 2016-08-19 02:41:15 +01:00
UbitUmarov d701de4021 add cap GroupMemberData 2016-08-19 02:26:49 +01:00
UbitUmarov 861fa8a408 Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-08-19 00:16:59 +01:00
UbitUmarov c53d74274d missed another UserAccounts cache, add a few locks 2016-08-19 00:14:46 +01:00
Kevin Cozens 1b2e240bf8 Collect any group join fees. Pass group name when applying join/create fees. 2016-08-18 15:38:39 -04:00
Kevin Cozens 847d351bf5 Fixed grammer in a comment 2016-08-18 15:38:39 -04:00
UbitUmarov 9c75f8a57e avoid NULL refs 2016-08-18 14:35:28 +01:00
UbitUmarov 4b73550eee allow cap HomeLocation to be disabled setting Cap_HomeLocation = "" 2016-08-18 13:17:46 +01:00
UbitUmarov ac542715f1 add caps HomeLocation ; add client SendAlertMessage(string message, string info), where info in info message field. only minimal testing done 2016-08-18 12:45:11 +01:00
UbitUmarov e58e6daf4a several changes on BunchOfCaps. Move some mesh cost initialization to its class it, change caps path to be plain random UUID (except SEED) 2016-08-18 07:48:46 +01:00
UbitUmarov fedc689170 in GetUsersNames(string[] ids) why are empty names in cache? ignore them, cache also information found by GridUserService 2016-08-18 04:16:20 +01:00
Kevin Cozens df8f189f5c Fixed typo in two group messages 2016-08-17 22:44:40 -04:00
UbitUmarov 7dbc5803a6 in GetUsersNames(string[] ids) dont loose names HGFriends may have cached 2016-08-18 02:49:46 +01:00
UbitUmarov 7d968213fd fix region Allow damage and parcel safe flags handling 2016-08-17 23:33:11 +01:00
UbitUmarov f1495cb237 ubOde reduce collision_start latency in same cases (only one collision happening and more than 50ms since last) 2016-08-17 22:34:21 +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 9f88273741 add GetMultiAccounts USER SERVICE HANDLER. UNTESTED !!! 2016-08-17 06:25:20 +01:00
UbitUmarov 04ea34f379 add GetUsersNames(string[] ids) to UserManagement. Make GetDisplayNames cap use it so several IDs are handle on a single call. Since there is no grid side suport, no much gain still 2016-08-17 06:00:42 +01:00
UbitUmarov 72876fc683 drasticly reduce HG inventory caches Expire times, Remove them all onClientClose. This to avoid potencial desyncs with inventory service 2016-08-16 23:11: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 57aac3d77e remove OptionalModules\ViewerSupport\SimulatorFeaturesHelper ShouldSend() since it cannot be used 2016-08-14 03:56:44 +01:00
UbitUmarov 1337f5f26e remove a parameter for detection of grid fail to suport getting multiple user accounts per call and handle it where needed. 2016-08-13 23:41:57 +01:00
UbitUmarov 7c1b2a5dde add some wiring to have GetUserAccounts for multiple IDs on a single request to grid services. Unfinished, untested 2016-08-13 05:22:29 +01:00
UbitUmarov b64f25e631 add a missing cast to ulong in RegionGridLocToHandle (mantis: 7994) 2016-08-13 00:16:50 +01:00
UbitUmarov 09832edadf avoid automatic packet spliting in GroupMembersReply 2016-08-12 18:47:01 +01:00
UbitUmarov 9080aaf9eb only reissue a kill if a update is for a deleted sog root part. 2016-08-12 04:08:19 +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 cfab2675ff remove code from httptests branch 2016-08-11 08:42:34 +01:00
UbitUmarov 9aa2484f0d to do that don't use slideexpiration; add cap event ChatterBoxForceClose 2016-08-11 08:38:39 +01:00
UbitUmarov b16d6c0302 stop renewing xml cache entries expires. Let them expire or grid changes will ignored as long something keeq requesting (like group profiles refreshs). reduce the expire time more ignoring folish config. 2016-08-11 04:52:25 +01:00
UbitUmarov 8fb7a3543f let physics know about region water level change 2016-08-09 22:29:11 +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 f387b93859 tell prim name on some more ubMeshmerizer error/warn messages 2016-08-09 11:59:27 +01:00
UbitUmarov a30f75cfdc fix entity update flags update 2016-08-07 21:13:58 +01:00
UbitUmarov c255c23981 move updates from updates queues into udp queues acording to their payload estimated size and udp sending capability on a time slice, instead always moving a arbitrary number of updates. 2016-08-07 21:13:29 +01:00
UbitUmarov ff0ccf9c67 several changes related to culling option 2016-08-07 21:13:01 +01:00
UbitUmarov 83d6722d31 if a viewer overloads region capability to process RequestMapBlocks, ignore following requests for 300 seconds. This was necessary becaus some viewers like FireStorm are doing it, saturating region and grid services for no usefull reason 2016-08-06 22:12:38 +01:00
UbitUmarov f7419ad52d ubOde revert making vehicle hover height disable hover. This at least breaks current scripts. wikis say it should, but makes no sense with vehicle type parameters defaults. Hover it again only disabled with timescale >300; handle llSameGroup on attachments 2016-08-06 05:21:15 +01:00
UbitUmarov 17cc238b44 ubOde a few changes to collisions reporting 2016-08-06 02:05:23 +01:00
UbitUmarov 20d8177d98 fix incorrect ids in llDetected collision parameters 2016-08-06 00:11:13 +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 60b08b51b6 remove country from avatars DetectParams, since it is only used on a cm function that can get it directly 2016-08-05 17:08:34 +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 ab7619292f also use group provided by viewer on ObjectDuplicateOnRay 2016-08-05 01:59:19 +01:00
UbitUmarov 338a4d8d3b duplicate objects with the group requested by viewers and not internal idea of active one 2016-08-05 01:37:20 +01:00
UbitUmarov a0cab03caa rez new objects with the group requested by viewers and not internal idea of active one 2016-08-05 00:52:45 +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 5861355577 do friends recaching on MakeRoot for normal tps, delay it on crossings 2016-08-04 17:39:10 +01:00
UbitUmarov bb8e271081 fix a typo 2016-08-04 17:29:47 +01:00
UbitUmarov 2619005f46 also disable vehicle hover if its hover is set to zero 2016-08-04 17:17:16 +01:00
UbitUmarov 3f2291611f apply external forces and torque to vehicles also, as other engines do 2016-08-04 16:24:19 +01:00
UbitUmarov 1b16ad9088 let get by handle also search on inner lookup table 2016-08-04 03:16:29 +01:00
UbitUmarov 721d5ed145 well then also no need to remove them :) 2016-08-04 01:19:52 +01:00
UbitUmarov 9e07c55746 no need to place normal size regions on the inner lookup table (HANDLEMASH ? its MASK) 2016-08-04 01:16:17 +01:00
UbitUmarov 374911c410 try to speed up get by position X,Y on region info cache 2016-08-04 00:39:28 +01:00
BlueWall e15dc72113 Provide tests for native datatypes where LSL Constants are used in lists as JSON elements. Namely: LSL_Float/double, LSL_String/string, LSL_Integer/int. Fixes http://opensimulator.org/mantis/view.php?id=7957
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-08-03 22:24:04 +01:00
UbitUmarov 2d8669ad39 reduce ubOde walking super climbers 2016-08-02 21:08:22 +01:00
UbitUmarov a99df75a30 (mantis 7983) update local cache when storing a baked tex on assets server 2016-08-02 17:45:06 +01:00
UbitUmarov 5baceff4e9 stop a spamming robust debug message 2016-08-02 17:37:41 +01:00
UbitUmarov 90b899c4e4 do not try to cache same asset twice with hg enabled 2016-08-02 15:56:44 +01:00
UbitUmarov 04ac81a46e minor cleanup 2016-08-02 02:21:41 +01:00
UbitUmarov 908b5e8526 revert that and actually don't loose the estates :) 2016-08-02 01:37:47 +01:00
UbitUmarov b1ef269dd3 add a extra null check on epxirecache out ( ?? ) 2016-08-02 01:15:53 +01:00
UbitUmarov 4ba4c9cf9e missed a Math.sqrt ... 2016-08-01 04:48:01 +01:00
UbitUmarov 708d2cd413 replace DateTime.Now by utcNow in another place 2016-08-01 00:58:16 +01:00
UbitUmarov 8d5bc71a53 bug fix: use UtcNow in both places :) 2016-08-01 00:35:48 +01:00
UbitUmarov 159d722966 on 0.8 grids compatibility code just do a BIG range request. It whould be done in most cases (open borders) plus 4 more. In future this code should not be used if the grid is >=0.9 2016-07-31 23:12:09 +01:00
UbitUmarov c0eae1f8f9 simply NotFoundLocationCache, comment out some debug messages 2016-07-31 22:39:01 +01:00
UbitUmarov 722b7cfbb2 bug fix 2016-07-31 19:35:10 +01:00
UbitUmarov 703e96b4cb Change RegionInfoCache again... 2016-07-31 19:08:35 +01:00
UbitUmarov 598e4ed7c9 rearrange handlers convertion math, harcoding the grid unit size of 256m, also inviting jit to use cpu barrel shifters. 2016-07-31 02:53:35 +01:00
UbitUmarov a4caedceae rename a few things to reduce confusion between regions wold location and grid location (a lot more elsewhere) 2016-07-31 01:56:44 +01:00
UbitUmarov db7f1aaa2f cleanup to go break something else 2016-07-31 00:03:48 +01:00
UbitUmarov 0509badcc1 another try on jenkins 2016-07-30 23:56:54 +01:00
UbitUmarov 78d9312fc8 move some code back to AddRegion because some tests dont issue RegionLoaded 2016-07-30 23:23:28 +01:00
UbitUmarov 7b55348360 still on jenkins 2016-07-30 22:44:41 +01:00
UbitUmarov f4385dcd92 do not set m_RegionInfoCache null on each LocalGridServicesConnector construction 2016-07-30 22:26:31 +01:00
UbitUmarov 7ae4211635 test jenkins for the null object 2016-07-30 22:19:25 +01:00
UbitUmarov 4599b3ecfd test jenkins for error line number 2016-07-30 22:05:55 +01:00
UbitUmarov 2826f713d4 stop creating caches on all standalone regions on a single instance ( why are shared modules been created on every scene?? ) 2016-07-30 21:25:26 +01:00
UbitUmarov 9a4afa753b fix NULL references added in recente changes in standalone mode 2016-07-30 20:56:19 +01:00
UbitUmarov e62f8fd09e change RegionInfoCache expires control 2016-07-30 20:08:14 +01:00
UbitUmarov bf593dd6f4 fix RegionInfoCache keys compare, remove RegionCache now replaced by RegionInfoCache 2016-07-30 17:14:17 +01:00
UbitUmarov 79b7787eff let LocalGridServiceConnector also have a RegionInfoCache, use the remote one if this is active. 2016-07-30 14:35:43 +01:00
UbitUmarov 6cd0a3e07c fix cAgent.CrossingFlags 2016-07-30 04:25:32 +01:00
UbitUmarov b44b898331 remove a unused parameter 2016-07-30 03:45:58 +01:00
UbitUmarov a1759292c8 add a regionInfoCache cache add region with expire time option 2016-07-30 03:31:03 +01:00
UbitUmarov 202212bcbc add a regionInfoCache get by world 2D position 2016-07-30 03:13:23 +01:00
UbitUmarov 55b2d01028 in RegionInfoCache, replace lib omv ExpireCaches by a single dedicated one 2016-07-30 01:44:33 +01:00
UbitUmarov 3d58198c55 fix llEdgeOfWorld() for var regions (someone needs to test this better 2016-07-29 00:55:40 +01:00
UbitUmarov c692664f3d a zero direction vector in llEdgeOfWorld() should return TRUE not FALSE, (SL wiki) 2016-07-28 21:37:16 +01:00
UbitUmarov 16a7232f55 revert adding a new IM parameter ( commit bf604c85c6
, that was a mistake. this should fix invites accepts etc, that got broken
2016-07-28 08:22:51 +01:00
UbitUmarov 19df2a2916 remove more code related to Mega regions 2016-07-28 01:00:56 +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 a8e19b7831 remove the RegionCombinerModule (mega regions), references still all over the place. runprebuild maybe needed after this 2016-07-28 00:12:07 +01:00
UbitUmarov 01289b9c2d first step removing MegaRegions: refuse to run. Thanks to all that made MegaRegions possible, they where a important OpenSim feature, but can no longer be mantained 2016-07-27 23:13:24 +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 f4fa891928 waste another thread job on another thing that should be part of a more
unified service, and also not hidding on a so called event"
2016-07-27 02:54:49 +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 f19b3d28bd do GridUserService.SetLastPosition async on crossings 2016-07-26 22:09:06 +01:00
UbitUmarov e0e8b784a5 apply the change to groups v2 also 2016-07-26 21:43:26 +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 1a8a8e16ef add a public SetGroupPowers to clientView 2016-07-26 17:57:14 +01:00
UbitUmarov 13ae6dff18 let some group related data to have a public set 2016-07-26 17:34:59 +01:00
UbitUmarov e766f9d20f get a copy of current clientView group powers 2016-07-26 16:54:04 +01:00
UbitUmarov 3f0d84c28b cleanup some code 2016-07-25 19:49:40 +01:00
UbitUmarov 67a32c91bb remove redundant check 2016-07-25 08:45:15 +01:00
UbitUmarov 1d507f8073 remove extra char 2016-07-25 08:38:10 +01:00
UbitUmarov fcdf0b00b1 add give a body to default rootVelocity 2016-07-25 07:24:39 +01:00
UbitUmarov 2548f240b5 add missing overrides 2016-07-25 07:18:23 +01:00
UbitUmarov aa9503ab86 revert bad last changes and fix the issue another way 2016-07-25 07:06:36 +01:00
UbitUmarov f661fdf2aa ubOde bug fix 2016-07-25 06:07:06 +01:00
UbitUmarov c3b298f85e missing file 2016-07-25 02:11:45 +01:00
UbitUmarov 4b832f0f8e add osGetHealRate(avatarkey) and osSetHealRate(avatarkey, healrate); healrate from 0 (disables auto heal) to 100 (maybe too fast) % per second. (untested) 2016-07-25 02:05:53 +01:00
UbitUmarov e60dc305a4 change bullet relative velocity sign to match ubOde 2016-07-25 01:07:19 +01:00
UbitUmarov 76239602b4 change avatar Health, from bad penetration depth to relative velocity 2016-07-25 00:51:37 +01:00
UbitUmarov 42a072d181 preserve max relative velocity on a colision report time slice 2016-07-25 00:47:43 +01:00
UbitUmarov 0a9f06fda7 ubOde actually revert last change don't send unnecessary empty collisions, will patch it elsewhere 2016-07-24 22:33:31 +01:00
UbitUmarov c303cf7412 ubOde still on relative velocity. Make ubOde report avatar empty collisions to tick events on core. Avn didn't require this, core should not require also (TODO) 2016-07-24 22:28:45 +01:00
UbitUmarov a572a22dd9 ubOde try to improve contact velocity on first avatar collision with terrain 2016-07-24 21:29:34 +01:00
UbitUmarov 574b97d93d ubOde fix contact relative velocity sign 2016-07-24 21:16:14 +01:00
UbitUmarov d6d3e14f29 add a missing update to avatar damage Invulnerable 2016-07-24 19:31:28 +01:00
UbitUmarov 2bb467e358 add osSetHealth() value from 1 to 100; (mantis 7973) 2016-07-24 16:31:29 +01:00
UbitUmarov 37936550f0 reOoops ... 2016-07-24 15:55:31 +01:00
UbitUmarov 4fa8debde5 Ooops ... 2016-07-24 15:43:35 +01:00
UbitUmarov bf604c85c6 add missing IM parameter ( needs fix where it is really relevant ) 2016-07-24 15:17:25 +01:00
UbitUmarov 96a5a053ef do not send IMs via child agents 2016-07-24 14:44:40 +01:00
UbitUmarov f4eb1a8e1d add a coment for improvement of ChatterBoxSessionAgentListUpdates closer to viewers protocol. Not necessary on current groups chat lists defecient implementation 2016-07-23 21:20:36 +01:00
UbitUmarov c4db0dd6ac change group lists control so it does show something (only xmlrpcgroups for now). This will never work without a centralized dispatcher/controler, or more complex information exchange. 2016-07-23 21:09:34 +01:00
UbitUmarov bdab44ef7e remove code from httptests branch 2016-07-23 01:34:40 +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 504ee6e21c don't try to rez a object from a asset with empty data and Let user know about it 2016-07-22 16:41:41 +01:00
Melanie Thielker 2cffa71be2 Add some additional checks to llTransferLindenDollars. 2016-07-18 11:12:14 +01:00
UbitUmarov 9b4e83caa0 dont try dequeues if didnt reacquired lock 2016-07-17 16:21:37 +01:00
UbitUmarov f636ef037a http send is blocking, so we need we need to do it async in all cases. - this will need revision after server changes 2016-07-16 20:23:30 +01:00
UbitUmarov d1810866b3 simplify http textures and meshs Throttles 2016-07-16 19:53:41 +01:00
UbitUmarov c9bd6ff94b disable OSHttpTests that will collide with testing new http server changes 2016-07-15 15:54:54 +01:00
Geir Nøklebye 653b896794 PGSQL: Update simulation data with a number of missing fields for parcels. Some of the fields should probably be migrated to type Boolean to avoid the hairy casting in the query. In addition the overall server code relies in the Replace in SQL statement that is proprietary to MySQL, so the PGSQL code is rather unsafe as it is. Should probably set a transaction on the whole operation so that if something goes wrong the database record is not zapped as it is now. PostgreSQL 9.5 has the upsert functionality which would bring the code closer to the MySQL version. This commit also has an update to PGSQLRegionData
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-07-15 15:45:39 +01:00
UbitUmarov 5f5c4aca40 lib omv now supports SeeAvs fields, so use it, thx Gavin Hird 2016-07-15 15:36:53 +01:00
UbitUmarov aba4e2d13b revert changes to Select/DeSelect, using the SelectObjects as control seems bad 2016-07-14 02:11:50 +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 e0a1025497 Oops that was not slower 2016-07-13 16:28:07 +01:00
UbitUmarov 33655e40df slow down culling kills even more 2016-07-13 16:15:35 +01:00
UbitUmarov acebfeb5c9 don't overlap Select and Deselect, fix deselect prims account 2016-07-13 15:56:01 +01:00
UbitUmarov 981980150c ignore camera on culling for now 2016-07-13 14:18:06 +01:00
UbitUmarov 7131703244 ugly culling 2016-07-13 14:00:33 +01:00
UbitUmarov 14296bc792 add missing prim count for stats 2016-07-13 10:25:52 +01:00
UbitUmarov 2220ceb522 a few changes to culling 2016-07-13 02:07:07 +01:00
UbitUmarov abf423e361 be nicer to PIs (actually linux) 2016-07-12 23:23:47 +01:00
UbitUmarov 3507566692 reduce some locks on culling checks 2016-07-12 22:15:39 +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
Melanie Thielker f87d5d0780 Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-07-11 22:32:27 +01:00
Melanie Thielker 8239e29be7 Change the user verification call back to use the host name instead of the
IP address. Fixes NGINX on OSGrid getting confuzzled.
2016-07-11 22:31:32 +01:00
UbitUmarov 79fb13c95c reduce xfer burst if we are busy 2016-07-11 12:05:47 +01:00
UbitUmarov a92266d58e fix ObjectPropertiesFamilyPacket LastOwnerID 2016-07-10 19:05:19 +01:00
UbitUmarov e6d57a1e49 change Xfermanager file sending 2016-07-10 15:25:05 +01:00
UbitUmarov 8d27abd3b4 Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-07-09 13:46:20 +01:00
UbitUmarov 941971648e kick Xfermanager from heartbeat and expires files based on its timming 2016-07-09 13:45:29 +01:00
Kevin Cozens 21de916225 Fixed the order of two file names used in a warning. 2016-07-08 21:21:46 -04:00
UbitUmarov 415c45b097 add a simple files expire to Xfer to catch some that never got a request (opened xfers also need a timeout) (not pretty code, but should not have heavy use) 2016-07-09 01:32:27 +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 06b412c980 the bug was actually here 2016-07-06 17:32:59 +01:00
UbitUmarov beafc99d43 bug fix, etc 2016-07-06 17:31:05 +01:00
UbitUmarov 6c48be6c91 finish removing child-repri option 2016-07-06 16:50:25 +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
UbitUmarov 259824fbc4 add EngineName also to the others 2016-07-04 09:13:20 +01:00
UbitUmarov 2ebccbcd08 add EngineName also to old ODE 2016-07-04 08:55:19 +01:00
UbitUmarov 1d9e343b7e Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-07-04 08:30:07 +01:00
UbitUmarov ac72598c6b add OSSL osGetPhysicsEngineName(). this returns a string with name and version. does no permition checks or it whould be less usefull ( only ubOde returns value) 2016-07-04 08:29:26 +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 b3d8e35d67 dont try to check CanObjectEntry on a attachment in llSetPos() 2016-07-03 19:51:07 +01:00
UbitUmarov 58135ef52c fix a lost region size of 256m 2016-07-03 19:39:13 +01: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 a6ee06d630 dont send bad profiles to viewer 2016-07-02 13:53:17 +01:00
UbitUmarov cd34f978fb revert to previus GroupProfileRequest because floatsam groups server seems to return wrong values for GroupMembershipCount and GroupRolesCount. this should be fixed because we are getting the full lists just to count number of entries 2016-07-02 01:01:29 +01:00
UbitUmarov 7991bb08f1 reduce absurd viewers blind retries of GroupProfileRequest 2016-07-02 00:18:29 +01:00
UbitUmarov 057bc648f3 xmlrpcgroups: make use of a forgotten GetMemberGroupProfilemethod, put back xmlrpc cache since it is necessary to prevent folish viewers flooding 2016-07-01 23:26:16 +01:00
UbitUmarov 07c8e79b03 missing file 2016-07-01 19:32:14 +01:00
UbitUmarov 3af437c8bc cleanup a bit 2016-07-01 19:20:04 +01:00
UbitUmarov 7b7483ec7e save one call to grid to get agent groups powers (xmlrpcgoups only for now 2016-07-01 18:38:38 +01:00
UbitUmarov aa744eecf2 add a few methods to modify clientview group powers 2016-07-01 18:19:09 +01:00
UbitUmarov 1777324a86 cleanup a bit AgentGroupDataUpdate sending 2016-07-01 17:31:31 +01:00
UbitUmarov 6deced0193 increase xmlrpc timeout in xmlrpcgroups, disable its cache until its entries invalidation is checked 2016-07-01 16:24:42 +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 ea140d7cac change ubOde module, hopefully for better handling of multiple scenes on same instance. ( may be broken now ) 2016-06-29 14:14:16 +01:00
UbitUmarov 158e0ae402 Revert " don't try to send initial AgentGroupDataUpdate to NPCs" this was
already done

This reverts commit 84a6a6e008.
2016-06-28 23:57:14 +01:00
UbitUmarov 84a6a6e008 don't try to send initial AgentGroupDataUpdate to NPCs 2016-06-28 23:52:00 +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
UbitUmarov bc4e5d81b9 add PRIM_OMEGA to llGet(LINK)PrimitiveParams. This will not return same values as spec, because the way our targetomega works. ( only did minor testing) 2016-06-26 14:40:26 +01:00
UbitUmarov 71404be21d let llPlaySound() in HUDs send sound to owner without parcel restriction 2016-06-26 10:02:56 +01:00
UbitUmarov 8cb3787de8 mantis 7942: allow llTriggerSound on HUDs to send sounds to all. 2016-06-26 09:40:05 +01:00
Diva Canto c34fcae3f3 Added a test for checking permissions in inventory items that are transferred. This is a work in progress. All permission assertions are commented for now. Will get back to this later when permissions are fixed by Melanie. 2016-06-24 12:27:45 -07:00
Diva Canto 758e1e2535 Mantis #7933: copy-paste bug in avn code. 2016-06-23 13:53:42 -07:00
Diva Canto cec5682da9 Mantis #7937: don't send group info to NPCs 2016-06-23 12:10:50 -07:00
Diva Canto b522f0916a Mantis #7934 and related: landing points and telehubs for gods. Added a new configuration variable LandingPointBehavior that can switch between what we're used to in OpenSim and the behavior in SL. 2016-06-23 11:44:59 -07:00
Diva Canto 55a4d1cf44 Same change here too. 2016-06-23 06:41:26 -07:00
Diva Canto 648cf51411 Fix failing test 2016-06-23 06:38:34 -07:00
Diva Canto 56e2358ec2 Because there's no such thing as too much culture. (looking forward to .NET 4.5 to set this globally) 2016-06-22 20:31:01 -07:00
Diva Canto cc9ff12988 Set culture also in object crossings. 2016-06-22 20:18:16 -07:00
Diva Canto c94c929ec1 Amend to previous commit -- set the culture also on the receiving end. 2016-06-22 18:35:14 -07:00
Diva Canto 33efc91342 Mantis #7802: set culture to US English on the thread that does the agent crossing, not that it's async and needs to parse decimal numbers. 2016-06-22 18:10:12 -07:00
Diva Canto 1e213f5150 Mantis #7802: added debug message to diagnose the problem. 2016-06-22 15:55:39 -07:00
Diva Canto 94616510f2 Missing AsBoolean 2016-06-22 15:39:09 -07:00
Diva Canto 193a3afa64 Make a debug message less misleading. 2016-06-22 15:28:18 -07:00
Diva Canto f8bd3d2f2e Mantis #7935: regression on transferring attachments over the HG 2016-06-22 11:52:53 -07:00
Diva Canto 0b32cf0e8f Can't do it do it this low in the stack. Attachments on teleports apparently rely on
State being != 0.
Revert "Mantis #7932: Some objects were being serialized with PCode=9 and State != 0 (meaning attachments). That should never happen."

This reverts commit f19199cf4a.
2016-06-22 06:21:23 -07:00
Diva Canto 74c79d1f88 Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2016-06-21 20:28:44 -07:00
Diva Canto f19199cf4a Mantis #7932: Some objects were being serialized with PCode=9 and State != 0 (meaning attachments). That should never happen. 2016-06-21 20:28:25 -07:00
Melanie Thielker 5c81e03738 Fix a dumb mistake 2016-06-21 01:49:47 +02:00
Melanie Thielker 8e40bb6fb7 Make some more modules inheritable 2016-06-21 01:46:38 +02:00
Melanie Thielker 9de8cefee5 Split IM handling so an inheriting module can cange names if required. 2016-06-21 01:20:21 +02:00
Diva Canto 34b308d5b6 Guard against multiple calls to SetOwnerId on one logical ownership change. 2016-06-20 16:02:37 -07:00
Diva Canto bc0fc16f44 Still mantis #7929: apply next owner mask to the new owner, the group. 2016-06-20 15:32:22 -07:00
Diva Canto 359908fa88 Related to mantis #7929: "For sale" was not being accepted, because of permissions fail. This adds a new permissions check CanSellGroupObject. THIRD-PARTY PERMISSIONS MODULES TAKE NOTE OF THIS NEW EVENT. 2016-06-20 10:08:15 -07:00
Diva Canto 623a2f859f Mantis #7929: objects deeded to the group were loosing some important properties. This makes the "For sale" be visible, but is not the end of the story. 2016-06-20 10:05:17 -07:00
Diva Canto ff65248b9c Removed a couple of verbose messages 2016-06-19 20:13:32 -07:00
Diva Canto 8d99fe095a Mantis #7920: group info was not being updated in many situations. (regression) Putting back the heavy messaging. 2016-06-19 17:35:11 -07:00
Diva Canto 4f3da0a643 AgentGroupData was being sent by both UDP and EQ -- an overkill. Turn off UDP messaging. 2016-06-19 16:28:27 -07:00
Diva Canto 76ab1ed10c Restored sending group membership data via EventQueue -- this had been a regression. Took the opportunity to refactor that code, so that both Groups V2 and XmlRpcGroups can use the same function. 2016-06-19 16:27:12 -07:00
Diva Canto d51fe01ed8 Mantis #7915: bring XmlRpcGroups/GroupsModule.cs up to speed with Groups V2 2016-06-19 15:15:57 -07:00
Diva Canto a9fb3d0e18 Minor -- deregister an event handler in Groups V2 2016-06-19 15:14:50 -07:00
Diva Canto ea3fe90ddb Mantis #7928: show grid size and show regions now working. Integers were being overflown. 2016-06-19 13:57:01 -07:00
Diva Canto 12b73603cc Still related to mantis #7917, parcel prims info. Now sending the correct numbers for "Simulator primitive usage" related to the parcel owner, not the entire region. 2016-06-19 09:17:04 -07:00
Diva Canto ce7fa728ef Mantis #7917: regression on prim limits module. 2016-06-18 22:07:01 -07:00
Diva Canto 206faf0218 Guard against occurring null ref. 2016-06-18 17:00:15 -07:00
Diva Canto fe1f01defb Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2016-06-17 12:40:41 -07:00
Diva Canto 8a070f16dd Mantis #7848: something wrong with a data field in Groups V2 2016-06-17 12:40:04 -07:00
Melanie Thielker ed168473af Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-06-16 01:48:27 +02:00
Melanie Thielker d2f61f5320 Also make the HGUserManagementModule more amenable to subclassing. 2016-06-16 01:47:52 +02:00
Melanie Thielker f800f5ba57 Make the UserManagementModule inheritable 2016-06-15 16:51:02 +02:00