Commit Graph

25102 Commits (2bb5e985740b7c6aa75cd31aa057d39d56f024b6)

Author SHA1 Message Date
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 18ff3eb227 JsonRpc: don't try to connect to a empty uri 2016-12-08 23:56:14 +00:00
UbitUmarov 4639409dbe change caps Sethome fail error report 2016-12-07 21:30:36 +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 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 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 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 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 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
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 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 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 9b78eb20c0 by design HUD objects are private 2016-11-04 11:58:52 +00:00
Mandarinka Tasty b0f87fba1c Implementation of new LSL function: list llGetAttachedList(key avatar); It also returns HUDs' keys.
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-11-04 10:55:11 +00:00
UbitUmarov d2e380e81e on get asset with callback, do the callback even if asset not found. This is needed on same cases 2016-11-03 16:56:09 +00:00
UbitUmarov 73b20c2ca2 XEngine: make calls to gc.collect on region startup scripts loading a configurable option, since it is very slow operation 2016-11-03 12:58:43 +00:00
UbitUmarov f29d5ad662 ubOde: if a mesh does not contain data for shape type PRIM, dont collide as convex as before but just don't collide matching the type NONE viewers display in this case 2016-11-02 22:33:32 +00:00
UbitUmarov 9480da06b9 only add a prim to physics in PhysicsShapeType if changing from type none. when viewers change ExtraPhysics parameters, send back the new values. 2016-11-02 21:42:32 +00:00
UbitUmarov 7c4f2b048f ignore prims with shape type none on max size check for physics
also on llStatus()
2016-10-25 20:44:41 +01:00
UbitUmarov db0c268140 mantis 8041: check target user password on save/load IAR 2016-10-25 20:16:23 +01:00
Diva Canto 4c76a061c7 Flip master to 0.9.1 2016-10-24 09:21:44 -07:00
UbitUmarov d550b485f1 viewer crash bug fix: fis the udp packets split of SendEstateList() large lists; Enforce size limits on the estate lists since currently required for viewers compatibily; improve handling of changes with large selected items. This is still bad, users may need to close and reopen the region/estate information to get correct Allowed and Banned lists after a change. This happens because of viewer resent/outOfOrder packets that completly break this lists updates protocol 2016-10-24 10:23:31 +01:00
UbitUmarov 586e4cf163 ignore prims with shape type none on max size check for physics 2016-10-17 19:16:07 +01:00
UbitUmarov 954bcbc5ef bug fix: let ALL avatar controls have a repeat rate controled by viewer (so as before commit 8a3958ad04 on this) 2016-10-15 20:44:18 +01:00
UbitUmarov 7cd4fa8cf5 bug fix: We can't filter out any of the avatar controls relative to movement, even if not flying (a condition i incorrectly added recently) in fact the entire AgentUpdates throotling is questionable, since its viewer Job. But keeping it... 2016-10-15 20:26:23 +01:00
UbitUmarov 7494d7726a change math on GetParcelMaxPrimCount and GetSimulatorMaxPrimCount to reduce round errors, limit both to region max prims. consider ObjectBonus on last one also. Change a variable name in PrimLimitsModule to make it more clear 2016-10-11 01:14:53 +01:00
UbitUmarov 76a2d90dad remove attachment to event OnPreAgentUpdate that is doing nothing 2016-10-05 13:38:12 +01:00
UbitUmarov 2e863edfe9 Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-10-05 13:18:14 +01:00
UbitUmarov 8a3958ad04 dont let ignored AgentUpdates change their throttles. Apply respective movement to physics on the handling thread, not heartbeat, avoiding missing transitions that should get into physics. Make some usefull sp state flags visible everywhere 2016-10-05 13:17:23 +01:00
Robert Adams e13fecfd3d BulletSim: zero velocity target when setting velocity through the
SetMomentum method.
2016-10-03 20:47:30 -07:00
UbitUmarov f3e7603c37 minor cleanup 2016-10-02 11:54:07 +01:00
UbitUmarov cd9d176c3c change avatar and attachments priority (downgraded) in priritizer option SimpleAngularDistance 2016-10-02 11:12:03 +01:00
Robert Adams c7e4b14a26 BulletSim: fix problem with avatar velocity going to zero when flying across
region boundries.
Move code for Velocity, ForceVelocity and SetMomentum to BSPhysObject and
   have both BSPrim and BSCharacter share the code.
