Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 10:37

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

Advertisement



sro packet analysis helps

Discussion on sro packet analysis helps within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
Trapezun's Avatar
 
elite*gold: 0
Join Date: Apr 2011
Posts: 68
Received Thanks: 12
Angry sro packet analysis helps

Vsro Packett

[S -> C][B034]
01 ................
06 ................
19 ................
00 00 00 00 ................
25 07 00 00 %...............
05 ................
00 00 00 00 00 00 00 00 ................
00 00 00 00 ................
00 ................
01 ................
00 ................
02 ................
00 ................


Bot Source


OLD

byte inv_slot = packet.data.ReadBYTE();
ushort inv_count = packet.data.ReadWORD();
Packet du = new Packet((ushort)WorldServerOpcodes.SERVER_OPCODES.S ERVER_INVENTORYMOVEMENT, false, enumDestination.Client);
du.data.AddBYTE(0x01);
du.data.AddBYTE(0x06);
du.data.AddBYTE(inv_slot);
du.data.AddDWORD(0x00000000);
du.data.AddDWORD(item_id);
if (item_type.StartsWith("ITEM_CH") == false && item_type.StartsWith("ITEM_EU") == false)
{
du.data.AddWORD(inv_count);
}
else
{
du.data.AddBYTE(0x00);
du.data.AddQWORD(0x0000000000000000);
du.data.AddDWORD(Items_Info.itemsdurabilitylist[Items_Info.itemsidlist.IndexOf(item_id)]);
du.data.AddBYTE(0x00);
du.data.AddWORD(1);
du.data.AddWORD(2);


new server Packett not server vsro

[S -> C][B034]
01 ................
06 ................
0F ................
4E 2F 00 00 N/..............
00 ................
00 00 00 00 00 00 00 00 ................
34 00 00 00 4...............
00 ................



Change Source


byte inv_slot = packet.data.ReadBYTE();
ushort inv_count = packet.data.ReadWORD();
Packet du = new Packet((ushort)WorldServerOpcodes.SERVER_OPCODES.S ERVER_INVENTORYMOVEMENT, false, enumDestination.Client);
du.data.AddBYTE(0x01);
du.data.AddBYTE(0x06);
du.data.AddBYTE(inv_slot);
du.data.AddDWORD(2);
du.data.AddDWORD(item_id); //5
if (item_type.StartsWith("ITEM_CH") == false && item_type.StartsWith("ITEM_EU") == false)
{
du.data.AddWORD(inv_count);
}
else
{
du.data.AddBYTE(0x00);
du.data.AddQWORD(0x0000000000000000);
du.data.AddDWORD(Items_Info.itemsdurabilitylist[Items_Info.itemsidlist.IndexOf(item_id)]);
du.data.AddBYTE(0x00);
du.data.AddWORD(1);
du.data.AddWORD(2);


new server Packett not server vsro

[S -> C][B034]
01 ................
06 ................
0F ................
4E 2F 00 00 N/..............
00 ................
00 00 00 00 00 00 00 00 ................
34 00 00 00 4...............
00 ................





if (typ == 6) // PICKED ITEM
{
byte slot = packet.data.ReadBYTE();
if (slot == 254)
{
packet.data.ReadDWORD();
}
else
{
packet.data.ReadDWORD();
uint item_id = packet.data.ReadDWORD();
int index = Items_Info.itemsidlist.IndexOf(item_id);
string type = Items_Info.itemstypelist[index];
if (type.StartsWith("ITEM_CH") || type.StartsWith("ITEM_EU"))
{
byte item_plus = packet.data.ReadBYTE();
packet.data.ReadQWORD();//var
uint durability = packet.data.ReadDWORD();//tamam
byte blueamm = packet.data.ReadBYTE();
for (int i = 0; i < blueamm; i++)
{
packet.data.ReadBYTE();
packet.data.ReadWORD();
packet.data.ReadDWORD();
packet.data.ReadBYTE();
}
Char_Data.inventoryid.Add(item_id);
Char_Data.inventorytype.Add(type);
Char_Data.inventoryslot.Add(slot);
Char_Data.inventorycount.Add(1);
Char_Data.inventorydurability.Add(durability);
Globals.MainWindow.inventory_list.Items.Add(Items_ Info.itemsnamelist[index]);

}
else
{
ushort count = packet.data.ReadWORD();//BENDE VAR
int indexas = Char_Data.inventoryslot.IndexOf(slot);
if (indexas != -1)
{
Char_Data.inventorycount[indexas] = count;
}
else
{
Char_Data.inventoryid.Add(item_id);
Char_Data.inventorytype.Add(type);
Char_Data.inventoryslot.Add(slot);
Char_Data.inventorydurability.Add(0);
Char_Data.inventorycount.Add(count);
Globals.MainWindow.inventory_list.Items.Add(Items_ Info.itemsnamelist[index]);
}
ItemsCount.CountManager();
}
}
}

How do you fix it for a new one Thx
Trapezun is offline  
Old 03/15/2016, 00:46   #2
 
elite*gold: 0
Join Date: Mar 2016
Posts: 34
Received Thanks: 3
i think goofi can help you cus he know on c#
alfhem online is offline  
Reply


Similar Threads Similar Threads
Wireshark Packet Analysis & Usage
11/12/2015 - General Coding - 6 Replies
Mein Anliegen ist es den Login Prozess eines MMORPGs mit Wireshark aufzuzeichnen und zu analysieren. Hinterher möchte ich diese Packets ohne einen Client an den Server senden, um mich einzuloggen. Das Spiel (Kal Online) ist schon etwas älter und es Verschlüsselt die Daten nicht, deshalb habe ich es mir zum testen ausgesucht. Im folgenden zeige ich meine Beobachtungen, die sich bisher auf die ersten drei Login Schritte beziehen. Nachdem der Client gestartet wurde wird mit einem Klick auf "Ok"...
NetPro: Packet Analysis and Visualization tool
01/27/2015 - Lin2 Exploits, Hacks, Bots, Tools & Macros - 3 Replies
There is no content in this thread.
Analysis
01/18/2012 - Dekaron Private Server - 10 Replies
For everyone asking.... ALL the time This is my analysis of the current pservers out there. http://i.imgur.com/SN4IT.png http://www.elitepvpers.com/forum/imgur.com/lplYa. png
The last helps!!! small helps :D
01/26/2009 - CO2 Private Server - 2 Replies
I did a server with PowerCoSource .... i need some helps codes and.... Or tell me the best source to use 1. DisCity didn't work 2. LuckyTime didn't work 3. Reborn is not good ... i need good codes for RB 4. When i add npc and i edit all things it appear in conquer but didn't work 5. Offline TG too 6. i want good broadcast ----------------------> I am working in the client that it have CIDloader ----------------------> I want more ppl :D :D :D after i finish it ....



All times are GMT +2. The time now is 10:37.


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.