Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Detecting Version of Viewer?

Kain Cleaver
Registered User
Join date: 24 Jan 2006
Posts: 178
09-15-2008 15:00
is there a way to detect what version of secondlife someone is using without them touching a prim?

i want to be able to determine that someone is using a proper viewer for detected side touch without having them touch a prim to find out..


so.. for example

person pays money to play a game.

if (viewer version < 1.21) { sorry you cant play - refund money}
if (viewer version > 1.20) {rock on lets play!}

i know you can tell if a prim is touched.. but i dont want to have to get to that point if rather the person be rejected before the game starts and without touching anything
Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
09-15-2008 18:43
Short answer: No.

Long answer: Nooooooooooooo.

Seriously: llDetectedTouch*() functions are the only functions that give a tiny bit of (private) information, i.e. which client someone is using.

Instead of trying not to use them, you better try to find a way to ensure they are used. There is no other way.
Alicia Sautereau
if (!social) hide;
Join date: 20 Feb 2007
Posts: 3,125
09-15-2008 19:03
not entirely correct ;)

CODE

if (llDetectedTouchFace(0) == -1) {
llSay(0, "Please use the 1.21 viewer.");
} else {
// what ever
}


edit: ok, this is not pre-touch