Register for your free account! | Forgot your password?

You last visited: Today at 23:49

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

Advertisement



Notice Color

Discussion on Notice Color within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2014
Posts: 157
Received Thanks: 70
Notice Color

i'm trying to make a new byte in this opcode
PHP Code:
            Packet packet = new Packet(0x3026);
            
packet.WriteUInt8((byte)7);
            
packet.WriteAscii(Message);
            
this.ServerSecurity.Send(packet);
            
Send(false); 

Here [(byte)7] give pink color notice
how can make for example [(byte)20] green color
I have followed an explanation of florian0

but I could not do it.
can anyone help me about it ??
hancook1st is offline  
Old 03/17/2019, 16:04   #2
 
elite*gold: 0
Join Date: Oct 2012
Posts: 143
Received Thanks: 29
The color notice you can edit by debug client with ollydbg or make a dll to do it for you
chipno0p is offline  
Thanks
1 User
Old 03/17/2019, 18:47   #3
 
elite*gold: 0
Join Date: Feb 2014
Posts: 157
Received Thanks: 70
Quote:
Originally Posted by chipno0p View Post
The color notice you can edit by debug client with ollydbg or make a dll to do it for you
Thanks for reply
I'm trying to create dll but I failed can u help me to do it ?
hancook1st is offline  
Old 03/18/2019, 03:09   #4

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,654
You can use the It has a built-in function WriteChat which does what you're asking for.
All you have to do is to hook the ingame packets, (0x3026 in your case) which can be easily done with SroPP as well, just check the thread.
If the type-byte is 20, process the packet yourself and don't relay it to the client. Show your own message, with your own color.
sarkoplata is offline  
Thanks
1 User
Old 03/18/2019, 05:17   #5
 
elite*gold: 0
Join Date: Feb 2014
Posts: 157
Received Thanks: 70
Quote:
Originally Posted by sarkoplata View Post
You can use the It has a built-in function WriteChat which does what you're asking for.
All you have to do is to hook the ingame packets, (0x3026 in your case) which can be easily done with SroPP as well, just check the thread.
If the type-byte is 20, process the packet yourself and don't relay it to the client. Show your own message, with your own color.
Thanks man i will try it

Edit :
i created dll now
but i can't call function to change color can u help me ?

Edit :
Now Work fine but only in Whisper
i need to make it for notice
PHP Code:
SroPP::Game::WriteChat(SroPP::ChatGroup::NoticeL"Hello World !!."0xFF00D8D8); 
hancook1st is offline  
Old 03/22/2019, 13:40   #6
 
elite*gold: 0
Join Date: Feb 2014
Posts: 157
Received Thanks: 70
Request #Close
hancook1st is offline  
Reply


Similar Threads Similar Threads
*Notice*Warning Password stealing site*Notice*
12/28/2009 - World of Warcraft - 0 Replies
Notice is as follows, do not enter this site, if you get a notice in your email like this for gawd sakes dont give anyone your password Subject:World of Warcraft Account Trade Dispute Notice When we carry out a routine check when the account, we have evidence to show that your account has been involved in the disputed transactions. So we have to inform you visit our website(worldofwarcraft*com]fill out some information to facilitate our investigation. If you can not tie in with our soon...



All times are GMT +2. The time now is 23:49.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.