Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Anti Griefing Bot

MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
04-15-2007 19:00
Are there any bots that can stand on my sim and detect when another avatar is doing any of the following and ban him from the property??:
  1. Emitting "massive" and "constant" particles
  2. Trapping people
  3. Owns an object that is physical and is rezzed
  4. Owns an object that is spamming
How do I make a bot?
_____________________
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
04-15-2007 19:35
Making a bot is a non-trivial task.

http://libsecondlife.org is the place to start at.

http://www.libsecondlife.org/wiki/Getting_Started has instructions on getting started with the libsecondlife library.

The #libsl channel of Efnet IRC is one place to ask questions at.

The in-world group "libsecondlife" is another place.

One should know or be prepared to learn how to program in C# in order to write bot code.

Another approach to getting a bot made for a specific purpose is to pay to get it done. The bounties page at libsecondlife.org has information on that: http://www.libsecondlife.org/wiki/Bounties .
_____________________
-

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

-
Prospero Frobozz
Astronerd
Join date: 10 Feb 2006
Posts: 164
04-15-2007 19:45
The problem is that what you describe isn't just griefing.

Lots of people have physical objects that aren't used for griefing.

Lots of people use particles that aren't for griefing. (The most common is the so-called "bling" sparkly effect that you see on necklaces and the like.)

If you ban everybody who does any of all of that, you will... well, I was going to say that you will quickly overflow the number of people you're allowed to ban, but you'd need to get that many people visiting your land in the first place.

