Commit Graph

332 Commits

Author SHA1 Message Date
Blue (Lukas Rieger)
d9a2f98481 Only update hash when the camera is no longer moving
to reduce the history-spam as much as possible while still retaining the url-feature
2020-09-18 11:50:36 +02:00
Blue (Lukas Rieger)
b8cd92b507 Create the webserver-connection syncronized
to make sure it is fully started before it can get closed again. Fixes #89
2020-09-16 10:26:57 +02:00
Blue (Lukas Rieger)
e9ab39c052 Use own ForkJoinPool for cache-cleanups to avoid class-loading errors
On forge there was a problem sometimes, where presumably a join-fork-thread was created with a class-loader that did not have access to all classes, and therefore crashed in a ClassNotFoundException. This fixes this issue.
2020-09-15 12:02:12 +02:00
Blue (Lukas Rieger)
6e02ef7a78 Improve exception handling when loading chunks
Fixes #85
2020-09-12 16:42:55 +02:00
Blue (Lukas Rieger)
5d82c40884 Ignore fully translucent blocks in the terrain-height calculation
This makes sure that, e.g. barrier-blocks are not visible on the lowres map. Fixes #83
2020-09-07 12:28:14 +02:00
Blue (Lukas Rieger)
2e3aa2204c Add favicon to web-app 2020-08-30 21:28:30 +02:00
Blue (Lukas Rieger)
6d122a9b10 Fix player-following on world change and actually change the map too, closes #77 2020-08-30 21:00:05 +02:00
Blue (Lukas Rieger)
0559df9730 Improve the use of the file-index for combined file-access 2020-08-30 15:47:53 +02:00
Blue (Lukas Rieger)
591e105c05 Remove guava and yaml-config dependency and tidy up build-script dependencies 2020-08-30 13:25:22 +02:00
Blue (Lukas Rieger)
a79ddace71 Actually throw the interrupted exception if interrupted while loading 2020-08-30 02:49:33 +02:00
Blue (Lukas Rieger)
29e18506c1 Remove unused method 2020-08-30 02:30:55 +02:00
Blue (Lukas Rieger)
8efc23e6a1 Disable autogeneration missing-config logs because they might be misleading in what they do 2020-08-30 01:34:54 +02:00
Blue (Lukas Rieger)
4fc9215f4d Update configurate version 2020-08-30 01:25:10 +02:00
Blue (Lukas Rieger)
63d00073c5 Correctly calculate the number of bits-per block for 1.16-chunks 2020-08-30 00:56:54 +02:00
Blue (Lukas Rieger)
0aa69c7591 Add index to merged file-access, change resource-loading log to debug instead of warnings and make it fail faster on model-errors 2020-08-29 02:18:35 +02:00
Blue (Lukas Rieger)
96959550c6 Also check .mca filesize when loading a chunk 2020-08-26 17:33:45 +02:00
Blue (Lukas Rieger)
9c8ff358b1 Periodically ensure caches are kept clean 2020-08-26 17:25:45 +02:00
Blue (Lukas Rieger)
a5f756d017 Add filesize check before reading .mca files 2020-08-26 14:39:07 +02:00
Blue (Lukas Rieger)
36161a1f49 Fixes and tweaks after testing 2020-08-25 18:05:25 +02:00
Blue (Lukas Rieger)
76ecb75e73 Make core cross-version compatible 2020-08-25 15:07:42 +02:00
Blue (Lukas Rieger)
28d56e7374 Also adapt resourceExtensions gradle tasks 2020-08-25 11:59:17 +02:00
Blue (Lukas Rieger)
a2b670c381 Add resourceExtensions for all mc-versions 2020-08-25 11:49:02 +02:00
Blue (Lukas Rieger)
9a9ad1885b Add resources for all mc-versions 2020-08-25 11:35:39 +02:00
Blue (Lukas Rieger)
5514771b6a Merge branch 'base' 2020-08-25 11:27:01 +02:00
Blue (Lukas Rieger)
8950325915 Fix two things from the moved resources 2020-08-25 01:59:03 +02:00
Blue (Lukas Rieger)
72adc573b2 Move resource files to avoid conflicts 2020-08-25 01:39:21 +02:00
Blue (Lukas Rieger)
8adf2eaccf Load plugin.conf earlier and some integrated webserver improvements 2020-08-25 00:57:24 +02:00
Blue (Lukas Rieger)
b6c4971420 Add default configs, generalize CLI and Plugins into BlueMapService and reimplement Plugin and CLI 2020-08-24 23:58:11 +02:00
Blue (Lukas Rieger)
b9763a0963 Reorganize configs: split config classes and update the plugin accordingliy 2020-08-23 23:29:14 +02:00
Blue (Lukas Rieger)
669b04ed7b Merge branch 'base' 2020-08-23 12:38:57 +02:00
Blue (Lukas Rieger)
6cfc179e86 Switched to caffeine caches and more optimizations 2020-08-23 12:36:29 +02:00
Blue (Lukas Rieger)
dacab3073f Merge branch 'base' 2020-08-19 21:28:53 +02:00
Blue (Lukas Rieger)
c63ec971d6 Fix players not shown after spigot reload and tidy up a lot of exception-handling 2020-08-19 20:17:49 +02:00
Blue (Lukas Rieger)
3960869f15 Stop following player-markers when they disappear from the map 2020-08-17 18:42:44 +02:00
Blue (Lukas Rieger)
5bbf67d085 Improve player-follow controls and smooth scrolling 2020-08-17 12:18:19 +02:00
Blue (Lukas Rieger)
0b55274eda Fix player marker follow not getting released correctly 2020-08-17 02:05:48 +02:00
Blue (Lukas Rieger)
1c22865e98 Merge branch 'base' 2020-08-16 21:24:15 +02:00
Blue (Lukas Rieger)
d5f12ee451 Add abillity to stick to a player in web-app 2020-08-16 21:21:02 +02:00
Blue (Lukas Rieger)
eab962cdac Merge branch 'base' 2020-08-16 19:09:00 +02:00
Blue (Lukas Rieger)
e60d60fc93 Fix head image file extension 2020-08-16 19:08:52 +02:00
Blue (Lukas Rieger)
24c3d52f17 Fix steve-include and make skin update warnings a debug-message 2020-08-16 19:05:30 +02:00
Blue (Lukas Rieger)
bb7592cdfe Fix player-markers not updating the world correctly, the second 2020-08-16 17:54:21 +02:00
Blue (Lukas Rieger)
2b2cf2da4b Fix player-markers not updating the world correctly 2020-08-16 17:48:14 +02:00
Blue (Lukas Rieger)
b4a0d3d8c2 Merge branch 'base' 2020-08-16 17:35:53 +02:00
Blue (Lukas Rieger)
8c5f15e64e Fix webapp error when live-api is disabled 2020-08-16 17:35:31 +02:00
Blue (Lukas Rieger)
465a38080a Merge branch 'base' 2020-08-16 15:18:55 +02:00
Blue (Lukas Rieger)
1716098622 Add live-api configurations 2020-08-16 13:49:40 +02:00
Blue (Lukas Rieger)
3a5dac58ea Remove unneeded imports 2020-08-15 15:22:10 +02:00
Blue (Lukas Rieger)
19ef75cede Merge branch 'base' 2020-08-15 15:08:11 +02:00
Blue (Lukas Rieger)
f054513e8e Merge branch 'mc/1.13' into feature/live 2020-08-08 10:46:35 +02:00
Blue (Lukas Rieger)
a0e3b0c2af Small bugfix in the webapp 2020-08-08 10:40:14 +02:00
Blue (Lukas Rieger)
c23335df7c Add 0.0.0.0 support for webserver and make it the default config value 2020-08-08 10:39:22 +02:00
Blue (Lukas Rieger)
c4f0256ca0 Implement playermarkers on the web-app 2020-08-07 14:17:48 +02:00
Blue (Lukas Rieger)
b6d358a097 Merge branch 'mc/1.13' into feature/live 2020-08-06 17:26:19 +02:00
Blue (Lukas Rieger)
62c8306b8c Add a button to clear the browsers (tile) cache and reload them 2020-08-06 17:25:54 +02:00
Blue (Lukas Rieger)
b286670953 Finish implementing the first live-api for sponge 2020-08-06 17:24:36 +02:00
Blue (Lukas Rieger)
b64941783f Merge branch 'mc/1.13' into feature/live 2020-08-04 16:15:55 +02:00
Blue (Lukas Rieger)
2a14718f62 Add license-header check and fix all missing or invalid license headers 2020-08-03 17:51:07 +02:00
Blue (Lukas Rieger)
c6d28c318b Merge branch 'mc/1.13' 2020-08-03 14:19:17 +02:00
Blue (Lukas Rieger)
9283f2caec Tidy up some chunkloading math 2020-08-03 00:10:37 +02:00
Blue (Lukas Rieger)
e40c3bd0d5 Change hash code generation to improve performance 2020-08-03 00:10:00 +02:00
Blue (Lukas Rieger)
2a0aecf359 Add tint-color for the stonecutter. Fixes #63 2020-07-31 09:50:25 +02:00
Blue (Lukas Rieger)
2e1254ddc8 Merge remote-tracking branch 'origin/mc/1.13' into feature/live 2020-07-30 21:57:37 +02:00
Blue (Lukas Rieger)
2ea7ebbe4e Merge branch 'mc/1.13' 2020-07-29 21:10:03 +02:00
Blue (Lukas Rieger)
4beb00ba9e Fix empty sections now not being detected 2020-07-29 21:09:47 +02:00
Blue (Lukas Rieger)
040995b2ae Merge branch 'mc/1.13' 2020-07-29 20:46:50 +02:00
Blue (Lukas Rieger)
ca4fec8c1a Remove now unneeded exceptions 2020-07-29 20:11:25 +02:00
Blue (Lukas Rieger)
a33dda0a29 More sanity checks and fallbacks to chunkloaders and better IOException handling 2020-07-29 20:00:58 +02:00
Blue (Lukas Rieger)
a4c8004834 Add some extra sanity checks and fallbacks to chunkloaders 2020-07-29 18:04:16 +02:00
Blue (Lukas Rieger)
d97560cc82 Optimize chunk filter a little 2020-07-29 17:06:50 +02:00
Blue (Lukas Rieger)
aaeeeb136a Actually, we should not rely on an exception here 2020-07-29 16:43:04 +02:00
Blue (Lukas Rieger)
6e123e1c3f Treat not existent region files as empty (not generated) chunks. Fixes #57 2020-07-29 16:36:38 +02:00
Blue (Lukas Rieger)
2a5bdfa9c7 Merge branch 'mc/1.13' 2020-07-29 16:27:25 +02:00
Blue (Lukas Rieger)
71c165fe53 Push apache.commons lang3 dependency version to fix an NPE 2020-07-29 16:26:58 +02:00
Blue (Lukas Rieger)
34c5e96392 Merge branch 'mc/1.13' into feature/live 2020-07-05 15:59:44 +02:00
Blue (Lukas Rieger)
f492e2c278 Merge branch 'mc/1.13' 2020-07-02 19:52:50 +02:00
Blue (Lukas Rieger)
4ea40c7611 Define EPSILON, since it seems not to be defined by default on all systems. Fixes #48 2020-07-02 19:52:28 +02:00
Blue (Lukas Rieger)
95647acb1e Merge branch 'mc/1.13' 2020-07-02 17:39:16 +02:00
Blue (Lukas Rieger)
4fbd785b3e Catch exception when a model defines a collapsed face. Fixes #43 2020-07-02 17:37:58 +02:00
Blue (Lukas Rieger)
0fe7cf94a9 Add texture-key check. Fixes #53 2020-07-02 16:41:19 +02:00
Blue (Lukas Rieger)
032a640255 Update spigot and resources to support 1.16 2020-07-02 15:52:22 +02:00
Blue (Lukas Rieger)
5282bdc284 Merge branch 'mc/1.13' 2020-07-02 15:38:09 +02:00
Blue (Lukas Rieger)
484e4d0779 First changes towards live updates 2020-07-02 13:08:47 +02:00
Blue (Lukas Rieger)
67cb42fa40 Add support for reading 1.16 region-files 2020-05-15 12:39:19 +02:00
Blue (Lukas Rieger)
2b644e7254 Merge branch 'mc/1.13' 2020-05-11 14:42:52 +02:00
Blue (Lukas Rieger)
8a43c3e596 Sanity-check map-ids and add config to ignore missing light-data, fixes #35 and fixes #38 2020-05-11 14:42:30 +02:00
Blue (Lukas Rieger)
8b4e6a3a32 Merge branch 'mc/1.13' 2020-05-11 13:24:52 +02:00
Blue (Lukas Rieger)
0535a29f8e Command and world-name improvements 2020-05-10 17:29:16 +02:00
Blue (Lukas Rieger)
95afba305f Merge branch 'mc/1.13' 2020-05-10 01:44:24 +02:00
Blue (Lukas Rieger)
cf74a70f32 Suppress some compile warnings
The resource can not be closed at this point, it will be closed later so we ignore the warning.
2020-04-24 09:11:52 +02:00
Blue (Lukas Rieger)
bd7de954ce Merge branch 'mc/1.13' 2020-04-23 18:09:04 +02:00
Blue (Lukas Rieger)
b6c0d64d62 Implement API 1.1.0 and fix flickering with markers when zoomed out 2020-04-23 18:08:19 +02:00
Blue (Lukas Rieger)
12d944657d Merge branch 'mc/1.13' 2020-04-20 18:10:27 +02:00
Blue (Lukas Rieger)
f813f9d925 Fix error without marker.json 2020-04-20 18:08:51 +02:00
Blue (Lukas Rieger)
bc472b8090 Merge branch 'mc/1.13' 2020-04-20 13:51:08 +02:00
Blue (Lukas Rieger)
cd2b9ec650 Add missing licence headers 2020-04-20 12:50:28 +02:00
Blue (Lukas Rieger)
73c4151ef2 Merge branch 'mc/1.13' 2020-04-20 12:34:53 +02:00
Blue (Lukas Rieger)
ba69d26c85 Fix loading and saving of markers.json to correctly merge changes 2020-04-20 12:33:55 +02:00
Blue (Lukas Rieger)
6acc75674c Merge branch 'feature/marker' into mc/1.13 2020-04-19 20:13:02 +02:00
Blue (Lukas Rieger)
d8e189528e Implement MarkerAPI 2020-04-19 20:12:37 +02:00
Blue (Lukas Rieger)
2cbff3ccdb Complete implementing markers on the web-client 2020-04-17 14:56:30 +02:00
Blue (Lukas Rieger)
cac4aece8b Merge branch 'mc/1.13' 2020-04-16 15:43:43 +02:00
Blue (Lukas Rieger)
2f79c61d8c Remove unwanted log 2020-04-16 15:42:20 +02:00
Blue (Lukas Rieger)
7856501001 Merge branch 'mc/1.13' 2020-04-16 15:32:55 +02:00
Blue (Lukas Rieger)
eb93b7d1ab Fix some issues with rendering with map-limits 2020-04-16 15:31:33 +02:00
Blue (Lukas Rieger)
9a09f39b5a First part on implementing markers 2020-04-16 12:33:24 +02:00
Blue (Lukas Rieger)
89fa4e6f95 Merge branch 'mc/1.13' 2020-04-09 20:12:44 +02:00
Blue (Lukas Rieger)
677dfcda02 Change the way images are cropped hopefully fixing #32 2020-04-09 17:56:08 +02:00
Blue (Lukas Rieger)
0dfbc96dff Merge branch 'mc/1.13' 2020-04-07 14:56:13 +02:00
Blue (Lukas Rieger)
8d9220f611 Correct build setups for CLI and Forge implementations 2020-04-06 17:55:35 +02:00
Blue (Lukas Rieger)
88ab4b2eb8 Merge branch 'mc/1.13' 2020-04-06 16:56:35 +02:00
Blue (Lukas Rieger)
24c50c27c6 Revert "Fix loading some chunk formats in 1.12. Fixes #33"
This reverts commit 1ddc229047.
2020-04-06 14:18:40 +02:00
Blue (Lukas Rieger)
1ddc229047 Fix loading some chunk formats in 1.12. Fixes #33 2020-04-04 15:57:59 +02:00
Blue (Lukas Rieger)
323cb1bc81 Change project setup: split targets into different jars and relocate shadowed libs 2020-03-30 01:45:32 +02:00
Blue (Lukas Rieger)
5f7517a9d6 Merge branch 'mc/1.13' 2020-03-29 11:49:03 +02:00
Blue (Lukas Rieger)
de8031effd Push version for next release 2020-03-29 11:47:37 +02:00
Blue (Lukas Rieger)
62ce024dc6 Better tentative fix for #24 2020-03-28 16:25:38 +01:00
Blue (Lukas Rieger)
de7b0cba02 Tentative fix for #24 2020-03-27 15:41:09 +01:00
Blue (Lukas Rieger)
eeac5b3125 Merge branch 'mc/1.13' 2020-03-26 12:07:52 +01:00
Blue (Lukas Rieger)
85f5d8947b Fix empty path resolving 2020-03-26 12:07:17 +01:00
Blue (Lukas Rieger)
3b58874a1c Merge branch 'mc/1.13' 2020-03-25 22:14:05 +01:00
Blue (Lukas Rieger)
5421f956d2 Fix lighting bug and two bugs with resource-loading 2020-03-25 21:54:59 +01:00
Blue (Lukas Rieger)
cbbcfa6d59 Merge branch 'mc/1.13' 2020-03-17 20:27:18 +01:00
Blue (Lukas Rieger)
46875b9e68 Fix rounding bevore saving does not work correctly 2020-03-17 20:23:59 +01:00
Blue (Lukas Rieger)
eb6fe1164f Merge branch 'mc/1.13' 2020-03-14 18:22:57 +01:00
Blue (Lukas Rieger)
d21f6baf68 Push version for new release 2020-03-14 18:21:10 +01:00
Blue (Lukas Rieger)
54acd321f9 Fix a bug that prevents map changing via url and add sky color to dimensions 2020-03-14 18:18:02 +01:00
Blue (Lukas Rieger)
1455a5ae01 Merge branch 'mc/1.13' 2020-03-14 17:09:54 +01:00
Blue (Lukas Rieger)
275076bf66 Add menu footer, block-info hightlight and renamed a switch 2020-03-14 17:09:40 +01:00
Blue (Lukas Rieger)
d34628dfdf Merge branch 'mc/1.13' 2020-03-13 18:22:49 +01:00
Blue (Lukas Rieger)
2ed2fa3e35 Add click menu and debug option to web-app and fix two render-saving bugs that caused corrupted files sometimes 2020-03-13 18:11:31 +01:00
Blue (Lukas Rieger)
3e11b67ed5 Merge branch 'mc/1.13' 2020-03-08 22:03:19 +01:00
Blue (Lukas Rieger)
dde30e932d Fix a bug with saving tiles sometimes and one with the ui 2020-03-08 22:02:44 +01:00
Blue (Lukas Rieger)
c4e2a4c683 Merge branch 'mc/1.13' 2020-03-08 21:20:36 +01:00
Blue (Lukas Rieger)
33ff579f9b Fix alert box catching all mouse-events 2020-03-08 21:20:21 +01:00
Blue (Lukas Rieger)
f7f5ca76b2 Merge branch 'mc/1.13' 2020-03-08 20:57:34 +01:00
Blue (Lukas Rieger)
80f1d90cdf Update configs for lighting changes and finalize ui 2020-03-08 20:56:52 +01:00
Blue (Lukas Rieger)
ba2092b614 Introduce shaders to improve rendering, add night and rework the ui 2020-03-04 20:31:00 +01:00
Blue (Lukas Rieger)
a0ae675af1 Some changes to the shader to enable dynamic day/night changes 2020-02-13 20:27:53 +01:00
Blue (Lukas Rieger)
37ee65e356 Fix indentations 2020-02-11 21:14:22 +01:00
Blue (Lukas Rieger)
27129b0e53 Add shaders in the web-app and process lighting there 2020-02-11 21:10:59 +01:00
Blue (Lukas Rieger)
db208d4b8f No longer bake the ao and lighting data (breaking change) 2020-02-11 19:35:35 +01:00
Blue (Lukas Rieger)
b6cd0123ea Fix version after merge 2020-02-09 19:04:44 +01:00
Blue (Lukas Rieger)
04ea7a7a8a Merge branch 'mc/1.13' 2020-02-09 19:03:51 +01:00
Blue (Lukas Rieger)
fa6c5ea1f5 Push version for new release 2020-02-09 19:02:22 +01:00
Blue (Lukas Rieger)
8aaca521d0 Fix the models for the changed chest textures layout (really now) 2020-02-09 16:42:00 +01:00
Blue (Lukas Rieger)
4b6489b775 Fix the models for the changed chest textures layout 2020-02-09 16:36:08 +01:00
Blue (Lukas Rieger)
a7818287da Update support for Minecraft 1.15 2020-02-08 17:24:34 +01:00
Blue (Lukas Rieger)
f62130f2cc Improve biome-coloring and add support for 1.15 format chunks with 3d biomes 2020-02-08 17:21:13 +01:00
Blue (Lukas Rieger)
38b5811a8e Add barrier id-mapping 2020-02-07 19:21:21 +01:00