| Anonymous | Login | Signup for a new account | 2013-05-21 16:48 UTC | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Summary | My Account |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0006144 | opensim | [REGION] Script Functions | public | 2012-08-09 16:16 | 2012-08-10 18:59 | |||||
| Reporter | SignpostMarv | |||||||||
| Assigned To | ||||||||||
| Priority | normal | Severity | minor | Reproducibility | random | |||||
| Status | new | Resolution | open | |||||||
| Platform | OS | OS Version | ||||||||
| Product Version | master (dev code) | |||||||||
| Target Version | Fixed in Version | |||||||||
| Summary | 0006144: rapidly crouching occasionally produces unexpected results | |||||||||
| Description | Rapidly crouching occasionally indicates to script engine that the avatar is in the air, e.g. llOwnerSay((string)(llGetAgentInfo(i) & (AGENT_FLYING | AGENT_IN_AIR))); spits out "256" when it should always spit out "0". | |||||||||
| Steps To Reproduce | 1) stand on flat sim terrain 2) Attach a prim containing the script in the additional info field 3) rapidly press the Page Down key rapidly enough for LSL not to notice the key is held, as the script will detatch the prim when Page Down is "held". | |||||||||
| Additional Information | default { state_entry(){ if(llGetAttached() != 0){ llRequestPermissions(llGetOwner(), PERMISSION_TAKE_CONTROLS); } } attach(key a){ if(a != NULL_KEY){ llRequestPermissions(a, PERMISSION_TAKE_CONTROLS); }else{ llReleaseControls(); llRequestPermissions(a, 0); } } run_time_permissions(integer p){ if(p & PERMISSION_TAKE_CONTROLS){ llTakeControls(CONTROL_DOWN, TRUE, TRUE); } } control(key i, integer l, integer e){ llOwnerSay((string)(llGetAgentInfo(i) & (AGENT_FLYING | AGENT_IN_AIR))); if((llGetAgentInfo(i) & (AGENT_FLYING | AGENT_IN_AIR)) == 0 && llGetAttached() != 0){ if(((l & ~e) & CONTROL_DOWN) != 0){ osForceDropAttachment(); } } } } | |||||||||
| Tags | No tags attached. | |||||||||
| Git Revision or version number | 19417fca41e | |||||||||
| Run Mode | Grid (1 Region per Sim) | |||||||||
| Physics Engine | ODE | |||||||||
| Environment | .NET / Windows64 | |||||||||
| Mono Version | None | |||||||||
| Viewer | ||||||||||
| Attached Files | ||||||||||
Notes |
|
|
(0022007) SignpostMarv (reporter) 2012-08-09 16:20 |
May or may not be related, but although this particular issue cannot be reproduced with BulletSim, holding crouch in BulletSim makes the avatar appear to sink into the ground (Impy 1.4 b1) |
|
(0022013) SignpostMarv (reporter) 2012-08-10 15:21 |
accidentally did patch included on wrong issue |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-08-09 16:16 | SignpostMarv | New Issue | |
| 2012-08-09 16:20 | SignpostMarv | Note Added: 0022007 | |
| 2012-08-10 15:20 | SignpostMarv | Status | new => patch included |
| 2012-08-10 15:21 | SignpostMarv | Note Added: 0022013 | |
| 2012-08-10 18:59 | nebadon | Status | patch included => new |
| 2012-08-18 11:32 | DMX04 | Issue cloned: 0006219 | |
| Copyright © 2000 - 2012 MantisBT Group |