Discrepancies between llGetObjectDetails and llGetPrimitiveParms and prim damage
tracked
Philbert Susa
IF you set PRIM_DAMAGE via llSetPrimitiveParams, and subsequently retrieve the same info via llGetPrimitiveParams you get identical damage values, but damage type is wildly different. sample Output:
[10:06] BOB: llGetPrimitiveParams: 0.000000, -2147483648
[10:06] BOB: llGetObjectDetails: 0.000000, -822083584
Log In
Philbert Susa
If you set the damage type to 0, you get 0 back in both function calls. I suspect an offset is, well off in the simulator code
Maestro Linden
tracked
Maestro Linden
Hi Philbert Susa thanks for the report. It looks like the damage type of PRIM_DAMAGE is being reported correctly (0x80000000 = -2147483648), but that OBJECT_DAMAGE_TYPE is returning something totally wrong.
I can also reproduce this on Second Life Server 2025-03-14.13862207703 when using one of the 'standard' damage types shown in https://wiki.secondlife.com/wiki/Category:LSL_Combat2#Damage_Types, like DAMAGE_TYPE_EMOTIONAL = 14. In that case, PRIM_DAMAGE still returns the right value (14), but OBJECT_DAMAGE_TYPE returns 1096810496.