ClassiCube / MCGalaxy

A Minecraft Classic / ClassiCube server software
GNU General Public License v3.0
177 stars 83 forks source link

How do I open .cbdb files? #524

Open ghost opened 4 years ago

ghost commented 4 years ago

Hello, I know blockdb uses .cbdb extension. I want to see a full list of a map block database, not just clicking hand by hand (would take 1000 years) on a single block. That's why I need to open it. Is there a way or not?

Thanks, PerLazy

Goodlyay commented 4 years ago

What do you even mean by seeing a full list? How would this 3D database of players who placed and deleted blocktypes be represented?

If you want to, you can open .cbdb with a hex editor program, but you still won't see anything human readable from that.

Might I suggest that what you really want is the command called /highlight? It allows you to pick a username and timespan and highlight all the blocks they deleted and placed during that time.

ghost commented 4 years ago

Thanks! But is there a full player one? I mean all players in one

Goodlyay commented 4 years ago

No, there isn't. What purpose do you need this for?

ghost commented 4 years ago

Or is there a heatmap? (light when new block, gets dark by time the block gets old)

UnknownShadow200 commented 4 years ago

No, /hightlight just gives you green for blocks a user placed, red for deleted.

On Feb 14, 2020 2:02 AM, "PerLazy" notifications@github.com wrote:

Or is there a heatmap? (light when new block, gets dark by time the block gets old)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/UnknownShadow200/MCGalaxy/issues/524?email_source=notifications&email_token=ABRVGJDRJZW7MNA5WWKZ743RCVOH5A5CNFSM4KTZ64Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELVJ2OI#issuecomment-585801017, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRVGJCQSHBWHTUXEYECGE3RCVOH5ANCNFSM4KTZ64YQ .

rdebath commented 1 year ago

The data is not generally useful outside the in-game undo's (etc) but I did throw together a program that dumps it out into a sort of readable (grep-able) format.

https://github.com/rdebath/mc/blob/master/extras/blockdb.c

I tried slicing it in a few different ways; nothing was particularly interesting, but -A gets you every detail.