Multi Channel Listener
|
|
Kain Cleaver
Registered User
Join date: 24 Jan 2006
Posts: 178
|
04-23-2006 21:43
I wanna make a script.. that will listen on channels and say the result out loud. this is to help defeat mimics and to find out whos doing what to you but insted of listing channel listens 1 by 1... is there a way that i can say make it listen from like 1-10000? insted of.. llListen(1,"",NULL_KEY, ""  ; llListen(2,"",NULL_KEY, ""  ; llListen(3,"",NULL_KEY, ""  ; ect.... id appreciate all the help i can get.. thank you
|
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
04-23-2006 21:49
Nope.
You can only listen to (I think) 64 channels at once, and each has to be set up with an llListen(). Please don't if you've any other choice, it's laggy.
|
|
Kain Cleaver
Registered User
Join date: 24 Jan 2006
Posts: 178
|
04-23-2006 22:12
ok.. then if i had to select 60 channels.. what should i select?
|
|
SteveR Whiplash
teh Monkeh
Join date: 24 Sep 2004
Posts: 173
|
04-23-2006 22:52
Why do you have to listen to 60 channels? Unless you have 60 people manualy typing on different channels, it would probably be eaiser to just listen to a single channel. Set up the object(s) that are talking to give a number at the beginning of their messages. Then you can filter the number at the start of each message, so you know what it was for. //Talking object string number = "11"; //2 digit number llSay(channel, number + "here's a message");
//Listening object listen(integer channel, string name, key id, string message){ //message is "11here's a message" integer number = (integer)llGetSubString(message, 0, 1); //get first 2 chars message = llDeleteSubString(message, 0, 1) //delete first 2 chars //number is 11 //message is "here's a message" }
|
|
Kain Cleaver
Registered User
Join date: 24 Jan 2006
Posts: 178
|
04-23-2006 23:38
im trying to listen in on objects from other people.. as well as other peoples commands on channels.. so i cant set up the channel number on objects like that
but the listen script.. what does that do? will that listen on any channel?
|
|
Tip Baker
Registered User
Join date: 12 Nov 2005
Posts: 100
|
04-23-2006 23:47
From: Kain Cleaver im trying to listen in on objects from other people.. as well as other peoples commands on channels.. so i cant set up the channel number on objects like that but the listen script.. what does that do? will that listen on any channel? No. If you do not know what channel the object is transmitting on you will have to create a scanner that slowly moves through the channels in the same way a radio scanner does. As to likely channels, I dont think there are any. I tend to use a randon 6 digit value for my purposes, so thats around 9 million channels you need to check to start with.
|
|
Rayve Mendicant
Scripts for L$5 billion
Join date: 12 Mar 2005
Posts: 90
|
04-24-2006 19:55
Are you seriously coming on this forum to ask how to sniff data from other people and their scripts, or am I totally reading that wrong? From: someone im trying to listen in on objects from other people.. There are two reasons for communications on seperate channels. One is bandwidth; less traffic on that channel = faster communications, which your script would quite effectively eliminate. The other is privacy, which you should respect (and you might want to read teh Terms of Service). From: someone as well as other peoples commands on channels.. It's against TOS to log conversation from channel 0 without every person's consent, let alone sniff out what they are typing on a semi-private channel. Even if you, by chance, think you are doing this as a "white hat", I do not believe anyone would be benefitting from yoru project here.
_____________________
_______________________ Rayve Mendicant Second Evolution "Darwin ain't got nothin' on this"
|
|
MC Seattle
Registered User
Join date: 3 Apr 2006
Posts: 63
|
04-24-2006 20:38
From: Rayve Mendicant Are you seriously coming on this forum to ask how to sniff data from other people and their scripts, or am I totally reading that wrong? There are two reasons for communications on seperate channels. One is bandwidth; less traffic on that channel = faster communications, which your script would quite effectively eliminate. The other is privacy, which you should respect (and you might want to read teh Terms of Service). It's against TOS to log conversation from channel 0 without every person's consent, let alone sniff out what they are typing on a semi-private channel. Even if you, by chance, think you are doing this as a "white hat", I do not believe anyone would be benefitting from yoru project here. I think a general purpose data scanner is a great idea and could go a long ways to finding holes in popular scripts and improving security overall. I think security is a field that a lot of people are turning a blind eye to in SL, and as more money is being moved around, more people are playing and the stakes are getting higher in general it needs some attention. Everyone sticking their head in the sand and saying "you can't scan other channels it's not right!" is not going to improve security, and frankly if I'm using ATMs, casino games, rental scripts, and vending machines in game that I don't have the source to I'd feel a lot better if there was a team of people searching for vulnerabilities rather than a random devious individual happening upon one.
|
|
Kain Cleaver
Registered User
Join date: 24 Jan 2006
Posts: 178
|
04-24-2006 21:24
besides .. im not "logging"
2. its for the people who like to make commands to mimic others via objects 3. its to sniff out the griefers easier then just getting the pvp report
|
|
Kain Cleaver
Registered User
Join date: 24 Jan 2006
Posts: 178
|
04-24-2006 21:31
and double for that post above me.. finding weaknesses is important too. makes stronger quality of product.. but im not using this for cracking peoples items in all honesty. i actually decided to abandon the project as it is too much for something probably not many people will use,,. when i started thinking about it.. i had hoped that there was a command that allowed you to listen to a range of channels with one command
now that i know thats not a possibility its not gonna happen.. so the ones who are going OMGGGG NOOOOOOOOO you can inVaDe our Privaseeeeeeeeeeeeeee its TOOOSSSSSSSSS VIOLATIONNNNNN will be happy im not doing it
besides.. if we eliminated everything that violated TOS in SL.. it would be a pretty boring place.. so stop whining
|
|
MC Seattle
Registered User
Join date: 3 Apr 2006
Posts: 63
|
04-24-2006 21:38
From: Kain Cleaver and double for that post above me.. finding weaknesses is important too. makes stronger quality of product.. but im not using this for cracking peoples items in all honesty. i actually decided to abandon the project as it is too much for something probably not many people will use,,. when i started thinking about it.. i had hoped that there was a command that allowed you to listen to a range of channels with one command
now that i know thats not a possibility its not gonna happen.. so the ones who are going OMGGGG NOOOOOOOOO you can inVaDe our Privaseeeeeeeeeeeeeee its TOOOSSSSSSSSS VIOLATIONNNNNN will be happy im not doing it
besides.. if we eliminated everything that violated TOS in SL.. it would be a pretty boring place.. so stop whining If you decide to pick this up again I think you'll find that a lot of scripts in one object, plus duplicating that object to as much as your land can support, plus a good communication system so each script knows what channel to listen on and where to report what it hears may actually make this feasible. It would likely only be useful for objects that you can rez inside of the "Echelon" grid, and running that many simultaneous listens will create a lot of server overhead, but unless you exceed the sim's capabilities it shouldn't hurt performance unless you picked up too much traffic (I'm assuming listens are handled as callbacks on the sim). Basically, don't leave it running while you aren't using it!
|
|
Kokiri Saarinen
Quoted for truth
Join date: 7 Jan 2006
Posts: 44
|
Here you go
04-25-2006 08:32
I don't care what you use this for, but not knowing how to do something always bothers me, so here it is ^^ Put a lot of scripts into a single "listening" object. Each script listens in on 60 channels using a for loop: integer index; for (index = 1;index < 62; index++) { llListen(index,"","",""); }
Each script has an offset which allows it to listen to a different subset of 60 channels. Basically, the more scripts you add, the longer the range for listens. I've personally seen people make channel listeners for 1000 channels doing this. Keep in mind however, it serves very little purpose when there are literally billions of channels people may use, and is also extreeeemely laggy. But thats how its done. -Kokiri
|