Register for your free account! | Forgot your password?

You last visited: Today at 15:16

  • 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   #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   #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   #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   #5
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,196
Received Thanks: 5,305
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



« Previous Thread | Next Thread »

Similar Threads
! Whisper neu !
Hey Community, Ich wollt euch drauf hinweisen, dass die Whisper funktion neu gemacht wurde. Nur so als Information :D Lg.
11 Replies - WarRock
Gm Whisper
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...
0 Replies - PW Hacks, Bots, Cheats, Exploits
whisper script
can anyone how to create a script that will - whisper somebody every certain time interval.
0 Replies - Lin2 Exploits, Hacks, Bots, Tools & Macros
Hacking ppl over Whisper, is that possible!!!
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...
9 Replies - CO2 Main - Discussions / Questions
Whisper Alert!!!Alerts you when you get a whisper.
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...
37 Replies - CO2 Bots & Macros



All times are GMT +1. The time now is 15:16.


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

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