Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 19:47

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

Advertisement



About Global Color after use get Confirm

Discussion on About Global Color after use get Confirm within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old 02/03/2021, 18:18   #16
 
GameRPoP's Avatar
 
elite*gold: 0
Join Date: Sep 2020
Posts: 122
Received Thanks: 64
Quote:
Originally Posted by LegendarySouL View Post
not more information
Code:
            else if (type == 6) // Colorful Global Chatting
            {
                Packet packet = new Packet(0xB034);
                packet.WriteUInt8((byte)105);
                packet.WriteUInt32(color);
                packet.WriteAscii(message);
                m_LocalSecurity.Send(packet);
                Send(false);
            }
_________________________________________
Doesn't help people, just wants help, meaning nothing
Since you are using my code (from SROLib), already you can't give more information anyway.
GameRPoP is offline  
Old 02/03/2021, 19:20   #17
 
elite*gold: 0
Join Date: Mar 2010
Posts: 568
Received Thanks: 228
Quote:
Originally Posted by GameRPoP View Post
Since you are using my code (from SROLib), already you can't give more information anyway.
You really see this as difficult

PHP Code:
[-> C][3026]
06                                                ................
06 00                                             ................
54 65 73 74 31 37                                 Test17..........
0B 00                                             ................
30 30 30 30 30 30 30 30 30 30 30                  00000000000..... 
Quote:
Originally Posted by Exner. View Post
But I want to understand something about how if use a packet or use item ID to send this packet
I will give you more info about it.

You can check packet:0x704C

Code:
[C -> S][704C]
22                                                "...............
EC 29                                             .)..............
04 00                                             ................
54 65 73 74                                       Test............
Code:
Int RefItemID = 0;
Code:
UInt16 e = packet.ReadUInt8(); //byte slot
UInt16 i = packet.ReadUInt16(); //short itemtype

if(i == 0x29EC || i == 0x29ED)
{
      [Charname]+[e] -> You can get it from here [RefItemID]
}
with packet 0x3026 you can change colors


Code:
if (packet.Opcode == 0x3026)
{
      byte type = packet.ReadUInt8();
      if (type == 6) //Chat Global
      {
            string sender = packet.ReadAscii();
            string content = packet.ReadAscii();

            //RefItemID sender content 
            MainForm.WriteConsole(RefItemID + " # " + sender + ":" + content);
            //Or
            Console.WriteLine(RefItemID + " # " + sender + ":" + content);
      }
}
how can send packet from server to client

Example:

Code:
SendPM("T1T1", "Hello to everyone");
Code:
public void SendPM(string SenderName, string Msg)
{
      Packet packet = new Packet(0x3026);
      packet.WriteUInt8(2);
      packet.WriteAscii(SenderName);
      packet.WriteAscii(Msg);
      C_Security.Send(packet);
      Send(false);
}
Good Luck
Laag#82 is offline  
Thanks
3 Users
Reply


Similar Threads Similar Threads
Help with color name / color global / counter fortress
01/10/2021 - SRO PServer Questions & Answers - 1 Replies
#closed
[COLOR="Red"][SIZE="6"][B]~ArmyMS~[/B][/SIZE][/COLOR]
08/22/2008 - MapleStory - 0 Replies
~ArmyMS~ You need Maplestory Version 55. for this. then download the Army Ms File here >Army MS.exe then get onto hamachi, >>>Hamachi Netowrks: >ArmyMS,
WoW Color Hack (Use color-codes in text)
09/23/2007 - WoW Exploits, Hacks, Tools & Macros - 31 Replies
WoWColorHack.flt -=Preamble=- I'm quite surprised that no one has released anything similar yet - the theory behind this dates back to the alpha days. Hell, I first used this filter on my own alpha sandbox. -=Theory=-



All times are GMT +1. The time now is 19:48.


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