HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Chat Message issues...cause it hates me

View previous topic View next topic Go down 
AuthorMessage
Slain Motionless
Watched
avatar

Game username : The-Hunted
Server : Aroessa
Female Posts : 426
Join date : 2014-05-09
Age : 18
Location : Coding

PostSubject: Chat Message issues...cause it hates me   Fri Nov 06, 2015 6:33 am

So, I got the message to send in the map I wanted the message to send, but now, it continues to spam the chat box without stopping.
Screenies:
Click:
 

Anyway I can make it post only once upon entrance to the map?
Back to top Go down
http://aroessa.proboards.com
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2575
Join date : 2011-07-24
Age : 30

PostSubject: Re: Chat Message issues...cause it hates me   Fri Nov 06, 2015 7:56 am

Not sure where you added it, but I would add it after this line:
https://github.com/jespersh/KITO/blob/64f792ce578a12d7aa7bfee1a5b8a0068e787bf8/src/client/src/MagixHandler.cpp#L370

Code:
void MagixHandler::updateMapChange(const FrameEvent &evt)
{
   if (mGameStateManager->popMapChangeDone())
   {
<snip>
      mWorld->update();
      mSoundManager->update(evt);
      mGui->getChatManager()->message("---" + mDef->getMapName(mWorld->getWorldName()) + "---");
      - add it here -
   }
<snip>

________________________________
Retired
Back to top Go down
Slain Motionless
Watched
avatar

Game username : The-Hunted
Server : Aroessa
Female Posts : 426
Join date : 2014-05-09
Age : 18
Location : Coding

PostSubject: Re: Chat Message issues...cause it hates me   Sat Nov 07, 2015 6:59 am

I'm currently using 5.5 source since I didn't want to upgrade to 6.0. Is it the same line as 6.0 or a different one. I know the MagixHandler.h is the document.
Back to top Go down
http://aroessa.proboards.com
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 470
Join date : 2014-02-09
Age : 19

PostSubject: Re: Chat Message issues...cause it hates me   Sat Nov 07, 2015 7:35 am

just ctrl:F the function

________________________________
Back to top Go down
http://azoptaos.boards.net/
Witacha
3D Modeler
3D Modeler
avatar

Game username : Witacha
Server : Land Of The Wolves(Owner)
Female Posts : 1191
Join date : 2012-06-15
Age : 18
Location : France

PostSubject: Re: Chat Message issues...cause it hates me   Sat Nov 07, 2015 12:27 pm

Just a lil' note: If you're using 5.5 version you could occur some problem with hosting since raknet in this vesion isn't working properly, you should be using 6.0 no hosting problem and everything is organized !
Back to top Go down
http://witacha-asukata.deviantart.com/
Slain Motionless
Watched
avatar

Game username : The-Hunted
Server : Aroessa
Female Posts : 426
Join date : 2014-05-09
Age : 18
Location : Coding

PostSubject: Re: Chat Message issues...cause it hates me   Sat Nov 07, 2015 9:01 pm

Haven't had any hosting problems using 5.5.

In 5.5 the line was actually line 424 ^^' Same setup as that Red had showed.
Got everything implemented successfully and it works, no more chat box spam Smile

Thank you RedEye for your suggestion <3 Will use it later on when I go through toying with things again.

Cheers,
Slain
Back to top Go down
http://aroessa.proboards.com
 
Chat Message issues...cause it hates me
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support :: Solved Support Issues-
Jump to: