Register for your free account! | Forgot your password?

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

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

Advertisement



[Help]Fixed Chat Avatars..

Discussion on [Help]Fixed Chat Avatars.. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
felipeboladao's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 255
Received Thanks: 273
[Help]Fixed Chat Avatars..

Hi, help me to fix the Avatar of Chat...

Code:
            if (ChatType == 2001)
            {
                bool Sent = false;
                foreach (DictionaryEntry DE in AllChars)
                {
                    Character Charr = (Character)DE.Value;
                    if (Charr.Name == To)
                    {
                        Charr.MyClient.SendPacket(Data);
                        Sent = true;
                        [COLOR="Red"]Charr.Avatar.ToString();[/COLOR]
                    }

                }
                if (!Sent)
                    Char.MyClient.SendPacket(General.MyPackets.SendMsg(Char.MyClient.MessageId, "SYSTEM", Char.Name, "The character is offline at the moment.", 2000));
            }

        }
Tranks a all for Help.
felipeboladao is offline  
Old 12/29/2008, 00:47   #2
 
elite*gold: 0
Join Date: Jun 2008
Posts: 384
Received Thanks: 18
Code:
            if (ChatType == 2001)
            {
                bool Sent = false;
                foreach (DictionaryEntry DE in AllChars)
                {
                    Character Charr = (Character)DE.Value;
                    if (Charr.Name == To)
                    {
                        Charr.MyClient.SendPacket(Data);
                        Sent = true;
                        Charr.Avatar.ToString();
                    }

                }
                if (!Sent)
                    Char.MyClient.SendPacket(General.MyPackets.SendMsg(Char.MyClient.MessageId, "SYSTEM", Char.Name, "The character is offline at the moment.", 2000));
            }
}

im quite noob too but maybe take the point off this: Charr.Avatar.ToString();
and change it into :CharrAvatar.ToString();

i dunno really xD tr it maybe it work
ph03nixx is offline  
Old 12/29/2008, 01:06   #3
 
felipeboladao's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 255
Received Thanks: 273
Work?
felipeboladao is offline  
Old 12/29/2008, 01:15   #4
 
elite*gold: 0
Join Date: Jun 2008
Posts: 384
Received Thanks: 18
i dont know, u try
im looking for a good source then i try it
ph03nixx is offline  
Old 12/29/2008, 01:25   #5
 
felipeboladao's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 255
Received Thanks: 273
}

im quite noob too but maybe take the point off this: Charr.Avatar.ToString();
and change it into :CharrAvatar.ToString();

i dunno really xD tr it maybe it work

NO WORKING!!
felipeboladao is offline  
Reply


Similar Threads Similar Threads
[Release] BoI Helper (Chat Cmd's, Speed/Chat/Zoom hack)
03/01/2011 - Battle of the Immortals - 54 Replies
Hi! First of all, i know this will completely destroy the world chat cuz of colored flasching and flying texts everywhere but anyhow i wanted to release this little tool. I like to use some Chat Commands to color my Text when advertising sales or looking for a party etc. but im too lazy to write the commands for that again and again so i wrote this little Tool that generates the codes i need with a few clicks and puts it into the clipboard =) Features: Color: Give your Text a...
[Small Release]Fixed Guild Chat Error!
09/13/2009 - CO2 PServer Guides & Releases - 6 Replies
Do you notice that when you chat(guild chat) with no guild you will get an error in the Console? If you don't experience, then try it, Guild chat with no Guild. Now here's the release: In World.cs find: if (ChatType == 2004) { Char.MyGuild.GuildMessage(Char, Message, To); }



All times are GMT +1. The time now is 08:23.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.