Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7445209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:45:57+00:00 2026-05-29T11:45:57+00:00

In MMO game user account statistics stored in .dat file. I know this is

  • 0

In MMO game user account statistics stored in .dat file. I know this is python pickle.
Im not professional in py (really i dont know this language) all then i can wrote

data = pickle.load(fp)
pprint.pprint(data)

And i get output like these

(8,
 {(2, 1): (1315840806,
'\x14\x00&#nNWH\x00\x00\x06\x90\xb3\x00\... lostsa bytes),
  (2, 17): (1327141794,
"\x14\x00\xa2\x93\x1aOS=\x00\x00\x06T\xaa\x00\x00\x8d\x06>\x00\x00\x00*\...

I wanna to extract information from this. Format should be like these

offs byte
  0  11
  1  00
  2  ac ;last batt time(4)
  3  8d ;last batt time(4)
  4  54 ;last batt time(4)
  5  4d ;last batt time(4)
  6  e8 ;battle lifetime(4)
  7  69 ;battle lifetime(4)
  8  00 ;battle lifetime(4)
  9  00 ;battle lifetime(4)
 10  04 ;maxfrags (1)
 11  db ;xp (4)
 12  95 ;xp (4)
 13  00 ;xp (4)
 14  00 ;xp (4)
 15  6f ;maxXP (2)
 16  06 ;maxXP (2)

and so on…

I has no idea how to get byte code in python, and what king of data is

(8,
 {(2, 1): (1315840806,

object? array? How to iterate over it. And how i can save data as binary string to analyse it? Code sample is appreciated, but some ways to move on should be useful to. Thanx.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T11:46:01+00:00Added an answer on May 29, 2026 at 11:46 am

    [] denote lists, () denote tuples (immutable lists), and {} denote dictionaries (i.e. maps).

    Consider:

    (8,
     {(2, 1): (1315840806,
    '\x14\x00&#nNWH\x00\x00\x06\x90\xb3\x00\... lostsa bytes),
    

    At the top level, this is a tuple:

    • The first element is the scalar 8.
    • The second element is a dictionary, of which we’re only seeing part of the first entry:
      • The key of the entry is the tuple (2, 1).
      • The value of that entry is also a tuple; it starts with 1315840806 followed by a string containing what looks like some binary data.

    Hope you get the idea.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i m trying to design a mmo game using python... I have evaluated stackless
I want to write an mmo game server, but I can't seem to find
I'm making an MMO which will have a 2d world. (This is a learning
I want to write a server for a browser-based MMO game, which uses WebSocket
I have the idea to dev a gaming server (not a mmo server, but
I want to make an mmorpg game and i wanted to know some things
I'm working on the website for a mmo-rpg game-based group, and I'm having trouble
I have a server for a client-server game (ideally the basis for small MMO)
I am planning to make a mmo game like iMobsters from Storm8. There will
I try to understand, how the mmo object file format works, which is used

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.