aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-23Fix script "Running" behaviorBlueWall4-0/+37
Unchecking "Running" box in script editor now persists. This fixes http://opensimulator.org/mantis/view.php?id=6057
2012-06-22Avoid race condition between m_PrimObjects iteration in ↵Justin Clark-Casey (justincc)1-14/+14
XEngine.PostObjectEvent and places where the list is modified by extending the m_PrimObjects lock.
2012-06-22If starting scripts on initial sim start, provide INFO level log feedback ↵Justin Clark-Casey (justincc)1-6/+10
each time 50 scripts have been started. This is to provide an indication of what's happening now that the default isn't to report every single script start. Changes XEngine logging level in OpenSim.exe.config from WARN to INFO.
2012-06-22Eliminate unnecessary extra call to TriggerEmptyScriptCompileQueue in ↵Justin Clark-Casey (justincc)1-9/+2
XEngine.DoOnRezScriptQueue() The later invocation of this function will happen on an empty compile queue.
2012-06-21Add item id, name, prim name and id to log message when state exists but ↵Justin Clark-Casey (justincc)1-5/+5
loading fails. Drop logging about memory limit exceeded to warn from error
2012-06-21Retrigger build - last jenkins run was glitchedJustin Clark-Casey (justincc)1-1/+2
2012-06-21Add state file location to errors logged when there's some issue with ↵Justin Clark-Casey (justincc)1-4/+4
retrieving state (e.g. exceeds memory limit)
2012-06-20Comment out recently added log message detailing number of scripts started ↵Justin Clark-Casey (justincc)1-2/+2
when compile queue empties for now
2012-06-20Raise some IO associated Exception logging in XEngine to error level, in ↵Justin Clark-Casey (justincc)1-7/+5
line with other similar cases. Remove more unnecessary Close() calls - these are being triggered by the Dispose() called when exiting the using statement for these sdk io objects.
2012-06-20Log how many scripts are candidates for starting and how many are actually ↵Justin Clark-Casey (justincc)1-4/+60
started. Adds DebugLevel infrastructure to XEngine though currently commented out and unused.
2012-06-19Like the assembly and text files, only write the c#-lsl linemap in ↵Justin Clark-Casey (justincc)1-27/+27
XEngine.SetXMLState() if the trust binaries flag is set. This doesn't affect other locations where the map is written, such as on script compilation.
2012-06-19minor: Add a little more detail to IOException logging in XEngine.SetXMLState()Justin Clark-Casey (justincc)1-11/+14
Also removes superflous Close() commands for statements taking place within using() constructs Also adds some comment out debug log messages for future use.
2012-06-15Reapply the one change that was in the revert that was actually function, notMelanie1-1/+1
form
2012-06-15Revert changes...UbitUmarov1-55/+34
This reverts commit c8227e1bb70817351de283fb647ec39f090fc9f1.
2012-06-15 SL doesn't let scripts rotate root part of physical linksets also fix ↵UbitUmarov1-16/+27
sitting avatars rotations broken in previus commit, forcing send of updates.
2012-06-15 only rotation of root part change parts positions, so only call ↵UbitUmarov1-21/+31
ResetChildPrimPhysicsPositions() if root part. Plus 'cosmetics'
2012-06-13 Changed t adding the avatar dependent sit offset and not subtracting, so ↵UbitUmarov1-25/+42
not to break inworld contents. SL ported scripts will show a sit error around 0.1m. Added respective compensation in LSL api to maintain coerence. Fixed several bugs still on SET/GET[link]PrimitiveParams[fast] and llGetObjectDetails()
2012-06-13In the osGetGrid functions, if the [GridInfo] section does not exist then ↵Justin Clark-Casey (justincc)1-1/+6
return "Configuration Error", as already happens if there is no GridInfoURI
2012-06-13 convert a LSL rotation of <0,0,0,0> to <0,0,0,1> and not <0,0,1,0> in ↵UbitUmarov1-1/+1
SitTarget. Something seems to be doing that before this gets called, but just in case...
2012-06-13Committing the Avination implementation of llCastRay. This is a complete rewriteMelanie1-100/+345
wich does it's thing independently of physics. Enjoy!
2012-06-13Fixed llGetObjectDetails(), OBJECT_ROT for sitting avatars case, plus ↵UbitUmarov1-9/+23
'cosmetics' and added some parts costs information.
2012-06-13*TEST this will affect inworld sittargets by +-0.1m, so may be very BAD *. ↵UbitUmarov1-9/+17
Changed the sign of the sitoffset dependent on avatar size in SP.cs. Removed that offset correction from SET/GET..primitiveParams in LSL api. If the sign needs to be the previus one, then all references to avatar positions on LSL api need to be fixed with that correction, not only SET/GETprimitiveParams.
2012-06-13Add detecting non-physical phantoms back into raycastMelanie1-3/+11
2012-06-12 try to replicate SL bug of PRIM_ROTATION also for avas, est a fix to other ↵UbitUmarov1-3/+10
cases
2012-06-12fix the try.. finally in SetPrimitiveParams i did mess and add one for the ↵UbitUmarov1-188/+156
avatars case, so to optimize a bit 'warp' scripts.
2012-06-12 more changes to Get and Get primitiveparams: Let Get remove avatarheight ↵UbitUmarov1-26/+94
adjust,add Get PRIM_LINK_TARGET handling, changed avatar Set positions code...
2012-06-12 Moved auxiliar funtions of last commit from sop to lsl api since they are ↵UbitUmarov1-5/+22
only used on one place each
2012-06-12*UNTESTED* extended llGet*PrimitiveParam() to support avatars. Some auxiliar ↵UbitUmarov1-3/+238
code in SOP.cs
2012-06-11Revert "Bind ~ and ! operators in LSL tighter in order to resolve issues in ↵Justin Clark-Casey (justincc)1-3956/+3978
LSL where these aren't evaluated propertly." This reverts commit a8a9d13dc07bc9e23ebf439cbea5ece6ae002315. Accidentally committed, this patch might not be the correct approach.
2012-06-11Commitig the Avination implementation of llTeleportAgent andMelanie3-0/+106
llTeleportAgentGlobalCoords. These do NOT use PERMISSION_TELEPORT like their SL counterparts because that permission is not yet understood by TPVs based on v1.x.
2012-06-09Bind ~ and ! operators in LSL tighter in order to resolve issues in LSL ↵Justin Clark-Casey (justincc)1-3978/+3956
where these aren't evaluated propertly. Addresses http://opensimulator.org/mantis/view.php?id=3268
2012-06-08Make llTeleportAgent conform to Magnum SL Server and add ↵Melanie3-5/+73
llTeleportAgentGlobalCoords()
2012-06-08*UNTESTED* fix PRIM_LINK_TARGET. Make it work on avatars, set any pending ↵UbitUmarov1-7/+37
position change on others; don't assume m_host is in same grp that part (possible always is)...
2012-06-08*UNTESTED* let SetPrimParams for avatars parse even unsupported parameters ↵UbitUmarov1-2/+84
so that if a supported one is in the middle of then it still works.
2012-06-08*UNTESTED* added PRIM_POS_LOCAL and PRIM_ROT_LOCAL in SetPrimParams for ↵UbitUmarov1-6/+46
avatars. Stopped setting position twice in normal SetPrimParams
2012-06-07Typo correctionMelanie1-1/+1
2012-06-07Set collision sound type so custom sound types are recognizedMelanie1-0/+2
2012-06-07Prevent a null ref when getting the velocity of an avatar during login orMelanie1-2/+3
logout.
2012-06-06Remove a null ref when an avatar's attachment gets the avatar velocityMelanie1-4/+3
while the avatar is logging in or out. Also remove some unlocking calls without matching locking call. Merge artefact cleanup, again.
2012-06-05 revert last bad commit but fix recoil directionUbitUmarov1-4/+4
2012-06-05 Stop llRezAtRoot() from applying velocity setting impulse in ↵UbitUmarov1-2/+3
World.RezObject, doing it only in itself, so its applyed after resuming scripts etc. It was giving twice the requested velocity.
2012-06-05Remove unused ScenePresence list structure in llGetAgentList()Justin Clark-Casey (justincc)1-1/+0
2012-06-04Fix llAttachToAvatar and "Attach" viewer option to preserve saved attach ↵Melanie1-1/+1
positions.
2012-06-01Fix LSL animation state reporting and animation state transitions on crossingMelanie1-7/+33
2012-05-30Prevent multiple requests to go physical from reaching the physics pluginMelanie1-0/+4
2012-05-26minor: code formatting from 0b72f773Justin Clark-Casey (justincc)1-12/+11
2012-05-26Mantis 6025 llRequestPermissions auto grant for NPCs.Talun1-1/+23
If the script requesting permissions is owned by either the NPC or the NPCs owner (if the NPC is created as owned) then grant any permissions automatically.
2012-05-26One can now get hyoergrid region co-ordinates with llRequestSimulatorDataBlake.Bourque1-5/+21
2012-05-26Use GetInventoryItem() in LSL_Api.InventoryKey(string name, int type).Justin Clark-Casey (justincc)1-17/+7
Also removes small bug where calling this method would add 1 to LPS, evne though all callers already did this.
2012-05-26Use SceneObjectPartInventory.GetInventoryItem() in OSSL.AvatarStopAnimation ↵Justin Clark-Casey (justincc)1-14/+12
instead of searching the task inventory manually.