• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Fix guild chat

Experienced Elementalist
Joined
Jul 27, 2008
Messages
222
Reaction score
9
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 !
 
Back
Top