Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Freeze your client with two lines of LSL

Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
02-12-2004 08:33
You can make your client freeze up with just two lines of code. Make a default cube and slap these two lines into the state_entry function:
CODE

llSitTarget( <0,0,1>, ZERO_ROTATION );
llSetCameraAtOffset( <0.4,0,0> );

When you sit on it and hit ESC (to snap your camera to the sit target point) you will be looking straight down at the ground. Now mess about with your menus (drag one around the screen or something) and soon you'll see a little pause. The longer you wait, the longer the pauses will become and the less time you'll have between them.

Meanwhile, the client's virtual memory usage will start to climb, doubling or tripling. Sit there long enough and the client will freeze up solid.

If you get off the prim before it gets too bad, you can move around as normal, but whatever pause rate you had achieved will STILL be with you until you quit and restart.

This is true for both the Mac and PC versions. I have bug reported it and given Colin a copy of the object, but no word yet.
_____________________
~ Tiger Crossing
~ (Nonsanity)
eltee Statosky
Luskie
Join date: 23 Sep 2003
Posts: 1,258
02-17-2004 11:59
aah a classic memory leak.. gotta love those little buggers.. at least with xp, killing the client *USUALLY* frees that ram back up
_____________________
wash, rinse, repeat
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
02-17-2004 15:12
Impressive. Memory leak.
_____________________
</sarcasm>