Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 22:20

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

Advertisement



Whisper to all players ?

Discussion on Whisper to all players ? within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
Whisper to all players ?

Well I looked at this but have NO CLUE how it could be done so like if I typed

/wall Please check out Thanks Paralyzer[PM]

it would whisper to all players Please check out Thanks Paralyzer[PM] xP any ideas ?
Paralyzer[GM] is offline  
Old 04/05/2010, 05:14   #2
 
zTREME's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 273
Received Thanks: 51
Yea, make a check for chars, then make it send a message to char only and not to all. Look at the whisper thing how it works. Then make the command send that message type. Remember to put a mychar thing in, so it comes from you
zTREME is offline  
Old 04/05/2010, 05:18   #3
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Can't you just use ALLUSERS as the player it's sent to?... If not just do a foreach loop for all clients connected and send them each the same whisper.

Either way should work.
pro4never is offline  
Old 04/05/2010, 05:27   #4
 
zTREME's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 273
Received Thanks: 51
the foreach was what i just told him XD
zTREME is offline  
Old 04/05/2010, 05:48   #5
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
More to the face where can I find the whisper code Not in Chat.cs or World.cs or in a CTRL + F
Paralyzer[GM] is offline  
Old 04/05/2010, 06:12   #6
 
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
I don't have my source in front of me since I'm just installing my software on my laptop (which is fixed now- I'm so happy) so I can't check for you... but this is what I'd do: I'd run a search on the source for whisper and have it so that it searches "Entire Solution".
Sorry I can't be of much help atm. Good Luck!
-NewDawn- is offline  
Old 04/05/2010, 06:15   #7
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
I did that. no luck
Paralyzer[GM] is offline  
Old 04/05/2010, 06:21   #8
 
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
Quote:
Originally Posted by Paralyzer[GM] View Post
I did that. no luck
Hm... try looking for some component that uses the chat system, right click it, and go to it's definition. Maybe you'll find it in Character.cs (or what ever one that contains the statuses). Try that. =|
-NewDawn- is offline  
Old 04/05/2010, 06:48   #9
 
zTREME's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 273
Received Thanks: 51
I have no idea where it is XD not looked at it x)
zTREME is offline  
Old 04/05/2010, 06:50   #10
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 82
loop through all online players and send them the message...
ChingChong23 is offline  
Old 04/05/2010, 12:16   #11
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
why do you want to wsiper all players when you can just talk to them regularly? anyawy its like that /c message change the 2000 or w.e to the wisper chat which is like 2001
PeTe Ninja is offline  
Old 04/05/2010, 12:23   #12

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Why do you need all those chat related commands anyway?
This should work.
Code:
if (Cmd[0] == "/whsp")
                        {
                            Game.World.SendMsgToAll(GC.MyChar.Name, Message.Remove(0, 6), 2001, 0);
                        }
Kiyono is offline  
Thanks
1 User
Old 04/05/2010, 12:56   #13
 
ImmuneOne's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
Meh, search for
Code:
                else if (Type == 2001)
                {
                    Character C2 = CharacterFromName(To);
                    if (C2 != null)
                    {
                        C.MyClient.AddSend(Packets.ChatMessage(C2.MyClient.MessageID, From, To, Message, Type, C.Mesh));
                        C2.MyClient.AddSend(Packets.ChatMessage(C2.MyClient.MessageID, From, To, Message, Type, C.Mesh));
                        if (C2 != null)
                            C.MyClient.AddSend(Packets.SpawnViewed(C2, 2));
                    }
Add underneath it;
Code:
                    else if (To == "ALL")
                    {
                        Game.World.SendMsgToAll(C.MyClient.MyChar.Name, Message, Type, C.Mesh);
                    }
ImmuneOne is offline  
Thanks
1 User
Old 04/05/2010, 17:00   #14
 
Huseby's Avatar
 
elite*gold: 106
Join Date: Oct 2006
Posts: 6,047
Received Thanks: 1,165
#Closed
Huseby is offline  
Closed Thread


Similar Threads 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.
whisper
06/09/2010 - CO2 Private Server - 4 Replies
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 :D any idea? :D
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 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:20.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.