Comments (12)
I'm having this problem as well. The window goes black for a few seconds as soon as I connect, and then the world loads, but I can't move or type.
from craft.
#define USE_CACHE 1
If you change that to 0 (in config.h) does it fix the issue?
from craft.
I was having this issue as well and this fixed it for me.
from craft.
Same issue.
It's better with a faster connection but the macro doesn't fixe it :/
from craft.
craft consistently froze for me after about 20 seconds of playing when connecting to default server. Setting the USE_CACHE to 0 has fixed the issue
from craft.
Unbelievably smooth on win7 build. Still issues with loading client. Most likely only affecting those of us with low flop rate onboard VGA's. Cache value change helps. Maybe create a subprocess to handle cache. Still trying to wrap my head around the world of C programming. Till then hope my input is of some value. Merry Craftmas!
from craft.
Just added several rendering options here. Try disabling some items for improving performance.
Also, for slow caching during multiplayer, try the "ring" branch (writes to cache on a background thread - data is sent from main thread and stored in a ring buffer before writing) and report back to let me know if it helps.
from craft.
Thanks. When you mentioned the buffer it made me think to create a ramdisk and put the craft.db in it. Getting about 60 fps now. Just gotta remember to save the db before shutdown.
from craft.
Still freezes for me - with USE_CACHE enabled or not. When USE_CACHE is zero, server grinds to 0fps. in both cases the entire X session freezes and I have to kill the craft process.
from craft.
I've done some profiling and implemented performance improvements. See if it's any better.
from craft.
Yes. Working great with full config. I can start moving right away after the cache is initialized.
from craft.
great - much better - seems fine now
from craft.
Related Issues (20)
- Port to browser using Webassembly HOT 4
- well it seems there is a ad ware trojan in the files HOT 6
- new structure added without announcement?! HOT 1
- Crash report cant fix HOT 1
- Seeding the world from sqlite HOT 1
- Fix Minecraft GLFW Error 65542 WGL The driver does not appear to support opengl HOT 2
- the builder.py and the server.py and the world.py giving error HOT 1
- How to add new blocks ? HOT 3
- client.c: use static for "char buffer[1024];" HOT 1
- How to run on retroarch xbox?
- Build error win10 HOT 1
- Found a possible security concern
- when i play on my server in chat say smth HOT 2
- Build and install for Ubuntu HOT 1
- "cmake ." results in "fatal error LNK1104: can't open file 'kernel32.lib'" HOT 1
- Potential memory leak. HOT 3
- Server
- thank you for releasing the code
- Can't build HOT 1
- An app on the play store seems to be using this for their Minecraft clone.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from craft.