Commit Graph

127 Commits

Author SHA1 Message Date
UbitUmarov
dbee15498d mantis 9082: work around discrete math issues 2023-07-07 00:18:06 +01:00
UbitUmarov
35b4cfd6e2 mantis 9082: fix rotation for do arc 2023-07-06 03:33:48 +01:00
UbitUmarov
1f5dfa37b0 cosmetics on sensorrepeat 2023-06-04 23:25:00 +01:00
UbitUmarov
bd41db241f fix back llsensor*: let id be a invalid or empty key again 2023-02-10 14:07:04 +00:00
UbitUmarov
cb706f7058 c# sugar on lsl timers code 2022-10-07 17:30:00 +01:00
UbitUmarov
858e00d578 still some files missing 2022-06-21 02:40:28 +01:00
UbitUmarov
adf818370a mke sending to listeners code a bit more confusing 2022-06-19 01:22:03 +01:00
UbitUmarov
c972c23d2e try simplify lsl listen code a bit 2022-06-18 22:40:01 +01:00
UbitUmarov
9bd8e45b30 remove some more of obsolete ninha joints code 2022-03-19 01:06:44 +00:00
Vincent Sylvester
13dbbc2683 Remove tabs, indent code properly
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2022-03-13 13:15:05 +00:00
UbitUmarov
da928d6099 != UUID.Zero is slow 2022-01-09 02:28:51 +00:00
UbitUmarov
f542026282 fix last commit 2021-11-02 18:58:36 +00:00
UbitUmarov
b08ffb622f try save a tiny bit of CO2 2021-11-02 17:25:29 +00:00
UbitUmarov
50669c8d41 minor cleanup 2021-03-12 00:04:51 +00:00
UbitUmarov
60868fe975 vs2017 debug seems to get very confused with our script class called Timer (run runprebuild) 2021-03-11 23:54:34 +00:00
UbitUmarov
30176673e3 move scripts dataserver threads to objectjobengine 2021-01-11 16:23:32 +00:00
UbitUmarov
c8be806b9a use them on LSL api 2020-08-15 18:55:52 +01:00
UbitUmarov
bbed225861 modify Dataserver request functions 2020-08-15 18:40:29 +01:00
UbitUmarov
657b781f2f add some comments about the async dataserver async action 2020-08-15 03:14:06 +01:00
UbitUmarov
144d4a6326 let scripts dataserver do async code actions 2020-08-15 02:33:25 +01:00
UbitUmarov
a2fe315d94 cosmetics 2020-08-09 01:37:54 +01:00
UbitUmarov
e87dfd48bf Yengine: we also need to cancel timer events in queue, because some bad scripts that do work on X 2019-11-11 12:51:09 +00:00
UbitUmarov
800f6d6529 several changes to llHttpRequest processing: options section renamed ScriptsHttpRequestModule; throttle by prim (PrimRequestsBurst = 3, PrimRequestsPerSec = 1) and max concurrent connections per instance (MaxPoolThreads = 5), llhttprequest returns if error, nullkey if throttled, reqid otherwise 2019-02-24 07:25:50 +00:00
UbitUmarov
dd508d4c4f use Vector.Distance not util.. 2018-07-14 16:58:09 +01:00
UbitUmarov
a932f24ba4 minor fix on sensorrepeat 2017-05-12 03:53:18 +01:00
Melanie Thielker
e58903be6f Correct casing on isGod and isViewerUIGod 2017-01-07 20:38:30 +00:00
UbitUmarov
effa32cfa4 replace godlevel compares by the new faster bool isViewerUIGod 2017-01-07 18:41:46 +00:00
Melanie Thielker
ad8915f154 Restructure god level and permissions
Create a class GodController which controls all aspects of god level,
viewer modes and user levels at ScenePresence level.
2017-01-06 00:55:14 +00:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
Melanie Thielker
97ff01a0c2 Taking a reference to the value collection is not thread safe. Change this
to create a shallow copy instead and then iterate it's values to avoid the
"out of sync" error.
2015-03-23 22:15:25 +01:00
UbitUmarov
67a91ee314 make sensors detect sitting avatars also by the distance to the root prim
of the object as sl does (as sl avatar needs to be in the arc)
2014-08-10 22:13:39 +01:00
Melanie
3589acdab1 Merge branch 'master' into careminster
Conflicts:
	.gitignore
	OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs
	OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
	prebuild.xml
	runprebuild.bat
