Commit Graph

24678 Commits (878fac3fe3626a6bff003a8a6d7efce9e0d83e8a)

Author SHA1 Message Date
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
Diva Canto e0a82a82de "reverting" the keep alive changes brought in from avination, to check if that's what's making osgrid fail. This is not really reverting, it's more manually resetting some places (not all) where keep alive is set. 2016-06-14 08:58:37 -07:00
Diva Canto 4be4e98525 Revert "Add a few more debug messages to diagnose problems in OSGrid's proxy use"
This reverts commit 2d2414adcf.
2016-06-13 20:40:47 -07:00
Diva Canto 1e9a944633 Revert "More debug to diagnose osgrid"
This reverts commit b5f29e93f6.
2016-06-13 20:39:52 -07:00
Diva Canto b5f29e93f6 More debug to diagnose osgrid 2016-06-13 20:35:40 -07:00
Diva Canto 467de7a2f0 Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2016-06-13 18:04:50 -07:00
Diva Canto 2d2414adcf Add a few more debug messages to diagnose problems in OSGrid's proxy use 2016-06-13 18:04:28 -07:00
Melanie Thielker cdfbf78d07 Fields should be protected unless private is required 2016-06-14 01:27:48 +02:00
Melanie Thielker 68c73951ef Make the LLUDPServerShim inheritable. There is absolutely no reason for
this to be sealed!
2016-06-14 01:21:47 +02:00
Melanie Thielker 141205532b Make chat and instant message modules fully subclassable 2016-06-14 00:03:40 +02:00
Diva Canto 3ef5e1a24b Mantis #7923. EDIT BEAMS ARE BACK! 2016-06-12 22:01:36 -07:00
Diva Canto c2e63e807e Mantis #7861. llEdgeOfWorld not working. Two reasons: (1) edge was being filled but not used; (2) region size was being ignored when computing the neighbors' coordinates.
Not sure if this is the intended semantics of this function, but it made sense in my varregion test with neighbors all around except in the South.
2016-06-12 14:48:30 -07:00
Diva Canto d0c65d15dc Still mantis #7858: send kill object / update to child agents too 2016-06-12 14:29:30 -07:00
Mandarinka Tasty 634d85a30d Detection of Cylinder and Prism for flexi prims
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: Diva Canto <diva@metaverseink.com>
2016-06-12 13:58:20 -07:00
Diva Canto 42a9afdc43 Mantis #7858: DeleteSceneObject done slightly differently. ProcessEntities now checks whether the objects have been deleted and, if so, sends an extra kill object packet, in order to compensate for potential race conditions encountered by the first one.
Note: I still cannot reproduce this problem, but I was able to emulate it by adding an artificial delay on ProcessEntities, which did, indeed, result in objects not being deleted. This fix fixed my emulated scenario.
2016-06-12 12:23:52 -07:00
Robert Adams 9ebdae8676 Restore SendAgentGroupDataUpdate() call in GroupsModule.cs.
Restore linkage to OnAgentClosed since the merge solved the reference
   problem by looking up the agent.
This should address Mantis 7915 and 7920.
2016-06-11 12:42:42 -07:00
Diva Canto 53d8b8a83f Mantis #7874: parcel properties not being updated upon avatar entering new parcel. Root cause: update of the avatar's current property was being made too soon. 2016-06-11 10:23:07 -07:00
Diva Canto 1468ee9179 Mantis #7858. This is s shot in the dark, because I cannot reproduce the problem. Removed what seemed to be redundant kill object calls that weren't there in 0.8.2 -- kill object is already being called in DeleteGroupFromScene. 2016-06-11 09:38:19 -07:00
Diva Canto 8e10963f45 Mantis #7919: fatal exception on LoadImageURLModule 2016-06-06 09:55:25 -07:00
Diva Canto 7d6adeedf5 Fixed a merge issue 2016-06-06 08:41:08 -07:00
Diva Canto c4c3163db9 Don't copy assets to foreign asset servers when the objects are being deleted
Conflicts:
	OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs
