DevBobcorn / CornCraft

A Minecraft Client Implementation Made with Unity
68 stars 6 forks source link

Error #6

Closed EMILUS590 closed 7 months ago

EMILUS590 commented 7 months ago

MCC_OFFLINE MCC.SERVER_PROTOCOL LOGIN.DATA_NOT_AVAILAVE how to fix these errors? image

DevBobcorn commented 7 months ago

CornCraft now uses Unity's persistent data path to store resource files and data files. On Windows, the data path is at C:\Users\<Your Name>\AppData\LocalLow\DevBobcorn\CornCraft.

For the time being, it is required to move the data files manually, just copy the whole Extra Data folder to that path, and they'll be properly loaded.

The resource files doesn't require manual operation, though. Before you join a server, the game will check if resource files for the corresponding version are present, and if not, download them automatically. The downloaded resource files are also stored at the data path mention above.

EMILUS590 commented 7 months ago

image

Hi, what to do in this situation ? ,_,

DevBobcorn commented 7 months ago

That's weird, I've tested with 1.18.2 servers just now and didn't see any problem loading resources. I've also tried removing the 1.18.2 resource pack and let the game download them again, and still I didn't see the float3x3 conversion warning. So I guess you can try deleting all items in Resource Packs and see if the problem persists.

DevBobcorn commented 7 months ago

And by the way, the vanilla_fix resource pack is from Amulet Map Editor, you can get it here: https://github.com/gentlegiantJGC/Minecraft-Model-Reader/tree/master/minecraft_model_reader/api/resource_pack/java/java_vanilla_fix

This resource pack is used to fix rendering for some hard-coded block models, for example, beds, shulker boxes and chests. It is not required for the game to run, so you can safely ignore the first two warnings if you don't want to add it.

EMILUS590 commented 7 months ago

image Is this how it should be?

image

_<I do everything like that? I deleted the folder with the resources that are downloaded, but it still didn't help me. I deleted the folder with the items and it didn't help either I have models constantly being loaded to no avail

DevBobcorn commented 7 months ago

Probably some packages are not successfully downloaded, or maybe they are not updated to the latest version?

Here's a screenshot of 3rd-party packages used in the project, you can check if you have these in your package manager: Packages

EMILUS590 commented 7 months ago

image image image image image

When I open a project, the CraftSharp resource is not downloaded. I download the CraftSharp-resource via git and it still gives me this error. I installed everything needed for the project

DevBobcorn commented 7 months ago

Did you get the CornCraft repository via git or from the zip file?

EMILUS590 commented 7 months ago

Zip

DevBobcorn commented 7 months ago

Well, It's possible that the project was temporarily broken when you downloaded it. If that was the case, you'll need to pull the changes via git. If you downloaded the project as a zip file (though the download button on Github), you'll need to download the latest version again.

EMILUS590 commented 7 months ago

via https link?

DevBobcorn commented 7 months ago

you can use git clone to download the project, and when there's updates, you can use git pull to apply them. It's much more convenient than downloading the zip file every time

EMILUS590 commented 7 months ago

I'm new to using git-hub but thanks for the advice🫡

AndrzejKebab commented 7 months ago

bro why i get notifications for this XD i got soo spammed by this image

DevBobcorn commented 7 months ago

bro why i get notifications for this XD i got soo spammed by this

Sorry for the inconvenience, guess the project was on your watch list XD

EMILUS590 commented 7 months ago

I still couldn't fix my problem ,_,

EMILUS590 commented 7 months ago

can you please upload the files themselves in the form of a build, and in the project itself and all files in the directory C:\Users\\AppData\LocalLow\DevBobcorn\CornCraft

DevBobcorn commented 7 months ago

The project is not ready for a release yet so I used Google Drive. The zip contains all source files and the .git folder. Here's the link: https://drive.google.com/file/d/127CNCfx8L5fxvi2f9bvz5FWI695eAlIB/view?usp=sharing

And the data files: https://drive.google.com/file/d/1lfqLcHGlutjLlSc7sbORM1Nb9muli4GZ/view?usp=sharing

DevBobcorn commented 7 months ago

Also made a build here: https://drive.google.com/file/d/1buhXr6q2mMskJHoswE3UqABTOLtrGR01/view?usp=sharing

EMILUS590 commented 7 months ago

thanks a lot