Phantom avatars
|
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
|
11-09-2004 11:19
This bug exploit makes it possible to cheat at some in-SL games.  I hope it gets fixed.
_____________________
~ Tiger Crossing ~ (Nonsanity)
|
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
|
Sim Borders?
12-05-2004 04:04
This code does not seem to make me stay phantom when crossing sim borders. The other script I saw for making a phantom avatar used a timer for repeatedly resetting the llVolumeDetect(TRUE), which might I suppose overcome the sim border crossing problem . Is there a better way to stay phantom when crossing sim borders?
I tried setting llVolumeDetect False from within all three collision events, but that didn't seem to help.
It's too late to think now. I ended up being stuck in phantom mode, even with the device attached.
_____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.
I can be found on the web by searching for "SuezanneC Baskerville", or go to
http://www.google.com/profiles/suezanne
-
http://lindenlab.tribe.net/ created on 11/19/03.
Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan
-
|
Rysidian Rubio
Ruby Red Head
Join date: 14 Jan 2004
Posts: 263
|
12-05-2004 04:13
The script I posted above makes you phantom again if it gets turned off when u cross a sim border, that is unless you aren't flying in which case you stay your normal solid self.
|
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
|
Hey Sue, don't post when you've stayed up all night, ok?
12-05-2004 17:57
I failed to see the entire second page of posts. Sheesh!
_____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.
I can be found on the web by searching for "SuezanneC Baskerville", or go to
http://www.google.com/profiles/suezanne
-
http://lindenlab.tribe.net/ created on 11/19/03.
Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan
-
|
Toneless Tomba
(Insert Witty Title Here)
Join date: 13 Oct 2004
Posts: 241
|
how to protect?
12-08-2004 00:54
If you have a house and you want to protect it from phantom avatars how would you without doing the full ban on the property? Any way of some sort of push forcefield?
|
Carnildo Greenacre
Flight Engineer
Join date: 15 Nov 2003
Posts: 1,044
|
12-09-2004 01:00
Yes. I created a script once that increased the force applied by llPushObject based on the distance to the avatar, creating a "soft barrier".
_____________________
perl -le '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++;'
|
Rysidian Rubio
Ruby Red Head
Join date: 14 Jan 2004
Posts: 263
|
12-09-2004 17:56
From: Carnildo Greenacre Yes. I created a script once that increased the force applied by llPushObject based on the distance to the avatar, creating a "soft barrier". Carnildo Can I ask how you calculated the force for this? I had someone ask me this once in Live Help and he had tried some simple and some complex calculations, but the results always varied a great deal.
|
Carnildo Greenacre
Flight Engineer
Join date: 15 Nov 2003
Posts: 1,044
|
12-10-2004 00:10
From: Rysidian Rubio Carnildo Can I ask how you calculated the force for this? I had someone ask me this once in Live Help and he had tried some simple and some complex calculations, but the results always varied a great deal. I multipled a constant force by the square of the distance to the avatar. When combined with the inverse cubic falloff of llPushObject force, this gives a linear falloff to the force. For distances in the 15-30 meter range and avatars that don't have some sort of power assist for movement, it was very effective for keeping them away from the emitter.
_____________________
perl -le '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++;'
|
Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
|
Nnoooooo!!!!
12-15-2004 19:43
And, just incase anyone didn't notice, they just "fixed" (or should I say "broke"  this... From 1/2 the time to go from store to store and pay rent or update my vendors, back up to double the time. I might even pull my stores out of malls that don't have easy access as a result. I just really, really, really hope they don't "fix" sit-teleporting any time soon. 
|
Kazuma Onizuka
Registered User
Join date: 23 Apr 2004
Posts: 13
|
07-16-2005 06:41
From: Rysidian Rubio COOL. Thanks for posting about this!! I tried it on a vehicle yesterday with some very funny results Here's a script to stop you colliding (or getting stuck inside) half rezzed buildings when flying. It makes you phantom when flying, and not when not. and also fixes itself when crossing a sim border. I haven't tested it yet but will when I get home. It should go in a child prim of an attachment (if that works, haven't tested it either, but earlier posts indicate that it does). Feel free to mod as you see fit. //PHANTOM FLYING SCRIPT //to go into a child prim of an attachment //auto turns the user phantom when the user is flying
integer FLYING; //boolean to check if the user is flying, and to //minimize the number of function calls when unnessassary. key OWNER; //owner of the script/prim. vector regioncorner; //used to track which region the user is in, //and to reset the phantom after crossing a sim border.
default { state_entry() { //initialise the variables. OWNER = llGetOwner(); regioncorner = llGetRegionCorner(); FLYING = FALSE; llSetTimerEvent(2); } timer() { //checks if user is flying, and make him phantom if flying //non phantom if not. if (llGetAgentInfo(OWNER) & AGENT_FLYING) { if (FLYING == FALSE) { llVolumeDetect(TRUE); FLYING = TRUE; } } else if (FLYING == TRUE) { llVolumeDetect(FALSE); FLYING = FALSE; } //this fixes the phantom if you cross a sim border. vector newregioncorner = llGetRegionCorner(); if (regioncorner != newregioncorner) { FLYING = FALSE; regioncorner = newregioncorner; } } }
I can't seem to get this script to work. I created a sphere, copied it, selected the first one then held shift and selected the second on. So the first one should be the child prim and the second should be the root. I checked "edit linked" and selected the first prim (child), then I put your script in it. I then attached the object to my avitar, tried to fly and it told me a nasty little error message telling me I it wouldn't work. What am I doing wrong?
|
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
|
07-16-2005 08:16
From: Kazuma Onizuka I can't seem to get this script to work. I created a sphere, copied it, selected the first one then held shift and selected the second on. So the first one should be the child prim and the second should be the root. I checked "edit linked" and selected the first prim (child), then I put your script in it. I then attached the object to my avitar, tried to fly and it told me a nasty little error message telling me I it wouldn't work. What am I doing wrong? I think that since this was written, LL prevented llVolumeDetect() from being used in attachments like this.
|
Kazuma Onizuka
Registered User
Join date: 23 Apr 2004
Posts: 13
|
07-16-2005 12:35
From: Lex Neva I think that since this was written, LL prevented llVolumeDetect() from being used in attachments like this. Thanks for the reply...I found another method w/o using ||VolumeDetect() to create a phantom avatar.
|
Champie Jack
Registered User
Join date: 6 Dec 2003
Posts: 1,156
|
07-16-2005 23:55
From: Kazuma Onizuka Thanks for the reply...I found another method w/o using ||VolumeDetect() to create a phantom avatar. You did? And after reading this whole thread, you didn't even think to share it?
|
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
|
07-17-2005 08:12
From: Champie Jack You did? And after reading this whole thread, you didn't even think to share it? Phantom AV
|
Kazuma Onizuka
Registered User
Join date: 23 Apr 2004
Posts: 13
|
07-17-2005 13:26
Yeah, what he said... He beat me to the punch =^.^=
|