[Release] Colored global,notices source code via DevKit

04/02/2021 21:11 #KB#1
Heyo everyone, its a very very simple release and i am sure it'll going to help too much people who is coding in the DevKit Project,

ClientLib->SourceFiles->unsorted.cpp Under ( case CHAT_Notice: { ) put the following code





for the colored globals part put the following code under ( case CHAT_Global: )
NOTE : you have to mark the color with any symbol you want.


Special thanks to florian0
04/03/2021 18:51 ryaneichner#2
Quote:
Originally Posted by #KB View Post
Heyo everyone, its a very very simple release and i am sure it'll going to help too much people who is coding in the DevKit Project,

ClientLib->SourceFiles->unsorted.cpp Under ( case CHAT_Notice: { ) put the following code





for the colored globals part put the following code under ( case CHAT_Global: )
NOTE : you have to mark the color with any symbol you want.


Special thanks to florian0

can be add from item id sir ?

maybe clientlib source can help on this:
[Only registered and activated users can see links. Click Here To Register...]
04/03/2021 23:58 omar125#3
Quote:
Originally Posted by #KB View Post
Heyo everyone, its a very very simple release and i am sure it'll going to help too much people who is coding in the DevKit Project,

ClientLib->SourceFiles->unsorted.cpp Under ( case CHAT_Notice: { ) put the following code





for the colored globals part put the following code under ( case CHAT_Global: )
NOTE : you have to mark the color with any symbol you want.


Special thanks to florian0
ithink this a colored global is just for command just like in the code S
when you type S in the Global chat the Color will be Sky Light like
S Test Color
thats what ithink idont know if that true or not
04/04/2021 01:10 #KB#4
Quote:
Originally Posted by ryaneichner View Post
can be add from item id sir ?

maybe clientlib source can help on this:
[Only registered and activated users can see links. Click Here To Register...]
i have no idea about matching itemID via the client only,

Quote:
Originally Posted by omar125 View Post
ithink this a colored global is just for command just like in the code S
when you type S in the Global chat the Color will be Sky Light like
S Test Color
thats what ithink idont know if that true or not
yea thats true , same for notices, otherwise you need a filter for such features.
04/04/2021 08:33 NorseGodTyr#5
Quote:
Originally Posted by #KB View Post
otherwise you need a filter for such features.
wrong ;) you can do it without filter ! I have colored global via Item ID in my devkit without filter access^^
04/04/2021 13:10 GameRPoP#6
these examples already exist in devkit. :thinking:
04/04/2021 19:59 ryaneichner#7
Quote:
Originally Posted by NorseGodTyr View Post
wrong ;) you can do it without filter ! I have colored global via Item ID in my devkit without filter access^^
can you explain for we how make it, thanks and sorry if i'm boring sir!
04/04/2021 20:24 NorseGodTyr#8
Quote:
Originally Posted by ryaneichner View Post
can you explain for we how make it, thanks and sorry if i'm boring sir!
na i dont give info about it but you can start from here :)
[Only registered and activated users can see links. Click Here To Register...]
04/04/2021 21:47 omar125#9
Quote:
Originally Posted by NorseGodTyr View Post
na i dont give info about it but you can start from here :)
[Only registered and activated users can see links. Click Here To Register...]
yeah but its need to use the filter for the packets
04/05/2021 08:32 NorseGodTyr#10
Quote:
Originally Posted by omar125 View Post
yeah but its need to use the filter for the packets
i don't say that you have to use it complete ;) you have to edit some parts
04/06/2021 01:32 #KB#11
Quote:
Originally Posted by NorseGodTyr View Post
wrong ;) you can do it without filter ! I have colored global via Item ID in my devkit without filter access^^


Quote:
Originally Posted by NorseGodTyr View Post
na i dont give info about it.
atleast i shared all what i know about this feature, comparing this with your reply means alot :)
have a nice time.
04/06/2021 09:19 putzeimer195#12
Quote:
Originally Posted by omar125 View Post
yeah but its need to use the filter for the packets
Quote:
Originally Posted by #KB View Post
i have no idea about matching itemID via the client only,
In the code that everyone posts here, it is done like this, it looks which ItemId is used, and depending on that, a different packet is sent to the server.
Sending different packets to distinguish which global is used, leads you to use a filter and intercept the packets. Instead of that I send an edited message, which for example has the ascii value 20 added to the last position for a red global.
Then when the message is received, you simply check if it is a global message, if so, you look at the last character of the message and set the color of the message.