thought it would be intresting to see what all happens on the typing stop part
of ims... and when i did i found that the Emerald Client by modularsystems.sl
is flooding typing stop with messages this was causing me alot of lag and now i
know why. each user of the emerald client is sending between 4-10 messages each
time someone pops into the sim or when the user teleports. now do the math and
how many messages per second is that if you have a full region of emerald users?
this is uncalled for and i for one feel this to be a violation of the terms of
service honestly.... spam is spam no matter where or how it is sent.
anyone have a way to completely avoid typing stop message?
case IM_TYPING_STOP:
{
LLPointer<LLIMInfo> im_info = new LLIMInfo(gMessageSystem);
std::string revised_text = im_info->mMessage;//collect the message
LLUUID fromkey = im_info->mFromID;//grab the UUID of the person sending this
message
std::string name = im_info->mName;//grab the name of the person sending this
message
if(revised_text != "typing")//if the message is not typing cause if it is it
will spam people
{
string::size_type loc = revised_text.find( "typing", 0 );//make sure just in
case it does not even contain typing
if( loc == string::npos )
{ send_improved_im(fromkey, "joeanyname here", "You have been detected using
TYPING_STOP hidden commands. Most popularly used by Emerald Viewer to spam
everyone in the sim. your name and uuid have been logged for an abuse report.",
IM_ONLINE, IM_NOTHING_SPECIAL, LLUUID::null, NO_TIMESTAMP,
(U8*)EMPTY_BINARY_BUCKET, EMPTY_BINARY_BUCKET_SIZE);
send_improved_im(gAgent.getID(), "Philip Linden", "typing stop message from
user with key: "+fromkey.asString()+" name: "+name+" has been detected.
message("+revised_text+")", IM_ONLINE, IM_NOTHING_SPECIAL, LLUUID::null,
NO_TIMESTAMP, (U8*)EMPTY_BINARY_BUCKET, EMPTY_BINARY_BUCKET_SIZE); }
}
gIMMgr->processIMTypingStop(im_info);
}
break;
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/SLDev
Please read the policies before posting to keep unmoderated posting privileges