2016-06-06 08:37:15 -07:00
Melanie Thielker 48915377a6 Correct spelling and grammar, thanks Mata Hari 2016-05-30 19:04:19 +02:00
Mandarinka Tasty 77af32cdbf Enhancement of osRegionRestart
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2016-05-30 15:58:39 +02:00
Melanie Thielker bcee4e3772 Fix a line deletion that should not have been deleted 2016-05-23 19:33:36 +02:00
Melanie Thielker 08bd80f5f4 Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-05-23 19:20:05 +02:00
Jeff Kelley 527ea6af02 Fixed discrepancy between code and ini symbols. 2016-05-23 19:19:36 +02:00
Melanie Thielker 775a657bb1 Addressing #7903. Fix legacy sit offsets to use legacy computation.
New offsets of course still use the correct math.
2016-05-23 19:18:24 +02:00
Diva Canto 057d1b2a6e Minor improvement over the previous commit -- make sure the code exists in the FolderType enum 2016-05-16 21:57:19 -07:00
Diva Canto 9e21647011 Mantis #7878 -- Landmarks were not being created in HGSuitcaseInventory 2016-05-16 19:36:20 -07:00
Roger Kirkman 97a471cb35 Fix crash due to setting Thread.name after thread start.
Signed-off-by: Diva Canto <diva@metaverseink.com>
2016-05-12 17:42:42 -07:00
Melanie Thielker 1e44aba620 According to the SL wiki, estate managers can set parcels for sale. Make it sew. 2016-05-02 21:40:14 +02:00
Melanie Thielker 4bac95bf4a Change requirements for the LL god functions from CanRunConsoleCommand to IsAdministrator, a function that was not available when these were first coded and makes much more sense. 2016-05-01 20:33:47 +02:00
Melanie Thielker 59ed89769a Apply user specified default perms across the board, to items uploaded as well as items created and to rezzed prims in world.
This effectively removes the concept of "default permissions" from OpenSim
because all known modern viewers set the permissions flags on login.
Ancient abandoned viewers will now default to the SL defaults.
2016-04-29 22:36:56 +02:00
Melanie Thielker d42de53dda Allow default permissions from the viewer to be applied to uploaded objects.
Make inventory items reflect coorect permissions immediately unstead of after relog
2016-04-29 21:23:32 +02:00
Melanie Thielker bedebf9498 Prevent "Object->Take" from working on attachments. 2016-04-29 17:11:36 +02:00
Melanie Thielker 8ef34a1bc5 Fix incorrect SQLite syntax in Migrations 2016-04-28 17:15:08 +02:00
Melanie Thielker a01f24e331 Replace the "land show" method with the better one from 0.8. 2016-04-28 16:13:23 +02:00
Melanie Thielker 995655c445 Make the SimulatorFeaturesModule nonshared as it ought to be from it's code structure. 2016-04-27 00:48:56 +02:00
Melanie Thielker 2c75be7f6e From information given my Mandarinka Tasty, add firing the detach event even for temp attachments 2016-04-27 00:35:30 +02:00
Melanie Thielker 6771fb7d5d Reverse a comparison, this is probably the cause of attach issues 2016-04-26 17:43:36 +02:00
Melanie Thielker 61a7566381 Fire detach events even in temp attachments. They don't really need it but keeping the tests happy 2016-04-25 20:27:23 +02:00
Melanie Thielker 8f668ec888 Stop serializing and storing assets for objects that were never rezzed from inventory items. 2016-04-25 20:02:11 +02:00
Vegaslon 46a62a37d1 Fix Temporary Attachments not being able to be detached by client
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2016-04-25 19:44:15 +02:00
Geir Nøklebye 7aa3d4256e POSTGRES: Update database migrations to be in accordance with MySQL table definitions. Prerequisite for fixing PGSQLSimulationdata
Signed-off-by: Kevin Cozens <kevin@ve3syb.ca>  (mantis #7846)
2016-04-25 12:17:17 -04:00
Geir Nøklebye b418033915 Updated the code to handle Agent Preferences. Thanks to TomDataworks for providing a final solution.
Signed-off-by: Kevin Cozens <kevin@ve3syb.ca>  (mantis #7610)
2016-04-25 12:15:34 -04:00
TomDataworks e9b0f71575 Fix Mantis #7805, table handler needs to look for all unique constraints.
Signed-off-by: Kevin Cozens <kevin@ve3syb.ca>
2016-04-25 12:11:03 -04:00
Geir Nøklebye b91cfcca2b POSTGRES: Added check for Heightfield not equal to Database NULL.. Mirrors OpenSim commit 50d738
Signed-off-by: Kevin Cozens <kevin@ve3syb.ca>  (mantis #7845)
2016-04-25 12:01:36 -04:00
Melanie Thielker 28fb722612 CR safari. Remove gratuitious CRs in some files 2016-04-07 19:53:56 +02:00
AliciaRaven 3ff19a8ac3 Fix missing id parameter in FSAssets database connector when updating Access time. 2016-04-05 21:52:28 +01:00
Kevin Cozens 2cfe848ceb Correct case in the names of the Avatar and Friends tables 2016-03-24 16:43:27 -04:00
Melanie Thielker 4cc954249d Mantis 7842 - remove another possible null dereference 2016-03-23 21:03:20 +01:00
Melanie Thielker 548b741130 Correct the case of the Presence table 2016-03-22 23:05:31 +01:00
Melanie Thielker 482daacea7 Add migration to add "active" column on PGSQL. UNTESTED! 2016-03-22 20:55:21 +01:00
Melanie Thielker de109dbe92 Change casing on UserAccounts 2016-03-22 20:08:46 +01:00
Melanie Thielker 73e527fffc Fix some artefacts that came from merging the OSGrid code. 2016-03-22 20:01:22 +01:00
Melanie Thielker e8b46023e4 Add osRequestURL and osRequestSecureURL with an options list.
Only currently supported option is "allowXss" which will send the needed
Access-control-allow-origin: * header to allow xss scripting against
the LSL http server.
2016-03-16 20:04:52 +01:00
Jeff Kelley efa21156f3 Implement Access-Control-Allow-Origin for HTTP LSL server 2016-03-16 19:22:40 +01:00
Melanie Thielker 8e772fde7f Remove debug spam 2016-03-15 02:36:06 +01:00
Jeff Kelley 41644bbfa9 Implement parameterization of HTTP_BODY_MAXLENGTH maximum as proposed in Mantis 7839. 2016-03-14 16:08:49 +01:00
Melanie Thielker 07b78a68fc Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-03-09 02:53:06 +01:00
Melanie Thielker 1697f3e0c2 Finish plumbing RezRestoreToWorld. 2016-03-09 02:52:45 +01:00
Melanie Thielker 43ca32150c Plumb RezRestoreToWorld from the client (part done) 2016-03-09 02:45:11 +01:00
Robert Adams be43fc2234 BulletSim: use the new 'setAvatarSize' physics call introduced in 0.9.
This disables all the avatar size fudge numbers previously used by BulletSim.
If you have your region tuned to the old way, set
"[BulletSim]AvatarUseBefore09SizeComputation=true" in your INI files.
2016-03-06 14:23:06 -08:00
Robert Adams b65a18ef3f Remove unused parameter ShouldUseFireAndForgetForCollisions. It was
used a while ago for testing but the execution code was removed.
2016-03-06 14:16:46 -08:00
Robert Adams feb058f5c5 BulletSim: Send out avatar position update if velocity is now zero
and it wasn't zero last tick. This will prevent some avatar creeping.
Adjust BulletSim default avatar velocity zeroing so the avatar stops sooner.
2016-03-06 11:30:25 -08:00
Melanie Thielker 57b6398b71 Make mesh upload respect the same parts maximum as what is set for the
simulator
2016-03-05 22:30:02 +01:00
Melanie Thielker 110297793c Fix a couple of typos 2016-03-05 22:22:09 +01:00
Melanie Thielker 15b9601393 Introduce UseOsgridFormat config to select the OSGrid specific path name
generator
2016-03-05 01:26:28 +01:00
Melanie Thielker 74c2113bce Port the safer database access and the cure for "Chicken Bones" which
are artefacts that can be created by fsck and would make standard
FSAssets choke. These refinements were tested on OSGrid.
2016-03-05 01:17:42 +01:00
Melanie Thielker c541b5cf43 Mantis 7833: Fix a condition where email sent from an object that is in
the process of being removed can cause a null reference
2016-03-03 17:08:56 +01:00
Diva Canto ab12a14279 Pushed AssemblyVersion up to VersionInfo, so that we don't need to do global replace anymore. 2016-02-21 11:14:02 -08:00
Diva Canto cd54bbe789 The old sqlite inventory data interface was still around and causing problems: the only part of the code using it was the data (sqlite) tests. Given that this old interface has been obsolete for several years, it has now been removed, including the tests. TODO: Writing tests for the new (ah!) inventory data interface. 2016-02-21 10:37:12 -08:00
Diva Canto 206b035571 SQLite: Removed obsolete migration file 2016-02-21 09:12:25 -08:00
Diva Canto ee24b25165 Flatten migrations for sqlite
Conflicts:
	OpenSim/Data/SQLite/Resources/RegionStore.migrations
(Resolved)
2016-02-21 09:10:00 -08:00
Diva Canto ded776c86b MySQL migrations: fix one last migration that had been left behind 2016-02-21 07:08:55 -08:00
Diva Canto 134e94a7e9 Flatten migrations for MySQL.
Conflicts:
	OpenSim/Data/MySQL/Resources/RegionStore.migrations
	OpenSim/Data/MySQL/Resources/UserAccount.migrations
2016-02-20 19:27:12 -08:00
UbitUmarov 170acd7d67 change parcel_owner_is_god configuration option from default from true to false, leaving only region_owner true by default 2016-01-30 15:42:59 +00:00
UbitUmarov b34652e9eb accept mantis 7785 requests, at least until bullet can be also be used fix landing height. (could not test) 2016-01-26 21:42:46 +00:00
UbitUmarov 668ff1e12c make sure MaxRegionsViewDistance is lower than MaxDrawDistance 2016-01-26 20:55:00 +00:00
UbitUmarov 109723dc2d add option MaxRegionsViewDistance to control the maximum range to tell viewer to connect to Neighbour regions, since that is diferent from view range 2016-01-26 20:39:37 +00:00
Robert Adams 66be75556b BulletSim: increase default value of AvatarStopZeroThreshold as this reduces
the occurance of stopped avatar drifting in the viewer. Not sure why but this
is a short term fix while investigation continues.
2016-01-20 06:35:53 -08:00
Robert Adams 33af419050 BulletSim: make collision sounds work most of the time. Seems that collisions
usually stop  the collider so velocity is often small.
Also remove some chatty debug messages.
2016-01-19 22:09:51 -08:00
Robert Adams ddd59fab5f BulletSim: add stationary suppression on AddForce application. This enables
small pushing of avatars (Mantis 7779).
2016-01-18 10:50:28 -08:00
Robert Adams 5ed90b3921 BulletSim: fix problem of not zeroing motion when stationary (drift problem from
Mantis 7813). Redo Z computations for movement. Clean up code to simplify
tests. Add function to suppress stationary tests unless velocity drops.
2016-01-18 10:48:10 -08:00
Robert Adams 35d4298be6 BulletSim: change method signatures for internal AddForce methods to remove
confusion about push forces. The latter is an external, physics engine interface
feature (the force parameter has a different unit if pushing vs adding force)
and that distinction is not used internally.
2016-01-18 07:02:48 -08:00
Robert Adams fb57d31538 BulletSim: revert avatar stationary testing for having slight velocity.
This fix causes drift (Mantis 7813). This revision will rebreak pushing
(Mantis 7779) but drifting is bad and pushing will be fixed in future commits.
2016-01-18 07:00:50 -08:00
Robert Adams b02f29300d Code cleanup to terse update sending as given in a patch in Mantis 7813.
Thanks tqlion!
2016-01-18 06:58:41 -08:00
Robert Adams 22501ea06d BulletSim: fix Mantis 7798: land collisions not working. 2016-01-10 16:42:23 -08:00
Robert Adams d4e88f8883 BulletSim: tweaking so avatar can be pushed. In particular, llPushObject,
which called BSCharacter.AddForce, can now move a character.
2016-01-10 14:53:55 -08:00
TomDataworks 905dec5d23 Fix region data range selection in the PGSQL backend.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-01-10 18:05:08 +00:00
UbitUmarov ee15c51ba4 add npc create option OS_NPC_OBJECT_GROUP. with it the npc will be created with the group of the object with the script, if that object owner is member of that group. This should allow parcel access by group to work now, and not much else. The groupTitle will also be set, it the region option NoNPCGroup is not active. 2016-01-01 23:41:25 +00:00
UbitUmarov f8f28311bf stop avatar move to target on parcel ban enforce 2016-01-01 23:03:46 +00:00
Robert Adams 7831d219d7 Add locking around stats record fetch to resolve Mantis 7793. 2015-12-27 15:05:17 -08:00
UbitUmarov e2517b51f8 ubMeshmerizer: remove some wrong faces still present in taper cases, some code cleanup 2015-12-26 21:38:36 +00:00
UbitUmarov f92deb65f8 fix cilinder and cone physics mesh 2015-12-26 01:49:30 +00:00
UbitUmarov 65269f6f7f fix html encapsulation for MSIE was doing nothing 2015-12-25 14:34:02 +00:00
UbitUmarov 85a75ce0bc assume direct string.replace is good enought to avoid a stringbuild use 2015-12-25 14:16:47 +00:00
UbitUmarov 41078f8d51 try to implement HTTP_BODY_MAXLENGTH. Make it limit body input bytes. Read entire relevant input buffer before UTF-8 parsing, or it may fail. 2015-12-25 13:51:05 +00:00
UbitUmarov e5f7856eaf Merge branch 'master' of opensimulator.org:/var/git/opensim 2015-12-25 10:44:59 +00:00
UbitUmarov b7ea5c4967 a few code cosmetic changes 2015-12-25 10:43:51 +00:00
Diva Canto 52ebb3f2fb The configger tool hadn't been updated since the introduction of OpenSimDefaults! :0
It is updated now.
2015-12-24 10:05:59 -08:00
UbitUmarov 7430c629aa enable the upload region map texture asset for large regions for large regions that i had disabled, but with max size reduced to 512pixels. New viewers don't use this, but osGetRegionMapTexture needs it ( mantis 7787 ) 2015-12-24 11:20:46 +00:00
UbitUmarov 37cb24da60 add prim estimated center of mass correction also for tortured prims meshs. Not fully tested 2015-12-24 01:21:15 +00:00
UbitUmarov 24aa529715 fix avatar movetotarget that got broken with changes on significant movement. Do it all on scenepresence.cs, and not also on scene.cs. check distance to target only on X,Y if not flying or landing 2015-12-23 21:22:00 +00:00
UbitUmarov 5135214e5b physics landing: don't land on top of volume detectors 2015-12-22 13:23:08 +00:00
UbitUmarov 6437a94388 a few changes to physics new root avatar position height estimation 2015-12-22 00:06:17 +00:00
UbitUmarov 88a63ecc39 drop attachments to ground a bit in front of the avatar, not on his location 2015-12-21 18:13:07 +00:00
UbitUmarov 7081ef948c clean a bit 2015-12-21 17:56:12 +00:00
UbitUmarov 4b14ec3c45 add physics help on root agent arrival via some login types and if not under action of telehub or landpoint. will change land to the top of anything physics sees above ground up to 1024m above ground. Only works with ubOde (possible ode but untested). Feature testing... some results may be ugly. 2015-12-21 16:31:49 +00:00
UbitUmarov 0e99763e6b revert the setting of phantom flag on attachment drop to ground, since it can break nomod objects 2015-12-21 13:52:45 +00:00
UbitUmarov 52d7aca6a2 simplify avatar updates throotle control, this possible needs to get more complex again 2015-12-21 13:20:24 +00:00
UbitUmarov 827058e359 drop attachments to ground with phantom active. We should not do this, but for now there no better way to avoid nasty collisions. (large physical objects may still have bad collisions with ground on drop) 2015-12-20 11:57:52 +00:00
UbitUmarov 844266c4d5 change the return list of objects costs, sending a answer if none found 2015-12-20 11:43:27 +00:00
UbitUmarov b31adde5fc BUG FIX on avatar position updates send control 2015-12-20 11:12:48 +00:00
UbitUmarov a4f91e5064 do not change a attachment phatom state on crossings 2015-12-19 19:49:27 +00:00
UbitUmarov 01a27e8c71 establish a minimun for ReprioritizationDistance 2015-12-19 17:39:42 +00:00
UbitUmarov 48f6010a1c a more clean enforcement of BestAvatarResponsiveness (others aren't good at moment 2015-12-19 17:29:51 +00:00
UbitUmarov 9a492258c9 reduce xmlrpcgroups error messages if its debug option is off. Disable keepalive by default 2015-12-19 15:24:43 +00:00
UbitUmarov da1c347676 temporary assets are as local 2015-12-19 15:05:49 +00:00
UbitUmarov b29ab1b2df adjust the checks for invalid asset IDs. changed upload fail detection 2015-12-19 15:03:22 +00:00
UbitUmarov b2acef8aad remove the unused OBB physics parameters export, since they aren't actually usefull outside ubOde 2015-12-17 22:34:21 +00:00
UbitUmarov 56e28c6c27 fix silly bug: Dynamics are to apply to root prim not child 2015-12-17 19:02:46 +00:00
UbitUmarov 01b4b25cdb current priority code uses avatar position not camera, so fix reprioritizer. This may need to be reviewed in future.. it should be camera 2015-12-17 18:15:33 +00:00
UbitUmarov ed74fb5da4 save a expensive call to CameraPosition 2015-12-17 12:24:37 +00:00
UbitUmarov a4ed6111b0 change updates reprioritization control code. Do it under normal avatar updates timing and with a workjob not a timer issued thread. 2015-12-17 12:20:02 +00:00
UbitUmarov 3505ab759d dont bother another thread to try to send if there is no one to listen 2015-12-16 23:54:48 +00:00
UbitUmarov 19c551e815 fix test: scene update needs to run after the delay 2015-12-16 23:26:51 +00:00
UbitUmarov 764f270d34 revert last change and add delays on testing, since child updates now have time control, since they are heavy http connections 2015-12-16 23:13:10 +00:00
UbitUmarov ddd067266b temporary remove the delay on first child updates 2015-12-16 22:43:31 +00:00
UbitUmarov 41ae6f06e0 several changes to parcels access control and scenepresence updates rates 2015-12-16 22:16:51 +00:00
UbitUmarov 1d131a0c33 make parcel bans do something on vehicles. Just a first code, far from good 2015-12-15 21:00:06 +00:00
UbitUmarov b7155f5651 fix typo 2015-12-15 18:32:02 +00:00
UbitUmarov 9327bb2546 a few more changes on parcels location finding 2015-12-15 18:19:08 +00:00
UbitUmarov a9e8bd2884 remove replaced code 2015-12-15 17:20:00 +00:00
UbitUmarov c7b963df8f replace GetNearestPoint... funtions 2015-12-15 17:13:32 +00:00
UbitUmarov 9db987b6f9 some changes parcels AABB math etc 2015-12-15 11:46:50 +00:00
UbitUmarov 4805e91d39 dont round to nearest int when checking position in parcel since next high int can be on other parcel 2015-12-15 04:10:47 +00:00
UbitUmarov 2f7e9a97db rename a parameter 2015-12-14 14:07:30 +00:00
UbitUmarov 78794b1dfe bug fix 2015-12-14 14:06:17 +00:00
UbitUmarov 35b88b6580 removed unneeded funtions 2015-12-14 12:47:17 +00:00
UbitUmarov e37e8c3bdf on join parcels, keep the information of the larger parcel, since thats how its expected now 2015-12-14 12:29:00 +00:00
UbitUmarov 2a354f6c28 calculate land startpoint, endpoint and center estimate when it is updated, it not every time they are needed 2015-12-14 11:57:24 +00:00
UbitUmarov ca6b5fc80d taint prim count when join or subdivide parcels 2015-12-13 18:22:46 +00:00
UbitUmarov 736bcc70fe change default landpoint type to anywhere (direct) 2015-12-13 18:07:40 +00:00
UbitUmarov 6c5005aa3b several changes to telehubs, LandPoint and land access 2015-12-13 16:59:01 +00:00
UbitUmarov 36e53b0e03 fix: do tell and log denied access to estate 2015-12-13 12:42:15 +00:00
UbitUmarov 5d6da6bb35 fix: if no groups module, deny access 2015-12-13 12:14:31 +00:00
UbitUmarov f3c03aaa62 several changes to region and land access control - this may be a bit broken now 2015-12-13 11:31:06 +00:00
UbitUmarov 79945cff7c improve a bit llpushobject on avatars using bullet, but force is ignored a few seconds after a movement comand. RAdams plz take a look 2015-12-12 20:52:12 +00:00
UbitUmarov 819fe96503 invalidate LandPoint on land subdivide 2015-12-12 17:32:59 +00:00
UbitUmarov 4d493dd32e make sure land access/ban lists are active when changed by new viewers 2015-12-12 15:40:09 +00:00
UbitUmarov 3781c486c6 fix land access/ban list sending for new viewers 2015-12-12 13:05:24 +00:00
UbitUmarov 0934e1cf71 add IsEstateManager check to Permissions 2015-12-12 10:03:07 +00:00
UbitUmarov 5c39d9790e change vivox url from https:// to http:// still another 2015-12-11 19:50:22 +00:00
UbitUmarov 6ea43d6014 change vivox url from https:// to http:// missed several 2015-12-11 19:48:50 +00:00
UbitUmarov b63a7d7705 change vivox url from https:// to http:// (merge issue) 2015-12-11 19:44:42 +00:00
UbitUmarov b35d3a3134 fix backup control flag, still a bad merge effect 2015-12-11 02:06:32 +00:00
UbitUmarov 6de7da467a keep SOG reference to root part since two many things depend on deleted SOGs not being deleted 2015-12-10 17:04:39 +00:00
UbitUmarov 62009ba9c0 remove some SOG references on delete to help GC 2015-12-10 14:00:43 +00:00
UbitUmarov bdab95f1d2 dont try to process packets for deleted clients 2015-12-09 22:57:13 +00:00
UbitUmarov bbe55df6c6 disable useless and totally wrong incoming Pools 2015-12-09 22:32:48 +00:00
UbitUmarov 42e5ee4c4b don't keep a reference to config, if not in use 2015-12-09 21:35:20 +00:00
UbitUmarov 4ad7160e05 minor cleanup 2015-12-09 17:20:51 +00:00
UbitUmarov f7a29ad8b5 minor cleanup 2015-12-09 16:42:24 +00:00
UbitUmarov ce44ce447b coment out odd DoubleQueue class code 2015-12-09 16:30:45 +00:00
UbitUmarov 8314987474 tick region health a bit faster 2015-12-09 16:27:59 +00:00
UbitUmarov 3ca4b6f319 fix the queue type in use 2015-12-09 16:26:03 +00:00
UbitUmarov eccec66359 fix the queue type in use 2015-12-09 16:12:21 +00:00
UbitUmarov 447943302d add some missing GC.RemoveMemoryPressure() 2015-12-09 01:43:32 +00:00
UbitUmarov 7d8b783d31 send a full update on GroupResize, not a terse 2015-12-05 08:30:30 +00:00
UbitUmarov a7079c9227 add default eyes to default wearables, and revert previus bad commit 2015-12-04 18:29:31 +00:00
UbitUmarov 0d8f62405c add other Eyes asset id to xferupload defaults 2015-12-04 17:34:49 +00:00
UbitUmarov 0ae7b7e7e8 change handling of optional skirt baked texture 2015-12-03 16:21:43 +00:00
UbitUmarov c903e3afd0 fix a 1m diference in regions view range estimations 2015-12-03 01:13:54 +00:00
UbitUmarov d5e21a0ad2 remove failed CreateAgent from agent child regions list 2015-12-02 04:40:06 +00:00
UbitUmarov e2796e6044 fix typo 2015-12-02 04:26:30 +00:00
UbitUmarov ae3e288b14 createAgent needs to be sync 2015-12-02 04:24:58 +00:00
UbitUmarov 52a5688b6e minor: fix a log timing information 2015-12-02 02:43:52 +00:00
UbitUmarov b1c4f69154 fix protocol version to max wearables mapping 2015-12-01 19:49:27 +00:00
Melanie Thielker f42522b510 Fix protocol versions to wearables count mapping 2015-12-01 16:07:47 +01:00
Melanie Thielker 41072259e4 Change protocol version max to 0.6 2015-12-01 16:01:12 +01:00
UbitUmarov e37c4e878c more changes on lookAt and RotLookAt; do something in attachments 2015-12-01 12:11:48 +00:00
UbitUmarov a9e58d6175 some changes due to lookAt and RotLookAt 2015-12-01 10:15:38 +00:00
UbitUmarov 193b3079e4 Merge branch 'master' of opensimulator.org:/var/git/opensim 2015-12-01 09:43:05 +00:00
UbitUmarov c277dbd66c fix a more few typos 2015-12-01 09:42:28 +00:00
Robert Adams e4d0ae4f6e BulletSim: fix collision sound calculation. Modify some routines to make
collider and collidee clearer. Also fix (when did it break?) avatars not moving
if standing on a moving object. Now friction will move avatars if standing
on a disc or the top of a train.
2015-11-30 20:51:12 -08:00
UbitUmarov b453ef0fbd fix a few typos 2015-11-30 19:47:58 +00:00
UbitUmarov fbef862aee add a few more known texture IDs 2015-11-30 19:45:44 +00:00
UbitUmarov d952b267e9 Merge branch 'master' of opensimulator.org:/var/git/opensim 2015-11-29 18:28:14 +00:00
UbitUmarov 25f13f7c01 fix llLookAt in non-physical case 2015-11-29 18:27:34 +00:00
Diva Canto 55a9bbc6ce Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2015-11-29 09:48:48 -08:00
Diva Canto 1aa0234408 Trying to make http requests less slow, according to http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow 2015-11-29 09:48:17 -08:00
UbitUmarov 302d28625d change llLookAt math to master cleaner solution, assuming lAxis2rot does work 2015-11-29 14:36:09 +00:00
UbitUmarov ca026ac735 fix the default shape type on upload, it is always convex 2015-11-29 00:19:25 +00:00
UbitUmarov 15f8a46216 let Bullet do collision sounds (RAdams plz fix the relative speed) 2015-11-29 00:02:46 +00:00
UbitUmarov 82e464cb8c let old ODE trigger collision sounds like ubOde 2015-11-28 23:44:53 +00:00
UbitUmarov 9928076d1a remove terrain height clamping left over the ushort format testing 2015-11-27 23:46:58 +00:00
UbitUmarov f59350a1ee add a nasty global lock, ode.dll requires on multi regions per instance ( also make sure ninjaJoints are disabled 2015-11-27 22:50:28 +00:00
UbitUmarov 5aa1c0d328 coment out warnings that do a messed around number of threadpool workitens and number of active threads ( at least when a pool is in use) 2015-11-27 18:43:17 +00:00
Diva Canto cade717b5f Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2015-11-27 08:24:39 -08:00
Diva Canto 5b7a585b4f Sometimes the viewer sends a null string as mapName; this made the client thread throw an exception with unexpected behavior for users (nothing happens). This commit gives it a sane default: it assumes we're looking for a position in the current region. 2015-11-27 08:22:30 -08:00
UbitUmarov 3304e52750 add a delay to consume other change messages on move and cross 2015-11-27 14:56:04 +00:00
UbitUmarov f1bbc4d386 stop some requests processing when module as no scenes (there must be a better way to fix this) 2015-11-27 14:39:11 +00:00
UbitUmarov bb0db96256 DeregisterRegion from grid earlier on close 2015-11-27 14:01:42 +00:00
UbitUmarov e2fb600bf5 change Backup on scene close to Forced, and not dependent on last change time. 2015-11-27 13:56:57 +00:00
UbitUmarov c5395cef74 remove thread Heartbeat from watchdog 2015-11-27 13:45:14 +00:00
UbitUmarov 9224b5d680 revert last change to watchdog timeouts, that should not be needed 2015-11-27 13:32:49 +00:00
UbitUmarov baf8e762a6 change JobEngine stop code and add a extra check for thread removed on watchdog timeout checks 2015-11-27 13:28:10 +00:00
UbitUmarov 3029080d9b change threading on GetTexture and getMesh and WebFetch Modules. 2015-11-27 07:38:54 +00:00
UbitUmarov f16d36627f change threading on GetTexture and GetMesh NonSharable region modules 2015-11-27 05:00:11 +00:00
Jak Daniels c0e920c1ad Fix Region Max height in boundingSize parameters checking in ArchiverModule.cs to float.MaxValue .. as was changed in ArchiveReadRequest.cs in commit 71f5c2b856 A comparison of consistent 'default' values determines whether boundingBox check is true.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2015-11-27 00:16:08 +00:00
Melanie Thielker 9afe2b018f Mantis #7765: Add new ClampNegativeZ option. Defaults to false to restore prior functionality.
Avination code wasn't designed for deep building.
2015-11-26 17:29:50 +01:00
UbitUmarov 172bb05ec2 suspend the use of DisableSimulator, that is causing teleport and crossing issues 2015-11-25 04:13:13 +00:00
UbitUmarov 1484348d7f Merge branch 'master' of opensimulator.org:/var/git/opensim 2015-11-25 03:22:20 +00:00
UbitUmarov 583c874773 remove default of 60minutes on MapImageService Refresh time, forgotten from early merge debug 2015-11-25 03:21:38 +00:00
Melanie Thielker 774ac5e96b If no job engine is started at all, keep checking it's status from
bombing
2015-11-24 21:10:40 +01:00
UbitUmarov 6d5b405168 simplify DeliverChatToAvatars(..) ( hopefully not breaking it ) 2015-11-24 17:28:05 +00:00
UbitUmarov a0c3297b37 again chat echos, check repeats uncondicionally 2015-11-24 15:12:39 +00:00
UbitUmarov 08d061d201 reset control even prior to use 2015-11-24 14:28:35 +00:00
UbitUmarov f45905851a at end of teleport disable the sending simulator, not destiny 2015-11-24 14:01:51 +00:00
UbitUmarov 7cf2d261b3 reduce 'echos' on several regions per instance (mantis 7754) 2015-11-24 12:51:58 +00:00
UbitUmarov 19b96697a6 try not to use Process.HasExit that is broken in some mono versions 2015-11-24 11:22:40 +00:00
Diva Canto 5e4b16658b Flipped version to 0.9.0.0 2015-11-23 18:15:09 -08:00
UbitUmarov 87464b5039 remove a debug message 2015-11-24 02:03:38 +00:00
UbitUmarov 9d8fe7f3db revert previus commit 2015-11-23 23:10:02 +00:00
UbitUmarov 81eb9816a2 remove libomv detection/log from llLoginService 2015-11-23 23:03:16 +00:00
UbitUmarov e9345479c4 remove warning on siting in phantom prims without sittarget 2015-11-23 22:11:27 +00:00
Jak Daniels 15af6265a1 Fixed some stupid math and checks on --bounding-origin and --bounding-size. Bounding origin can of course be negative if it needs to be as we're taking stuff from the (possibly rotated) source region. Bounding size must always be >=0 and <= destination region size.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2015-11-22 17:30:08 +00:00
UbitUmarov f75d113230 change silly Monitor use 2015-11-22 08:40:55 +00:00
UbitUmarov ec069edead change syncronization method 2015-11-22 08:31:54 +00:00
UbitUmarov e28eecd0bf revert take the Monitor.wait out of the locks 2015-11-22 08:08:01 +00:00
UbitUmarov 1de096dffb coment out merge option on multiregion oar load i added 2015-11-22 08:00:58 +00:00
UbitUmarov 5c3f88b64d take the Monitor.wait out of the locks 2015-11-22 07:55:49 +00:00
UbitUmarov b80cbf5060 a few more changes on Multiregion control file load 2015-11-22 07:18:11 +00:00
UbitUmarov a6187db2a7 add a a missing monitor.wait if still not needed, mb in future 2015-11-22 05:44:06 +00:00
UbitUmarov 3be340cbf2 a few changes on Multiregion control file load ; load oar seems far from good 2015-11-22 05:42:13 +00:00
UbitUmarov f6820959b7 add Monitor.wait on load 2015-11-22 04:49:01 +00:00
UbitUmarov 4349bde440 reduce noise before compare 2015-11-22 04:10:26 +00:00
UbitUmarov 6dcbd20cfa add merge option on multioar test 2015-11-22 03:58:07 +00:00
UbitUmarov 71f5c2b856 minor changes 2015-11-22 03:56:48 +00:00
UbitUmarov 541d2ce2cd don't use 'funny' Quaternions 2015-11-22 02:22:48 +00:00
Jak Daniels 0b216c37df Changes to Load Oar options and new code to support importing OARs with different Region sizes to the destination region.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2015-11-22 01:32:48 +00:00
Jak Daniels cc992bf156 Changes to TerrainModule/ITerrainModule to support importing OARs with different Region sizes to the destination region.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2015-11-22 01:32:36 +00:00
Jak Daniels 7cac0ccbe3 Changes to TerrainChannel/ITerrainChannel to support importing OARs with different Region sizes to the destination region.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2015-11-22 01:32:08 +00:00
Jak Daniels b23e5fd8b6 Changes to LandObject/ILandObject to support importing OARs with different Region sizes to the destination region.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2015-11-22 01:31:48 +00:00
Shy Robbiani 01e7fa3095 row format fixed removed to allow creation of regions table
row_format=fixed is not supported by innodb and has broken the creation
of the regions table during the first startup of ROBUST. It must be a
relict from MyISAM. Also removed the probably inappropriate table
comment.

Signed-off-by: Kevin Cozens <kevin@ve3syb.ca>
2015-11-21 20:03:42 -05:00
UbitUmarov 88b3545ec3 add a missing override 2015-11-21 19:56:57 +00:00
UbitUmarov c84334fc72 add a missing override 2015-11-21 19:53:14 +00:00
UbitUmarov 11342314e1 add thread allocation calls for new ode.dll (old ode) 2015-11-21 02:53:35 +00:00
UbitUmarov 0b36d4ea2f some cleanup, allow cast rays to collide with terrain within limited range (old ode) 2015-11-21 02:14:19 +00:00
UbitUmarov 3f4fdacb34 remove a warning 2015-11-21 01:55:17 +00:00
UbitUmarov 156fdd4908 remove some duplicate using statements 2015-11-21 01:49:31 +00:00
UbitUmarov 36426b0db2 remove some compile warnings increasing total number by 2 2015-11-21 00:49:43 +00:00
UbitUmarov 019d057563 stop the Vehicle AFTER fixing position not before, bc stop code also updates position (old ode) 2015-11-20 19:40:04 +00:00
UbitUmarov 395d160c41 stop a Vehicle on a failed region cross (or empty border) (old ode) 2015-11-20 19:11:26 +00:00
UbitUmarov 53895289a6 remove Ode.Net - missing file. ( old ode may be broken now) 2015-11-20 18:48:48 +00:00
UbitUmarov 25983c1ba9 remove the hard to maintain Ode.Net wrapper only in use by old ode 2015-11-20 18:25:56 +00:00
UbitUmarov ca5ec4c33b make llAvatarOnLinkSitTarget(0) return UUID.Zero 2015-11-20 01:44:19 +00:00
UbitUmarov 4a0531244a change a log message from error to just Debug 2015-11-20 00:45:12 +00:00
UbitUmarov 98a00cbce5 ubOde: add threading related calls new ode.dll may need. Hope this doesn't break with current linux ode library 2015-11-20 00:37:41 +00:00
UbitUmarov 0c93159297 remove unused return value on DeliverMessageTo() 2015-11-20 00:09:56 +00:00
UbitUmarov 278687b1e8 remove duplicate object chat messages ( mantis 7745 ),fix llRegionSay, this are still merge issues 2015-11-20 00:01:13 +00:00
UbitUmarov 36f7e96392 clean code a bit 2015-11-19 15:02:12 +00:00
UbitUmarov 2e43343ca9 ClearPartAttachmentData before adding object to scene, not after 2015-11-19 14:45:39 +00:00
UbitUmarov 8505ca88dd work around some 'tests' errors: use one autoresetevent per scene 2015-11-19 02:46:25 +00:00
UbitUmarov 759fda0871 work around some 'tests' errors: reset the event at start of new test. 2015-11-19 02:43:49 +00:00
UbitUmarov 9c5acb3df4 work around some 'tests' errors: just a test 2015-11-19 01:43:33 +00:00
UbitUmarov f242137e31 work around some 'tests' errors: add a DefaultPermitions module to sceneB 2015-11-19 01:18:34 +00:00
UbitUmarov a4ed111de1 cleanup indentation 2015-11-18 17:45:56 +00:00
UbitUmarov 6dafce9a12 fix another variable number of wearable types issue 2015-11-18 17:35:26 +00:00
UbitUmarov 0fbb4f0067 work around some 'tests' errors: dont expect a particular http error response 2015-11-18 01:05:46 +00:00
UbitUmarov 62cacff071 add LegacySitOffsets handling at LSL api 2015-11-17 18:17:11 +00:00
UbitUmarov da5aad87bf start adding LegacySitOffsets option. TRUE will prevent the use of new math for the compensation of SL sittarget bug, and so not break content. (this is the main code change) 2015-11-17 17:41:09 +00:00
UbitUmarov eab427e58b work around some 'tests' errors: UUID.Zero is a invalid ownerID - missing file 2015-11-17 09:00:18 +00:00
UbitUmarov 0991ad321a work around some 'tests' errors: UUID.Zero is a invalid ownerID 2015-11-17 08:58:00 +00:00
UbitUmarov 6c766f3ab4 remove unused parameter - missing file 2015-11-17 08:02:48 +00:00
UbitUmarov f7f5aba597 remove unused parameter 2015-11-17 07:59:11 +00:00
UbitUmarov cd29abf1ac work around some 'tests' errors: fix wrong parameters 2015-11-17 07:22:36 +00:00
UbitUmarov 81b7f5551c work around some 'tests' errors: sp attachments and appearance are not in sync 2015-11-17 06:52:03 +00:00
UbitUmarov 51d0087a49 work around some 'tests' errors: AgentGroupDataUpdate is udp 2015-11-17 06:42:45 +00:00
UbitUmarov 2ba14f82fe work around some 'tests' errors: a new event queue has a few null events 2015-11-17 06:23:57 +00:00
UbitUmarov bbfeca4b0c work around some 'tests' errors: a new event queue has a few null events 2015-11-17 06:19:45 +00:00
UbitUmarov 16d158f2f1 work around some 'tests' errors: missing call to InventoryDeQueueAndDelete() 2015-11-17 05:49:39 +00:00
UbitUmarov 9566c000f2 work around some 'tests' errors: terrain effects limits changed 2015-11-17 05:25:08 +00:00
UbitUmarov dd18c9f689 fix llRequestAgentData cache timeout 2015-11-17 05:14:54 +00:00
UbitUmarov 364082d0e8 work around some 'tests' errors: add a httpserver 2015-11-17 04:19:30 +00:00
UbitUmarov 1e87e90915 work around some 'tests' errors: allow sitTargetposition and orientation to be read from OAR on opensim, they are reset at avination, this may cause issues with old sits 2015-11-17 03:42:46 +00:00
UbitUmarov 4e74564caa work around some 'tests' errors: suspend TestllSetLinkPrimitiveParamsForAgent bc avatar sit math changed 2015-11-17 03:16:37 +00:00
UbitUmarov d1737de8d2 work around some 'tests' errors: Coalesced objects handling has changed 2015-11-17 03:10:59 +00:00
UbitUmarov 8567ef3c40 work around some 'tests' errors: test for null cacheItems 2015-11-17 03:00:27 +00:00
UbitUmarov 4660c3076c work around some 'tests' errors: assets are modified by the test, on current code 2015-11-17 02:08:01 +00:00
UbitUmarov ec0a16c559 work around some 'tests' errors: suspend sit on sittarget until im not 2 sleepy to fix the math 2015-11-17 01:53:44 +00:00
UbitUmarov 083b52173b work around some 'tests' errors: suspend undo-redo tests until new ones can be written to conform to new code 2015-11-17 01:44:15 +00:00
UbitUmarov e15ebc091f bug fix: improve chat to child avatars. Still not good because of low resolution of child position updates 2015-11-17 01:31:06 +00:00
UbitUmarov 67aefb5e42 bug fix: StateSource of a SOG that is not a attachment is StateSource.PrimCrossing 2015-11-17 00:48:35 +00:00
UbitUmarov 895a57e426 work around some 'tests' errors: backup is async 2015-11-16 23:25:28 +00:00
UbitUmarov 9c5646a1ba work around some 'tests' errors: dont use references to objects that may have been deleted 2015-11-16 23:21:58 +00:00
UbitUmarov 52a3cc39e9 work around some 'tests' errors: fix math 2015-11-16 22:41:36 +00:00
UbitUmarov 3a65627481 work around some 'tests' error: internal GroupResize() doesn't heave Undo 2015-11-16 21:42:39 +00:00
UbitUmarov 10d5c80910 work around some 'tests' error: object is deleted on DeRezObjects, fix last commit side effects 2015-11-16 21:28:59 +00:00
UbitUmarov ca4b7efd0f dont find parts of groups marked as Deleted 2015-11-16 21:11:22 +00:00
UbitUmarov 99ecf522cd work around some 'tests' error: object is deleted on DeRezObjects 2015-11-16 20:59:57 +00:00
UbitUmarov 250db8c82a work around some 'tests' error: object crossing is async 2015-11-16 20:34:23 +00:00
UbitUmarov d19e4f598f deatach from backup on attachment 2015-11-16 20:12:40 +00:00
UbitUmarov 95a7a03052 work around some 'tests' error: normalization of <0,0,0> no longer causes argument exception, missed a few more 2015-11-16 19:00:53 +00:00
UbitUmarov fd2784a037 work around some 'tests' error: normalization of <0,0,0> no longer causes argument exception 2015-11-16 18:50:15 +00:00
UbitUmarov a2e376e993 work around some 'tests' error: contents of link folders are no longer sent 2015-11-16 18:43:11 +00:00
UbitUmarov 554f591eb6 work around some 'tests' errors 2015-11-16 18:19:54 +00:00
UbitUmarov 9b6633697b coment out excessive debug messages 2015-11-16 17:35:20 +00:00
Melanie Thielker b2592ab132 Fix a merge conflict 2015-11-16 15:30:39 +01:00
Melanie Thielker f93ce485b1 Merge branch 'master' into avinationmerge
Conflicts:
	OpenSim/Framework/AvatarAppearance.cs
2015-11-16 15:28:51 +01:00
UbitUmarov 53e0cd5534 handle diferente number of wearables on getting assets form another appearance 2015-11-15 10:04:35 +00:00
UbitUmarov bcb27d4406 fix the protection for more Wearables than region suports 2015-11-15 08:16:52 +00:00
Diva Canto f5799ff445 That didn't actually do anything for Simian, and it broke the locahost
case
Revert "Also restoring proper function for Simian external GetTexture functionality."

This reverts commit 366e81b977.
2015-11-14 08:10:27 -08:00
Diva Canto 3515fda101 Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2015-11-12 18:31:27 -08:00
UbitUmarov 75befda6df Add some values to the SimulatorFeatures cap's OpenSimExtras section relative to FPS statistics. This is transition code ported from avinationmerge. 2015-11-13 02:12:13 +00:00
UbitUmarov 752a1534f8 add the option Normalized55FPS. This is transition code ported from avinationmerge branch. (configration file changes will be commited later) 2015-11-13 01:12:37 +00:00
UbitUmarov 55cce6aee0 minor: reset character collision flags, even if without a Body 2015-11-12 22:40:55 +00:00
UbitUmarov 9bd6befdeb add some safeguard checks 2015-11-12 21:24:14 +00:00
Melanie Thielker 8c7f475740 Add some values to the SimulatorFeatures cap's OpenSimExtras section:
SimulatorFPS: The actual optimal FPS of the simulator, un-fudged
SimulatorFPSFactor: The fudge factor that is applied to the stats sent to the viewer
SimulatorFPSWarnPercent: The percentage below which a lag meter should go to amber
SimulatorFPSCritPercent: The percentage below which a lag meter should go to red
To display the real values, a viewer would divide the reported FPS by the SimulatorFPSFactor and use that to calculate the percentage of SimulatorFPS. E.g. reported is 55fps, SimulatorFPSFactor is 5.0 and SimulatorFPS is 11.
2015-11-12 21:13:44 +01:00
Melanie Thielker d3911606ef Move a call to RequestModuleInterface to a new scene callback function
because the current implementation would have always returned null
2015-11-12 20:34:09 +01:00
UbitUmarov 649a3fc39c dont abort llDialog if buttons labels are longer than 24bytes, let udp truncate. This is not as spec but allows old scripts or with minor bugs to still work 2015-11-11 06:06:22 +00:00
UbitUmarov adda0ab7d8 limit llDialog buttons text to 24 bytes (at lludp level) 2015-11-11 05:55:34 +00:00
UbitUmarov b383cdae33 fix cut points of UTF-8 strings 2015-11-10 20:08:44 -08:00
UbitUmarov 2b937fdf40 reduce the small MTU violation sending terrain compressed patchs 2015-11-10 23:56:08 +00:00
UbitUmarov 188b2d84c1 increase the number of packets in Land queue that force terrain to delay patchs sending. 2015-11-10 23:50:00 +00:00
UbitUmarov e096b49dd7 check if a packet can be sent imediatly without accounting it as sent on throttles when it is enqueued for later send. 2015-11-10 23:17:56 +00:00
UbitUmarov 40cb83b555 make m_minimumDripRate a bit larger than mtu. Add a bucket space check that does not consume avaiable space, so reducing bandwidth 2015-11-10 22:50:20 +00:00
UbitUmarov f57a48a0fb fix silly bug 2015-11-10 20:34:19 +00:00
UbitUmarov 5bfd49404d start TerrainCheckUpdates on heartbeat thread, but do it async; fix a bug on slow terrain send limits check 2015-11-10 17:44:53 +00:00
UbitUmarov b6c3592411 fix/add lldialog and llTextBox message size error checks, aborting if error as spec. (we can change this to silent truncate and execute the larger ones since llUdp now does it. But doing as spec now) 2015-11-10 15:08:08 +00:00
UbitUmarov 38aad774f7 change lldialog and llTextBox maximum message lenght to 512 bytes as specification. 2015-11-10 14:47:36 +00:00
UbitUmarov ae9d40c7d0 add a StringToBytes variant that takes Maximum lenght as argument. 2015-11-10 14:29:13 +00:00
UbitUmarov d17633f6c0 replace StatisticsFPSfactor that needed to be changed with FrameTime to a simpler true or false Normalized55FPS that is now TRUE by default. Incorrectly this commit also contains changes that should had their own commits: changes to heartbeat time control ant to gathering and calculation of related statistics. 2015-11-09 15:06:41 +00:00
UbitUmarov 097c56330a rename MinFrameTime as FrameTime, since it is not a minimum but a target value; retune its value a bit so reported FPS is closer to integer value; change ode step size acording to reduce jitter in phys FPS; Make Statistics Scaling factor (fludge factor) configurable. (legacy default of 5.0 in code) 2015-11-08 04:28:46 +00:00
UbitUmarov 185d3bd39e change maximum angular velocity to a value derived from heartbeat rate and Nyquist. 2015-11-08 01:47:54 +00:00
UbitUmarov eccc6f1081 fix wrong condition to set low angular velocity as Zero. 2015-11-08 00:24:54 +00:00
UbitUmarov 69fefd1d00 send the estimation of time dilation at packet build time, not the one at unknown past. 2015-11-06 21:27:42 +00:00
UbitUmarov 527ea37540 change OfflineMessageModule from new avination code to original master, for compatibility with current web servers php scripts. This may change after current test phase 2015-11-06 05:18:54 +00:00
UbitUmarov f8efd00775 add a console/log warning about large physics meshs on ubOde that can have negative impact on region load 2015-11-05 16:57:48 +00:00
UbitUmarov dc752e8d82 fix get/set parameters on avatars 2015-11-05 03:07:25 +00:00
UbitUmarov 89655b0baa apply OtakuMegane code changes to irc channel chat so some characters are not lost 2015-11-02 02:23:35 +00:00
UbitUmarov baf5649b70 fix avatarAppearance wearables copy 2015-11-02 02:08:13 +00:00
Melanie Thielker 51e5204a67 Add forgotten file 2015-11-02 01:21:28 +01:00
Melanie Thielker 6bb12ab975 Set wearables count to max legacy wearables for version < 0.4 2015-11-02 00:45:05 +01:00
Melanie Thielker f88e4a1ec9 Plumb the rest of the context stuff. Well, what I see so far anyway 2015-11-02 00:23:38 +01:00
Melanie Thielker 3da0a318b3 Merge branch 'avinationmerge' of opensimulator.org:/var/git/opensim into avinationmerge 2015-11-01 23:40:54 +01:00
Diva Canto aea86f30a0 Don't crash the sim if the map image is null. 2015-11-01 11:38:41 -08:00
Diva Canto af7c002d52 Don't crash the sim if the map image is null. 2015-11-01 11:37:59 -08:00
Melanie Thielker 5f18f2ce6a More EntityTransferContext plumbing 2015-11-01 19:37:14 +01:00
Melanie Thielker 69585a4824 More plumbing of the EntityTransferContext (not yet complete) 2015-11-01 19:11:14 +01:00
UbitUmarov 29798cefcc Merge branch 'master' into avinationmerge 2015-11-01 04:12:17 +00:00
UbitUmarov 54e1d54fb5 fix more merge issues 2015-11-01 03:33:19 +00:00
UbitUmarov 24472c3b67 fix merge issues 2015-11-01 03:25:36 +00:00
UbitUmarov 72684592ba Merge branch 'master' into avinationmerge
Conflicts:
	OpenSim/Framework/AvatarAppearance.cs
	OpenSim/Framework/Servers/ServerBase.cs
	OpenSim/Framework/VersionInfo.cs
	OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs
	OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
	OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs
	OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs
	OpenSim/Region/Framework/Interfaces/IEntityTransferModule.cs
	OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
	OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
	OpenSim/Region/PhysicsModules/ConvexDecompositionDotNet/Properties/AssemblyInfo.cs
	OpenSim/Region/PhysicsModules/Ode/ODEPrim.cs
	OpenSim/Region/PhysicsModules/Ode/OdeScene.cs
	OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
	OpenSim/Services/HypergridService/GatekeeperService.cs
	OpenSim/Services/Interfaces/IAvatarService.cs
	OpenSim/Services/LLLoginService/LLLoginService.cs
2015-11-01 03:01:59 +00:00
Melanie Thielker 6510ba8a64 Plumb the special VeriableWearablesSuported field which we will
temporarily use to determine extended wearableness
2015-11-01 01:15:31 +01:00
Melanie Thielker efcf0e4f2e Minor: Add an initializer to show what the default value would be. 2015-11-01 01:03:44 +01:00
Melanie Thielker 5f3b443c03 Remove an unneeded code path, it could never be reached. Ubit caught it
:)
2015-11-01 00:57:45 +01:00
Melanie Thielker 2198330142 This is the replacement fix for large regions and string version. 2015-11-01 00:40:13 +01:00
Melanie Thielker 6d0b45cd4e Revert "fix transfer protocol version in string format. These are not
fixes you are looking for..... (Jedi mind trick)

This reverts commit 19e5667451.
2015-11-01 00:35:27 +01:00
UbitUmarov 9ba288a2e7 fix typo reported on mantis 7735 2015-10-31 22:48:31 +00:00
UbitUmarov af4ca8e80e fix internal support for non square regions 2015-10-31 21:58:40 +00:00
UbitUmarov 19e5667451 fix transfer protocol version in string format. Let that case have tests identical to new format (this still isnt for your babies keep them safe...) 2015-10-31 21:50:24 +00:00
Melanie Thielker ea56f4f27c Introduce an EntityTransferContext carrying the version numbers to pass
to all interested functions. Should fix the varregion conditional.
Still a testing version, do NOT use in production!
2015-10-31 18:13:02 +01:00
Melanie Thielker e8e0ba6d8f Remove testing cruft that is blocking the new protocols. Unit tests no
longer test TP v1 now.
TP v1 will be removed within 6 months anyway.
2015-10-31 17:22:27 +01:00
Melanie Thielker dc6bdbf740 Put back the option of having asymmetrical protocol versions in
transfers
2015-10-31 16:57:24 +01:00
UbitUmarov ed909f56da fix mantis 7734, Thanks Garmin for the report 2015-10-31 13:22:50 +00:00
UbitUmarov 1030d07f31 simplify new regions protocol version control. (May not work, and babies safety warnings still valid 2015-10-31 12:57:14 +00:00
UbitUmarov 9232876421 let silly tests override version on local connections 2015-10-31 02:05:11 +00:00
UbitUmarov 400c61cd60 fix teleport to to string version regions 2015-10-31 00:06:30 +00:00
Melanie Thielker f0fd028ed9 Merge branch 'master' of opensimulator.org:/var/git/opensim 2015-10-31 00:06:34 +01:00
Melanie Thielker dc6d9eadf3 Testing stage of the new versioning system. Use at own risk. May not
work. Will eat your babies. Yada. Yada.
2015-10-31 00:01:35 +01:00
UbitUmarov dd9b06e3b6 fix mantis 7733, reverting setting of IsAttachment on first call to full check. Replace instead same simple IsAttachment tests by full checks 2015-10-29 22:14:11 +00:00
UbitUmarov 45ff7cec80 fix cut points of UTF-8 strings 2015-10-28 21:27:56 +00:00
UbitUmarov 8b1ae501b5 fix services handling of visualparameters, avoiding possible crashs (mantis 7732) partially appling code from avinationmerge 2015-10-27 18:39:33 +00:00
UbitUmarov 114ac59314 dont tell clients that we can edit a friend's attachments when we do forbid it 2015-10-27 01:20:21 +00:00
UbitUmarov 9e6d9e0436 friends rights to edit objects display on viewers fixed. This needs to be optimized in future 2015-10-27 01:17:32 +00:00
UbitUmarov 1982d72320 Make changes to a friend rights reach him on another sim; find on map does show the region. Issues: precise location on region still not avaiable and object edit permitions on viewers edit are not being updated (but are enforced by region). friends information is updated, and warnings are displayed. Only did minor testing... 2015-10-26 22:42:48 +00:00
UbitUmarov 6821ace3c6 add basic SendFindAgent() to lludp. Future use may require a list of pairs (X,Y). For now one pair is good enough. 2015-10-26 21:56:02 +00:00
UbitUmarov 8922d58f05 try fix IRC connector issue on mantis 7731 but with code a bit diferent from proposed patch. Also append '@irc' to nick on region messages, so message origin is clear 2015-10-26 18:00:01 +00:00
UbitUmarov c3532ba876 set SOG.IsAttachment when doing a full check, so future gets see the right value 2015-10-25 19:59:05 +00:00
UbitUmarov 8d33ab903b merge issue: fix missing '/' 2015-10-24 22:48:31 +01:00
UbitUmarov 28d4afbe3a replace objects scale clamp by a more readable clamp. Simplify GroupResize and let rescale factors < 1 also be checked for size limits, Set new scales directly not checking them again. 2015-10-23 01:39:53 +01:00
UbitUmarov 8ed17f745d let ode also finish internal representation of prim actors, before simulation 2015-10-22 18:03:49 +01:00
UbitUmarov 7cb6ecb9f5 Make physics engines finish internal representation of loaded prims before starting simulation so it does start for all at same time. Currently only in use by ubOde 2015-10-22 17:34:28 +01:00
UbitUmarov 7aaa84515f rename terrain for opensim and respective configuration flag that a future costumized ODE library may have 2015-10-22 16:20:19 +01:00
Diva Canto afba4dc1ce Mark XAssetService obsolete and warn users. 2015-10-21 19:26:00 -07:00
Diva Canto 719c0d09ae Mark XAssetService obsolete and warn users. 2015-10-21 19:22:20 -07:00
UbitUmarov e464bf5d82 recover scripts execution time stat i lost on previus changes. Behing async, this will not add with other time stats giving total frame time, as happens on other simulators. But its a good diag stat. 2015-10-21 18:34:06 +01:00
UbitUmarov f84b75b1e0 update ubOde hashspaces levels 2015-10-21 01:50:28 +01:00
UbitUmarov 44deac4c1e we do not have prims with size 2^128, missing file 2015-10-21 01:41:04 +01:00
UbitUmarov c37ea1910d fix or remove some wrong ODE configuration settings 2015-10-21 01:11:39 +01:00
UbitUmarov deb4364f42 remove the use of Vector3 for axis locks on the rest of engines 2015-10-21 00:15:09 +01:00
UbitUmarov ce5d5fc8dc the inertia matrix inversions and body inertia changes to implement axis locks need to be avoid, so use ubOde axis locks code. Hopefully this will not cause incompatibilities 2015-10-21 00:01:23 +01:00
UbitUmarov 747044f587 stop using a vector3 to store axis locks 3bit flags also in ode 2015-10-20 23:57:57 +01:00
UbitUmarov f6891b36be stop using a vector3 to store axis locks 3bit flags in ubOde 2015-10-20 19:33:15 +01:00
UbitUmarov 0045398324 move ugly convertion of axis locks 3 bit flags to a wasted vector3 down to PhysicsActor. Let engines use LockAngularMotion with either Vector3 argument or byte 2015-10-20 19:00:26 +01:00
UbitUmarov d8528a7ba0 add axis locks to sop serializer. Now they are also saved to inventory 2015-10-20 18:37:24 +01:00
UbitUmarov 3c69071145 also apply axis locks, when creating a prim physics actor 2015-10-20 18:21:13 +01:00
UbitUmarov 3e25430e3a store rotation axis locks in MySql and SQlite dbs ( others need to be updated also 2015-10-20 18:08:04 +01:00
UbitUmarov 52860a7d15 stop using a Vector3 to store 3bits 2015-10-20 16:55:18 +01:00
UbitUmarov dfd60d6f71 STATUS_ROTATE are linkset flags and not prim 2015-10-20 15:37:43 +01:00
Melanie Thielker 2b437f8d86 Let the initiator of a teleport or crossing know that we handle extra
wearables
2015-10-20 00:58:16 +02:00
Diva Canto 59b63b6406 On to 0.8.3!
Conflicts:
	OpenSim/Region/PhysicsModules/ConvexDecompositionDotNet/Properties/AssemblyInfo.cs
2015-10-18 21:51:49 -07:00
Diva Canto 839e239c99 Added warning in RegionCombinerModule about it being considered obsolete and encouraging people to switch to varregions. 2015-10-18 21:50:11 -07:00
Diva Canto 06d2508b96 On to 0.8.3! 2015-10-18 21:47:10 -07:00
Diva Canto e6163c990e Added warning in RegionCombinerModule about it being considered obsolete and encouraging people to switch to varregions. 2015-10-18 16:59:47 -07:00
Diva Canto 7ab633461e Fixed merge conflicts
Clean up of simulation version, the number that rules the compatibility of teleports:
- It's not configurable anymore, it's fixed in code. Each number means an increase in features of the teleport procedure
- Its definition moved to the global VersionInfo class
As of now it's still 0.3.

Conflicts:
	OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
2015-10-18 16:24:33 -07:00
Diva Canto 70a46fe090 Clean up of simulation version, the number that rules the compatibility of teleports:
- It's not configurable anymore, it's fixed in code. Each number means an increase in features of the teleport procedure
- Its definition moved to the global VersionInfo class
As of now it's still 0.3.
2015-10-18 16:06:31 -07:00
Diva Canto 339e252cce The protocol version checking on the grid server connector seemed to have a bug. I think I fixed it. 2015-10-18 11:06:21 -07:00
Diva Canto f7d8952946 The protocol version checking on the grid server connector seemed to have a bug. I think I fixed it. 2015-10-17 19:29:20 -07:00
UbitUmarov a31e5e799e stop a object when making it not physical 2015-10-18 00:35:52 +01:00
UbitUmarov 24435cfe9a Fix wrong active angularlock detection (it was only burning cpu), stop trying to add a amotor to each child prim and stop using unnecessary trimeshcallbacks 2015-10-17 21:56:15 +01:00
UbitUmarov e2d7e6290d fix GetTerrainHeightAtXY also on master. Fix wrong active angularlock detection (it was only burning cpu), stop trying to add a amotor to each child part and fix a typo. 2015-10-17 20:07:52 +01:00
UbitUmarov 8dcb4de53c fix GetTerrainHeightAtXY for large regions. Also change ode dispose() 2015-10-17 14:42:04 +01:00
UbitUmarov f39e6bc482 bug fix. Some rare meshs reported as having +-infinity dimensions 2015-10-15 19:06:39 +01:00
Diva Canto e14e432b50 More exception catching in ODE at shutdown. Not sure why the exception happens. 2015-10-14 17:57:13 -07:00
Diva Canto 073bdda4b8 Restored authentication in AssetServicesConnector. 2015-10-14 15:26:26 -07:00
Diva Canto 366e81b977 Also restoring proper function for Simian external GetTexture functionality. 2015-10-14 14:45:21 -07:00
Diva Canto 721db9418f Fixed Robust-bound GetTexture handler that had been knocked off with the new sim-bound handler that uses a Poll service. Rather than hammering both handlers into one single class, I'm splitting them into 2 classes, because they are considerably different. 2015-10-14 14:41:28 -07:00
Diva Canto 45b8e6c1a7 Fixed exception upon shutting down in plain ODE.
09:49:57 - [SHUTDOWN]: Ignoring failure during shutdown - System.NullReferenceException: Object reference not set to an instance of an object.
   at OpenSim.Region.PhysicsModule.ODE.OdeScene.Dispose() in f:\dev\opensim-core\OpenSim\Region\PhysicsModules\Ode\OdeScene.cs:line 4062
2015-10-14 09:56:23 -07:00
UbitUmarov 8d7fa62088 fix a typo.. 2015-10-14 04:06:17 +01:00
UbitUmarov 7deaad7368 bug fix, and make Mesh-Mesh and Mesh-Terrain collisions a lot softer 2015-10-14 02:32:51 +01:00
UbitUmarov 9ec9eee75f reduce jitter due to viewer interpolators on objects that are really almost at rest 2015-10-13 23:03:51 +01:00
UbitUmarov 2e2c1a1fcd change fps and dilation (still something not that usefull). make collisions a bit less explosive.., do changes on own time limited loop and not on simulation loop, ... 2015-10-13 23:01:54 +01:00