Register for your free account! | Forgot your password?

You last visited: Today at 22:53

  • Please register to post and access all features, it's quick, easy and FREE!


whisper

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2010
Posts: 630
Received Thanks: 130
whisper

Okay i found out the reason why the client crash, when whisper in the 5165 source from tanel.
It crash, because the messages get overflowered, simply you write to fast or too much.
Fix:
I dont know

any idea?



.Summer is offline  
Old 06/09/2010, 00:16   #2
 
elite*gold: 0
Join Date: Sep 2008
Posts: 178
Received Thanks: 62
Make any "If length of the message is superior to x", delete the rest of the message or send 2 whispers or just delete all the message and don't send anythink.


.Kob is offline  
Old 06/09/2010, 00:31   #3
 
elite*gold: 0
Join Date: May 2010
Posts: 630
Received Thanks: 130
I think it should need a timer to check.
like only message every 2sec
or something.
so it wont get overflowed.
.Summer is offline  
Old 06/09/2010, 00:40   #4
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Then try giving it a timer check


Arcо is offline  
Old 06/09/2010, 01:25   #5
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,311
if(DateTime.Now > GC.MyChar.LastWhisper.AddMilliseconds(GC.MyChar.Wh isperDelay))
send msg;
GC.MyChar.LastWhisper = DateTime.Now;
else
send packet to client saying they can't whisper again so soon.

Simple check to do.

Also do a length check something like

if (Message.Length < 100)
send msg
else
return msg to client saying it's too long (or do a split/cut it off...)


pro4never is offline  
Thanks
3 Users
Reply



« [Question]GUI Intereface Input Text. | [Question] How can i fix herc's bug? »

Similar Threads
! Whisper neu !
01/16/2011 - WarRock - 11 Replies
Hey Community, Ich wollt euch drauf hinweisen, dass die Whisper funktion neu gemacht wurde. Nur so als Information :D Lg.
Gm Whisper
08/30/2009 - PW Hacks, Bots, Cheats, Exploits - 0 Replies
Hello, I was wondering if someone could make it so when a GM whispers me I would auto-disconnect / perfect world tab in my task bar would flash yellow / Make a program for me to view my whispers when not in game. This would be a great help to me as I wouldn't have to "babysit" my char so much when botting :) Please get back to me on this :D
whisper script
06/06/2008 - Lin2 Exploits, Hacks, Bots, Tools & Macros - 0 Replies
can anyone how to create a script that will - whisper somebody every certain time interval.
Hacking ppl over Whisper, is that possible!!!
12/17/2007 - CO2 Main - Discussions / Questions - 9 Replies
Hi all..... My trojan got hacked and the hacker tried to hack ppl using my trojan, all using whisper chat, then the stupid TQ GM's banned my trojan instead of banning the hacker himself or his seller who's selling the hacked stuff..... I talked to the seller of the hacker by my archer, and he tried to force me to whisper him, and when I didn't, he said "whisper me so ur archer will follow your trojan", ppl said that he's using chat proxy or whisper proxy or w/e.... My question is "Is...
Whisper Alert!!!Alerts you when you get a whisper.
06/16/2007 - CO2 Bots & Macros - 37 Replies
Hey Hey, This was requested on forum somewhere..lol My 3rd and I think useful contribution. It will alert you if you have a whisper when marketing. Settings: Desktop 1024,768 CO 1024,768 Whisper color=Dark Blue (Set in your chat options) *make sure no chats other than Whisper are using Dark Blue.



All times are GMT +1. The time now is 22:53.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.