Comments (6)
From the first log, it seems to be failing to save the preferences to your browsers' local storage. Maybe you have an extension that's blocking it somehow?
Seeing as this error is being thrown from the back-end of the library I'm using, there isn't much I can do besides catch the error and disable preferences altogether.
...as for the second error, I have no idea what the problem is. Seems to be an issue with itch.io's site rather than my game's code, although it's very hard to tell, since the problematic source files are obfuscated.
It's also worth mentioning that the HTML5 version of Mindustry does not use Java; it uses a tool (GWT) to transpile Java code to JavaScript-- no Java applets or plugins are used.
For now, I would recommend using the PC/Linux/Mac versions instead.
from mindustry.
I'd say all library errors should be caught and handled and the user should only face an exception if there's really no way to handle it in code. In this case giving the user a warning that his data is lost with closing the tab should be enough, right? The game itself should not be blocked by having no persistent storage.
from mindustry.
Alright, a warning should be displayed now, although there's no way I can test to be absolutely sure. I'll upload the fix to itch.io soon.
from mindustry.
Okay, I see the commit 0decc18. Thanks. I can try again after it's uploaded.
Btw, in your commit message you can also write #3 and then github will automatically add links between commit and github issue number three for you.
from mindustry.
Should be live now. This took a while to finish, since I wanted to implement a tutorial in the same release.
from mindustry.
I could confirm it works, even with uBlock Origin activated. The notification is also there and understandable. Thanks!
from mindustry.
Related Issues (20)
- Crash upon map save in the Bleeding Edge version HOT 8
- game seemingly crashes on coastline land attempt HOT 6
- map moved after closing and opening mission on erekir HOT 3
- Se me cierra el juego solo HOT 1
- No me deja avanzar el juego HOT 4
- core not deleting items HOT 1
- Crash when clicking multiple times with "Move unit" action
- No campaign maps? NOT FUNNY!!! HOT 5
- Charged Shot Still Shoots After Turret Death
- No sound IOS iPhone 12 HOT 18
- No me deja entrar en el nivel "precipicio" HOT 2
- Buggy enemy unit pathfinding/behaviour in Erekir HOT 6
- Баг HOT 6
- Server software suggest using non existing command
- Проблема игры HOT 9
- Problem when building a map with conveyors HOT 4
- Odd visual bug when trying to type on a payload source whilst paused HOT 7
- Almost whole campaign reset after I downloaded it on the steamdeck HOT 5
- Memory usage boost on startup and opening the database HOT 3
- "Always" weather not showing up in corresponding campaign maps HOT 1
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 mindustry.