Commit Graph

26029 Commits (5485ba2ae68d2a144b0a6bf30c689515a1c769dc)

Author SHA1 Message Date
UbitUmarov da08e2e5f5 mantis 8106: improve avatar walk in mouselook 2016-12-30 19:13:18 +00:00
Melanie Thielker f510898188 Fake accepting materials (Type == -2) on FSAssets.
Materials are created with an MD5 hash based UUID in order to
stop proliferation of orphaned assets. Therefore a UUID collision
is expected on materials and should not have been treated as an
error.
2016-12-30 14:33:15 +00:00
UbitUmarov 5fc3605955 some cleanup, use more using(), more checks so http request mem stream is closed 2016-12-30 07:15:28 +00:00
UbitUmarov 1507c5230b remove a gc.collect that isn't very usefull (on the right engine this
time)
2016-12-30 05:15:50 +00:00
UbitUmarov ee485187db remove a gc.collect that isn't very usefull 2016-12-30 04:57:34 +00:00
UbitUmarov 2a01173715 Merge branch 'master' into httptests 2016-12-30 01:52:02 +00:00
Mandarinka Tasty aee3f273f0 Serving robots.txt from bin Idea of solution for http://opensimulator.org/mantis/view.php?id=7392
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2016-12-29 22:32:08 +00:00
Melanie Thielker e0b5135010 Add a MaxRetries option to the inventory connector.
If clustered services are used, another try would go to another server
and may succeed.
2016-12-29 16:29:44 +00:00
Melanie Thielker 07b48fd58c Add negative caching to flotsam cache. Prevents scripts from hammering the asset server 2016-12-29 15:47:46 +00:00
Melanie Thielker ec4c258794 Actually rename the file, too 2016-12-29 12:36:13 +00:00
Melanie Thielker f021c64eb0 Refactor: Rename IImprovedAssetCache to IAssetCache as the old IAssetCache is long gone. 2016-12-29 12:34:09 +00:00
Melanie Thielker feca9fd153 Add an option to update the file access time even when an asset is found in cache.
When the cache is shared between multiple sims, it is often more
efficient to have a single expire job run from cron. Updating
file access times is vital to the functioning of such setups.
2016-12-29 11:53:38 +00:00
UbitUmarov c78da183b2 expire also from weak references 2016-12-29 03:25:12 +00:00
UbitUmarov 3a310d77c8 forgot one gc.collect wait for finalizers 2016-12-29 03:12:50 +00:00
UbitUmarov 1ffcc59818 gc is also a unwanted cache, so use it. With this, memcache with short expires is no longer needed 2016-12-29 03:10:10 +00:00
UbitUmarov 7cf2e81223 reinforce gc.collect on region load to also do pending finalizers 2016-12-29 00:47:02 +00:00
UbitUmarov 88c96d3973 Merge branch 'master' into httptests 2016-12-28 12:20:02 +00:00
UbitUmarov 73b2c82427 adjust camera collision detection checks for new FS 2016-12-28 12:19:05 +00:00
UbitUmarov 5c79e03f18 some cleanup 2016-12-27 12:26:08 +00:00
UbitUmarov 65b4e17a80 robust textures add missing returns or redir case 2016-12-26 19:38:13 +00:00
UbitUmarov 1b95ada105 Merge branch 'master' into httptests 2016-12-25 05:51:08 +00:00
UbitUmarov 293b65ac82 FloatSamCache: dont use slideexpire on current libovm expirecache. Change example settings to use memory cache with short expire time. ( 20% to 40% mem cache hit rates observed 2016-12-25 05:46:16 +00:00
Melanie Thielker ba1ca67afe Re-add GRID_GOD because in some cases an "employee-only" level is simply needed 2016-12-23 19:48:03 +00:00
UbitUmarov 679d52ced6 add missing file 2016-12-23 19:41:57 +00:00
UbitUmarov bfb1cb9f33 a few more changes on user profiles 2016-12-23 16:10:07 +00:00
UbitUmarov 70475c676b dont try to use a parcelID as encoded position when it is not 2016-12-23 14:25:22 +00:00
UbitUmarov b6266c6a1d check if a parcelID is a encoded position data or a true UUID. This may fail, just reducing the odds. 2016-12-23 14:23:07 +00:00
UbitUmarov 0887be3c12 replace the (hidden) GRID_GOD by a more usefull GOD so includes all types. This needs to be changed to current effective godlevel check (sp.GodLevel) when that is fixed. Automatic god powers need be (optionaly) removed 2016-12-23 03:42:50 +00:00
UbitUmarov 86cc02f33e Merge branch 'master' into httptests 2016-12-23 02:53:58 +00:00
UbitUmarov 2e7e4427d0 UserProfileModule threading issues 2016-12-23 02:17:42 +00:00
Melanie Thielker 0ae2b5ac81 Allow the use of modular configs with Robust as we already can with OpenSim 2016-12-22 18:23:04 +00:00
UbitUmarov 84c3a96399 UserProfileModule refuse changes to classifieds outside home grid ( viewers may show a delete until profile is open again). Charge money only on classified creation sucess 2016-12-22 07:52:50 +00:00
UbitUmarov 5571c499ba UserProfileModule we can't use parcels globalID because we do not have a global locator. we need to send replies to viewer on pick update and delete 2016-12-22 07:06:40 +00:00
UbitUmarov 330369f904 take UserProfileModule out on onMakeRoot event, add some caching 2016-12-21 22:27:48 +00:00
Melanie Thielker 1602148f5e Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-12-21 20:57:04 +00:00
Melanie Thielker 2bfbd6ef2e Change GRID_GOD script permission to do what it says on the tin.
Suggested by Mandarinka
2016-12-21 20:56:28 +00:00
UbitUmarov 7367f03d6e remove a odd raycastv3 config option 2016-12-21 20:39:38 +00:00
Melanie Thielker 7286b27ff9 Add GRID_GOD to the list of values allowed for enabling OSSL functions 2016-12-21 14:35:34 +00:00
Melanie Thielker 90be8d78c3 Remove obsolete config option "EventQueue". It's been always on for ages! 2016-12-20 17:10:33 +00:00
Melanie Thielker 66c18438f2 remove obsolete config option "storage_prim_inventories" 2016-12-20 17:08:15 +00:00
Melanie Thielker e40820cab1 Remove obsolete "gridmode" config default in code. 2016-12-20 17:01:48 +00:00
UbitUmarov bbbbf47507 add a missing file change 2016-12-18 20:09:02 +00:00
UbitUmarov 82fc8e1a36 Merge branch 'master' into httptests 2016-12-18 05:03:27 +00:00
UbitUmarov 30cd36ff98 leave stupid broken permissions alone 2016-12-18 03:56:53 +00:00
UbitUmarov 2cf422582a leave stupid broken permissions alone 2016-12-18 03:55:44 +00:00
UbitUmarov df7435a703 just give up on Export flag, seems just broken no matter water with current FS and singu 1.8.7 2016-12-18 03:20:41 +00:00
UbitUmarov c93551d8f4 allow a creator that is also onwer to change export flag. Add missing setting to ini files 2016-12-17 22:38:31 +00:00
UbitUmarov 389a1652fb break userprofiles a bit more 2016-12-17 20:11:34 +00:00
UbitUmarov b4bbf4f95d review llCastRay V3 phantom detection. Make it ignore physics shape type none as physics engines do. 2016-12-16 23:28:14 +00:00
UbitUmarov aa9a56d4df dont allow regions to be register on map area reserved for HG links 2016-12-16 21:15:21 +00:00
UbitUmarov 9b9f93c4b2 and yes HG uri again 2016-12-16 20:31:07 +00:00
UbitUmarov be490a8312 remove a nonsense option 2016-12-16 19:11:05 +00:00
UbitUmarov 1ddc90f16e useless change that doesn't fix anything 2016-12-16 18:55:13 +00:00
UbitUmarov 61d2fb6a17 viewers regionhandle are not necessary region identifiers, compensate for that on GetLandData in case one get there 2016-12-16 18:22:07 +00:00
UbitUmarov e2d46c060c ok.. another try on the HG uri 2016-12-16 03:38:20 +00:00
UbitUmarov 853e98d340 reserve constant OBJECT_ATTACHED_SLOTS_AVAILABLE from mantis 8096. But do not implement it 2016-12-16 01:13:07 +00:00
UbitUmarov c0a23d36df GetRegionsByName and GetHypergridRegionByName: detect that provided url is for local grid, and make it a local by region name local search 2016-12-15 23:48:25 +00:00
UbitUmarov 48efbeb8d3 set pbs shape acording to mesh number of (material) faces 2016-12-15 15:14:12 +00:00
UbitUmarov 1fd0178e8e give regions a option to block profile web urls, so users are not sent to unknown web sites set by other users 2016-12-15 00:08:36 +00:00
UbitUmarov 3056926403 dont self osDie attachments 2016-12-14 16:31:39 +00:00
UbitUmarov 553b326fb2 restrict osDie to objects rezzed by the script object group and a few more changes 2016-12-14 16:08:25 +00:00
Jeff Kelley 95d6396300 Add osDie(key)
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-12-14 15:14:22 +00:00
UbitUmarov 7a31a85408 show online on profile, if target is in same region.( possible should be done elsewhere) 2016-12-14 14:48:50 +00:00
UbitUmarov 18a292ad02 Merge branch 'master' into httptests 2016-12-14 13:35:53 +00:00
UbitUmarov 50842347ac fix: check for region_handle before region_id, viewers are so funny.. 2016-12-14 04:00:48 +00:00
UbitUmarov 364d58635b avoid a null ref 2016-12-14 03:02:57 +00:00
UbitUmarov 1ffc81c869 also reduce check threat level of osNpcSetProfileAbout to Low; update osslEnable.ini 2016-12-14 01:31:16 +00:00
UbitUmarov 1c08b3d8f9 also fox chekc threat level on osNpcSetProfileAbout 2016-12-14 01:16:21 +00:00
Melanie Thielker a75c16e1bf Fox threat level line on SetProfileImage. It is ALWAYS the name of the function!
Low is justified because setting an image requires having a NPC in the
first place....
2016-12-14 01:00:48 +00:00
Mandarinka Tasty ec883d0f15 New OSSL function: osNpcSetProfileImage(LSL_Key npc, string image); This patch gives possibility to set image in created NPC's profile. You can use UUID of the texture or name of texture included in prim's inventory.
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-12-14 00:24:52 +00:00
Melanie Thielker 69776aa70c Remove the AllowAlternatePorts option. It wasn't implemented anyway.
Instead, handle the port being 0 as "any port" and assign a random
port for regions in that case.
2016-12-13 19:47:26 +00:00
Melanie Thielker ee58beddec Make sure sims on Linux can be restarted without waiting on a 2 mintue socket timeout 2016-12-13 14:43:10 +00:00
UbitUmarov 7d8cb244d1 ubOde other convex type objects other than mesh and sculpt also don't have holes 2016-12-12 19:16:51 +00:00
UbitUmarov fe3303dc11 ubOde simple spheres and boxes with type convex have no holes on physics(long forgotten fix) 2016-12-12 17:53:40 +00:00
Melanie Thielker 1388ac2ef7 Rename charterMember to membershipType to show what it actually is.
This field started out as a simple flag in the protocol to indicate a
user being a SL charter member. It has since then taken on additional
functionality that means that the name is no longer appropriate.
2016-12-12 11:09:38 +00:00
Melanie Thielker bebfbd0600 Only ask for the new parameter when starting from scratch.
It is set to false implicitly on existing regions.
2016-12-12 10:14:16 +00:00
Melanie Thielker 9ef9dde0f3 Make resolving the IP on startup optional.
Adds ResolveAddress boolean to regions.ini
2016-12-12 10:08:31 +00:00
Melanie Thielker cdfdf6322d Applying a modified version of TomTheDragon's patch to prevent the sim
from crashing when signals are unavailable.
2016-12-12 09:26:12 +00:00
UbitUmarov da2c1e8aad don't do unix signals on windows 2016-12-12 00:54:41 +00:00
Melanie Thielker 4d1536f1ec Allow OpenSim to respond to Unix signals. This may need work to be
properly ignoed on Windows.
Windows devs, please test and check for platform flags if this causes
issues in Windows
2016-12-12 00:07:36 +00:00
Melanie Thielker ba61b64c42 If a region address is resolveable to a single address, resolve it on
startup and use that address
This change facilitates running opensim within containers and VMs where
the external address isn't that of the VM/container but that of the
host.
2016-12-11 20:51:40 +00:00
Mandarinka Tasty 5b7986e6be Setting precise date of creation in NPC's profile.
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-12-10 22:45:11 +00:00
Melanie Thielker 96bdc5e185 Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-12-10 18:37:41 +00:00
Melanie Thielker 5ad8bceb1d Fix OpenSim bombing when a MySQL connection string doesn't contain a password.
Passwordless connection is perfectly legal and makes sense within a
container.
2016-12-10 18:36:10 +00:00
AliciaRaven d49a5374c3 Make it more unlikely that a script teleport will be caught by default region landing point. 2016-12-10 18:03:05 +00:00
UbitUmarov f57403909f do not try xbakes on HG 2016-12-10 02:03:00 +00:00
UbitUmarov a3e2a42f0d HG regions URI need to include also the default ports for compatibility 2016-12-10 01:00:48 +00:00
UbitUmarov 66990394c9 avoid a null ref 2016-12-09 22:56:11 +00:00
Mandarinka Tasty 575825193b The new string-parameter: "region_object_bonus" for llGetEnv(string name);
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-12-09 20:57:33 +00:00
UbitUmarov 82fb737b8d HG: add missing information on GetRegion 2016-12-09 08:20:35 +00:00
UbitUmarov 8114ff9d06 Merge branch 'master' into httptests 2016-12-09 04:50:07 +00:00
UbitUmarov 30dccd57cd provide remote SSLcommonName to xmlRpcRequest methods, but in a away it can be detected/parsed. This is used by some external modules like DTLNSLMoneyServer. But this module does need to change on this ( and it cannot override default validation rules, it needs to do it on its httplistener with method provided in previus commits 2016-12-09 04:32:59 +00:00
UbitUmarov 6627da693e suport client certificate validation per listenner, with a supplied static callback 2016-12-09 04:07:06 +00:00
UbitUmarov 18ff3eb227 JsonRpc: don't try to connect to a empty uri 2016-12-08 23:56:14 +00:00
UbitUmarov 806e75eefb remove not needed sslport parameter 2016-12-08 23:39:55 +00:00
UbitUmarov 4639409dbe change caps Sethome fail error report 2016-12-07 21:30:36 +00:00
UbitUmarov 55c04a2410 Merge branch 'master' into httptests 2016-12-07 20:34:11 +00:00
UbitUmarov 3a81642d97 add SSL certs validation options for regions to allow simple encriptation without any peer autentification using simple homemade (or even shared) certs. 2016-12-07 13:30:07 +00:00
UbitUmarov 049dd374e9 add SSL certs validation options for robust to allow simple certificates, possible only for encriptation without any peer autentification. disable validation by default for the small grids case 2016-12-07 12:23:40 +00:00
UbitUmarov 9042aa8968 add missing sp Intransit control 2016-12-07 04:56:35 +00:00
UbitUmarov f1c6769ca5 set HasGridUserTried on usercache of NPCs 2016-12-07 02:14:26 +00:00
UbitUmarov de36092d23 if we have profile then npc is online 2016-12-06 17:16:47 +00:00
UbitUmarov d4e285b1a1 add osNpcSetProfileAbout(LSL_Key npc, string about) to set NPCs profile About text. requires OsNpcCreate rights 2016-12-06 17:05:02 +00:00
UbitUmarov 240ab951b5 let NPCs have profile 2016-12-06 16:15:57 +00:00
UbitUmarov 4993a08d25 Merge branch 'master' into httptests 2016-12-06 10:26:57 +00:00
UbitUmarov ccaa7a4a8a save a few lists scaning 2016-12-06 10:26:36 +00:00
UbitUmarov 44588ce45e jenkins likes null httplisteners 2016-12-06 07:40:45 +00:00
UbitUmarov 8db69d2e02 remove redundante check for ssl listener 2016-12-06 07:26:26 +00:00
UbitUmarov 1680425f4d Merge branch 'master' into httptests 2016-12-04 23:39:15 +00:00
UbitUmarov 181b1ad82b HG: fix the never ending avatar confirmation when 2 users from same grid made friendship on another grid 2016-12-04 23:02:40 +00:00
UbitUmarov 51104be6d4 remove SOG.FromPartID from main code and flag it obsolete 2016-12-04 17:56:47 +00:00
Mandarinka Tasty 7c566dca5a The new Constant: integer OBJECT_REZZER_KEY = 32;
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-12-04 17:18:56 +00:00
UbitUmarov fcd1e36ed6 a few changes to new GetDisplaynames and friends 2016-12-04 17:01:49 +00:00
UbitUmarov e1cf34d6fb replace GetDisplaynames by a handler really usable as a client cap. Most capabilities.handlers are so it all things not propor PER CLIENT CAP handlers 2016-12-04 15:50:48 +00:00
Mandarinka Tasty 2a29a270da Adding new string-parameter: "region_max_prims" for llGetEnv(string name);
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-12-04 10:32:06 +00:00
UbitUmarov 2ff75e7692 ubMeshmerizer, fix the orientation of last triangle on top/bottom faces in case on circle hollow shape 2016-12-03 18:35:31 +00:00
UbitUmarov 6a8b8f3168 change a wrong error message and avoid a null ref (that may happen due to needed time delays) 2016-12-02 22:56:14 +00:00
UbitUmarov b981ac42bc Merge branch 'master' into httptests 2016-12-02 13:51:30 +00:00
UbitUmarov 1fdd71f856 do a GC collect on last client exit 2016-12-01 07:49:17 +00:00
UbitUmarov 29f6e3fc7b fix a typo in dbs region range 2016-12-01 04:08:42 +00:00
UbitUmarov 874d663161 fix region area range 2016-12-01 04:02:29 +00:00
UbitUmarov 8299941517 fix region overlaps on registration 2016-12-01 03:45:43 +00:00
UbitUmarov cfb98050f7 a few changes to cache.cs ( currently not much used ) 2016-12-01 03:43:49 +00:00
AliciaRaven 813ee4e188 Remove unused integer vars from LLClientView 2016-12-01 03:11:34 +00:00
UbitUmarov adee1c1bb0 fix a null ref 2016-11-30 10:08:49 +00:00
UbitUmarov 2020cafc30 fix null ref on m_CacheCleanTimer control, add a gc.collect on manual floatsam fcache assets comand 2016-11-30 09:22:47 +00:00
UbitUmarov 1863bb29df slow down automatic floatsamAssetCache CleanupExpiredFiles LOT to reduce impact on simulation and to give GC more changes of preventing it from eating up all avaialble physcical memory on loaded machines. 2016-11-30 07:43:17 +00:00
Mandarinka Tasty 7de2c8ae70 The new Constant: integer OBJECT_TEMP_ATTACHED = 34;
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-11-30 00:06:25 +00:00
UbitUmarov ebbb918404 Merge branch 'master' into httptests 2016-11-28 06:02:47 +00:00
UbitUmarov 9dd820765e change last patch a bit 2016-11-28 05:58:05 +00:00
Mandarinka Tasty 0bb959d8fd The implementation of new flags = parameters for llGetObjectDetails - Part II Constant: integer OBJECT_TOTAL_INVENTORY_COUNT = 31 Constant: integer OBJECT_GROUP_TAG = 33
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-11-28 05:35:13 +00:00
Mandarinka Tasty af3f2717fd The implementation of new flags = paramters for llGetObjectDetails - Part I Constant: integer OBJECT_CLICK_ACTION = 28; Constant: integer OBJECT_OMEGA = 29; Constant: integer OBJECT_PRIM_COUNT = 30;
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-11-28 05:20:32 +00:00
UbitUmarov 1aa4dbdb3f increase HG mapsearch spargetti; add more flexibility on input uri formats. To find regions in memory for a grid the http format needs to be used, because aditional compares made by viewers 2016-11-28 04:29:57 +00:00
UbitUmarov 877d3092b4 Merge branch 'master' into httptests 2016-11-27 15:14:34 +00:00
UbitUmarov d3cd323f0c HG on links request build the URI in http format with a / at end, this should not be needed but is coerent with current serverURI 2016-11-27 15:07:14 +00:00
UbitUmarov 155f8dac1d BUG fix encoding or region size on HG LinkRegionRequest response 2016-11-27 02:12:12 +00:00
UbitUmarov 5cc0d6620d remove 2 more null refs i added to release memory 2016-11-26 05:08:46 +00:00
UbitUmarov b781de73e3 mantis 7656, partialy apply patch, changing the start scripts for now 2016-11-26 04:49:35 +00:00
Mandarinka Tasty d2bbd7ef2b Fix in cmdparams.Length for: SavePrimsXml2 and SaveXml
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-11-26 04:14:32 +00:00
Mandarinka Tasty 1e90417ac2 Fix in descriptions of: load xml, load xml2, save xml, save xml2
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-11-26 04:11:31 +00:00
UbitUmarov 019910afbd don't go seach for info we already have at hand.. and there is no region height on osGetRegionSize 2016-11-26 03:57:33 +00:00
UbitUmarov e60366ce92 avoid doing unnecessary heavy things on change physics rep 2016-11-26 03:29:22 +00:00
AliciaRaven 017069636a Increase float precision for windlight needed by scripts. mySQL Migration on regionwindlight table.
mySQL was setup to store smaller values because the viewers editor capped input, scripts can set higher precision so settings could change on region restart. This change brings mySQL more inline with PGSQL which uses doubles for all windlight floats.
2016-11-26 01:15:10 +00:00
UbitUmarov 6f1080368d reduce the resolution of llGetTime and llGetAndResetTime, to 1ms 2016-11-25 21:37:33 +00:00
UbitUmarov 935510d879 add llGetMaxScaleFactor and llGetMinScaleFactor 2016-11-25 18:35:23 +00:00
UbitUmarov b82a41d260 change llScaleByFactor (sorry Mandarinka). 2016-11-25 17:34:19 +00:00
Mandarinka Tasty e45245d267 Implementation of LSL_Integer llScaleByFactor(double scaling_factor)
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-11-25 16:22:10 +00:00
UbitUmarov f9b62b5680 work around viewers not suporting large regions on landmark creation. They still may display wrong offset; don't let inventory description be limited by asset description side on a ossl method 2016-11-24 20:53:04 +00:00
UbitUmarov 5202ae7bb4 revert changes to asset desc size, my bad.. this field will possible go away in future 2016-11-24 14:39:08 +00:00
UbitUmarov 94ec5884b7 fix llRez(AtRoot/Object) error messages on shared code path 2016-11-23 22:15:59 +00:00
UbitUmarov 72e20028d1 safeguard against unknown material replacemet 2016-11-23 20:26:14 +00:00
UbitUmarov b3eda582ec add to SynchronousRestFormsRequester a keepalive disable option, and make use of it on some friends conns 2016-11-23 19:30:55 +00:00
UbitUmarov 82ed6bde6e fix maturity on parcelInfo 2016-11-23 10:00:56 +00:00
UbitUmarov 59f6353ac1 close a resource on jobengine.close() 2016-11-22 22:29:13 +00:00
UbitUmarov f4745e5a35 full change ServiceThrottleModule. Let it still service RegionHandleRequest and UUIDNameRequest but this wrong since they are diferent services. Keeping gambling about not having 2 much overlaps of the 2 kind of requests. Remove double thottling of RegionHandleRequest 2016-11-22 22:24:54 +00:00
AliciaRaven 1a6cddf807 Minor fix to region default landing point sanity check 2016-11-22 21:23:01 +00:00
AliciaRaven 34d9596f9b Fix typo in a comment 2016-11-22 15:33:34 +00:00
AliciaRaven 94e48838d5 Include new Region.ini option for DefaultLandingPoint for teleports with no coords specified.
This is useful when using a Telehub would be to restrictive as it would block landmarks and map teleports. This location is only ever used when no coordinates are provided. If config value not set, the previous default of 128,128 is used.
2016-11-22 15:31:45 +00:00
Melanie Thielker b43717a397 Coding standards: A local variable may not use the prefix m_ 2016-11-22 11:47:50 +00:00
UbitUmarov 385a265971 supress some warnings by explict(confirm) the hide of parent fields 2016-11-22 09:35:37 +00:00
UbitUmarov 4e64445c39 replace datetime.now on just timming by faster utcnow 2016-11-22 05:18:06 +00:00
UbitUmarov 7524c7729f change asset description max size 2016-11-22 01:34:07 +00:00
UbitUmarov 8c19ea910a remove a wrong virtual dec ( no overides, and cant really have if used on a constructor like in assetlandmark) 2016-11-21 23:34:33 +00:00
UbitUmarov 81ef04c9fd fix type bug on hyperlinks 2016-11-21 16:55:51 +00:00
UbitUmarov bced98d6e9 work around some more warnings 2016-11-21 01:47:09 +00:00
UbitUmarov f794ab1a67 remove something VS decided to add 2016-11-21 01:22:01 +00:00
UbitUmarov b2c553b459 work around some warnings 2016-11-21 01:16:35 +00:00
UbitUmarov b70e48c8a5 handle HG lm tp to large regions in another way 2016-11-20 22:09:33 +00:00
UbitUmarov 0ce034d5d6 Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-11-20 14:42:30 +00:00
AliciaRaven 05f7002445 Include config option to disable stats thread showing read/write stats in console.
Keeping default as true to retain current behaviour.
Also checked to prevent counters being added to so there wont be any integer overflows over time
2016-11-20 14:20:54 +00:00
AliciaRaven 1d998a770b Change some minor log messages to debug level in Rest client code. 2016-11-20 13:52:06 +00:00
UbitUmarov f1958e9f71 revert more object references removal on clients close because 2 many code paths don't have proper abort 2016-11-20 13:36:34 +00:00
UbitUmarov 902e8019de HG add a small delay before start sending region data 2016-11-20 05:06:50 +00:00
UbitUmarov 4c2ece3bcb HG LinkRegion receive region size also. Useless since olde r gatekeepers dont send it 2016-11-20 04:22:00 +00:00
UbitUmarov e2b580e569 HG LinkRegion sends region size also 2016-11-20 03:51:38 +00:00
UbitUmarov 93d502e0cf HG UserAgent, return serverURI 2016-11-20 03:19:19 +00:00
UbitUmarov 200183caf7 HG protocol is still broken for large regions. work around it on teleport via lm 2016-11-20 02:49:40 +00:00
UbitUmarov 586c81eecd give up on OutPacket drop condition on closing 2016-11-20 01:49:53 +00:00
UbitUmarov b887b7625e change OutPacket drop condition 2016-11-19 21:53:09 +00:00
UbitUmarov 8010413e64 remove some potencial null refs i did add in last days :( 2016-11-19 21:06:42 +00:00
UbitUmarov 08dee3fa34 fix pool parameters for httptests 2016-11-19 15:46:47 +00:00
UbitUmarov 7cb3d583a9 merge conflits 2016-11-19 15:45:41 +00:00
Melanie Thielker 28f7d429fc REST console v2. This is an incompatible protocol change. It degrades gracefully. 2016-11-19 02:28:31 +00:00
Melanie Thielker 6749c61d4f Fix the previous commit 2016-11-19 02:28:31 +00:00
UbitUmarov 1396c466f6 search accout by id not volatil user name (HG) 2016-11-18 17:30:15 +00:00
UbitUmarov b43f36abf1 add expire time for aliens 2016-11-18 15:16:11 +00:00
UbitUmarov 70eb37433d avoid a null ref. (needs better way) 2016-11-18 03:40:34 +00:00
UbitUmarov e281876ecd restore higher resolution clock on udpserver and lower uaeraccouts caching time 2016-11-18 03:25:29 +00:00
UbitUmarov d8812ba2d1 revert to lower resolution clock on udpserver for testing 2016-11-18 03:00:59 +00:00
UbitUmarov 0a8cf2ff08 put back skip of first drip call 2016-11-18 02:13:01 +00:00
UbitUmarov ba7904a3a8 a few more changes on potencial mem issues 2016-11-18 00:12:09 +00:00
UbitUmarov e21ac8b3c4 counting issus safeguard 2016-11-17 20:59:13 +00:00
UbitUmarov 35b37510fc explicitly remove some references, and other useless changes 2016-11-17 19:15:28 +00:00
UbitUmarov 8599a9a1ca add a missing dispose 2016-11-17 17:37:22 +00:00
UbitUmarov 2db22bf064 minor changes to ubMeshmerizer memory use 2016-11-17 13:57:45 +00:00
UbitUmarov 3d78388e55 restore large useracconts expire time for testing 2016-11-17 01:44:47 +00:00
UbitUmarov 5645abf69c fix a debug message 2016-11-17 00:13:21 +00:00
UbitUmarov e77f913116 minor: dont let rcvd agentupdates time jump back 2016-11-16 22:34:56 +00:00
UbitUmarov ec8393571f Merge branch 'master' into httptests 2016-11-16 13:07:23 +00:00
UbitUmarov 05ba77fd3b fix parsing of a vector4 and storing on a lsl quaternion needed for lightShare scripts 2016-11-16 03:47:48 +00:00
UbitUmarov 8dd9601fdc minor change to getdisplaynames cap url 2016-11-16 00:42:08 +00:00
UbitUmarov 8196f21af9 change camera collision check rules 2016-11-14 22:13:02 +00:00
UbitUmarov a858804b42 fix a vector range parsing 2016-11-14 22:08:39 +00:00
UbitUmarov e304acb06f fix unack bytes stats report 2016-11-14 05:15:41 +00:00
UbitUmarov ae17b5d203 reduce calls to physics world cast rays for camera collision check 2016-11-14 03:21:07 +00:00
UbitUmarov 3cb2b3b2d1 Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-11-13 19:25:51 +00:00
UbitUmarov 4ebb4e371f prevent self call to llSetScriptState(ownname,FALSE) from blocking entire engine 2016-11-13 19:25:32 +00:00
Robert Adams e13ff5a392 BulletSim: update avatar velocity setting to the new TargetVelocity pattern.
Now PhysicsActor.Velocity.set and PhysicsActor.SetMomentum do the same thing
   of setting the instantanious avatar velocity. PhysicsActor.TargetVelocity
   sets a velocity target and the movement motor is used to accelerate the'
   avatar to that velocity.
2016-11-13 11:19:54 -08:00
UbitUmarov 4a7b8c1b41 ubOde fix a multhreading timming issue 2016-11-12 03:31:34 +00:00
UbitUmarov 326821f66e reduce useraccouts cache time 2016-11-11 12:59:43 +00:00
UbitUmarov 56a79a252c GetUserAccounts cannot cache null accounts 2016-11-10 23:14:08 +00:00
UbitUmarov 58b7be48a9 ubOde: add a needed lock 2016-11-10 23:07:57 +00:00
UbitUmarov 743a9d617e also cache not found useraccounts when search by ID. Change the expire time to 5minutes in this case 2016-11-10 19:21:07 +00:00
UbitUmarov bddaef5122 on Select use again the priority queues to send ObjectProperties, including physics via caps. This is need to reduce useless redudance 2016-11-10 17:56:51 +00:00
UbitUmarov d1baa3e0c3 fix some invalid string.format arguments 2016-11-09 22:39:52 +00:00
UbitUmarov 53003db4cf stop warning about integer division cast to float 2016-11-09 22:12:27 +00:00
UbitUmarov 1e1d0d8204 move UserAccountCache access locking to its methods and not callers. 2016-11-09 20:09:49 +00:00
UbitUmarov 924c5fb55e minor cleanup 2016-11-09 19:41:07 +00:00
UbitUmarov c349a1a5e7 also log estimated average Util.GetTimeStampMS() resolution 2016-11-09 11:21:46 +00:00
UbitUmarov 94d2422230 change the clock source on udp outgoing, remove some dead code 2016-11-09 10:21:02 +00:00
UbitUmarov 92984556e1 change the clock source on tokenBucket 2016-11-08 23:09:53 +00:00
UbitUmarov 6c44dceced change display and log of normal script errors 2016-11-08 13:39:49 +00:00
UbitUmarov 7ebc08ad65 partially revert commit f29d5ad662387b97d9e881f28df584dc19fa8c07: if mesh asset does not contain data for PRIM type warn and use convex, do avoid physical peims going underground etc 2016-11-07 18:34:45 +00:00
UbitUmarov 07893ec3e7 a few more changes on the avatars Velocity/TargetVelocity/SetMomentum. Need talk with Robert before last changes bc of bullet 2016-11-07 16:03:23 +00:00
UbitUmarov d0ae8bb86a start removing old hack of using SetMomentum to just set instant velocity, now that TargetVelocity is avaiable 2016-11-07 12:45:20 +00:00
UbitUmarov 93ea7bd7f4 Merge branch 'master' into httptests 2016-11-07 11:36:43 +00:00
UbitUmarov d5a428c669 add a few more lsl constants for attachments 2016-11-07 11:35:32 +00:00
UbitUmarov 6956ada5e8 oops bug fix 2016-11-06 04:29:01 +00:00
UbitUmarov 014cd1ab42 restrict ubOde castray with terrain range only on horizontal plane, let it find physical avatars. 2016-11-06 03:53:12 +00:00
UbitUmarov d07f48605f change llGetTime() source clock 2016-11-06 02:43:33 +00:00
UbitUmarov 6bc76860d1 avoid a null ref, few changes to udp updates send 2016-11-05 23:56:55 +00:00
UbitUmarov 8cc8d15f95 some types may already be native in MOD_Api ConvertFromLSL 2016-11-05 20:14:11 +00:00
UbitUmarov 22d20dbf17 disable bad/broken throttle options 2016-11-05 19:17:25 +00:00
UbitUmarov 4b0457b2d3 Regression, really ??? 2016-11-05 18:44:45 +00:00
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 bb32b3b4a1 Merge branch 'master' into httptests 2016-11-04 18:31:25 +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 0c39a3e348 Merge branch 'master' into httptests 2016-11-03 17:19:02 +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 01a4a883e0 Merge branch 'master' into httptests 2016-11-03 14:01:35 +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
UbitUmarov 8c7fe3c0db Merge branch 'master' into httptests 2016-10-25 09:18:13 +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 2ce0673af2 Merge branch 'master' into httptests 2016-10-21 17:58:17 +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 085965b86c Merge branch 'master' into httptests 2016-10-11 02:16:16 +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 80d4f76d18 keep a unsecure http port up for external services (datasnapshot search). Only fire poolservices on main http listener 2016-10-09 20:18:20 +01:00
UbitUmarov 5b946405a0 changes to regions ssl suport: verify if hostnames are validate by the selected cert, make clear that for now all regions need to have the same ExternalHostName if using sll (due to other code that needs to be changed later) 2016-10-09 01:01:52 +01:00
UbitUmarov 9843e3776e Merge branch 'master' into httptests 2016-10-08 01:27:02 +01:00
UbitUmarov b51739e23e recover regions main http server ssl suport. Using a PKCS12 cert file, and not certs store for now. Option http_listener_cn, cert CN need to the same as external IP. Self sign certs do seem to work, but the viewers option NoVerifySLLCert needs to be set true. CA check is not done but they do check the IP 2016-10-06 21:35:11 +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 db1e75b0ac Merge branch 'master' into httptests 2016-09-21 15:26:30 +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 82997c5907 Merge branch 'master' into httptests 2016-09-18 20:02:59 +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 e5383604cb Merge branch 'master' into httptests 2016-09-17 12:44:52 +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 4f9378bf97 remove reuse context code, they had notthing worth using and on original code when reusing contexts still in use, etc. Change DLL information to make clear it is a opensim fork, so our responsability not original author 2016-09-03 08:50:22 +01:00
UbitUmarov 9aec227767 Merge branch 'master' into httptests 2016-09-03 07:51:53 +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 7ba3fb7b5d merge issue 2016-08-19 03:05:25 +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 a0538eb53d fix entity update flags update 2016-08-07 20:53:38 +01:00
UbitUmarov 081c66631c 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 17:07:09 +01:00
UbitUmarov 8d22b79ba4 several changes related to culling option 2016-08-07 14:30:27 +01:00
UbitUmarov 68a4e363dd Merge branch 'httptests' of opensimulator.org:/var/git/opensim into httptests 2016-08-07 00:24:17 +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 4c7b2b2ed7 Merge branch 'master' into httptests 2016-08-04 06:14:46 +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 c035871e76 Merge branch 'master' into httptests 2016-08-02 18:19:34 +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 d0ccaead0e Merge branch 'master' into httptests 2016-08-02 16:54:11 +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 3b76b2f176 Merge branch 'master' into httptests 2016-08-02 01:40:00 +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 5576a100ce Merge branch 'master' into httptests 2016-08-01 01:05:31 +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 a9befe1c62 Merge branch 'master' into httptests 2016-07-31 23:19:51 +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 62d0e50ca4 Merge branch 'master' into httptests 2016-07-31 00:04:35 +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 a63aef978a Merge branch 'master' into httptests 2016-07-30 21:02:08 +01:00
UbitUmarov 9a4afa753b fix NULL references added in recente changes in standalone mode 2016-07-30 20:56:19 +01:00
UbitUmarov cb23d1bf24 Merge branch 'master' into httptests 2016-07-30 20:13:16 +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 22b1b91599 Merge branch 'master' into httptests 2016-07-30 04:31:26 +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 18bcacdded Merge branch 'master' into httptests 2016-07-30 01:53:25 +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 3cf8a58f9d Merge branch 'master' into httptests 2016-07-28 08:25:04 +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 376084a2e5 Merge branch 'master' into httptests 2016-07-27 23:39:50 +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
UbitUmarov 2062418c56 add another gatekeeper login fail reason reply 2016-07-21 11:34:17 +01:00
UbitUmarov 475087de79 add a gatekeeper login fail reason reply 2016-07-21 11:22:13 +01:00
UbitUmarov 2cacd77d41 let FS get a answer to folder uuid.zero, (still seems a no op); send
Library folders list"
2016-07-19 23:50:39 +01:00
UbitUmarov 2c6db4f617 fix a typo 2016-07-19 19:01:03 +01:00
UbitUmarov 46c55b6fa0 some cleanup on FetchInvDescHandler 2016-07-19 18:56:32 +01:00
Melanie Thielker 2cffa71be2 Add some additional checks to llTransferLindenDollars. 2016-07-18 11:12:14 +01:00
UbitUmarov eaefae7e20 don't loose inventory items when there are bad folders 2016-07-17 22:52:58 +01:00
UbitUmarov 9b4e83caa0 dont try dequeues if didnt reacquired lock 2016-07-17 16:21:37 +01:00
UbitUmarov 79e464f33f dont try dequeues if didnt reacquired lock 2016-07-17 16:16:24 +01:00
UbitUmarov e881562d34 fix drop on delayed events processing 2016-07-17 14:15:46 +01:00
UbitUmarov 442b272228 add a Drop method to PollService Event handlers, Drop requests on connections known to be lost or delay event check if they are sending a response 2016-07-17 13:20:56 +01:00
UbitUmarov 6a02ac634b identify contexts by ID now avaiable ( pipeline serialization) 2016-07-17 11:39:38 +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
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