Commit Graph

515 Commits

Author SHA1 Message Date
Lukas Rieger (Blue)
86a46477ab
Fix error on purge with sql-storage 2023-03-17 20:04:24 +01:00
Lukas Rieger (Blue)
bf243ea204
Fix block-tint-color for cherry-leaves 2023-03-15 17:55:18 +01:00
Lukas Rieger (Blue)
3dae1b1468
Add 1.19.4 client download url and fabric 1.19.4 implementation 2023-03-14 18:28:07 +01:00
Lukas Rieger (Blue)
ec5ca244fd
Fix precision issue which can cause visual artifacts in lowres 2023-03-07 16:42:07 +01:00
Lukas Rieger (Blue)
22ed75c513
Fix bug with variant-rotation not beeing applied correctly for lowres coloring 2023-03-04 18:43:28 +01:00
Lukas Rieger (Blue)
f3f609c573
Generalize purge task for all storages 2023-03-04 12:40:12 +01:00
Lukas Rieger (Blue)
c2499df3a7
Change image response to 204 and always save an empty players.json 2023-03-02 16:30:28 +01:00
Lukas Rieger (Blue)
cfa76e6451
Fix resource-parsing issue 2023-02-23 10:18:46 +01:00
Lukas Rieger (Blue)
9917e5dfa5
Fix block-models not being loaded if they are directly in the root models folder 2023-02-19 07:03:43 +01:00
Lukas Rieger (Blue)
310a2e55eb
Fix NullPointerException when trying to load textures from an empty textures.json file 2023-02-10 17:02:15 +01:00
Lukas Rieger (Blue)
6ea755d366
Implement marker and marker-set sorting 2023-02-07 17:09:01 +01:00
Lukas Rieger (Blue)
7d263c8b7f
Use the original value in the error 2023-02-07 11:09:08 +01:00
Lukas Rieger (Blue)
cc99021ca8
Add invalid value to color-format exception 2023-02-07 11:03:54 +01:00
Lukas Rieger (Blue)
12b75f64a1
Dont load the full meta-file only to test if it exists 2023-02-01 21:42:43 +01:00
Lukas Rieger (Blue)
d9b6c526f8
load all model folders except item 2023-01-14 00:15:30 +01:00
Lukas Rieger (Blue)
e659eb63aa
Wrong table name >_> 2023-01-01 12:42:25 +01:00
Lukas Rieger (Blue)
493f0c9bec
Add script to update databases correctly for the new version format 2023-01-01 12:20:55 +01:00
Lukas Rieger (Blue)
045f8e718a
Fix wrong meta-file-path 2022-12-29 16:06:53 +01:00
Lukas Rieger (Blue)
cf93cb56c4
Improve min-inhabited-time calculations and add hidden radius setting 2022-12-17 15:06:18 +01:00
Lukas Rieger (Blue)
6d53bce0dd
Add stuff 2022-12-13 16:54:31 +01:00
Lukas Rieger (Blue)
6e78587d6f
Update fabric-1.19.3 and add forge-1.19.3 implementations 2022-12-08 14:08:26 +01:00
Lukas Rieger (Blue)
11306ec9cf
Test making BlueMapCommon and BlueMapCore available to jitpack 2022-12-04 00:18:45 +01:00
Lukas Rieger (Blue)
1368f86d13
Also reset texture-gallery on map-purge 2022-11-28 20:38:34 +01:00
Lukas Rieger (Blue)
0fc1424021
Make texture-gallery stronger against corrupting 2022-11-28 00:04:09 +01:00
Lukas Rieger (Blue)
1a2d3a6d38
Also replace file on first try 2022-11-13 11:38:36 +01:00
Lukas Rieger (Blue)
f4e2767410
Make ice/glass blocks culling themselves if blocks are identical 2022-11-08 23:45:22 +01:00
Lukas Rieger (Blue)
ddce10f6ab
Replace exisiting on move to avoid random FileAlreadyExistsException 2022-11-02 19:27:57 +01:00
Lukas Rieger (Blue)
5f9716adc5
Fix rendering 1.15-worlds that are higher than y 255 2022-11-02 14:42:01 +01:00
Lukas Rieger (Blue)
6213137894
Also apply variant-rotation to the color-calculation. Fixes: #354 2022-11-01 14:19:04 +01:00
Lukas Rieger (Blue)
44f8f8b5f9
Add color for snow-layers to fix some resourcepacks defining tinted-faces for them 2022-10-27 18:47:51 +02:00
Lukas Rieger (Blue)
ff100e2656
Add option to use ocean-floor-heightmap to improve cave-detection 2022-10-23 00:52:39 +02:00
Lukas Rieger (Blue)
ad4ae53672
Fix render-issue if section it fully made of air 2022-10-21 21:41:47 +02:00
Lukas Rieger (Blue)
faa6965df3
Fix reading the wrong block if palette only has one entry 2022-10-21 20:18:25 +02:00
Lukas Rieger (Blue)
9efeaedf18
Move the sorting out of the save() method 2022-10-21 18:46:31 +02:00
Lukas Rieger (Blue)
685a7bf85e
Remove unneded commented-out code 2022-10-19 23:04:07 +02:00
Lukas Rieger (Blue)
a5c6f5a31f
Fix sorting not working properly 2022-10-19 23:02:27 +02:00
Lukas Rieger (Blue)
cc1e2197f0
Remove uneccessary line 2022-10-19 19:18:11 +02:00
Lukas Rieger (Blue)
d1ab1c6ca0
Switch face-sorting to merge-sort 2022-10-19 19:16:34 +02:00
Lukas Rieger (Blue)
63a003b13e
Switch to arrays to improve object-allocation 2022-10-19 17:20:36 +02:00
Lukas Rieger (Blue)
c6019c722d
Little improvements here and there 2022-10-19 16:25:25 +02:00
Lukas Rieger (Blue)
c5a91431cd
Improve chunk palette-reading if the palette has only one entry 2022-10-17 12:01:58 +02:00
Lukas Rieger (Blue)
9bc77c7257
Fix bits per biome if there is only one biome in the palette 2022-10-17 09:18:13 +02:00
Lukas Rieger (Blue)
81f309b0be
Create directories with symlinks in mind, fixes #349 2022-10-14 10:24:19 +02:00
Lukas Rieger (Blue)
4534202c75
Refactor color parse method to remove barely used ConfigUtils class 2022-10-14 10:00:51 +02:00
Lukas Rieger (Blue)
5a109b42c6
Always load MISSIN_TEXTURE texture 2022-10-13 20:33:03 +02:00
Lukas Rieger (Blue)
06c97b74c1
Fix missing block resource having the wrong path 2022-10-13 20:11:50 +02:00
Lukas Rieger (Blue)
550b52d503
Fix cullface calculation for model-faces, fixes #347 2022-10-13 19:29:08 +02:00
Lukas Rieger (Blue)
201b8c9e77
Push configurate-version to fix #339 2022-10-10 18:00:03 +02:00
Lukas Rieger (Blue)
8c675bc4f7
Fix lowres block color calculation with multipart-blocks 2022-09-18 21:28:08 +02:00
Lukas Rieger (Blue)
e8f8317d52
Fix/improve handling of two exceptions 2022-09-08 12:29:11 +02:00
Lukas Rieger (Blue)
98780514c6
Fix tile-saving errors after reloading bluemap with sql storage 2022-08-27 15:19:32 +02:00
Lukas Rieger (Blue)
60a8f5f98e
Close storages that failed to load and misconfigured maps dont stop loading the others 2022-08-27 15:08:17 +02:00
Lukas Rieger (Blue)
0e84d4f914
Fix (rarely) possible null-values in textures.json 2022-08-23 19:45:39 +02:00
Lukas Rieger (Blue)
471183b419
Add some SQL-Storage settings and tweak some connection-pool settings 2022-08-21 00:28:40 +02:00
Lukas Rieger (Blue)
4c9b45e6eb
Fix sql-config-template, remove debug-log and add map-id to cli-filewatcher output 2022-08-18 18:06:55 +02:00
Lukas Rieger (Blue)
bd88b2979d
Remove the user & password settings for database, as they should be added to the jdbc-connection string 2022-08-17 23:27:56 +02:00
Lukas Rieger (Blue)
2bc0b2c583
Fix lowres saving and loading issues 2022-08-16 00:19:04 +02:00
Lukas Rieger (Blue)
b38177bc4a
Remove debug output 2022-08-15 23:56:40 +02:00
Lukas Rieger (Blue)
5448850eca
Fix black spots in lowres layer (syncronization issue) 2022-08-15 23:43:06 +02:00
Lukas Rieger (Blue)
83806641ac
Add minimum inhabitedTime configuration to maps 2022-08-15 11:43:16 +02:00
Lukas Rieger (Blue)
c3a26abc3b
Add option to disable saving the hires-layer 2022-08-15 00:19:24 +02:00
Lukas Rieger (Blue)
42e53f0135
Fixes for lowres lighting and map-purging/saving, tweak default settings 2022-08-14 20:36:50 +02:00
Lukas Rieger (Blue)
413151e9ed
Merge branch 'feature/lowres' 2022-08-12 18:11:26 +02:00
Lukas Rieger (Blue)
562deb17a3
Finalize new lowres tiles implementation 2022-08-12 18:11:11 +02:00
Lukas Rieger (Blue)
44906f889b
Small performance improvements (resolving world-ids and sql-querys) 2022-08-09 22:35:21 +02:00
Lukas Rieger (Blue)
7d14ca4a29
Merge branch 'master' into feature/lowres 2022-08-08 21:29:50 +02:00
Lukas Rieger (Blue)
057d25bd15
Fix color issue and fix cli-webserver not working 2022-08-08 21:29:16 +02:00
Lukas Rieger (Blue)
81574c5176
Rewrite lowres tiles with mutiple LODs 2022-08-07 20:32:55 +02:00
Lukas Rieger (Blue)
f50a86d5e1
Add hit-miss metric 2022-08-06 08:46:52 +02:00
Lukas Rieger (Blue)
bddd455581
Fix some map-purging issues 2022-08-06 07:05:29 +02:00
Lukas Rieger (Blue)
db05bc89b0
Improve version detection on borge and fabric 2022-08-03 23:13:00 +02:00
Lukas Rieger (Blue)
d4f00682a6
Fix web-app api throwing an error and add full errors to the StateDumper 2022-08-02 18:14:38 +02:00
Lukas Rieger (Blue)
cb722840c7
Add mangrove-sign resources 2022-08-01 13:19:58 +02:00
Lukas Rieger (Blue)
fd519e6bf7
Update BlueMapAPI 2022-08-01 12:53:58 +02:00
Lukas Rieger (Blue)
fba273f620
Fix Key equals() 2022-08-01 11:12:50 +02:00
Lukas Rieger (Blue)
ffc472ce84
Fix not loading textures if they are outside the block(s) folder 2022-08-01 00:15:39 +02:00
Lukas Rieger (Blue)
00b01cd0da
Fix lowres tiles failig to load correctly 2022-07-31 22:19:15 +02:00
Lukas Rieger (Blue)
330f2cdbe2
Pretty-print main settings file, to make manual editing easier 2022-07-31 18:58:59 +02:00
Lukas Rieger (Blue)
cef202ebba
Switch to tiles with added wrapper-object for future additional data 2022-07-31 18:06:57 +02:00
Lukas Rieger (Blue)
57b0dc003e
Fix build versions 2022-07-30 16:07:10 +02:00
Lukas Rieger (Blue)
be04097ec5
Write markers to map-storage and add option to periodically update markers and players to storage 2022-07-30 15:31:42 +02:00
Lukas Rieger (Blue)
ca1d5cb50b
Add option to configure marker-sets in the map-configs 2022-07-30 13:24:07 +02:00
Lukas Rieger (Blue)
879e4f993d
Update BlueMapAPI 2022-07-27 20:31:14 +02:00
Lukas Rieger (Blue)
484996a61c
Finalize versioning changes further (hopefully i stay happy now with it) 2022-07-27 15:10:23 +02:00
Lukas Rieger (Blue)
55dbf38144
Fix ci versioning 2 2022-07-27 12:30:11 +02:00
Lukas Rieger (Blue)
9318b228fa
Introduce new and automatic versioning system 2022-07-27 11:39:22 +02:00
Lukas Rieger (Blue)
95e3211a4a
Change git-hash detection, fix ci 2022-07-26 22:04:01 +02:00
Lukas Rieger (Blue)
4da988d31c
Implement BlueMapAPI v2 2022-07-24 12:10:00 +02:00
Lukas Rieger (Blue)
03f58c7739
Moving live-player-endpoint to maps/[mapid]/live/player, webroot/data is now webroot/maps, fixed color-css-alpha format 2022-06-27 01:13:48 +02:00
Lukas Rieger (Blue)
7f5a54f37a
Merge branch 'master' into feature/v2 2022-06-07 21:45:35 +02:00
Lukas Rieger (Blue)
a53b3daa28
Fix latest-version still being 1.18 (whoops) 2022-06-07 21:26:47 +02:00
Lukas Rieger (Blue)
bbbb36c7a7
Add 1.19 resources 2022-06-07 17:35:56 +02:00
Lukas Rieger (Blue)
8e8934a8c4
Split and move settings.json for each map 2022-06-06 22:51:26 +02:00
Lukas Rieger (Blue)
b92536da64
Working on moving settings.json 2022-06-03 18:52:15 +02:00
Lukas Rieger (Blue)
b28b4e8c1f
Use default exception handler again 2022-06-01 12:59:18 +02:00
Lukas Rieger (Blue)
79a12d4d80
Automatic mod-resource-loading, loading fabric netsted jars and more 2022-06-01 00:03:35 +02:00
Lukas Rieger (Blue)
f98376fe27
Fix parent and texture-variable baking 2022-05-29 02:34:26 +02:00
Lukas Rieger (Blue)
7389cb1a16
Completely rework ResourcePack and resource-loading 2022-05-28 21:55:41 +02:00
Lukas Rieger (Blue)
92ac2177cd
Fix falsely considering regions outside of the defined render-boundaries 2022-04-24 18:53:06 +02:00
Lukas Rieger (Blue)
e555d558b7
Refactored config management 2022-04-20 22:54:27 +02:00
Lukas Rieger (Blue)
3f634974bc
Reduce log-presence of the ClassNotFound error for RemovelCause on forge 2022-01-22 23:22:42 +01:00
Lukas Rieger (Blue)
3f049d0523
Require Java 11 2022-01-16 14:20:27 +01:00
Lukas Rieger (Blue)
cd008a32f0
Update gradle, switch to gradle-kotlin where possible (forge doesnt work), improve build-script setup 2022-01-15 01:18:02 +01:00
Lukas Rieger (Blue)
4da37cd9f3
Use BlueMaps thread pool for caches in SQLStorage 2022-01-09 15:59:43 +01:00
Lukas Rieger (Blue)
acb7cf1e7b
Close underlying stream on exception in FileStorage 2022-01-09 15:54:06 +01:00
Lukas Rieger (Blue)
0929678d3b
Merge branch 'master' into feature/sql 2021-12-02 14:11:37 +01:00
Lukas Rieger (Blue)
6186b16e8d
Push BlueMapVue and remove wrong comment from code 2021-12-02 14:10:14 +01:00
Lukas Rieger (Blue)
2e44193883
Fix swamp biome grass color in 1.18 2021-11-30 22:18:28 +01:00
Lukas Rieger (Blue)
c681a36f3c
Fix IndexOutOfBoundsException for LegacyBiomes with id 170 2021-11-27 23:30:52 +01:00
Blue (Lukas Rieger)
d32eb6f407
Merge branch 'bleeding' into feature/sql 2021-11-21 15:16:41 +01:00
Blue (Lukas Rieger)
e373b5b624
Tidy up build.gradle 2021-11-21 15:15:23 +01:00
Blue (Lukas Rieger)
23fcab94ac
Complete adding forge 1.17.1 2021-11-20 15:06:52 +01:00
Blue (Lukas Rieger)
ae00af5860
Support 1.18 worlds, add fabric 1.18 support, start adding forge 1.17.1 2021-11-20 12:31:18 +01:00
Lukas Rieger
b98ff9fb99
exclude db-password from debug-dump 2021-11-19 18:57:37 +01:00
Blue (Lukas Rieger)
915f9d9608
Add SQL-Storage and add storage configs 2021-11-14 14:18:31 +01:00
Blue (Lukas Rieger)
f52d463458
Fix biome-id -1 crashing the render 2021-11-09 00:09:43 +01:00
Blue (Lukas Rieger)
4e05ad444b
Fix missing decompession when reading tile-files 2021-11-06 17:12:21 +01:00
Blue (Lukas Rieger)
13944404e1
Add missing license header 2021-11-06 16:26:58 +01:00
Blue (Lukas Rieger)
49e956ed66
Refactor Map-Storage to be more modular in preparation for SQL-storage 2021-11-06 16:14:14 +01:00
Blue (Lukas Rieger)
999c148ded
Add NoSuchFileException to be catched in AtomicFileHelper 2021-09-30 23:49:47 +02:00
Blue (Lukas Rieger)
31910382b0
Apply spotless fixes 2021-09-19 22:15:50 +02:00
Blue (Lukas Rieger)
877100aeb0
More performance tweaking 2021-09-19 19:37:42 +02:00
Blue (Lukas Rieger)
4806458f9d
Add option to pause rendering if a set amout of players is online 2021-09-18 14:04:03 +02:00
Blue (Lukas Rieger)
34d89ae0fe
Fix lowres lighting and color calculation issues 2021-09-17 17:13:34 +02:00
Blue (Lukas Rieger)
b06ef68d99
Add ThreadDump to debug-dump-command 2021-09-15 01:09:45 +02:00
Blue (Lukas Rieger)
b4832fd237
Merge branch 'master' into bleeding 2021-09-15 01:08:37 +02:00
Blue (Lukas Rieger)
6a6e8a64bc
Fix MCAWorld not using the Vector-Cache everywhere 2021-09-14 10:29:52 +02:00
Blue (Lukas Rieger)
9fb57f36a2
Remove unneccesary import 2021-09-13 23:39:33 +02:00
Blue (Lukas Rieger)
1d11206d13
Tentative fix trying to move a non-existing filepart file 2021-09-13 23:05:47 +02:00
Blue (Lukas Rieger)
4447c318bd
Improve cave-render detection and update default configs 2021-09-13 22:14:21 +02:00
Blue (Lukas Rieger)
a09d930b15
Release connection break a bit to not completely freeze the webserver on too many requests 2021-09-13 20:10:08 +02:00
Blue (Lukas Rieger)
eadf854c50
Fix several lighting issues on high and lowres renders 2021-09-13 19:44:31 +02:00
Blue (Lukas Rieger)
31e35ce205
Tentative fix for the ClassNotFound errors 2021-09-13 19:44:03 +02:00
Blue (Lukas Rieger)
6579c2090e
Add crimson and warped signs 2021-09-13 19:42:07 +02:00
Blue (Lukas Rieger)
fd109b2407
Potential fix for chisels block-id hack 2021-08-10 21:26:49 +02:00
Blue (Lukas Rieger)
52cb680803
Remove 1.12 version 2021-08-10 21:09:20 +02:00
Blue (Lukas Rieger)
e178f935aa
Rewrite of the render-engine and big performance improvements
- changed most immutable vectors with mutable ones
- dropped 1.12.2 support
- improved caching and block/chunk access
- much more smaller tweaks
2021-07-25 13:08:40 +02:00
Blue (Lukas Rieger)
8838bd6f32
Merge branch 'master' into bleeding 2021-07-25 12:57:11 +02:00
Blue (Lukas Rieger)
a1baff4579
Add additional chunk-info to /bluemap debug block 2021-07-20 16:49:26 +02:00
Blue (Lukas Rieger)
d88a25ad47
Model-Rewrite: Complete, further performance improvements in progress 2021-07-17 16:06:50 +02:00
Blue (Lukas Rieger)
4c23bd5add
Model-Rewrite: Add new mutable model class and deprectate old model classes 2021-06-26 23:20:33 +02:00
Blue (Lukas Rieger)
2b7d18d63f
Merge branch 'master' into bleeding 2021-06-25 15:46:41 +02:00
Blue (Lukas Rieger)
59bd00734c
Small debug dump improvements 2021-06-25 13:51:24 +02:00
Blue (Lukas Rieger)
bb588c322f
Small final/static improvement 2021-06-25 11:05:24 +02:00
Blue (Lukas Rieger)
0818f945c8
Remove unused function in HiresModelManager 2021-06-24 10:36:50 +02:00
Blue (Lukas Rieger)
4d6a83f62a
Small improvements 2021-06-23 14:43:14 +02:00
Blue (Lukas Rieger)
8ad048ae2a
Add </bluemap debug dump> command 2021-06-16 20:09:45 +02:00
Blue (Lukas Rieger)
d04a877f98
Fix translation copy-pasta fail (ignore this ;D) 2021-06-09 17:59:28 +02:00
Blue (Lukas Rieger)
5c591f591f
Print a warning instead of an error when a file can not be loaded, but can be regenerated 2021-06-09 17:27:33 +02:00
Blue (Lukas Rieger)
e78071115d
Add setting to disable/enable free-flight-mode in the webapp 2021-06-09 15:54:19 +02:00