| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
I found a problem trying to get s value directly from a quaternion q.
Compiling a script which directly access to q.s value, caused the
following error:
CS0103: 'The . symbol cannot be used in LSL except in float values
or vector components'. Detected around: q.s
I did a small change to allow alphabetic letter "s" to be interpretated
as valid identifier. This solves the problem.
|
|
|
|
| |
llRot2Up. llAxes2Rot now uses these functions for sign error correction instead of vector*quat products.
|
|
|
|
| |
the sign of the s term if a discrepency is found. This helps llAxes2Rot more closely match the Linden implementation.
|
|
|
|
|
|
| |
Defaulted to 65536 and 10, respectively
|
|
|
|
|
|
|
|
|
|
| |
llAxes2Rot now implemented. Important note: quaternion <x,y,z,s>
is equal to <-x,-y,-z,-s>. The result may be different from LSL
output, but it is correct. A problem of rounding caused an error
of square rooting of zero as negative number, corrected by squaring
again. Function tested 360° along 3 axes. Vector fwd, left and up
have to be normalized.
|
|
|
|
|
|
|
|
|
|
|
| |
Implements additional unlink modes (unlink root prim from link set, some
multi-set operations). Linking (single and mutiple) fully implemented.
Consistent numbering of links while in world. Link/delink with predictable
link numbering. Correct link numbers in LSL.
Not all multi-set ops implemented. Link numbers still change when taken and
re-rezzed.
|
|
|
|
|
|
|
| |
llRot2Left and llRot2Up functions modified, using fast algebric
calculations instead of vectors and quaternions products.
The accuracy is the same. Normalization is now implemented.
|
|
|
|
|
|
| |
* Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 1
|
| |
|
|
|
|
| |
could be implemented many other places, but let's do that on a case-by-case basis.
|
|
|
|
|
|
|
| |
llRot2Fwd function modified, using fast algebric calculations
instead of vectors and quaternions products. The accuracy is
the same. Normalization is now implemented.
|
|
|
|
|
|
|
|
|
|
|
| |
The previous implementation of llEuler2Rot was not mathematically
incorrect, but it was an awkward way of posing the problem that
led to a few degenerate cases which were not handled correctly -
for example, PI rotations around X and Z axes were wrong. I put
some comments in the source about how I arrived at the current
implementation, which I think is easier to read, and gives
results that match SL.
|
|
|
|
|
|
|
|
| |
When using math operators +,-,*,/ in an LSL script with an LSLFloat
and an integer literal the wrong result is returned. This patch
adds operators to the LSLFloat type to handle this case.
|
| |
|
|
|
|
|
|
|
|
| |
I needed to apply the patch a little better then last night
for: Dot product operator in LSL_Types.cs incorrectly returns
a component-wise vector multiplication; it should return a
scalar dot product. Thanks to M. Igarashi for the patch.
|
|
|
|
| |
is 1500. If it was longer than 1500, it was being truncated to 1501 characters. This caused an exception and prevented the errors from reaching the console and the user in-world.
|
|
|
|
|
|
| |
Brings Yield Prolog up to date with sourceforge version 0.9.10
Patched applies to both DotNet and XEngine.
|
|
|
|
|
| |
with Windows compiled, the automated build failed.
|
|
|
|
|
|
|
| |
Dot product operator in LSL_Types.cs incorrectly returns a
component-wise vector multiplication; it should return a scalar
dot product. Thanks to M. Igarashi for the patch.
|
|
|
|
|
|
|
| |
Changed code to include Melanie's advice about X-SecondLife-Region,
then put the exact same content format as a llHTTPRequest issued by
other grids.
|
|
|
|
|
| |
Implements X-SecondLife-* HTTP Headers for llHTTPRequest
|
|
|
|
|
|
| |
Patch 7 of the region patches. Finish off the region parts of the estate dialog. Full user functionality. Terrain textures, heights, water, avatar counts, prim bonus, debug settings and region toggles can now be set from the dialog on a per-region basis. Estate stuff defaults to sane values where there are no defaults, to estate_settings.xml otherwise. Sun still b0rked :(
|
|
|
|
|
|
|
| |
Patch #4 of the region settings series. Partial functionality of the new
storage system. More patches to follow.
|
|
|
|
|
|
| |
The compiler was missing grammar rules for += etc. operators on
vector.member variables, which the attached patch implements.
|
|
|
|
|
|
|
|
| |
they already exist in the scene
* (ability to give objects new uuids will come later)
|
|
|
|
| |
count is actually a prim local id dispenser
|
|
|
|
|
| |
Adds additional support for llEmail().
|
|
|
|
|
| |
Solves llGetListLength fails scripts when list is not initialized.
|
|
|
|
|
| |
Solves llGetCameraPos() implementation + permission bug.
|
|
|
|
|
|
|
|
|
| |
Add a config option to OpenSim.ini to select between script compilers
in the XEngine without recompile.
Set UseNewCompiler=true in OpenSim.ini and try it out.
Creates the ICodeConverter interface and adapts the new compiler to it.
|
|
|
|
|
|
|
| |
Untangles llDie handling in XEngine, which resulted in a thread being
aborted while executing inside of Scene.
|
|
|
|
|
|
|
| |
Add LifetimeService overrides to all MarshalByRef derived classes
to prevent the remoting interfaces from expiring.
|
|
|
|
| |
v=<0, 0, -0.5>' caused a syntax error, and implements multiple assignments in one line (x = y = 3;)
|
|
|
|
| |
user in-world
|
|
|
|
|
|
|
|
|
|
|
| |
This patch limits the maximum size of prims that can be created using libsl bots
or modified clients to 65536mper side. It also limits LSL functions to that size.
If a prim is already physical, the enforced constraint is 10m.
A prim that is larger than 10m cannot be turned physical, either via script or UI.
Linksets are handled correctly, so scaling of physical linksets is constrained by
the size of it's largest component prim. Also, turning linksets physical is based
on the size of it's largest ptim.
|
|
|
|
|
|
|
| |
LSLInteger + literal integer is not an LSLInteger.
The included patch fixes the issue: LSLInteger + literal
integer is not an LSLInteger (also fixed for -,*,/)
|
|
|
|
|
| |
The attached patch implements llRemoveInventory().
|
|
|
|
|
| |
Lets osSetParcelMediaTime honor the AllowOSComamnds setting
|
|
|
|
|
|
|
|
| |
added void osSetParcelMediaTime(double time) command to script engines.
which sets the position of the media that is playing. Time is in seconds.
Doesn't do any security checking (should be checking that the object/script is owned by the parcel owner). So could be abused, if it is then we should remove it, or add the security.
Only tested in dotnet scripting engine, but should work in XEngine too.
|
| |
|
|
|
|
|
| |
esets script permissions when a script is recompiled.
|
|
|
|
|
|
| |
Phrearch's iiGetCameraPos() patch, but not the original
yet. Thank you Phrearch and Melanie.
|
|
|
|
| |
as well. Thanks Mike
|
|
|
|
| |
initializations
|
| |
|
|
|
|
|
|
| |
Changes ...TimeOfDay.Milliseconds to ...TimeOfDay.TotalMilliseconds
for llGetTimeOfDay() in both LSL_Api.cs and LSL_BuiltIn_Commands.cs
|
| |
|
|
|
|
|
|
| |
This patch fixes an error in llSetPrimitiveParams() that
prevents correctly setting the type of the prim to SCULPT_TYPE.
|
| |
|
| |
|