Register for your free account! | Forgot your password?

You last visited: Today at 05:02

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

Advertisement



Dump File Reader

Discussion on Dump File Reader within the SRO Hacks, Bots, Cheats & Exploits forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,487
Dump File Reader

Hello beloved, dead, community,


Reading dump files using Visual Studio is a pretty handy thing for developing, but Joymax wanted to include even more information about previous events. Storing an entire trace into the dump file would easily exceed the average hard drive capacity of 2005. Joymax chose the way of the potato, aka. the easiest way. Instead of using the a userstream for storing their data, they simply appended a really basic text-log to the end.

I've written a tool that extracts the additional data Joymax appended to the dump files.


It also produces a file with all these messages. If you open it with an editor capable of processing EUC-KR or CP-949, you'll get correct encoded messages you can simply paste into Google Translate.


Note that not all dump files contain such data. Some might result in dumping endless lines of nonsense.


Tested for ISRO, VSRO, CSRO. Not working on Beta-Client. Feel free to report bugs. There are some.
Attached Files
File Type: zip Source.zip (2.3 KB, 844 views)
File Type: zip Binary.zip (12.6 KB, 1958 views)
florian0 is offline  
Thanks
43 Users
Old 09/19/2017, 18:05   #2
 
BurakYogun's Avatar
 
elite*gold: 143
Join Date: Feb 2012
Posts: 540
Received Thanks: 169
Thanks BRO <3
BurakYogun is offline  
Thanks
1 User
Old 09/20/2017, 03:23   #3
 
elite*gold: 0
Join Date: Sep 2017
Posts: 2
Received Thanks: 0
Great thanks
belmazika is offline  
Old 10/07/2017, 11:02   #4
 
elite*gold: 0
Join Date: Jan 2012
Posts: 107
Received Thanks: 0
Thx man
kubed is offline  
Old 10/09/2017, 06:03   #5
 
elite*gold: 0
Join Date: Oct 2008
Posts: 50
Received Thanks: 2
thanks
phonglt is offline  
Old 05/23/2018, 10:21   #6
 
elite*gold: 0
Join Date: May 2018
Posts: 7
Received Thanks: 1
iv been looking for something like this!
Elthane is offline  
Old 06/21/2018, 22:47   #7
 
TheBold's Avatar
 
elite*gold: 0
Join Date: Dec 2016
Posts: 33
Received Thanks: 4
Thx Bro
TheBold is offline  
Old 06/22/2018, 15:41   #8
 
asdqaz's Avatar
 
elite*gold: 0
Join Date: Nov 2007
Posts: 377
Received Thanks: 118
for the csro-r client you'll have another block with system info at the end it's just a string + offset, the debug messages block start offset is right before the system info block, the rest is the same

here's some c# code
Code:
using (var stream = new MemoryStream(fileBytes) { Position = size - 4 })
using (var reader = new BinaryReader(stream))
{
    var offset = reader.ReadInt32();

    stream.Position = offset;

    if (reader.ReadInt16() == 21327) // "OS" string
    {
        stream.Position = offset;

        var osBytes = reader.ReadBytes(size - offset - 4);
        var osString = Encoding.GetEncoding(949).GetString(osBytes);

        // print os

        stream.Position = offset - 4;

        offset = reader.ReadInt32();
    }

    stream.Position = offset;

    var msgCount = reader.ReadInt32();
    var sysTime_Year = reader.ReadInt16();
    var sysTime_Month = reader.ReadInt16();
    var sysTime_DayOfWeek = reader.ReadInt16();
    var sysTime_Day = reader.ReadInt16();
    var sysTime_Hour = reader.ReadInt16();
    var sysTime_Minute = reader.ReadInt16();
    var sysTime_Second = reader.ReadInt16();
    var sysTime_Milliseconds = reader.ReadInt16();
    var startTime = reader.ReadInt32();

    while (msgCount-- > 0)
    {
        var msgTime = (reader.ReadUInt32() - startTime) / 1000;
        var msgSize = reader.ReadUInt16();
        var msgBytes = reader.ReadBytes(msgSize);
        var msg = Encoding.GetEncoding(949).GetString(msgBytes);

        // print msg
    }
}
asdqaz is offline  
Thanks
4 Users
Old 11/02/2021, 21:43   #9
 
[GM] Purple's Avatar
 
elite*gold: 313
Join Date: Sep 2021
Posts: 68
Received Thanks: 101
thank you <3
[GM] Purple is offline  
Old 12/15/2021, 18:14   #10
 
elite*gold: 0
Join Date: Jul 2020
Posts: 163
Received Thanks: 15
its not work
i try it and it's run for ever
kotsh23 is offline  
Old 03/03/2023, 22:03   #11
 
caner_tr's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 25
Received Thanks: 5
Best as always <3
caner_tr is offline  
Old 03/08/2023, 21:44   #12

 
InZiDeR's Avatar
 
elite*gold: 64
Join Date: Nov 2007
Posts: 1,180
Received Thanks: 1,025
Sadly doesn't work with isro 1.065 (2006 client) dump files.

It had helped me so much in parsing data :/

anyway gj

here is my dmp files if you want to test <3

InZiDeR is offline  
Old 05/25/2023, 20:12   #13

 
elite*gold: 260
Join Date: May 2023
Posts: 12
Received Thanks: 7
Quote:
Originally Posted by InZiDeR View Post
Sadly doesn't work with isro 1.065 (2006 client) dump files.

It had helped me so much in parsing data :/

anyway gj

here is my dmp files if you want to test <3

Missing a file with .ban extension
PretaPeles is offline  
Thanks
1 User
Old 12/21/2024, 03:21   #14
 
Heimdalll's Avatar
 
elite*gold: 0
Join Date: Dec 2024
Posts: 32
Received Thanks: 10
amazing one thx mate
Heimdalll is offline  
Reply


Similar Threads Similar Threads
Reader with Foxit PDF reader is not faulty?
04/18/2014 - Technical Support - 0 Replies
Today I read a file into PDF with Foxit Reader software that error message "D: \ study \ ***********.pdf Couldnot open file. File not found " This error alone today because last week my newly found normal users do not see the error. I tried many PDF files are so off. I brought it to another computer open. You know how to help me see this error!
anyone post here the file of editing file.. the .edf file
07/13/2013 - RF Online - 3 Replies
please post here... so that i can download again.. i guess the old one thread was gone.. i've been search for an hour in this section.. but i can't see it... thanks..
[PROBLEM]Cannot dump. No dump device defined.
07/30/2011 - Metin2 Private Server - 5 Replies
Moin, bin ja eigentlich nicht der, der bei Problemen direkt ins Forum rennt, aber seit kurzem macht FreeBSD sehr eigenartige dinge, z.s. im folgenden Bild: http://img337.imageshack.us/img337/9282/faild.png Wenn ich 3-4 mal Reboote Startet er, aber vorher auch nicht... Und jetzt kommts, das Passiert mit ALLEN SF's die ich besitze, d.h. neu machen kann ich vergessen... Kann da jemand Abhilfe schaffen?



All times are GMT +1. The time now is 05:02.


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.