HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
The domain www.kitopen.com will expire on 2018-08-17. Update your bookmarks to point at http://kito.forumotion.com/
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Fix Chat Blinking When First Logging On

Go down 
AuthorMessage
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 540
Join date : 2014-02-09
Age : 20

PostSubject: Fix Chat Blinking When First Logging On   Thu Apr 19, 2018 9:59 pm

in the current source code, whenever you log on, your chat automatically blinks to alert you to a new message. a message that doesn't exist.

basically, it does this because the thing that tells it to blink isnt initialized to false. real easy fix and saves you the irritation of flipping through your chats every time you log on just to get it to shut up.

in MagixChatManager.h, find this code:

Quote :
MagixChatManager()
{
reset();
channel = 0;
doLocalUsername = false;
doGeneralCharname = false;
}

add the red line:

Quote :
MagixChatManager()
{
reset();
channel = 0;
doLocalUsername = false;
doGeneralCharname = false;
for (int i = 0; i < MAX_CHANNELS; i++) hasNewLine[i] = false;
}

yeah, that's it

________________________________
i can code you things
Back to top Go down
http://azoptaos.boards.net/
 
Fix Chat Blinking When First Logging On
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: DOWNLOADABLE CONTENT :: Programming Features-
Jump to: