Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 06:46

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Colored global,notices source code via DevKit

Discussion on [Release] Colored global,notices source code via DevKit within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2021
Posts: 33
Received Thanks: 40
[Release] Colored global,notices source code via DevKit

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
#KB is offline  
Thanks
10 Users
Old 04/03/2021, 18:51   #2
 
ryaneichner's Avatar
 
elite*gold: 0
Join Date: Oct 2014
Posts: 175
Received Thanks: 47
Thumbs up hello sir

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:
ryaneichner is offline  
Old 04/03/2021, 23:58   #3
 
elite*gold: 0
Join Date: Aug 2019
Posts: 55
Received Thanks: 10
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
omar125 is offline  
Old 04/04/2021, 01:10   #4
 
elite*gold: 0
Join Date: Feb 2021
Posts: 33
Received Thanks: 40
Quote:
Originally Posted by ryaneichner View Post
can be add from item id sir ?

maybe clientlib source can help on this:
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.
#KB is offline  
Thanks
1 User
Old 04/04/2021, 08:33   #5
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,482
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^^
NorseGodTyr is offline  
Thanks
1 User
Old 04/04/2021, 13:10   #6
 
GameRPoP's Avatar
 
elite*gold: 0
Join Date: Sep 2020
Posts: 122
Received Thanks: 64
these examples already exist in devkit.
GameRPoP is offline  
Old 04/04/2021, 19:59   #7
 
ryaneichner's Avatar
 
elite*gold: 0
Join Date: Oct 2014
Posts: 175
Received Thanks: 47
Thumbs up hello sir

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!
ryaneichner is offline  
Old 04/04/2021, 20:24   #8
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,482
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
NorseGodTyr is offline  
Thanks
1 User
Old 04/04/2021, 21:47   #9
 
elite*gold: 0
Join Date: Aug 2019
Posts: 55
Received Thanks: 10
Quote:
Originally Posted by NorseGodTyr View Post
na i dont give info about it but you can start from here
yeah but its need to use the filter for the packets
omar125 is offline  
Old 04/05/2021, 08:32   #10
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,482
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
NorseGodTyr is offline  
Thanks
1 User
Old 04/06/2021, 01:32   #11
 
elite*gold: 0
Join Date: Feb 2021
Posts: 33
Received Thanks: 40
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.
#KB is offline  
Old 04/06/2021, 09:19   #12

 
putzeimer195's Avatar
 
elite*gold: 29
Join Date: Apr 2011
Posts: 482
Received Thanks: 224
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.
putzeimer195 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Release] Merging HB's Code into the devkit
11/20/2020 - SRO PServer Guides & Releases - 7 Replies
Whatsup everyone around here? this is my first release, i am merging @HB's client notification handler into the devkit , so you should be able to create new types of server notification aka 0x300C as HB mentioned. You can find CPSMisson.cpp, .h Here Code in .cpp #define UNIQUE_SPAWN 0x0C05 #define UNIQUE_DIE 0x0C06 #define MOB_CH_TIGERWOMAN 1954
[Release] Blackrogue how to send ingame notices
03/14/2017 - SRO PServer Guides & Releases - 2 Replies
Heroo Maybe you have noticed if you are a filter coder that sending notices and so on is different on Blackrogue files, this is how you do it without getting disconnected/client crashing. C# Filter side public void SendNotice(string Message) { Packet packet = new Packet(0x3026); packet.WriteUInt8((byte)7);



All times are GMT +1. The time now is 06:47.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.