<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
I am on OpenSim v0.7.0.2 running in StandAlone mode on a Linux
(Ubuntu 64-bit system). I have noticed a strange phenomena recently
that seems to be affecting my avatars. When a player signs in to
the sim or signs out of the sim, for a brief few seconds, the
entering or exiting player's HUD is appearing on all other players'
viewers. Most of the time just the outline of the HUD appears,
along with 1 or 2 textures. Then it vanishes after a few seconds.
It also seems as though it is not appearing at the attachment point
it is designed for (upper left) and seems to be grabbing the center
of the screen. It does not rez in the environment (on the ground)
only as a HUD attachment to the other players. Also, occasionally,
a transparent piece of the HUD will momentarily attach to the center
HUD attachment point and block you from clicking on other objects in
the environment. If I right click to see the owner/creator there is
no information and if you turn left and right it disappears. This
behavior does not seem to coincide with another avatar signing in or
out.<br>
<br>
I have not seen anything like this in the Mantis (unless I am not
choosing proper search keywords). I would logically assume that
when you sign in or out some event is triggering that is firing an
event to all viewers. Perhaps I have coded something incorrectly?
Here is the script in my root prim:<br>
<br>
integer Version_Channel = 15;<br>
integer attachflag = 0;<br>
default {<br>
state_entry() {<br>
llSay(0, "HUD");<br>
}<br>
run_time_permissions(integer perm) {<br>
if (perm & PERMISSION_ATTACH) {<br>
if(attachflag) {<br>
llSetAlpha(1.0,ALL_SIDES);<br>
llOwnerSay("attachToAvatar");<br>
llAttachToAvatar(ATTACH_HUD_TOP_LEFT);<br>
}<br>
else {<br>
llOwnerSay("detachFromAvatar");<br>
llDetachFromAvatar();<br>
}<br>
}<br>
else {<br>
llDie();<br>
}<br>
}<br>
attach(key attached) {<br>
llListen(Version_Channel,"",NULL_KEY,"");<br>
if (attached != NULL_KEY) // object has been detached<br>
{<br>
llRegionSay(Version_Channel,"version");<br>
}<br>
else {<br>
llDie();<br>
}<br>
}<br>
listen(integer channel, string name, key id, string message) {<br>
if(channel == Version_Channel) {<br>
if(message != llGetObjectName() && message !=
"version") {<br>
attachflag = 0;<br>
llOwnerSay("Old Version of the HUD. Click on game
board for new version.");<br>
llRequestPermissions(llGetOwner(),
PERMISSION_ATTACH);<br>
}<br>
}<br>
}<br>
on_rez(integer total_number) {<br>
llSetAlpha(0.0,ALL_SIDES);<br>
attachflag = 1;<br>
llOwnerSay("attachflag setted.");<br>
llRequestPermissions(llGetOwner(), PERMISSION_ATTACH);<br>
}<br>
}<br>
<div class="moz-signature">-- <br>
<hr>
<div style="font-size: x-small; color: rgb(0, 0, 255);">Charlie
White<br>
Chief Operating Officer/Co-Founder<br>
Thwakk, Inc.<br>
</div>
</div>
</body>
</html>