Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 17:57

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

Advertisement



[Tool] Extract Protocol Message Definitions 0.2

Discussion on [Tool] Extract Protocol Message Definitions 0.2 within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2012
Posts: 63
Received Thanks: 23
[Tool] Extract Protocol Message Definitions 0.2

Here is a quick rewrite of my client<->server messages extractor.
It uses the output of as3sorcerer as input and outputs the messages in json. This json file you can then further parse to do whatever you like with it.



Advantages of new version:
- easier to read, because of python
- better output
- will support automatic id updating on changed id's in the future (for rev. 0.3)

edit: example output:
bossfong is offline  
Thanks
1 User
Old 08/21/2012, 14:34   #2
 
somalia_'s Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 166
Received Thanks: 128
Uh in python! That's quite sexy.
somalia_ is offline  
Old 08/21/2012, 14:42   #3
 
elite*gold: 0
Join Date: Jan 2012
Posts: 63
Received Thanks: 23
Added an example output
bossfong is offline  
Old 08/21/2012, 14:42   #4


 
linksus's Avatar
 
elite*gold: 60
Join Date: Apr 2011
Posts: 7,894
Received Thanks: 3,067
What do you can make with it ?
linksus is offline  
Old 08/21/2012, 14:46   #5
 
elite*gold: 0
Join Date: Jan 2012
Posts: 63
Received Thanks: 23
Quote:
Originally Posted by somalia_ View Post
Uh in python! That's quite sexy.
Indeed
Quote:
Originally Posted by linksus View Post
What do you can make with it ?
see the example output. If the example output means nothing to you, you won't need it It's for programmers.
bossfong is offline  
Thanks
1 User
Old 08/21/2012, 16:06   #6
 
elite*gold: 0
Join Date: Aug 2012
Posts: 190
Received Thanks: 200
So how to build packet from it?
TheMiszczu is offline  
Old 08/21/2012, 16:14   #7
 
elite*gold: 0
Join Date: Jul 2012
Posts: 206
Received Thanks: 32
what dose it do?
destroyer of worlds is offline  
Old 08/21/2012, 16:15   #8
 
elite*gold: 0
Join Date: Jan 2012
Posts: 63
Received Thanks: 23
This is one thing you can do with the output:

Darkorbit traffic parser: It will show the traffic between server and client in a more human readable way than eg. wireshark.

(see attachment)

edit: run this, then join a server. you can also run this while in a server
Attached Files
File Type: rar Release.rar (517.7 KB, 30 views)
bossfong is offline  
Old 08/21/2012, 16:22   #9
 
elite*gold: 0
Join Date: Aug 2012
Posts: 190
Received Thanks: 200
Quote:
Originally Posted by bossfong View Post
This is one thing you can do with the output:

Darkorbit traffic parser: It will show the traffic between server and client in a more human readable way than eg. wireshark.

(see attachment)

edit: run this, then join a server. you can also run this while in a server
Code:
  ICaptureDevice device = null;
    foreach (ICaptureDevice dev in CaptureDeviceList.Instance)
    {
        if (dev.Description.Contains("Microsoft"))
        {
            device = dev;
        }
    }
    if (device == null)
    {
        Console.WriteLine("Couldnt find device!");
        Console.ReadLine();
    }
it doesn't find device on my pc.
TheMiszczu is offline  
Old 08/21/2012, 16:38   #10
 
elite*gold: 0
Join Date: Jan 2012
Posts: 63
Received Thanks: 23
Quote:
Originally Posted by TheMiszczu View Post
it doesn't find device on my pc.
I'll fix it. Check back in 1h.
bossfong is offline  
Old 08/21/2012, 16:50   #11
 
elite*gold: 0
Join Date: May 2011
Posts: 500
Received Thanks: 261
hello , i am creating a bot for DO , but i dont really understand this , all i do is find hex from packets , get for what that hex is , and save it
how i should use this info for it , creating packets?
ßΙЍȺƦƴßȰȾ is offline  
Old 08/21/2012, 17:24   #12
 
somalia_'s Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 166
Received Thanks: 128
This paket ids are changed on every bigger do client update since version change to 5.0 from bigpoints side.
So you need to fix the pakets ids every 7 days when they are updating.
The source code in the first topic will help you to do it more "automatic", so it's less downtime for your bot.

For exampel:
Code:
int Logout = 20952;                      // 6.5.1
int CollectBox = 0x525c;                // 6.5.1 code(string)
has changed from 6.5.1 to 6.6.1 ->
Code:
int Logout = 30066;                      // 6.6.1
int CollectBox = 0x3778;                // 6.6.1 code(string)
So it's not really helping you creating the pakets.
To do so you'll have to sniff network traffic between official client <-> server
and digg deep into the main.swf where the pakethandler is for client/server commands,
from there you use the paket ids usages to the actual methods where the paket ids are used.

hope it helped.


byebye
somalia_ is offline  
Thanks
1 User
Old 08/21/2012, 17:25   #13
 
elite*gold: 0
Join Date: Jan 2012
Posts: 63
Received Thanks: 23
Quote:
Originally Posted by bossfong View Post
I'll fix it. Check back in 1h.
It's fixed now. Redownload this attachment!

Quote:
Originally Posted by ßΙЍȺƦƴßȰȾ View Post
hello , i am creating a bot for DO , but i dont really understand this , all i do is find hex from packets , get for what that hex is , and save it
how i should use this info for it , creating packets?
See the source in the second attachment.
Attached Files
File Type: rar Release.rar (489.7 KB, 24 views)
File Type: rar DOPackets.rar (1.45 MB, 29 views)
bossfong is offline  
Old 08/21/2012, 17:50   #14
 
elite*gold: 0
Join Date: Jan 2012
Posts: 63
Received Thanks: 23
Quote:
Originally Posted by somalia_ View Post
So it's not really helping you creating the pakets.
The structure of the packets (meaning data types) can be gotten from this. So, in a way, it does. You have to find out what the data means though, by yourself. And to ease that process, I wrote the tool I just posted.
bossfong is offline  
Reply


Similar Threads Similar Threads
Engine Protocol Tool
02/27/2013 - Lineage 2 - 3 Replies
i was wondering since i cant (really) find this tool "the engine protocol tool" (not even on google), if some nice and amazing guy can leave the link here for everyone to download it... or suggest a different way to get the protocol and token from the servers.:handsdown:
[Tool] Extract Protocol Message Definitions
09/15/2012 - DarkOrbit - 3 Replies
Here you go, everything is explained in the top comment. Does not work for Messages that contain arrays of others. /* This program will create struct definitions for Darkorbit protocol. * If you see "Attention Array" anywhere, you have to manualy work out that packet! * Beforehand you need to decompile the .swf . showmycode.com works great for that. * Point this program to the commands folder in ...\net\bigpoint\darkorbit\net\netty folder. */ using System; using...
[Release] EO DNP Extract Tool!
08/17/2008 - EO PServer Guides & Releases - 13 Replies
USE this tool and extract what ever C3 files and dds files u want to extracted in the c3 dnp file and data .dnp file first : write a bat file, iuput all the c2 or dds link in it! dawnpack c3/texture/001000000.dds dawnpack c3/texture/001131000.dds dawnpack c3/texture/001131010.dds dawnpack c3/texture/001131020.dds dawnpack c3/texture/001131030.dds dawnpack c3/texture/001131040.dds



All times are GMT +1. The time now is 17:59.


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.