| Scripting Discuss scripting and programming for SL and other platforms |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) | |
| Senior Member ![]() ![]() ![]()
Mayan Time Lord
Join Date: Apr 2008 Location: Cali
Posts: 1,992
My Mood: SL Join Date: 10/12/2006
Business: [H]arsh Styles
Client: Always changing, and too lazy to edit. | Be Aware: LL has implemented 'chat throttling' I was talking to someone very active in the JIRA, and they alerted me to something LL rolled out on the 'down low' which scripters should be aware of. Apparently in response to various people trying to lag and crash people by using various scripted and malicious client means, LL has enabled 'spam limits' on the server side. These limits affect scripted attachments, and scripted items in-world. So why should you care? Because if you unknowingly hit one of these limits, your items and your customers can be affected. When the threshold is hit, the items and their owner, are muted for a time, meaning any communication your trying to do will fail (and any communication the owner is trying to do will fail) The JIRA that initiated this and has details is here: https://jira.secondlife.com/browse/SVC-7504 Quote:
I actually came across this the other day and didn't know it. An acquaintance couldn't chat in their sim but could chat fine everywhere else. Turned out they had a script spamming their debug channel with data while doing some debugging. At the time I thought it odd this would affect their chat, but now I see why... Also similar limits have been put on dialogs, if you have quickly clicked any dialog driven items in sequence recently you've probably seen this. FYI | |
| | |
| 12 Users Said Thanks : |
| 1 User Likes This: |
| |
| | #2 (permalink) |
| Sushi0holic ![]() ![]()
You're turning into a penguin,
stop it.
Join Date: Apr 2008 Location: San Antonio, TX
Posts: 974
SL Join Date: 1/5/06 Client: Firestorm Blog Entries: 3 | Oh so that's what you were doing. This is good to know, thank you for sharing this.
__________________ Moo. |
| | |
| 1 User Hugged You: |
| | #3 (permalink) | ||
| That Bitch ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() *SLU Supporter* ![]() ![]() ![]() ![]() ![]()
Innocent as far as you know
Join Date: Nov 2011 Location: Online
Posts: 6,195
My Mood: SL Join Date: late 04... that account is deleted now | this has actually been in place for quite a while on public debug channels... have they extended it to off channels as well? TBH if they have, they should be shouting it from the rooftops because it's part of a major exploit.
__________________ - These eyes can do more than see Quote:
Quote:
| ||
| | |
| 2 Users Agreed: |
| | #4 (permalink) |
| Particle Laboratory Elf ![]() ![]() ![]() ![]() ![]() | Sounds quite reasonable to me. 200 messages in under 2 seconds? Frankly sending messages that quickly is likely to over-flow the max-64-queued-messages limit anyway, resulting in dropped messages. Anyone doing something LEGIT that's pumping out data at that speed, could probably be doing it more elegantly in some different fashion. |
| | |
| 9 Users Agreed: |
| | #5 (permalink) | |
| Senior Member ![]() ![]() Join Date: Feb 2012
Posts: 191
| Quote:
in fact the limit is by owner for all his items . If i have 3 items speaking in any channel , not only 0; let s guess my items push 45 messages by secondes , and my receivers scripts pop 45 messages per second .So in the stack of messages i have nearly nothing , two at the max . Neverthelss with 3 items pushing 45 messages per secondes , i am over the 200 messages per 2 seconds .. (3*45*2=270) Try to imagine when you have 100 prims communicating between themseves regulary .. only 1 message or 2 per second is enough to break scripts . I hope it impacts only when a prim chat to an avatar , and not a prim to a prim . If not, it s a disaster Last edited by miranda; 08-21-2012 at 06:00 AM. | |
| | |
| | #7 (permalink) | |
| Senior Member ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2010
Posts: 6,081
| Quote:
| |
| | |
| 2 Users Agreed: |
| | #10 (permalink) |
| Senior Member ![]() ![]() ![]()
Mayan Time Lord
Join Date: Apr 2008 Location: Cali
Posts: 1,992
My Mood: SL Join Date: 10/12/2006
Business: [H]arsh Styles
Client: Always changing, and too lazy to edit. | Agreed it shouldn't be a problem for most people. But it is cumulative, and although the JIRA says only on chat 0, the debug message incident makes me wonder if it's on other channels. I'll have to do some more testing. |
| | |
| 2 Users Said Thanks : |
| | #11 (permalink) | |
| Senior Member ![]() ![]() Join Date: Feb 2012
Posts: 191
| Quote:
I don t think so .. How to debug , now ? We have no debbugger , and we can t anymore put some log traces ... Last edited by miranda; 08-21-2012 at 08:25 AM. | |
| | |
| | #12 (permalink) | |
| Senior Member ![]() ![]() ![]()
Mayan Time Lord
Join Date: Apr 2008 Location: Cali
Posts: 1,992
My Mood: SL Join Date: 10/12/2006
Business: [H]arsh Styles
Client: Always changing, and too lazy to edit. | Quote:
So if you use llOwnerSay(), no limits. You can still use the debug window as long as you keep it under the limit. It's also important to note, the string length isn't factor, just the number of messages per second. So maybe, multiple data on one line, instead of one data on many lines. | |
| | |
| 1 User Agreed: |
| | #13 (permalink) |
| Senior Member ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2010
Posts: 6,081
| Debug with llOwnerSay which is unthrottled, no need to spam the public channel. ERA: For spam reasons, DEBUG_CHANNEL is often also considered public - anyone who has script errors enabled will see them in chat in red. For this reason, other things like llRegionSay also ban it just like channel 0. Use llOwnerSay for debugging. |
| | |
| | #14 (permalink) | |
| Senior Member ![]() ![]() Join Date: Feb 2012
Posts: 191
| Quote:
| |
| | |
| | #15 (permalink) |
| Senior Member ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2010
Posts: 6,081
| It's not capped, it's banned. If you need to send yourself a message, that's llOwnerSay. If you need to send all your attachments a message, That's llRegionSayTo(llGetOwner() on anything but channel 0. Channel 0 is for public chat only. Last edited by Adeon Writer; 08-21-2012 at 08:47 AM. |
| | |
| | #16 (permalink) | |
| Particle Laboratory Elf ![]() ![]() ![]() ![]() ![]() | Quote:
Other than those... what reasonable uses require >200 messages every 2 seconds? I can't help but think any region subjected to that is not going to be fun to be in, what with the lag. ETA: presuming, of course, this capping occurs on anything other than channel 0, which I rather doubt. | |
| | |
| | #17 (permalink) | |
| Senior Member ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2010
Posts: 6,081
| Quote:
| |
| | |
| | #18 (permalink) | |
| Particle Laboratory Elf ![]() ![]() ![]() ![]() ![]() | Quote:
Xylor Basclef (sp?) author of XyText (a notecard to prim-display gadget of some infamy) also created but I don't think ever finished XyObject, which allowed you to create a regular prim (predates ring/tube prims), cut/sheer/twist it to your heart's content... and then scale it up to *massive* size. It would create a prim for each 'face' of the mega-object, often using thousands of prims.... they would fly into position, fit and rotate themselves into place. Quite impressive to watch in action in an idle region. | |
| | |
| | #19 (permalink) | |
| Senior Member ![]() ![]() Join Date: Feb 2012
Posts: 191
| Quote:
I don t spam anybody else because the message is directed to myself and only me can listen my object i see that llownerSay 10 X slower than llregionsayto .. | |
| | |
| | #20 (permalink) | |
| Senior Member ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2010
Posts: 6,081
| Quote:
Channel 0 is the public chat channel. It is meant for avatar chat and objects talking to avatars publicly. Anything else doesn't belong there and you'd be hogging up a channel you weren't meant to use. | |
| | |
| | #21 (permalink) |
| - ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008 Location: Darkly Cute :: Ferguson
Posts: 6,916
My Mood: SL Join Date: November, 2007
Business: Darkly Cute Client: NOT the same one I used yesterday... (<.<) | I appreciate this product and/or service. (^_^)
__________________ Link |
| | |
| 1 User Hugged You: |
| | #22 (permalink) | |
| Senior Member ![]() ![]() Join Date: Feb 2012
Posts: 191
| Quote:
some other scripts who compute the interpolated positions/rotations in a curve path to record and to save in a notecard to replay or some other scripts object-to-data who display all the parameters of llgetLinkPrimitiveparams of the object in the goal to be able to recreate this object dynamically later . If you don t have a TPV to export your sim to opensim , it s the only way ... And more genarally all the scripts who can t save their output in a notecard beacuse the the function savetonotecard doesn t exist and won t never exist. Don t dream about it You may add the browers text, the scripts who don t wan t to give a whole notecard but a great number of lines from them etc .. | |
| | |
| 1 User Said Thanks: |
| 1 User Agreed: |
| | #23 (permalink) |
| Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() *SLU Supporter* ![]() ![]() ![]()
post_count++;
Join Date: Sep 2007 Location: Austin, TX
Posts: 1,026
My Mood: SL Join Date: 11/01/2005
Business: The Wastelands Client: Official Newest | The user should at least be sent a message when they hit the throttle. I feel bad for the pet people who have 128,764 pets in a region -- that is if it's also for non-0 channels
__________________ Tin Man Rant - Blog Alright, I've been thinking. When life gives you lemons, don't make lemonade - make life take the lemons back! Get mad! I don't want your damn lemons, what am I supposed to do with these? Demand to see life's manager. Make life rue the day it thought it could give Cave Johnson lemons. Do you know who I am? I'm the man who's gonna burn your house down! With the lemons. I'm going to to get my engineers to invent a combustible lemon that burns your house down! -- Cave Johnson |
| | |
| | #25 (permalink) |
| - ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008 Location: Darkly Cute :: Ferguson
Posts: 6,916
My Mood: SL Join Date: November, 2007
Business: Darkly Cute Client: NOT the same one I used yesterday... (<.<) | |
| | |
| 4 Users Laughed: |
![]() |
| Tags |
| chat, griefing, spam limits, throtting |
| Thread Tools | |
| Display Modes | |
| |
| |