Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2015-05-03 15:58:17, last edited by den3107 (2015-05-03 16:38:53)

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

[Help] Room Data deserialization

First off:
I know there are libraries and such out there that already do it for me, but I just want to make it myself, though can't figure out how to get started.

I know the following:

Hidden text

Now mainly my question is: How to get the worldData from the init event converted into the int/byte array listed there and how to convert the x and y bytes into integers?

Oh, and why do I always see people use unsigned integers?

A link referring to all exceptional blocks with in which order they display what extra information would be appreciated too (Capasha's website only displays rotation).

Offline

Wooted by:

#2 2015-05-03 18:39:47, last edited by capasha (2015-05-03 18:43:03)

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: [Help] Room Data deserialization

Here you have an example how to do it, it's not updated and need special blocks and some init updates since version 191.
You can also choose to read the worlddata through the database, easier and not much updating when they change init. But the database read only saved worlds.

Offline

Wooted by:
capasha1430674787501037

Board footer

Powered by FluxBB

[ Started around 1714197823.6489 - Generated in 0.025 seconds, 12 queries executed - Memory usage: 1.38 MiB (Peak: 1.47 MiB) ]