ThunderMS - Because fun is a part of your life

Our users have posted a total of 4568 messages in 677 topics!
We have 8884 registered users, the newest registered user is hehenemt.

  • Post new topic
  • Reply to topic

GM White CHat

Share

HermitDash

Number of posts: 293
Age: 16
Location: Brooklyn NYC
Warning:
0 / 1000 / 100

Character Name: iKitten.
Registration date: 2008-04-30

GM White CHat

Post by HermitDash on Thu May 29, 2008 10:28 pm

So yea, I haven't seen anyone else ether find this or release it. KiKi was the only person who's server actually had found this in KiMS that I've seen had it so I will tell all of you this.

So what is it? Pictures show so much:



So yea, I'm not sure how to add it on odin, only Titan or Vana.

Vana:
Replace your current showChat function in PlayersPacket.cpp with this one

Code:
void PlayersPacket::showChat(Player* player, vector <Player*> players, char* msg){
Packet packet;
packet.addHeader(SEND_CHAT);
packet.addInt(player->getPlayerid());
if(player->isGM())
packet.addByte(1);
else
packet.addByte(0);
packet.addShort(strlen(msg));
packet.addString(msg, strlen(msg));
packet.sendTo<Player>(player, players, 1);
}


Titan:

Replace your current showChat function in PlayersPacket.cpp with this one

Code:
void PlayersPacket::showChat(Player* player, vector <Player*> players, char* msg){
Packet packet = Packet();
packet.addHeader(0x72);
packet.addInt(player->getPlayerid());
if(player->isGM())
packet.addByte(1);
else
packet.addByte(0);
packet.addShort(strlen(msg));
packet.addString(msg, strlen(msg));
packet.sendTo(player, players, 1);
}


So yea, and there you go, you have GM colored chat.

Credits to CEF~ And Me for Copy and Paste~


_________________

New:

Favorite:

sladan
TMS Vip
TMS Vip

Number of posts: 291
Age: 16
Location: Toronto
Warning:
0 / 1000 / 100

Character Name: GMsladan
Registration date: 2008-05-11

Re: GM White CHat

Post by sladan on Thu May 29, 2008 10:31 pm

kk so whats the point of this? so gm's can talk in colors? cuz they can change there text color when they are saying like [notice] but they just remove the notice... cuz before it use to be pink now its blue. and btw the credit should go ALL to you for copy and paste~


_________________
DEE DUR DAA GM's * btw first lvl 200 in ThunderMS*

HermitDash

Number of posts: 293
Age: 16
Location: Brooklyn NYC
Warning:
0 / 1000 / 100

Character Name: iKitten.
Registration date: 2008-04-30

Re: GM White CHat

Post by HermitDash on Fri May 30, 2008 10:43 pm

The point is that it acutaly shows The name Instead of the Notice AND! They talk in Style Lmao~


_________________

New:

Favorite:

sladan
TMS Vip
TMS Vip

Number of posts: 291
Age: 16
Location: Toronto
Warning:
0 / 1000 / 100

Character Name: GMsladan
Registration date: 2008-05-11

Re: GM White CHat

Post by sladan on Fri May 30, 2008 11:21 pm

can you make like that also for normal people like you and me Very Happy like mabye red and blue? green and blue?
yellow and grey? cuz how about all together you can choose your own text in-game that would be soo cool!
but not like you get to choose in runescape how you have to type like ( i think it goes like this i 4got)
:cyan:yoo yaya me!! or something.... i mean like theres a whole box there xD that would be hard but if theres any other way.. plz tell xD


_________________
DEE DUR DAA GM's * btw first lvl 200 in ThunderMS*
  • Post new topic
  • Reply to topic

Current date/time is Fri Nov 27, 2009 5:54 am