IMs capped too soon
in progress
Linn Darkwatch
I am a Premium member, but I got a message when I logged in yesterday that I had too many IMs and they were capped, even though I had only 29 Notices and 2 IMs waiting for me when I logged in. I would have been at my skybox in Morning Shire, where I usually log in. I didn't think to take a screenshot at the time; if it happens again, I will add that to this report.
Log In
Signal Linden
in progress
AuroraDammerung Resident
Greetings!
I wanted to add my "me too" to this bug report. I'm a Premium Plus member. It should be capping at 240, not 25. I noticed in this bug report that the issue has been found--and hopefully will be resolved Soon™.
Here's my gyazo of what I've been experiencing the last 4(?) days: https://gyazo.com/ce14e1205e70dae9f8324e380b3bb4c2
Maestro Linden
tracked
Maestro Linden
closed
Maestro Linden
needs info
Maestro Linden
Hi Linn Darkwatch, I checked your account, and you should have the Premium-level stored IM limit of 120 messages. Note that this limit is shared among regular IMs, inventory offers, friendship offers, group notices, and also IMs from LSL scripts. The last category can be rather sneaky, since IMs from objects appear in 'nearby chat' and are easy to ignore.
Can you confirm that you had 0 (or at least much fewer than 90) instant messages from objects during the incident in which your IMs were capped?
If so, we can run some tests to see how many offline messages can be queued up and delivered to your account. I'd start using a script like the one below to test offline IM storage and delivery:
default
{
touch_start(integer total_number)
{
integer i;
integer messageCount = 120;
// who to send IMs to
key target = "39b44919-512a-40a5-8347-90f9125937e5";
for(i = 0; i < messageCount; i++)
{
string msg = "Message #" + (string)i + " " + llGetTimestamp();
llOwnerSay("Sending this message to " + (string)target
+ " '" + msg + "'");
llInstantMessage(target, msg);
}
llOwnerSay(llGetTimestamp() + ": finished sending " + (string)messageCount
+ " messages to " + (string)target);
}
}
Linn Darkwatch
Maestro Linden Today when I logged in I had 35 notices and an IM queued with no problem. I don't have any objects rezzed that send me messages. Maybe it was just some one-time glitch. I hope so!
I just ran the script and it did 120 test messages with no problem. So unless it happens again, maybe it's just something to watch out for if other Premium members (or anyone) finds they're getting capped too soon. I know that finding an intermittent bug is the worst! Will let you know if it happens again.
Maestro Linden
Linn Darkwatch: Alright, thanks for confirming. I asked about the object IMs because we had a similar report a few weeks ago, and it turned out in that case that the reporter had some 'security system' script filling up their offline IM queue with messages about other avatars entering or leaving their home parcel.
Maestro Linden
Linn Darkwatch: Oh, just noticed something from your screenshot - you would need to change the value of
target
to your own agent id (or substitute something like llGetOwner()
) and then have somebody else touch the object while you're offline. You should ideally see all 120 messages from the script after logging in, or slightly fewer if you also received offline IMs from other sources.Linn Darkwatch
Maestro Linden Ah. I am not a scripter. I just copy/pasted the script the way you sent it to me. I will try it again.
frown
"After logging in" - but I need to be inworld to run the script. I should run it and immediately log off?... Okay, I changed the value for key target to my UUID and ran it again and logged off. It seemed to run okay. I got one new notice while offline and the script sent 119 messages, then I got a notice I was capped. So that would have been 121, which is right.Maestro Linden
Linn Darkwatch: No worries, try this variant of the script (shown below) instead. The full instructions are:
- Rez the script below in a box
- When ready, touch the box
- The script will give you 60 seconds (this is configurable in the delayvariable) to log out so that the offline IM test can begin
- After 60 seconds, the script will send you 120 IMs. It takes the script 4 minutes to send all the IMs
- Wait 6 minutes or longer, then log back in
- Note which messages you receive from the object. The first message will start with 'Message #0', and the last message will look like 'Message #119'
In the absence of offline IMs coming from other sources during the test, you should get all 120 messages. If any messages are dropped due to the limit, it should be the last few that are dropped rather than the first messages.
default
{
touch_start(integer total_number)
{
integer i;
integer messageCount = 120;
float delay = 60;
// who to send IMs to
key target = llGetOwner();
llOwnerSay("Go offline now. I will send you " + (string)messageCount
+ " messages in " + (string)delay + " seconds..");
llSleep(delay);
for(i = 0; i < messageCount; i++)
{
string msg = "Message #" + (string)i + " " + llGetTimestamp();
llSay(0, "Sending this message to " + (string)target
+ " '" + msg + "'");
llInstantMessage(target, msg);
}
llSay(0, llGetTimestamp() + ": finished sending " + (string)messageCount
+ " messages to " + (string)target);
}
}
Linn Darkwatch
Maestro Linden Okay, I ran the new one and it was the same result - it sent 119 messages that got through, I also had 1 notice come in while offline, and then I got a Capped message waiting for me. Which is just as it should be. I am thinking the initial problem was some kind of fluke, and hoping it doesn't recur. Edit - they didn't all get to my offline email inbox, I assume my email program thought all those messages coming in so fast were spam and blocked most. As one would expect.
Maestro Linden
Linn Darkwatch: Thanks for testing and sharing the results. I'll close this for now since it doesn't appear to be occurring anymore.
Linn Darkwatch
Maestro Linden It happened again!
Maestro Linden
Linn Darkwatch: Thanks for the heads up! I checked the server logs and can see that it was incorrectly looking for 'up to' 25 IMs rather than the expected limit of 120 for your account. I'm importing this issue.
Linn Darkwatch
Maestro Linden And again. :-(