2013-11-23 19:13:22 +00:00
Justin Clark-Casey (justincc)
7cab41f422 refactor: replace verbose checks with String.IsNullOrEmpty where applicable.
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-11-15 21:45:08 +00:00
Melanie
7830cc9954 Merge branch 'master' into careminster
Conflicts:
	OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
	OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
	OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs
	OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
	OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs
	OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs
	OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs
	OpenSim/Region/Framework/Scenes/Scene.cs
	OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
	OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
	OpenSim/Region/Framework/Scenes/ScenePresence.cs
	OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
	OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
	OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
	OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
	OpenSim/Services/HypergridService/UserAgentService.cs
2013-07-18 10:08:10 +01:00
Justin Clark-Casey (justincc)
cec8e6d0f7 If a sensor is in an attachment, avoid throwing an exception if the attachee is removed from the scene before we try to retrieve them. 2013-07-09 23:52:47 +01:00
Melanie
a348c8e44a Allow Linden trees to preserve their type when taken into inventory and rezzed again. Allow Linden trees to be sensed by LLSensor as PASSIVE objects. 2013-05-26 14:11:48 +02:00
Melanie
8b657773e4 Merge branch 'master' into careminster
Conflicts:
	OpenSim/Region/Framework/Scenes/ScenePresence.cs
	OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
	OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
2013-03-14 22:34:15 +00:00
Justin Clark-Casey (justincc)
ad9bd3fe93 Fix sensors, llGetRootRotation(), llGet*Param() and other functions to use the world rotation if the avatar to which they are attached is sitting 2013-03-14 21:46:29 +00:00
Melanie
3a495ccd56 Merge branch 'master' into careminster
Conflicts:
	OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
	OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/Timer.cs
	OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
2013-01-10 01:38:03 +00:00
Justin Clark-Casey (justincc)
b1b4687250 Add "show script timers" command to show script timers. For debug purposes.
Also, "show sensors" changes to "show script sensors".
2013-01-10 00:57:49 +00:00
Justin Clark-Casey (justincc)
a0000a034f Add "show sensors" command to show script sensor information for debug purposes. 2013-01-10 00:32:22 +00:00
Melanie
914f97cb76 Merge branch 'master' into careminster
Conflicts:
	OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
2012-08-18 19:01:05 +01:00
SignpostMarv
ffdde05bb7 constructor means not having to manually refer to individual properties 2012-08-18 18:29:59 +01:00
Melanie
5d43e27de2 Merge branch 'master' into careminster
Conflicts:
	OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
2012-08-18 13:57:50 +01:00
SignpostMarv
5d7751da89 refactoring for Vector3 operator & constructor tweaks 2012-08-18 13:21:55 +01:00
Melanie
ecffcf7f65 Merge branch 'master' into careminster
Conflicts:
	OpenSim/Region/Framework/Scenes/Scene.cs
	OpenSim/Region/Physics/Manager/PhysicsScene.cs
2012-08-01 23:03:03 +01:00
Justin Clark-Casey (justincc)
794363421d Look up the NPC module when the SensorRepeat class is created, rather than on every single sensor sweep. 2012-08-01 00:39:37 +01:00
Melanie
8114260946 Merge branch 'master' into careminster 2012-08-01 00:08:02 +01:00
Justin Clark-Casey (justincc)
7609daca38 Resolve a deadlock between INPCModule and SensorRepeat by replacing the SensorRepeat list with a new list on add/removes rather than locking it for the duration of the sensor sweep.
A deadlock was observed today where NPC removal on a script thread would lock the NPC list and then try to lock the sensor list via scripted attachment removal.
Concurrently, the sensor sweep thread would lock the sensor list and then try to lock the NPC list to check NPC status.
This commit resolves the deadlock by replacing the sensor list on update rather than locking it for the duration of the sweep.
2012-07-31 23:57:57 +01:00
Melanie
af05aaaf36 Remove support for the OS_NPC constant. That one seems to be overly paranoid
to have and confuses the issue.
2012-07-25 01:28:11 +01:00