Griefers are awful things that should be ostracized as completely as possible. But in casting our wide net to get rid of griefers, it's best to avoid including all sorts of standard, normal behavior in the definition of "griefing," or pretty soon you're going to have a travesty which is nearly as laughable as what one goes through in the security lines in airports at the USA. (Assuming you're not on the no-fly list, and can even get that far.)

Particles=griefer makes no more sense than liquids=potential terorrist.

-Rob
_____________________
---
Prospero Frobozz (http://slprofiles.com/slprofiles.asp?id=6307)
aka Rob Knop (http://www.pobox.com/~rknop)
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
04-15-2007 19:54
That is actually not a bad idea.... I mean, I personally would take it farther and have it perform some more complex heuristics, but there are things a bot could detect much better than a script, without using timers and sensors, etc.

If only I weren't so slammed, I would love to take on a project like that.

As mentioned before, start with libsecondlife. It's got a great project in it called "TestBot" that can form the basis for all kinds of useful bots, with many examples of how to do common tasks. That's basically what I used as the basis for my combat bot, although back when I did that libsecondlife wasn't as mature so I had to write a lot of code that you probably would not have to write today.
_____________________
MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
04-15-2007 20:34
From: Prospero Frobozz
The problem is that what you describe isn't just griefing.

Lots of people have physical objects that aren't used for griefing.

Lots of people use particles that aren't for griefing. (The most common is the so-called "bling" sparkly effect that you see on necklaces and the like.)

If you ban everybody who does any of all of that, you will... well, I was going to say that you will quickly overflow the number of people you're allowed to ban, but you'd need to get that many people visiting your land in the first place.

Griefers are awful things that should be ostracized as completely as possible. But in casting our wide net to get rid of griefers, it's best to avoid including all sorts of standard, normal behavior in the definition of "griefing," or pretty soon you're going to have a travesty which is nearly as laughable as what one goes through in the security lines in airports at the USA. (Assuming you're not on the no-fly list, and can even get that far.)

Particles=griefer makes no more sense than liquids=potential terorrist.

-Rob


I have never seen a necklace emitting hundreds of mario particles within a few seconds. The purpose of my commenrt was not to ban those who just have particles coming from their objects, but those who are abusing particles and taking advantage of the system to grief others with particles.

If you come on my sim and you have a diamond ring that's emitting hundrends of bling particles within a few seconds, then perhaps you need to adjust the bling on your ring or turn it off...if you don't want to do that ...then leave.

If it can be detected that an object is emitting XX amount of particles per second and detect who it belongs to and notify that person to disable that object, that would be nice...else eject them.
_____________________
FD Spark
Prim & Texture Doodler
Join date: 30 Oct 2006
Posts: 4,697
04-15-2007 21:34
There are ways without going the lib whatever ways but you need to know some programing C +, not sure if there is way to translate here aiml like they do on irc.
I assume if you really bright you could do search on bots and if you had proper system to connect to bots could probably do all sorts of things.
I did talk bit ago to these people who created bots with another thing but I can't find links nor do I understand how they did it.
Most of this is way beyond me.
Google "Bot" there lot information out there and I bet if you really wanted to there would be way to do it here.
Most of Bots I have seen here though are programed to do basic things.
Either they do speech, basic conversation, or basic task. Some of the camping bots are quite stupid. Only persons I think camping bots really benfit are the owners of properties themselves to prevent others from getting there Lindens.
In order to do anti-greifing bot you have to find way to program the bot to detect certain things and to orbit them back home. I did see device once though it blocked indivuals from crossing not sure how it was done but the person was doing it. I found it quite annoying I had no clue what the person was doing, and I never went back. I wonder how this place got anywhere on top of popularity list because place was boring, ugly and annoying but it did have this clever device that someone held to block people from crossing to whatever secret area that looked a whole lot better then ugly public area.
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
04-15-2007 22:23
There's a libsecondlife related program called SLProxy that interposes itself in between the user and the normal SL client. This sort of program sees every message sent to and from the SL client, and can be made to respond in various ways based on the contents of the messages. Particles are displayed by the viewer based on the content of messages that pertain to objects, and thus it is be possible to produce a list of the owners of objects that are making particles located on one's land, along with the names of the objects.

Much better than that would be to have this feature added right into the viewer. It's hard to find the source of the Mario particles at times, especially if one is trying to conduct an event at the same time.
_____________________
-

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

-
MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
04-15-2007 22:25
From: SuezanneC Baskerville
There's a libsecondlife related program called SLProxy that interposes itself in between the user and the normal SL client. This sort of program sees every message sent to and from the SL client, and can be made to respond in various ways based on the contents of the messages. Particles are displayed by the viewer based on the content of messages that pertain to objects, and thus it is be possible to produce a list of the owners of objects that are making particles located on one's land, along with the names of the objects.

Much better than that would be to have this feature added right into the viewer. It's hard to find the source of the Mario particles at times, especially if one is trying to conduct an event at the same time.
Good info. Thanks SuezanneC !
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
04-15-2007 23:02
Or, if you wanted to do it with a bot (similar for both SLProxy and a bot, but I have bot code in front of me), you can look in the TestClient project (oops, not TestBot like I said earlier) for the Objects_OnNewPrim method.

This method gets a Primitive passed to it, and the Primitive object has a ParticleSys property that specifies all properties of a particle system, including:
  1. SourcePattern - Drop, Explode, Angle, etc. Probably Explode for a griefer particle object.
  2. ParticleFlags - Bounce, Wind, FollowSrc, Emissive, etc. Bounce is usually used for Mario-type particles
  3. BurstRate - Probably will be set rather low for massive particles.
  4. BurstSpeedMin - Probably set high for massive dispersion
  5. BurstPartCount - Probably set high for massive particles
The nice thing about this kind of approach is that by nature particles don't show unless the emitter is *somewhere* within your rendering radius. This method indicates *precisely* which object is emitting the particles even though you may not be able to pinpoint it visually.

Additionally, because it's essentially an object update packet, the Primitive object has an OwnerID property that is the key of the object's owner. And unlike LSL, it is fairly easy to retrieve an avatar's name based on a key. Not that you need the name to eject someone, but....


[Edit] Come to think of it... If you do this, get yourself one of those damned griefer particle thingies and set it off on a private sim.... Then use this method to check the parameters it gives you for that exact item. Then add a little fudge factor, enough that it catches others that are very similar but not exact. Providing accurate data like that will reduce the chance of false positives for blingtards.


Hopefully I will get some time in the near future to actually look into implementing this, but I make no promises :)
_____________________
Prospero Frobozz
Astronerd
Join date: 10 Feb 2006
Posts: 164
04-16-2007 00:02
I have never seen a necklace emitting hundreds of mario particles within a few seconds. The purpose of my commenrt was not to ban those who just have particles coming from their objects, but those who are abusing particles and taking advantage of the system to grief others with particles.

Er... what you posted was that you wanted to ban anybody emitting particles. That's very different from what you're talking about now.

-Rob
_____________________
---
Prospero Frobozz (http://slprofiles.com/slprofiles.asp?id=6307)
aka Rob Knop (http://www.pobox.com/~rknop)
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
04-16-2007 00:13
From: Prospero Frobozz
I have never seen a necklace emitting hundreds of mario particles within a few seconds. The purpose of my commenrt was not to ban those who just have particles coming from their objects, but those who are abusing particles and taking advantage of the system to grief others with particles.

Er... what you posted was that you wanted to ban anybody emitting particles. That's very different from what you're talking about now.

-Rob


Yeah, forums kinda suck as a means of communication, since they are asynchronous and text-based, and that makes it exceedingly difficult and frustrating to ensure that you are answering the question that is really intended to be asked.

I guess since most people don't refer to small particle effects as "griefing" in normal conversation, it simply hadn't occurred to me that she could mean anything *but* massive particle explosions. Still, I guess I could see where the wording of the original post might be a problem for the overly literal-minded :)
_____________________
MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
04-16-2007 00:17
From: Prospero Frobozz
I have never seen a necklace emitting hundreds of mario particles within a few seconds. The purpose of my commenrt was not to ban those who just have particles coming from their objects, but those who are abusing particles and taking advantage of the system to grief others with particles.

Er... what you posted was that you wanted to ban anybody emitting particles. That's very different from what you're talking about now.

-Rob
Thanks for bringing that to my attention. I edited my initial post to reflect "massive" and "constant" particles so as not to confuse anyone.
Tiberious Neruda
Furry 'On File'
Join date: 1 Nov 2005
Posts: 261
04-16-2007 00:23
Before we all jump on getting rid of the Mario particles (oh, haha... I kill myself)...

is there someone that can hook me up with the key for that texture? I have a perfect (non-griefy) use for it, and it IS quite nice...
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
04-16-2007 00:26
From: Tiberious Neruda
Before we all jump on getting rid of the Mario particles (oh, haha... I kill myself)...

is there someone that can hook me up with the key for that texture? I have a perfect (non-griefy) use for it, and it IS quite nice...



It is probably also a copyright violation :)
_____________________
Prospero Frobozz
Astronerd
Join date: 10 Feb 2006
Posts: 164
04-16-2007 00:40
Thanks for bringing that to my attention. I edited my initial post to reflect "massive" and "constant" particles so as not to confuse anyone.

OK. While we're at it -- the other "war on liquids" thing you have is "anybody with a rezzed physical object."

What you're talking about is adding to your ban list anybody who flies over your property in a vehicle. Is this really what you want? What you've still got up there still paints a very, very broad brush, including with it a lot of people who are not griefers in any sense of the word.
_____________________
---
Prospero Frobozz (http://slprofiles.com/slprofiles.asp?id=6307)
aka Rob Knop (http://www.pobox.com/~rknop)
MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
04-16-2007 00:43
From: Prospero Frobozz
OK. While we're at it -- the other "war on liquids" thing you have is "anybody with a rezzed physical object."

What you're talking about is adding to your ban list anybody who flies over your property in a vehicle. Is this really what you want? What you've still got up there still paints a very, very broad brush, including with it a lot of people who are not griefers in any sense of the word.
Thank you for your comments.
MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
04-16-2007 00:50
From: RobbyRacoon Olmstead

Hopefully I will get some time in the near future to actually look into implementing this, but I make no promises :)
Thank you for considering it. I'll definitley keep my eyes open for it.
_____________________
Yiffy Yaffle
Purple SpiritWolf Mystic
Join date: 22 Oct 2004
Posts: 2,802
04-16-2007 21:52
If we had NPC guards that would rock. I would dress them all up in omni-pole uniforms. :)
_____________________
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
04-16-2007 22:00
From: Yiffy Yaffle
If we had NPC guards that would rock. I would dress them all up in omni-pole uniforms. :)


I do have an NPC guard of sorts :) Only in my case, he looks for anyone wearing a C:SI-compatible weapon and wants to fight. He's pretty decent at it too, lol. In the video he's the blue guy with green hover text, and he's getting his butt kicked by Xiang Hifeng :)
_____________________
Cocoanut Koala
Coco's Cottages
Join date: 7 Feb 2005
Posts: 7,903
04-16-2007 22:03
I want an anti-bot bot. Kills bots dead.

coco
_____________________
VALENTINE BOUTIQUE
at Coco's Cottages

http://slurl.com/secondlife/Rosieri/85/166/87
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
04-16-2007 22:05
From: Prospero Frobozz
Thanks for bringing that to my attention. I edited my initial post to reflect "massive" and "constant" particles so as not to confuse anyone.

OK. While we're at it -- the other "war on liquids" thing you have is "anybody with a rezzed physical object."

What you're talking about is adding to your ban list anybody who flies over your property in a vehicle. Is this really what you want? What you've still got up there still paints a very, very broad brush, including with it a lot of people who are not griefers in any sense of the word.


Okay, I don't know why you are so negative and feel like pointing out everything you perceive as being wrong with what MadamG said, but she wants to use it on her land, and I'm sure it's not to drive off everyone just flying a vehicle. She could do that much more simply I'm sure.

Let it go, man, have a Kit-Kat or something. I'm sure she's quite smart enough to figure all that out on her own.
_____________________
Yiffy Yaffle
Purple SpiritWolf Mystic
Join date: 22 Oct 2004
Posts: 2,802
04-17-2007 09:32
From: RobbyRacoon Olmstead
I do have an NPC guard of sorts :) Only in my case, he looks for anyone wearing a C:SI-compatible weapon and wants to fight. He's pretty decent at it too, lol. In the video he's the blue guy with green hover text, and he's getting his butt kicked by Xiang Hifeng :)

wow that was neat hehe. Would be nice to have bot NPCs like that more often. It would help people practice. :p
_____________________