Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Don't Wait!! Report Abusers in Rausch and Jessie today!

Paradigm Brodsky
Hmmm, How do I set this?
Join date: 28 Apr 2004
Posts: 206
08-14-2004 13:18
Ever go to blast some people in Jessie, only to find that some automated weapon has locked onto you, killing you the second you set foot in it?

Wouldn't you like to get the bastard who left a device in rausch that kills you instantly when you're only trying to work on your latest weapon, in the only area where weapon testing is allowed?? Well now there is an answer.

This attack detector not only let's you know who has been shooting at you, but also notifies you if they are not online, and if they are not present in the sim.

Remember, it is against the TOS to leave automated weapons in any sim while you are not present in that sim.

So if you find that you repeatedly have this problem with a particular attacker, then please file an abuse report on them immediately.

The script for this attached device is in the next post, or you can contact me in world for a copy.

Because you deserve a better Second Life.
Paradigm Brodsky
Hmmm, How do I set this?
Join date: 28 Apr 2004
Posts: 206
Attack Detection
08-14-2004 13:19
//Attack Detector
// By Paradigm Brodsky

CODE


//Attack Detector
// By Paradigm Brodsky

// This script when worn will notify you when a scripted object touches you and does the following
// Reports the name of the owner (attacker)
// notifies you if the owner (attacker) is not online
// notifies you if the owner is not in the sim

key nameRequest;
key onlineRequest;
key owner;
string name;
string presentInSimTestName;

default
{
state_entry()
{
}

collision_start(integer detected)
{
if (llDetectedType(0) & SCRIPTED)
{
owner = llDetectedOwner(0);
presentInSimTestName = llKey2Name(owner);

if (presentInSimTestName == "")
llSay(0,"owner is not in this sim");

nameRequest = llRequestAgentData(owner, DATA_NAME);
onlineRequest = llRequestAgentData(owner, DATA_ONLINE);
}
}

dataserver(key queryid, string data)
{
if (queryid == nameRequest)
{
llSay(0,"you were attacked by " + data);
name = data;
}

//sometimes the name isn't reruned in time for the onlineRequest test to use it.
//If not, wait 3 seconds and try again. Don't realy know if this will work or just hang up the script

if (queryid == onlineRequest && data == "0" && presentInSimTestName == "")
{
llSay(0,name + " is NOT online");
}

if (queryid == onlineRequest && data == "0" && name != "")
{
llSay(0,name + " is NOT online");
}

if (queryid == onlineRequest && data == "0" && name == "")
{
llSleep(3);
llSay(0,name + " is NOT online");
}
}

}

Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
08-14-2004 13:27
CODE
 is your friend. :)
_____________________
Need scripting help? Visit the LSL Wiki!
Omega Point - Catherine Omega's Blog
Paradigm Brodsky
Hmmm, How do I set this?
Join date: 28 Apr 2004
Posts: 206
08-14-2004 13:28
Heh learn something new everyday. I'll edit. thanks.
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
08-14-2004 13:56
It's also the "#" button in the "vB Code" section. You know, because "#" makes sense. And that "PHP" button's really useful too! :rolleyes: Oh well.
_____________________
Need scripting help? Visit the LSL Wiki!
Omega Point - Catherine Omega's Blog
Paradigm Brodsky
Hmmm, How do I set this?
Join date: 28 Apr 2004
Posts: 206
08-18-2004 05:30
thanks :-)
Pete Fats
Geek
Join date: 18 Apr 2003
Posts: 648
08-18-2004 16:44
This would be an excellent addition to the Script Library. Just submit and wait for Nada to approve.