Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 14:38

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

Advertisement



[Small Release]Fixed Guild Chat Error!

Discussion on [Small Release]Fixed Guild Chat Error! within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2008
Posts: 145
Received Thanks: 91
[Small Release]Fixed Guild Chat Error!

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:
Code:
            if (ChatType == 2004)
            {
                Char.MyGuild.GuildMessage(Char, Message, To);
            }
Replace it with:
Code:
            if (ChatType == 2004)
            {
                if (Char.MyClient.MyChar.MyGuild != null)
                Char.MyGuild.GuildMessage(Char, Message, To);
            }
And your done!

This only for people who can't manage to fix it.
pauldexter is offline  
Thanks
6 Users
Old 10/21/2008, 15:49   #2
 
elite*gold: 0
Join Date: Apr 2008
Posts: 470
Received Thanks: 264
added to ok?
XxArcherMasterxX is offline  
Old 10/21/2008, 18:14   #3
 
elite*gold: 0
Join Date: Jan 2008
Posts: 145
Received Thanks: 91
thanks for the add
pauldexter is offline  
Old 10/21/2008, 23:08   #4
 
keving15's Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 79
Received Thanks: 25
Make it smaller
Code:
if (ChatType == 2004 && Char.MyClient.MyChar.MyGuild)
                Char.MyGuild.GuildMessage(Char, Message, To);
keving15 is offline  
Old 10/21/2008, 23:39   #5
 
elite*gold: 0
Join Date: Jan 2008
Posts: 145
Received Thanks: 91
not working.
heres the error found:
Code:
Operator '&&' cannot be applied to operands of type 'bool' and 'COServer_Project.Guild'
pauldexter is offline  
Old 09/13/2009, 21:50   #6
 
vipper123's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 52
Received Thanks: 23
thx man works 100%
vipper123 is offline  
Old 09/13/2009, 21:53   #7
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
ha, don't bump old threads, if it worked just click the Thanks button, located under his post.
.Guru 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 chit chat with TQ support over emulators.
03/24/2010 - Conquer Online 2 - 11 Replies
Decided finally to ask what they think, and got a surprising answer. York: Welcome to the Conquer Online Help Desk. You are speaking with York. IcedEarth: Hey York York: Hello IceEarth IcedEarth:
[Release] Media.pk Translation+Stall Network+Critical Error Fixed!!
01/24/2009 - SRO PServer Guides & Releases - 3 Replies
Hi guys, as you see in the name of the topic, i succesfully resolve the old "ModPserver+Translation+StallNetwork" by changing his ip with mediapatcher, from the older one, (PSRO) to new one (ECSRO) I found a media.pk Manual update on ECSRO Official Forum, so i tried to do it. Now, the result are: The Media.pk Is working perfectly. He have: - TG, Uru, Isy, Yarkan, and Roc Mountain Unique (i forgot his name :D ) Spawn Points. - Stall Network (Press F in Game to see it) is working well. -...
[Help]Fixed Chat Avatars..
12/29/2008 - CO2 Private Server - 4 Replies
Hi, help me to fix the Avatar of Chat... if (ChatType == 2001) { bool Sent = false; foreach (DictionaryEntry DE in AllChars) { Character Charr = (Character)DE.Value; if (Charr.Name == To)
Chat & Guild Chat Farbe ändern
10/29/2007 - RO Exploits, Hacks, Bots & Guides - 14 Replies
Chat & Guild Chat Farbe ändern Also es habe ja schon viele gefragt wie man dies macht, ich habe nun die Antwort ! es ist eigentlich ganz simpel, öffnet mit einem Hex-Editor eure ragexe.exe/sakexe.exe Für Chat Farbe: (es reicht den 1. eintrag den er findet zu ersetzen)



All times are GMT +2. The time now is 14:38.


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