2016-09-30 19:35:44 -07:00
UbitUmarov 46dd899d9e MySQLFSAssetData asset type is a int not a varchar 2016-09-27 21:29:09 +01:00
UbitUmarov 9b2f186a8c MySQLFSAssetData on store, if a asset already exists, assume its a valid store or regions will keep retry. The other DBs do replace the item, why doesn't FS do the same? 2016-09-27 21:10:01 +01:00
UbitUmarov 58513fab8f save oar: simplify confusing successefull assets saving message 2016-09-27 16:49:55 +01:00
UbitUmarov 3e47df735b exclude invalid collision sound (used as collision type flag) from assets UUIDGather 2016-09-27 16:41:13 +01:00
UbitUmarov f6e77e3935 load oar; activate area cliping if bounding-origin option is given. as help says 2016-09-27 15:24:05 +01:00
UbitUmarov 6779f41e21 fix linknumbers when unlink the root prim 2016-09-24 22:21:51 +01:00
UbitUmarov 9e074988f0 remove a redundant and potencially dangerous child.AbsolutePosition = child.AbsolutePosition 2016-09-24 18:16:30 +01:00
UbitUmarov 42989176ec mute a debug message to mute jak daniels 2016-09-23 19:27:25 +01:00
UbitUmarov d196958cc4 make sendRegionInfoPacketToAll really send to all ( inc child agents) thx Jak Daniels 2016-09-23 18:56:47 +01:00
UbitUmarov f613b5f517 fix caching of wind and cloud packets in the case of several regions on a instance, that got broken with the necessary send to child agents. 2016-09-23 18:28:46 +01:00
UbitUmarov 22b531f2e4 make clouds a bit diferent on regions running on same instance.. well should be diferent .. :) 2016-09-23 17:13:59 +01:00
UbitUmarov f5189b2cdd do the same for legacy clouds (still visible on older viewer ie singu 1.8.7). Fix clouds update. Send clouds and wind also to child agents. 2016-09-23 16:04:43 +01:00
UbitUmarov 8d7f10e36b cache wind compressed data so cpu burning compression is only done after a change. Not happy with version scheme for several regions on same instance, but should be ok for now 2016-09-23 13:55:23 +01:00
UbitUmarov a6df626868 add a version tag to wind and cloud data updates to iclient 2016-09-23 13:03:16 +01:00
UbitUmarov 984cb38583 move wind generation out of heartbeat to a pool job. Use that to send to all clients and not one per client 2016-09-23 12:32:40 +01:00
UbitUmarov 7201352074 bug fix: add a missing return; add some error messages 2016-09-22 22:08:21 +01:00
UbitUmarov d3627c4f33 no need to send wind on avatar arrival when it is sent periodicly 2016-09-22 19:25:04 +01:00
UbitUmarov 94e983c95f mantis 8027: let osMessageAttachments also send to attachments child prims.. also changed its code structure and could not test 2016-09-22 17:05:05 +01:00
UbitUmarov bbe8ef0528 mantis 8027: allow messages to be sent to attachments child prims in llRegionSayTo 2016-09-22 02:05:25 +01:00
UbitUmarov bf17da3d61 check for null target, minor cleanup 2016-09-21 22:51:25 +01:00
UbitUmarov 874ba6b363 avoid a null ref 2016-09-19 19:40:13 +01:00
UbitUmarov cca01f5cda change CreatorIdentification set code 2016-09-19 16:03:33 +01:00
UbitUmarov 1b7327800a fix GetUserUUI 2016-09-19 15:41:14 +01:00
UbitUmarov 7e751d5010 replace no thread safe code 2016-09-19 12:39:22 +01:00
UbitUmarov 092d4fb9ff fix typo in table name, thx tglion 2016-09-18 20:00:47 +01:00
UbitUmarov 188b5030f7 restore sqlite fixes from commit 0e6874..that got lost 2016-09-17 19:46:40 +01:00
UbitUmarov 4dc787eb32 store all terrain in Variable2DGzip format 2016-09-17 19:13:46 +01:00
UbitUmarov 592a915d8d add rest of wiring for terrain bake persistent store (mantis 8024 but not
using its code). Only did minor testing in MySQL
2016-09-17 17:56:56 +01:00
UbitUmarov 47ce0f8641 add load baked terrain methods. missing file 2016-09-17 16:47:12 +01:00
UbitUmarov 71bd3ce49f add load baked terrain methods 2016-09-17 16:42:40 +01:00
UbitUmarov 3f9f105295 add to databases a table to store baked terrain. 2016-09-17 15:45:11 +01:00
UbitUmarov 0cdad0faf4 stop using legacy storeterrain in scene.cs 2016-09-17 14:54:41 +01:00
UbitUmarov 2338d3d2e5 change spinobject math, and a few minor things 2016-09-16 22:10:36 +01:00
UbitUmarov 1b18711205 move SpinObject funtions from Scenegraph to PacketHandlers, close to grab handles, since they are related operations (possible should be moving to graph, not clear this files roles) 2016-09-16 19:33:49 +01:00
UbitUmarov fb46eb3344 pass touch_end as other touchs, make blockgrab work on nonphysical also 2016-09-16 19:23:56 +01:00
AliciaRaven 7c4c3f0d10 Minor. Remove unused integer arrays from TerrainModule 2016-09-15 22:46:59 +01:00
AliciaRaven 733782f214 Minor. Make email module log message format consistent with other modules 2016-09-15 18:45:42 +01:00
AliciaRaven f8ac3d9464 Minor, remove unused OSDMap declaration in MySQL profiles 2016-09-15 18:42:28 +01:00
UbitUmarov f2dfd0a01a make login to default regions be flaged also as login via RegionID, so landpoints can work on those default regions 2016-09-15 01:56:38 +01:00
UbitUmarov c4f30a3c31 add skeleton on handle revoke permissions packet ( non funtional still ) ( do it not using a multidelegate event ) 2016-09-12 18:26:24 +01:00
UbitUmarov 38fb28bd68 avoid siting a avatar at 0,0,0 2016-09-12 18:19:01 +01:00
UbitUmarov 34dce801b2 put a lock back in ubOde character :( 2016-09-12 18:10:11 +01:00
UbitUmarov b9380c033d move region comands out of LocalGridServiceConnector where they do not belong 2016-09-10 12:43:48 +01:00
UbitUmarov b8d97ff37d mantis 8021: fix show regionsinview help text 2016-09-07 12:43:38 +01:00
UbitUmarov d5dbcc8ad7 ubMeshmerizer: add a few more try{} guards in file operations, etc 2016-09-05 15:59:33 +01:00
UbitUmarov 02ecff255d in show regionsinview display the name of the config option (MaxRegionViewDistance) that controls the regions View range 2016-09-05 14:51:54 +01:00
UbitUmarov 4f80c52509 add console comand show regionsinview lists the regions that can be seen from a region so may also get child agents from it 2016-09-05 14:26:52 +01:00
UbitUmarov ed06bfb585 fix console comand Show Neighbours and enable it 2016-09-05 13:41:06 +01:00
UbitUmarov 49c579ec71 suspend httpdos on mapimge, fix image not been updated after first Get till restart 2016-09-05 12:30:25 +01:00
tglion 0e68742afc Fix some wrong handling of booleans for SeeAVs, AnyAVSounds and GroupAVSounds fields in sqlite3-database
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-09-05 08:39:16 +01:00
UbitUmarov b5e7816b77 try to reduce the amount of assets created editing materials 2016-09-04 07:25:55 +01:00
UbitUmarov 6526de04cb make sure materials are cached. Split POST and PUT handlers for better readability 2016-09-04 04:19:10 +01:00
UbitUmarov c37877ed34 tests making sure evering thing is coerently wrong.. 2016-09-03 07:29:42 +01:00
UbitUmarov 16cec3041f <0,0,0,0> is not a rotation 2016-09-03 07:09:05 +01:00
UbitUmarov d9572bdf4e ConvexDecomposition remove a copy of vertices not needed for ubOde 2016-09-02 11:55:59 +01:00
UbitUmarov ea686058c9 ConvexDecomposition fix some incorrect convexhull mesh generation for ubOde 2016-09-02 10:37:18 +01:00
UbitUmarov 054cc8f08e Xengine only do GC.Collect if logins disabled 2016-09-01 20:49:07 +01:00
UbitUmarov f6eac5aa7a remove some MegaRegions code from ubOde 2016-09-01 17:25:29 +01:00
UbitUmarov 6c6a965320 remove some MegaRegions code from physics 2016-09-01 16:15:51 +01:00
UbitUmarov fced64aef5 change asset upload retry timer AutoReset back to true 2016-09-01 16:00:21 +01:00
UbitUmarov bc1f5ebbb9 change MAXSENDRETRIESLEN from test value to normal 2016-09-01 13:03:47 +01:00
UbitUmarov 04351cc1c2 asset tests that still need UploadAttempts 2016-09-01 13:01:18 +01:00
UbitUmarov 924aaedfce assets uploads to grid. Change the retry code. Stop using asset.UploadAttempts field that should be removed 2016-09-01 12:45:09 +01:00
UbitUmarov 2a0df34087 Xengine: and fix line count again 2016-08-31 14:36:07 +01:00
UbitUmarov 2cbacbfb82 Xengine: put back a newline on scripts preamble, and the ugly filename prefix, for now 2016-08-31 12:47:56 +01:00
UbitUmarov 96ee7e4c2c Xengine: if option AppDomainLoading = true, create script domains for each SOG (like already done for attachments) and not per script. This should reduce number of domains without excessive problem of deleted scripts still loaded. 2016-08-31 12:03:06 +01:00
UbitUmarov a2a84dea49 Xengine: coment out tests too dependent on precise characters and lines generated on code convertion, viewer error position is what matters 2016-08-31 11:17:30 +01:00
UbitUmarov 0f993a1278 Xengine: also missed a few newlines account 2016-08-31 10:39:01 +01:00
UbitUmarov eca0ebab9d Xengine: forgot to do the indent on map too 2016-08-31 10:25:19 +01:00
UbitUmarov 3db81d87d6 Xengine: fix intermediate csharpe source identation. Not sure why i care, compiler sure doesn't and only we bother to create this files on code gen debug 2016-08-31 09:42:03 +01:00
UbitUmarov 5afc5fe343 Xengine: try to reduce memory pressure of scripts compile. Still ugly code, possible mistakes, but i need to share it before i loose it :) ) 2016-08-31 09:15:08 +01:00
UbitUmarov 4e1784d069 Xengine: remove a no thread safe locking, don't allocate a few objects only needed if creating a new domain 2016-08-30 08:56:35 +01:00
UbitUmarov ed555801a4 mantis 8013: change attachment group to active group on attach from inventory 2016-08-29 19:41:26 +01:00
UbitUmarov 2b1b013404 ubOde add a missing decimal dot :) 2016-08-29 16:25:46 +01:00
UbitUmarov 155a861a4f ubOde mouse look steer with some MOUSELOOK_BANK action 2016-08-29 16:22:16 +01:00
UbitUmarov d96c05a121 change my previus fix, change xengine to expect SOG and not attachments module, this way not breaking other script engines or modules out there for no valid reason 2016-08-29 12:18:01 +01:00
UbitUmarov a4bf78fa19 mantis 8006: AttachmentModule triggered OnAttach by SOG xengine expects by SOP 2016-08-29 11:53:07 +01:00
UbitUmarov 9a67c9fd78 disable AttachmentModule tests again :( 2016-08-29 10:19:02 +01:00
UbitUmarov 2ab7248e31 allow AttachmentModule tests, some may now work 2016-08-29 10:09:59 +01:00
UbitUmarov 832758df2b mantis: 8006 restrict the suspention of Trigger OnAttach to the problematic case where scripts are created, and not always as i incorrectly did before. This is still a temporary fix, other modules will not get the notification in that case. But that needs a deeper fix possible in xengine 2016-08-29 10:03:06 +01:00
UbitUmarov 90d88f2df5 disable AttacmentsModule tests because they depend on OnAttach event currently not avaiable 2016-08-28 15:11:22 +01:00
UbitUmarov 386a13d5d6 mantis: rotate avatar to lookAt o login/teleports. Some cases may still be wrong 2016-08-28 14:59:02 +01:00
UbitUmarov b2021cf83a mantis: 8006 remove duplication of attach script events. This is a temporary fix because TriggerOnAttach will not be trigger on attachment from inventory, (for now only Xengine connects to it on core). 2016-08-28 11:28:49 +01:00
UbitUmarov ddc2f2ccd3 mantis: 8008 unscripted child prim collisions didn't trigger scripted root prim collision events; collision sounds had incorrect aggregateevents call and default sounds where muted. Future optimization needed and Testing 2016-08-28 08:45:09 +01:00
UbitUmarov 03dba18bb6 let mouse steer work on crossings; some cleanup 2016-08-28 04:43:44 +01:00
UbitUmarov 0628671d69 missing file 2016-08-28 03:54:47 +01:00
UbitUmarov 804d4971e2 my broken version of vehicle mouse steer on ubOde (no bank,needs better damp) 2016-08-28 03:51:20 +01:00
UbitUmarov e7b0963db8 reduce math on use of camerarotation (need to add a lock there). Fix a bug on sits AToffset for some reason ATaxis got in there (needs testing) 2016-08-27 22:33:16 +01:00
UbitUmarov 9128c88d9b remove excess data 2016-08-27 22:10:31 +01:00
Vegaslon c918dd74da Import plumbing from Halcyon for camera data to physics engine.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-08-27 22:02:03 +01:00
UbitUmarov 78fa544f0d experimental function. Results still too volatile to be usefull 2016-08-27 19:25:47 +01:00
UbitUmarov abadad47d3 stack overflow is (not)funny :) 2016-08-27 18:03:21 +01:00
UbitUmarov b2386b8d0d llCollisionSound(,value) back to disable all sounds. new osCollisionSound(..). allows defualt sounds with volume 2016-08-27 16:38:29 +01:00
UbitUmarov 38ba839eb3 watchdog timeouts: replace a silly List copy i added doing it a better way 2016-08-25 23:31:18 +01:00
UbitUmarov d5f376a4b1 send selected objects Proprieties udp part outside update queues and as a physics single caps message per selection request 2016-08-25 09:51:34 +01:00
UbitUmarov 90fc4183dc suspend the use of SelectedObjects list. It is not threadSafe and is not in use (possible cant even be used) 2016-08-25 07:12:50 +01:00
UbitUmarov 991dd5f471 first step changing Object Select code 2016-08-25 06:56:25 +01:00
UbitUmarov e33c2f0d7c fix missing PhysicsProprieties sending on Object select. This is a temporary Fix, entire Object select code needs to be changed 2016-08-25 06:32:04 +01:00
UbitUmarov 7ce6430a86 put back the console comand i remove since it is not a repetion 2016-08-25 04:55:01 +01:00
UbitUmarov c0f7e1edba why did u used RunInThread? change to RunInThreadPool 2016-08-25 03:55:56 +01:00
UbitUmarov 2853c12135 respect landpoint Z position also on the ugly LandingPointBehavior_OS option (default one) 2016-08-24 21:59:39 +01:00
UbitUmarov 387d564aad do similar changes to unused checksManager 2016-08-24 07:41:11 +01:00
UbitUmarov fc45942026 remove redundate console comand add, change stat deregister 2016-08-24 06:57:21 +01:00
UbitUmarov 32396742f8 reduce unnecessary allocation of new items 2016-08-24 06:26:31 +01:00
UbitUmarov 99c3b61bd9 dont request a workjob if we can see there is nothing to do 2016-08-24 06:20:04 +01:00
UbitUmarov 8f509af1f4 fix the conditions to do parcel objects autoreturn 2016-08-24 04:37:21 +01:00
UbitUmarov c05ee23d3d minor change on warp3d lib 2016-08-24 04:10:35 +01:00
UbitUmarov 09e8289c68 potencial null ref 2016-08-24 02:21:33 +01:00
UbitUmarov f9f35e5049 potencial null ref 2016-08-24 02:10:34 +01:00
UbitUmarov fdea8fc96b potencial null ref 2016-08-24 02:00:50 +01:00
UbitUmarov 3c30223c77 potencial null ref 2016-08-24 01:40:35 +01:00
UbitUmarov 55680c9cd6 potencial null ref 2016-08-24 01:34:21 +01:00
UbitUmarov 517064121d estate handleTerrainRequest memory leaks 2016-08-24 01:22:50 +01:00
UbitUmarov 6744ec95a9 DynamicTextureModule memory leaks 2016-08-24 01:05:01 +01:00
UbitUmarov 35cc0420c8 fix a use of string Trim() 2016-08-24 00:20:45 +01:00
UbitUmarov 4dbd353110 remove some dead code 2016-08-24 00:13:54 +01:00
UbitUmarov 95970d7788 use known name a group ejetee if its local client 2016-08-24 00:06:47 +01:00
UbitUmarov 7a2256a8cd change odd condition on groupsV2 add to role 2016-08-23 23:48:07 +01:00
UbitUmarov ed6d9199ce coment some debug messages 2016-08-23 11:52:52 +01:00
UbitUmarov 8eacc6b207 replace warp3D.dll by a newer modified version. (only minor testing done :( 2016-08-23 10:58:34 +01:00
UbitUmarov 08c1dff86c change strange rotation in legacy MapImageModule (untested) 2016-08-22 20:43:47 +01:00
UbitUmarov 133fce98e7 change ODEs topcolliders code ( still bad), plus a few memory leaks 2016-08-22 20:28:15 +01:00
UbitUmarov a2c80b20d7 try to make mono happy 2016-08-22 08:35:39 +01:00
UbitUmarov 9953dad3a9 workaround potencial memory leak 2016-08-22 08:16:06 +01:00
UbitUmarov 39e92adaf2 workaround potencial memory leak 2016-08-22 08:12:32 +01:00