Coder Social home page Coder Social logo

Comments (9)

scp-r avatar scp-r commented on June 11, 2024

do you mind sharing your world save with us? It would be helpful if we can test it locally

from bedrock-viz.

scp-r avatar scp-r commented on June 11, 2024

and which version of dedicated server are you using?

from bedrock-viz.

cabbey avatar cabbey commented on June 11, 2024

The scripts I use automatically keep the server running whatever is "current" from MS... looks like it's 1.16.1.2 currently (and was at the time the backup was made).

I'm hesitant to share the world save publicly, as my son and I use this world for achievements and I don't know how to mask the world id that MS uses to invalidate worlds that have had cheats turned on. I've already accidentally ruined one world we used to use for that by bringing up a copy on a separate machine with cheats enabled to get coordinates turned on so I could calculate the angle to build a tunnel to make a straight line between two places... I'd really rather not risk that happening again. That said, I'd be willing to share it with individuals working on this codebase directly by email if they'll agree to keep it private. I can be reached at my nickname at my nickname dot net. :)

from bedrock-viz.

scp-r avatar scp-r commented on June 11, 2024

I've send you an email. The save will be used for development only and won't be loaded by the official server by MS.

from bedrock-viz.

cabbey avatar cabbey commented on June 11, 2024

I've sent it along, and can confirm the next day's backup has the same issue.

from bedrock-viz.

cabbey avatar cabbey commented on June 11, 2024

I should note, I'm on an x86_64 system, and there are a couple compile warnings, including in the nbt code, during the build... not sure if they're related as I've not gone too far into the codebase.

/home/cabbey/bedrock-viz/src/main.cc: In function ‘int32_t mcpe_viz::doParseConfigFile(const string&)’:
/home/cabbey/bedrock-viz/src/main.cc:249:18: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
             fgets(buf, 1024, fp);
             ~~~~~^~~~~~~~~~~~~~~
/home/cabbey/bedrock-viz/src/nbt.cc: In member function ‘std::__cxx11::string mcpe_viz::ParsedVillageVillager::toGeoJSON()’:
/home/cabbey/bedrock-viz/src/nbt.cc:2487:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
             sprintf(tmpstring, "\"id\":%lld", id);
                                ^~~~~~~~~~~~~  ~~
/home/cabbey/bedrock-viz/src/world/world.cc: In member function ‘int32_t mcpe_viz::MinecraftWorld_LevelDB::parseLevelFile(const string&)’:
/home/cabbey/bedrock-viz/src/world/world.cc:86:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
         fread(&fVersion, sizeof(int32_t), 1, fp);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cabbey/bedrock-viz/src/world/world.cc:87:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
         fread(&bufLen, sizeof(int32_t), 1, fp);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cabbey/bedrock-viz/src/world/world.cc:95:18: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
             fread(buf, 1, bufLen, fp);
             ~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /home/cabbey/bedrock-viz/src/world/world.cc:1:
/home/cabbey/bedrock-viz/src/world/world.h: In member function ‘int32_t mcpe_viz::MinecraftWorld_LevelDB::parseLevelName(const string&)’:
/home/cabbey/bedrock-viz/src/world/world.h:82:18: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
             fgets(buf, 1024, fp);
             ~~~~~^~~~~~~~~~~~~~~

The above from a clean build of master @ eaf4676 after installing the new boost pre-req.

from bedrock-viz.

tomnolan avatar tomnolan commented on June 11, 2024

Just as a note regarding the "orphaned" chunks in the map. I don't believe this is actually an error based on what I've seen before, I've also had this happen. I'm pretty sure this has something to do with "special" chunks that bedrock will load when you are in-game that are beyond the normal chunk render distance, but due to the nature of what those chunks represent, it loads them anyway. If you were to go exploring a bit further out and compare renders of the maps, you should see that those chunks are actually correctly aligned with the world when you load the surrounding chunks. I'm pretty sure there is a comment about this somewhere in the wiki, I'll have to see if I can find it.

from bedrock-viz.

cabbey avatar cabbey commented on June 11, 2024

@tomnolan indeed. Turning on the overlays for items shows every one of them has some collection of chests and spawners in them... and exploring out to a couple of them didn't add anything of interest in the neighboring chunks.

from bedrock-viz.

cabbey avatar cabbey commented on June 11, 2024

I have removed two chunks of what now appear to be unrelated information from the main report. The orphaned blocks on the edges contain things the server has pre-created out and the two "broken" strips have gone away in later runs, but the errors as above remain. (I refresh the map based on a nightly backup before we start playing if we're going to use it as a reference in that session.)

from bedrock-viz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.