James Seibel
53fcce9d7c
remove dev from version number
2026-04-18 10:34:57 -05:00
James Seibel
7b8b22fd5a
terrain data cash override close without exception
2026-04-15 07:46:49 -05:00
James Seibel
6f54cfacb5
fix unit test compiling
2026-04-14 20:38:05 -05:00
James Seibel
61eaf43ba0
Add DhApiBlockColorOverrideEvent
2026-04-14 20:35:38 -05:00
James Seibel
1d368e3adc
Add DhApiBlockStateWrapperCreatedEvent
2026-04-14 19:43:37 -05:00
James Seibel
9e65e2dd4c
comment/deprecate a few API events
2026-04-14 19:03:00 -05:00
James Seibel
2d878338cb
Merge branch 'change/channel_name_compat'
2026-04-14 17:08:12 -05:00
James Seibel
d62d21776d
fix IBO buffer creation size
2026-04-12 15:17:48 -05:00
James Seibel
a44c5d562d
Move native dialog to common
...
Native dialog was changed with LWJGL 3.4.1
2026-04-12 13:53:31 -05:00
James Seibel
1d9bffe64e
only run world gen for rendering levels
...
Also fix world gen progress getting stuck on a single level
2026-04-11 21:40:28 -05:00
James Seibel
b4e0687e2a
fix gitlab auto updater failing for MC 26
2026-04-11 16:58:23 -05:00
James Seibel
89804f1ba1
add documentation about nullable IDhApiUnsafeWrapper
2026-04-11 15:23:00 -05:00
James Seibel
9dbc5ef525
fix white beacons colored incorrectly
2026-04-11 12:34:10 -05:00
James Seibel
e5dcb0999d
minor optifine optimization
2026-04-11 11:11:48 -05:00
James Seibel
50e0e940d1
profile wrapper try-finally for pushes
2026-04-11 11:03:56 -05:00
James Seibel
cb3e42fac4
Merge branch 'client-updates' into 'main'
...
Don't drop client updates if level is not loaded yet
See merge request distant-horizons-team/distant-horizons-core!98
2026-04-09 19:44:12 +00:00
Fabian Maurer
34cdaf02eb
Don't drop client updates if level is not loaded yet
2026-04-08 22:53:58 +02:00
James Seibel
71e6b9b58e
remove unused getFov()
2026-04-05 17:17:28 -05:00
Ran-Mewo
1ec342928f
fix api tests
2026-03-30 17:06:05 +11:00
James Seibel
d45a1379bd
Fix running fabric via gradle/IDE
2026-03-29 16:04:37 -05:00
Ran-Mewo
ecb3dce963
wao
2026-03-29 19:23:25 +11:00
James Seibel
2b8cddd424
disable thread pausing when render tasks exist
2026-03-27 07:00:38 -05:00
James Seibel
13895fec51
start cleaning up config
2026-03-24 19:37:52 -05:00
James Seibel
88c7245be6
change EDhApiRendererMode DEBUG -> DEBUG_TRIANGLE
2026-03-24 19:36:57 -05:00
James Seibel
6aad156a32
Fix Iris using the wrong far clip plane
...
https://github.com/IrisShaders/Iris/issues/2534
2026-03-24 07:16:31 -05:00
James Seibel
94535a213e
LodRequestModule TODO cleanup
2026-03-22 21:40:32 -05:00
James Seibel
63d6d42356
ignore already closed repo close calls
2026-03-22 21:36:31 -05:00
James Seibel
acecbede8e
fix phantom log when there is sufficient memory
2026-03-21 16:57:38 -05:00
James Seibel
e2a8953e4c
minor cloud render cleanup
2026-03-21 16:35:33 -05:00
James Seibel
32eae23963
stage VBO/IBO upload and allow global IBO
2026-03-21 15:33:36 -05:00
James Seibel
480c3b3ec5
Drastically improve frame stability
2026-03-21 15:20:28 -05:00
James Seibel
6c0736a2a0
minor renderer refactoring
2026-03-19 07:28:41 -05:00
James Seibel
c89abd414b
Add render task profiling
2026-03-18 07:45:42 -05:00
James Seibel
da2454b249
Add the ability to cull lilly pads, seaGrass, etc.
2026-03-15 20:53:21 -05:00
James Seibel
5933ef8245
Fix MC complaining about GL shader file names
2026-03-15 16:52:03 -05:00
James Seibel
b9984c7723
remove unneeded chunk update warnings
2026-03-15 16:46:40 -05:00
James Seibel
2de50475f1
reduce the max time for render thread tasks
2026-03-15 16:19:33 -05:00
James Seibel
bb838328a7
Show RenderApi config in UI
2026-03-15 16:15:34 -05:00
James Seibel
1980e64b2f
Fix vertex buffer count calculation
2026-03-15 14:55:49 -05:00
James Seibel
c3df26f5cb
Disable Mac initial startup delay
2026-03-15 14:54:06 -05:00
James Seibel
17df533fa6
Improve warning logs for chunkUpdateManager
2026-03-14 15:55:38 -05:00
James Seibel
2393bdd8e8
clean up todo comments
2026-03-14 15:33:23 -05:00
James Seibel
082b364f52
default renderable box group to clean
2026-03-14 15:25:44 -05:00
James Seibel
8a39610b8c
move beacon render enabling to LodQuadTree
...
Fixes beacons not always showing/hiding correctly
2026-03-14 14:32:19 -05:00
James Seibel
aa53835772
fix generic rendering not uploading in some cases
2026-03-14 14:30:58 -05:00
James Seibel
cd5a3ce52b
Try fix concurrency issue with render closing
2026-03-14 10:18:40 -05:00
James Seibel
38e104a9fc
Render task handler name tracking
2026-03-14 09:20:01 -05:00
James Seibel
e27cee1f71
SharedApi set world lock
2026-03-14 09:19:41 -05:00
James Seibel
15d1d78954
Fix render task auto cleanup timer
2026-03-14 09:18:28 -05:00
s809
e2421c97ed
Stop pregen on server shutdown
2026-03-13 00:47:44 +05:00
s809
8b72920652
Show real pregen speed quicker
2026-03-13 00:01:01 +05:00
s809
212031a05f
Fix world generation not running with 0 players connected
2026-03-12 22:48:27 +05:00
s809
804293e291
Replace fix with debug wireframe stub
2026-03-12 22:38:37 +05:00
s809
cfdd464f30
Revert "Fix server not loading levels"
...
This reverts commit 4c9d703e15 .
2026-03-12 21:12:04 +05:00
s809
4c9d703e15
Fix server not loading levels
2026-03-12 19:20:26 +05:00
James Seibel
0eba376e70
up Dh version 2.4.6 -> 3.0.0
2026-03-10 19:07:39 -05:00
James Seibel
89e6355d73
Merge branch 'blazeRender'
2026-03-10 19:06:58 -05:00
James Seibel
31b6d2dd05
Fix debug wireframes not rendering
2026-03-10 19:06:02 -05:00
James Seibel
d75b65e6e7
hide render API config from UI
2026-03-10 18:44:48 -05:00
James Seibel
1bbe41c068
move GL shaders into the correct folder
2026-03-10 17:56:05 -05:00
James Seibel
e426fc2380
Move lightmap wrapper methods into common
2026-03-10 17:33:55 -05:00
James Seibel
4e908b5b15
Make render interfaces consistent
2026-03-10 17:20:19 -05:00
James Seibel
b51ab3d9cd
clear up render task logging
2026-03-10 17:03:13 -05:00
James Seibel
9e7d0a1538
method rename
2026-03-10 16:58:57 -05:00
James Seibel
5b0bf59f00
fix iris rendering
2026-03-10 16:44:32 -05:00
James Seibel
0362d89173
Separate out some rendering logic
2026-03-10 14:50:53 -05:00
James Seibel
1b0f93db07
Changes for blaze/gl rendering config
2026-03-10 11:40:36 -05:00
James Seibel
559bad5676
Add rendering API definition
2026-03-09 20:12:40 -05:00
James Seibel
f145444fd4
fix race condition in SharedApi setup
2026-03-09 20:07:31 -05:00
James Seibel
10b08ca116
Fix ClientApi profiler adding an incorrect layer
2026-03-09 19:14:21 -05:00
James Seibel
1dd244e889
Rename and reorganize render pass interfaces
2026-03-09 18:59:19 -05:00
James Seibel
2ea3d645e8
remove deprication warnings
2026-03-09 17:39:58 -05:00
James Seibel
49e34d78a5
update debug wireframe renderer
2026-03-09 17:35:24 -05:00
James Seibel
17cdb0f745
re-add some core rendering handlers
2026-03-09 16:35:17 -05:00
James Seibel
67b2467bee
change where vertex size is found
2026-03-09 16:34:25 -05:00
James Seibel
82c832a4af
Add RenderThreadTaskHandler
2026-03-09 16:30:45 -05:00
James Seibel
c84dbfceaf
update some imports
2026-03-09 16:26:48 -05:00
James Seibel
27b66940be
Start moving OpenGL rendering to common 1
2026-03-09 16:22:55 -05:00
James Seibel
8240101a46
javadoc
2026-03-09 13:58:29 -05:00
James Seibel
e1a932cf38
Only upload unique LOD uniforms once
2026-03-09 13:51:44 -05:00
James Seibel
39dd1c8509
renderable box cleanup
2026-03-09 12:28:49 -05:00
James Seibel
fee0aadcbe
MC -> blaze renaming
2026-03-09 12:19:53 -05:00
James Seibel
a8c15d22c3
rename vbo containers
2026-03-09 11:16:50 -05:00
James Seibel
bd833ba510
move blaze shader files
2026-03-09 09:57:03 -05:00
James Seibel
a5a9a62e89
Fix ssao application
2026-03-08 21:14:48 -05:00
James Seibel
e790bfb7e8
merge apply shaders
2026-03-07 14:32:02 -06:00
James Seibel
0f539f3a6f
start separating out uniform logic
2026-03-05 17:32:19 -06:00
James Seibel
d3f28f064b
fix chunk update queue count flipped
2026-03-05 07:23:13 -06:00
James Seibel
40149bc1d1
fix chunk update queue count flipped
2026-03-05 07:23:02 -06:00
James Seibel
40703db763
uncomment deferred rendering
2026-03-05 07:22:22 -06:00
James Seibel
2a554395f7
debug rendering
2026-03-04 18:07:49 -06:00
James Seibel
c3dce412fa
Add far fade
2026-03-04 07:38:49 -06:00
James Seibel
225c2df8df
add fog
2026-03-03 07:47:58 -06:00
James Seibel
84c212a780
add SSAO
2026-03-02 07:45:25 -06:00
James Seibel
3d9ae5f088
generic object rendering
2026-03-01 19:32:54 -06:00
James Seibel
200e089a33
re-add lighting
2026-02-28 12:13:34 -06:00
James Seibel
3f509be195
remove unneeded partial ticks from old vanilla fade
2026-02-28 11:34:48 -06:00
James Seibel
1a2c0b0be1
re-add vanilla fading
2026-02-28 11:34:39 -06:00
James Seibel
c6a4355718
minor render cleanup
2026-02-28 08:13:26 -06:00
James Seibel
3e80961d18
Rough initial LOD renderering
2026-02-26 16:55:54 -06:00
James Seibel
9f483ee07a
Fix fade test shader
2026-02-24 22:03:43 -06:00
James Seibel
d1ba402f4d
start of vanilla fade logic
2026-02-24 09:57:03 -06:00
James Seibel
87cead607f
move test shader folder
2026-02-24 07:02:05 -06:00
James Seibel
1b2992f1dc
proof-of-concept test renderer
2026-02-23 12:31:21 -06:00
James Seibel
ed0e94ccb7
Fix chunks applying to the wrong dimension
2026-02-18 22:05:23 -06:00
James Seibel
364f8f7afc
improve transformer comment
2026-02-18 07:08:44 -06:00
James Seibel
962f20460c
Fix dark LODs with false tintWithAvoidedBlocks
2026-02-17 07:47:30 -06:00
James Seibel
ce17ac71c6
Remove buffer mapping
2026-02-17 07:16:42 -06:00
James Seibel
5adb9afa0a
always disable instanced rendering on mac
2026-02-16 07:16:32 -06:00
James Seibel
3c80c11888
comment on a partially broken unit test
2026-02-14 22:34:17 -06:00
James Seibel
0714697e05
Fix beacon update locks
2026-02-14 22:01:25 -06:00
James Seibel
df52f41b87
Fix beacons not reloading (and improve logic)
2026-02-14 21:32:30 -06:00
James Seibel
66a1d0296e
maybe fix deprecated warn in OptifineAcessor
2026-02-14 21:31:51 -06:00
James Seibel
c827817a94
ClientLevelModule cleanup
2026-02-14 11:10:35 -06:00
James Seibel
9895676b63
Increase startup timeout for MAC
2026-02-14 08:32:44 -06:00
James Seibel
5d5c94e652
Force enable fog if MC is rendering fog
...
done to fix underwater/blindness rendering
2026-02-14 08:24:22 -06:00
James Seibel
0a568571d9
Add logs when changing vanilla settings
2026-02-13 07:49:31 -06:00
James Seibel
291c0470ad
auto disable fancy graphics if enabled
2026-02-13 07:35:50 -06:00
James Seibel
2f4587579f
Change quadElementBuffer to only use DATA
2026-02-13 07:35:38 -06:00
James Seibel
2d70388587
Maybe fix Mac crashing with sodium on world start?
2026-02-12 07:27:11 -06:00
James Seibel
a758c0bb3f
regions to initalizer
2026-02-12 07:13:05 -06:00
James Seibel
dd6aed273d
Hopefully fix a rare concurrency issue in buffer Builder
2026-02-11 07:45:42 -06:00
James Seibel
e2d663ee34
remove some unneeded concurrency checks in render setup
2026-02-11 07:34:55 -06:00
James Seibel
dfc920d9bb
Fix a harmless error message
2026-02-11 07:15:49 -06:00
James Seibel
c91631809e
re-add chat warning if G1GC is used
2026-02-11 07:09:33 -06:00
James Seibel
457bbebbdd
Reduce memory allocation slightly during LOD loading
2026-02-10 07:32:13 -06:00
James Seibel
4d3242a370
improve concurrency handling in LOD render loading
2026-02-09 07:44:03 -06:00
James Seibel
f0d71027f1
Fix loosing some thread pool tasks
2026-02-09 07:43:53 -06:00
James Seibel
a98d9239e6
document Vbo.getVertexCount() 2
2026-02-08 21:37:33 -06:00
James Seibel
365edd48f8
document Vbo.getVertexCount()
2026-02-08 21:37:17 -06:00
James Seibel
9f22e3f2b3
Improve render load error handling
2026-02-08 21:06:01 -06:00
James Seibel
78f83197d7
Hide non-rendering levels in the F3 screen
2026-02-08 20:42:32 -06:00
James Seibel
42ae79b76c
remove deprecated OS enum (replaced by EPlatform)
2026-02-08 20:12:26 -06:00
James Seibel
1178ef0706
Remove unused ID mappings after data update
...
Requires re-downsampling all LODs
2026-02-08 19:56:24 -06:00
James Seibel
a506d2ef1f
FullDataSource regions
2026-02-08 19:55:09 -06:00
James Seibel
92d9e631a7
Fix update propagator only re-queueing once queue empty
2026-02-08 19:53:03 -06:00
James Seibel
8afe388eb6
DataIdMap to string
2026-02-08 19:52:32 -06:00
James Seibel
df1dae70c2
FullDataPointUtil reformat
2026-02-08 19:52:23 -06:00
James Seibel
777ed9215a
datasource v1 mapping decode cleanup
2026-02-08 17:25:27 -06:00
James Seibel
25f4bde825
delayed full data cache regions
2026-02-07 18:37:21 -06:00
James Seibel
fbb1beb359
ConfigEntry tostring for debugging
2026-02-07 18:15:12 -06:00
James Seibel
f0852235b2
LodQuadTree cleanup and todo remove
2026-02-07 18:13:27 -06:00
James Seibel
4faa82e895
DhServerLevel use base shouldDoWorldGen()
...
@pshsh @s809 do you know why DhServerLevel overrode AbstractDhServerLevel?
In a quick test it appears using the super method worked just fine.
2026-02-07 17:59:08 -06:00
James Seibel
7201df1eff
retrieval queue cleanup
2026-02-07 17:57:03 -06:00
James Seibel
b6b13843eb
shader constructor cleanup
2026-02-07 17:46:30 -06:00
James Seibel
10208d4dfa
fix vanilla fade order
2026-02-07 17:00:30 -06:00
James Seibel
d04e156dd1
Move some world gen queue limiting into the LodQuadTree
2026-02-07 16:37:56 -06:00
James Seibel
19412f80c5
cleanup cloud render handler
2026-02-07 16:13:33 -06:00
James Seibel
dea3557546
Add colors to the F3 screen
2026-02-07 14:14:13 -06:00
James Seibel
a3c72dbcbc
clientApi remove finished todo comments
2026-02-07 13:28:22 -06:00
James Seibel
dffad16d27
Clean up ColumnArrayView
2026-02-07 13:20:06 -06:00
James Seibel
0a3756eb9d
Remove swing UI classes
2026-02-07 13:19:44 -06:00
James Seibel
821acaa0b9
MovableGridRingList cleanup
2026-02-07 12:05:18 -06:00
James Seibel
0fc5c55712
ArrayGridList pos object merge
2026-02-07 11:55:16 -06:00
James Seibel
c13d04ff2b
vanillaFade shader cleanup
2026-02-07 11:54:44 -06:00
James Seibel
c9925b0b6c
full data point ID map regions
2026-02-07 11:00:51 -06:00
James Seibel
725602e61f
handle extra sql db closed
2026-02-07 10:18:40 -06:00
James Seibel
bdeeb4c93b
remove TODO for LWJGL versioning
2026-02-07 10:01:05 -06:00
James Seibel
b3185c00d6
Replace DhLodPos with DhSectionPos
2026-02-07 08:40:17 -06:00
James Seibel
ce20d3da32
debug render cleanup
2026-02-07 08:31:51 -06:00
James Seibel
69653336bf
Remove most SSAO configs
...
No one seems to need or use them so we can just hard-code in the values we know look good.
2026-02-05 21:58:30 -06:00
James Seibel
062f11df21
Change graphics configs from doubles to floats
2026-02-05 21:57:17 -06:00
James Seibel
9e68d11608
re-add ignored blocks to config UI
2026-02-05 21:37:37 -06:00
James Seibel
3d349cb292
Only allow rendering clouds in config set dimensions
2026-02-05 21:37:29 -06:00
James Seibel
d13bd9c4d3
clean up QuadTree unit tests
2026-02-05 21:12:25 -06:00
James Seibel
4a256683ab
comments and region for update prop threading
2026-02-05 18:01:21 -06:00
James Seibel
7325d57e88
Make GLState AutoClosable for more robustness
2026-02-05 17:36:40 -06:00
James Seibel
7348cb1c37
Remove incomplete standalone GUI and comment incomplete DB parsing
2026-02-05 17:29:19 -06:00
James Seibel
007a3bdefa
remove legacy logo SVG
...
Still available in the core repo's misc folder
2026-02-05 17:11:29 -06:00
James Seibel
6d95eb1099
fix magic numbers for lightmap binding
2026-02-05 17:11:09 -06:00
James Seibel
86e21cdaf6
remove unused VertexFormats
2026-02-05 17:02:15 -06:00
James Seibel
d0bb03288d
Fix fog falloff config not being used
2026-02-05 16:57:39 -06:00
James Seibel
be3e618aca
shader reformatting
2026-02-05 16:49:30 -06:00
James Seibel
35d3614c88
add a TODO to GenFullDataSourceProvider
2026-02-05 07:40:47 -06:00
James Seibel
ba32af2c58
improve priority task picker task counting
2026-02-05 07:40:34 -06:00
James Seibel
2a681ef8e6
Pool ZStd decompress contexts
2026-02-05 07:40:11 -06:00
James Seibel
24684b7760
Fix render loading queuing incorrectly
2026-02-05 07:39:58 -06:00
James Seibel
d3d4312ff6
Handle cave block culling more generically
2026-02-04 07:47:54 -06:00
James Seibel
6086a8a957
null check to AbstractConfigBase
2026-02-04 07:47:18 -06:00
James Seibel
cd2530ca88
cleanup TODO comments
2026-02-04 07:47:08 -06:00
James Seibel
af0e5699e2
Fix !1088 (API config.getApiValue() not returning null)
2026-02-04 07:19:50 -06:00
James Seibel
d0e14ac408
LZMA cache commenting
2026-02-03 21:32:16 -06:00
James Seibel
0636712f80
Fix a rare world gen phantom closing issue
2026-02-03 21:32:10 -06:00
James Seibel
9bfd2812a6
fix near clip plane flickering
2026-02-03 21:30:16 -06:00
James Seibel
5f12c9e1f3
rename normal.vert -> quadApply.vert
2026-02-03 20:50:45 -06:00
James Seibel
f8f0e3f4b9
move phantom pool into a new namespace
2026-02-03 20:48:07 -06:00
James Seibel
ac36ce4560
refactoring and TODO cleanup
2026-02-03 20:47:06 -06:00
James Seibel
f2612f39c0
cleanup world gen queue todo comments
2026-02-03 20:35:15 -06:00
James Seibel
e7e7bc866d
Clean up RenderUtil near clip methods
2026-02-03 20:34:54 -06:00
James Seibel
39eed05d83
Fix Debug renderer on newer MC versions
2026-02-03 19:59:12 -06:00
James Seibel
b0624c8714
up the api version 5.1.0 -> 6.0.0
2026-02-03 07:05:50 -06:00
James Seibel
40351d1894
Require a data cache for API Repo methods
2026-02-03 07:05:13 -06:00
James Seibel
a488478b1d
null check in level loading
2026-02-02 07:18:00 -06:00
James Seibel
c4b49ef308
Remove MC Texture LodBias config
2026-02-02 07:17:49 -06:00
James Seibel
b511ab4fb3
Add RenderWrapper.getPartialTickTime()
2026-02-02 07:09:06 -06:00
James Seibel
bbf69c7911
Make generic object updating async
2026-01-31 17:33:03 -06:00
James Seibel
6de41cd384
LodRenderSection remove unused code
2026-01-31 16:01:34 -06:00
James Seibel
7e7ccf1f38
unindent RenberableBoxGroup
2026-01-31 12:50:16 -06:00
James Seibel
5a6aa00ae7
RenberableBoxGroup regions
2026-01-31 12:49:58 -06:00
James Seibel
9c71540928
clean up bufferQuad arg names 2
2026-01-31 12:49:49 -06:00
James Seibel
ff1859de8d
clean up BufferQuad arg names
2026-01-31 12:42:03 -06:00
James Seibel
00be9a3c4f
Handle MC running at 0 FPS
2026-01-31 10:22:23 -06:00
James Seibel
dfed2c8966
GLproxy regions
2026-01-31 09:16:44 -06:00
James Seibel
b20aebb09c
generic renderer regions
2026-01-31 09:15:22 -06:00
James Seibel
9cbe98f81b
clean up more TODO comments
2026-01-30 07:49:24 -06:00
James Seibel
a9bfc3fbe1
Clean up more TODOs
2026-01-29 07:48:10 -06:00
James Seibel
c30e410132
Clean up some API TODOs
2026-01-29 07:14:30 -06:00
James Seibel
11cd36cdec
Fix TODO in DependencyInjector
2026-01-28 07:20:05 -06:00
James Seibel
59e35ffad3
Fix beacons not rendering
2026-01-27 20:50:53 -06:00
James Seibel
7b26c0baeb
Fix paused executors not running tasks
2026-01-27 20:49:54 -06:00
James Seibel
60e53ff20b
remove debug log
2026-01-27 20:49:42 -06:00
James Seibel
0f756a370b
Queue gen tasks outside the tree update thread
2026-01-27 20:06:25 -06:00
James Seibel
f0f525ef79
Fix ZStd decompressions streams being to long
2026-01-27 20:05:50 -06:00
James Seibel
59a8e31507
Reduce GC pressure when loading LODs from disk
2026-01-27 18:21:08 -06:00
James Seibel
6d3288ec42
LodRenderSection remove rate limit and improve task ordering
2026-01-26 20:29:55 -06:00
James Seibel
4e979b1f00
LodQuadBuilder regions
2026-01-26 06:52:45 -06:00
James Seibel
396545340e
Move Thread Pool stat string method
2026-01-26 06:52:07 -06:00
James Seibel
87bfbf1afe
Add a bunch of TODO comments
2026-01-26 06:51:05 -06:00
James Seibel
4346a2e803
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2026-01-24 13:39:00 -06:00
James Seibel
6c228c1a17
Move Quad tree related objects
2026-01-24 13:38:02 -06:00
James Seibel
d90361af59
Change LOD loading to start at lowest detail
2026-01-24 13:37:23 -06:00
s809
a0f06e4451
Merge branch 'feature/split-generation-toggles'
2026-01-18 22:39:43 +05:00
s809
2a4bfef7a6
Add correct descriptions
2026-01-18 22:38:01 +05:00
James Seibel
37d08b6dfa
pause world gen when moving quickly
2026-01-17 17:03:43 -06:00
James Seibel
eadf19405e
add changes from DhRenderState
2026-01-17 16:15:46 -06:00
James Seibel
f0757296f8
Add dynamic overdraw distance based on camera speed
2026-01-17 16:12:06 -06:00
James Seibel
3e29b361e6
Improve clientApi code regions
2026-01-17 10:46:45 -06:00
James Seibel
7b6fd03d78
Change render wrapper get Texture error returns
2026-01-17 09:56:21 -06:00
s809
7be65a2258
Split off server generation into a separate toggle
2026-01-17 01:43:05 +05:00
s809
1a540cf2bc
Make sure payload chunk is readable
2026-01-14 22:17:46 +05:00
James Seibel
20fc2efb46
Improve concurrent iterating in QuadTree
2026-01-10 17:03:43 -06:00
James Seibel
d8beba2498
minor cleanup in LodBufferContainer cleanup
2026-01-10 17:02:56 -06:00
James Seibel
9f0cb5a394
Add forge specific icon/logo
...
Done to fix a forge limitation where logos can't contain a file pathhttps://github.com/MinecraftForge/MinecraftForge/issues/7348
2026-01-10 11:56:08 -06:00
James Seibel
df63401d11
DB updater use correct classloader
2026-01-10 08:21:09 -06:00
James Seibel
db95951ade
minor reformat and comment
2026-01-10 08:20:44 -06:00
s809
1e020f93a6
Reapply "Run plugin messages on a DH thread"
...
This reverts commit ff3145336d .
2026-01-09 20:29:23 +05:00
James Seibel
7aee6dfb44
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2026-01-07 07:50:25 -06:00
James Seibel
546a51a295
expand distant beacon beams for visiblity
2026-01-07 07:50:22 -06:00
James Seibel
ec7e791e9f
Change EMinecraftColor -> MinecraftTextFormat
...
No need for an enum when all the values are strings
2026-01-06 07:10:40 -06:00
Jim C K Flaten
b0e7c31964
Comment
2026-01-05 21:32:41 +01:00
James Seibel
d60dec3d82
Merge branch 'main' into 'main'
...
Fix typo in high vanilla render distance warning
See merge request distant-horizons-team/distant-horizons-core!94
2026-01-05 13:00:17 +00:00
s809
89a80103f0
Wrong message target
2026-01-04 20:04:30 +05:00
s809
8e14a7223c
Add a chat message for incompatible messages
2026-01-04 19:36:24 +05:00
Jim C K Flaten
2e906b57c4
Channel name should be 20 chars or shorter for compatibility with old version of Minecraft.
2026-01-03 23:36:46 +01:00
meanwhile131
7cf1e901f5
Fix typo in high vanilla render distance warning
2026-01-01 15:06:30 +04:00
James Seibel
ba923fa829
Fix neoforge thread causing resource loading to fail
2025-12-26 14:13:27 -06:00
s809
505dbe2f62
Replace the failure state with future exceptions
2025-12-27 00:51:30 +05:00
James Seibel
48c5828e8f
up version number 2.4.5 -> 2.4.6-dev
2025-12-24 22:41:27 -06:00
James Seibel
eb2317934f
up version number 2.4.4 -> 2.4.5
2025-12-24 22:06:53 -06:00
James Seibel
60537cda1b
Replace MC color code strings with an enum
2025-12-24 22:04:50 -06:00
James Seibel
508ff2b776
Fix null pointer in ChunkUpdateQueueManager
2025-12-24 21:53:39 -06:00
James Seibel
7c4ac2bd7e
remove dev from version number
2025-12-23 22:55:40 -06:00
James Seibel
8c13c2cf47
Fix toggling world gen not recreating queue
2025-12-23 22:55:40 -06:00
James Seibel
802019ff72
up DH api version 5.0.0 -> 5.1.0
2025-12-23 20:01:06 -06:00
James Seibel
141890556c
Revert "remove deprecated getHeight() from DhApiLevelWrapper"
...
This reverts commit 50bdb73a52 .
2025-12-23 19:56:28 -06:00
James Seibel
353838db41
add experimental option to ignore rendering dimensions by name
2025-12-23 12:22:00 -06:00
James Seibel
f1547477c9
add clientLevelWrapper to DhApiRenderParam
2025-12-23 12:20:42 -06:00
James Seibel
535a645a84
minor internal API cleanup
2025-12-23 12:19:14 -06:00
James Seibel
2dc7f02b32
Remove experimental option onlyLoadCenterLods
...
option is now merged into main
2025-12-23 12:18:28 -06:00
James Seibel
50bdb73a52
remove deprecated getHeight() from DhApiLevelWrapper
...
use getMaxHeight() instead
2025-12-23 12:06:15 -06:00
James Seibel
53e6c95432
commenting DhTerrainShaderProgram
2025-12-23 08:57:51 -06:00
James Seibel
36f0029e45
Fix earth curvature shader compiling
2025-12-23 08:47:44 -06:00
s809
5067e970a2
Use another method to create a buffer
2025-12-23 12:50:02 +05:00
James Seibel
167ca94e69
Remove deprecated disableVanillaFog config
2025-12-22 20:31:24 -06:00
James Seibel
8d94b86bfd
Hide network config changes by default
2025-12-22 14:51:29 -06:00
James Seibel
a29567430e
Net only log changed config values
2025-12-22 14:37:34 -06:00
James Seibel
fb2dae48e2
re-enable remote timestamp getting
2025-12-22 14:21:12 -06:00
James Seibel
948b4bfd9c
comment out debug log
2025-12-22 14:17:57 -06:00
James Seibel
ca44256ca9
disable full data debug phantom array stacks
2025-12-22 14:17:47 -06:00
James Seibel
a29b6a5aab
remove unnecessary config appearance check
2025-12-22 14:17:13 -06:00
James Seibel
868254ccc8
try fixing rare leak in delayed data source cache
...
Didn't fix the problem, but shouldn't hurt
2025-12-22 14:16:34 -06:00
James Seibel
195fde8d73
quad tree spilt request cleanup
2025-12-22 13:58:26 -06:00
James Seibel
ce7b9b94b6
fix/improve world gen/retrieval error handling
2025-12-22 13:58:26 -06:00
James Seibel
1f0c2e286a
fix network splitting requests
2025-12-22 13:58:26 -06:00
James Seibel
f79fd5e06f
error handling in AbstactDhLevel chunk update
2025-12-22 13:58:26 -06:00
James Seibel
47c1d3955f
failed attmpt to fix leaks
...
Breaks split world gen requests
2025-12-22 13:57:49 -06:00
James Seibel
2c5f5a3d4c
minor refactors
2025-12-22 09:46:21 -06:00
James Seibel
81c533051e
close errored data sources in full data provider
2025-12-22 08:35:15 -06:00
James Seibel
5cbe5ecfd8
Fix dis/re-enabling world gen queuing
2025-12-21 19:44:48 -06:00
James Seibel
d4b4d28c9f
Fix null error log in Data source provider
2025-12-21 08:53:27 -06:00
James Seibel
b8e653b5f7
Fix phantom checkout not updating stack trace
2025-12-21 08:52:44 -06:00
James Seibel
80fea09598
Fix concurrency error in LodQuadTree
2025-12-21 08:52:25 -06:00
James Seibel
1d4f914a9f
Merge branch 'worldGenRefactor'
2025-12-20 10:53:39 -06:00
James Seibel
bf92dea2eb
reduce stuttering at the cost of lighting quality
2025-12-20 10:52:51 -06:00
s809
2dd675b8da
Handle generated LOD updates outside the render thread
2025-12-20 15:22:26 +05:00
s809
ff3145336d
Revert "Run plugin messages on a DH thread"
...
This reverts commit 280181c91e .
2025-12-20 14:32:39 +05:00
James Seibel
280181c91e
Run plugin messages on a DH thread
2025-12-19 16:54:29 -06:00
James Seibel
60232e713b
refactor world gen queue
2025-12-19 16:54:07 -06:00
James Seibel
55d9030954
Remove extra particle for world gen
2025-12-18 10:20:01 -06:00
James Seibel
452bd75f5d
remove chunkWrapper.isStillValid()
2025-12-18 10:18:07 -06:00
James Seibel
72be1e2602
Remove LodRenderSection.isFullyGenerated()
2025-12-18 10:17:36 -06:00
James Seibel
1c30213aca
up version number 2.4.3 -> 2.4.4-dev
2025-12-18 10:04:41 -06:00
James Seibel
e9a044308f
remove dev from version number
2025-12-18 09:35:07 -06:00
James Seibel
1aabc0c792
remove chunkWrapper.isStillValid()
2025-12-18 09:35:02 -06:00
James Seibel
4a1513ed65
fix compiling
2025-12-17 22:41:22 -06:00
James Seibel
6d98c9cb84
start world gen refactoring
2025-12-17 22:39:23 -06:00
James Seibel
b1b0642fbe
LodRenderSection commenting/regions
2025-12-17 09:32:12 -06:00
James Seibel
eecb28d11f
Fix GLProxy error in multiplayer
...
Make some GLProxy methods static to prevent setup order issues
2025-12-17 09:02:07 -06:00
James Seibel
90564f2537
fix javadoc in LevelWrapper
2025-12-16 16:39:03 -06:00
James Seibel
ded0b979cf
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2025-12-16 14:45:57 -06:00
James Seibel
ed9cc5485c
Add SSAO fade out distance
2025-12-16 14:45:53 -06:00
s809
cbd5974657
Fix packet handle errors not showing on F3 screen
2025-12-17 00:15:55 +05:00
James Seibel
0e5fba58ab
minor shader program refactor
2025-12-16 09:13:22 -06:00
James Seibel
2943e63382
slight light engine optimization
2025-12-15 14:37:15 -06:00
James Seibel
30564aade7
up version number 2.4.2 -> 2.4.3-dev
2025-12-15 10:17:28 -06:00
James Seibel
aabb90ada6
remove dev from version number
2025-12-15 09:00:15 -06:00
James Seibel
963a8dc53f
comment LevelWrapper getDimensionName()
2025-12-15 08:55:40 -06:00
James Seibel
aa6d69385b
Move GC warning into the log
2025-12-15 08:44:06 -06:00
James Seibel
f42c9cf8fb
Improve initial library check error handling
2025-12-14 22:29:08 -06:00
James Seibel
92e0011c8d
Fix auto update success dialog
2025-12-14 21:50:56 -06:00
James Seibel
c20d95a7c7
improve spacing for self updater version log
2025-12-14 21:21:45 -06:00
James Seibel
353aa1ed2c
maybe improve ZStd version check
2025-12-14 21:20:42 -06:00
James Seibel
5aa43ebcc8
hide LODs when underwater
2025-12-14 17:22:35 -06:00
James Seibel
b6145461b6
add note to ignored block CSV
2025-12-14 17:02:53 -06:00
James Seibel
478e431076
up version number 2.4.1 -> 2.4.2-dev
2025-12-14 17:00:34 -06:00
James Seibel
6feb7f1b42
remove dev from version number
2025-12-14 13:46:04 -06:00
James Seibel
016fc66293
Print a warning if G1GC is used
...
G1GC is known to cause stuttering
2025-12-13 16:46:59 -06:00
James Seibel
6d3e30d425
add Zstd decompress lib check in initalizer
2025-12-13 15:48:05 -06:00
James Seibel
5be5c5a5bc
replace client ticks with a timer
...
Prevents DH loading issues when MC ticks are paused
2025-12-13 11:19:33 -06:00
James Seibel
ed5aeb8951
minor texture setup reformatting
2025-12-13 10:43:01 -06:00
James Seibel
7f0ddadf26
up version number 2.4.0 -> 2.4.1-dev
2025-12-13 10:20:44 -06:00
James Seibel
a2c61ed278
up version number 2.3.7 -> 2.4.0
2025-12-13 10:19:50 -06:00
James Seibel
99eb4ac8a1
Fix infinite loop in DhSectionPos
2025-12-13 09:10:12 -06:00
James Seibel
c75902d9d6
debug particle cleanup
2025-12-13 08:50:15 -06:00
James Seibel
1743949ba5
fix GeneratedFullDataSourceProvider not adding update listener
2025-12-13 08:49:45 -06:00
James Seibel
a74a37a0e8
world gen queue refactoring
2025-12-13 08:49:31 -06:00
James Seibel
4ed7941288
fix missing localization
2025-12-12 07:45:12 -06:00
James Seibel
ec59a5f754
comment cleanup and enum renaming for API use
2025-12-11 07:35:37 -06:00
James Seibel
895e04b7cc
Remove unused wrapper functions and refactor
2025-12-10 18:50:35 -06:00
James Seibel
8f0930fa02
Allow world gen limits on singleplayer
2025-12-10 07:09:29 -06:00
James Seibel
c1c4328fa5
rename API getSoftCache -> createSoftCahe
2025-12-09 20:57:27 -06:00
James Seibel
91240e4f7a
disable mip-mapping on textures
...
necessary to fix MC 1.21.11 rendering
2025-12-09 20:57:09 -06:00
James Seibel
17c61a97cc
revert long windows filepath char
2025-12-09 07:21:40 -06:00
James Seibel
b78b852ffb
Merge branch 'batchGenRefactor'
2025-12-09 07:16:18 -06:00
James Seibel
26d4220967
Add logging/messaging for corrupted DB files
2025-12-09 07:12:33 -06:00
James Seibel
5edc73cc03
enable long file paths for the config file
2025-12-06 12:28:22 -06:00
James Seibel
6fcfc9379e
Fix repo unit tests
2025-12-06 12:27:53 -06:00
James Seibel
149fbccfa5
Merge branch 'batchGenRefactor'
2025-12-06 12:19:17 -06:00
James Seibel
5ca754d2ac
Fix world gen progress config resetting on reboot
2025-12-06 09:18:34 -06:00
James Seibel
f13744e858
Add thread pool priority setting
...
Setting this to 1 higher than C2ME can reduce issues with Chunky overwhelming DH.
2025-12-05 07:35:16 -06:00
James Seibel
64ac218003
Improve empty LOD debugging slightly
2025-12-05 07:28:57 -06:00
James Seibel
385bd326cf
minor world gen related refactoring
2025-12-04 07:39:09 -06:00
James Seibel
4e9559f230
enable long file paths on windows for the DB
2025-12-02 07:07:17 -06:00
James Seibel
6ea864ef6b
TEST
2025-11-29 09:59:33 -06:00
James Seibel
4e96728c25
maybe fix concurrency error during world gen shutdown
2025-11-28 16:29:47 -06:00
James Seibel
1c44ef7f0c
minor reformatting
2025-11-28 16:23:36 -06:00
James Seibel
227d0d09ba
fix getDataPointAtBlockPos() relative Y
2025-11-28 15:53:47 -06:00
James Seibel
d7ba3fa724
fix LOD only mode when transparency is disabled
2025-11-28 15:53:38 -06:00
James Seibel
7e46adf469
add the ability to ignore update chunk pos
2025-11-28 10:48:42 -06:00
James Seibel
f43e2fa441
don't render thick snow layers
2025-11-28 09:39:03 -06:00
James Seibel
f9819d3d46
fix vanilla fading for MC versions before 1.21.5
2025-11-28 08:42:20 -06:00
James Seibel
19b23bea5f
add slow world gen warning config
2025-11-27 09:59:16 -06:00
James Seibel
d1c0f7ebb4
Update .editorconfig
2025-11-26 13:55:33 -06:00
James Seibel
5a4ddafbbb
Z_std_stream localization
2025-11-26 13:52:17 -06:00
James Seibel
7c40d96f2e
DhApiTerrainDataPoint to string
2025-11-26 13:52:07 -06:00
James Seibel
b535be16c0
auto merge API world gen data
...
done to reduce memory use with broken API world generators
2025-11-26 13:51:58 -06:00
James Seibel
22f5608f9a
hide the compressor config option
2025-11-24 14:31:42 -06:00
James Seibel
a498422843
stream cleanup 3
2025-11-24 14:30:17 -06:00
James Seibel
bfd6efb4a4
handle ZStd streams
2025-11-24 14:28:06 -06:00
James Seibel
c8c9df3a34
data stream cleanup
2025-11-24 14:15:23 -06:00
James Seibel
3349e5b898
clean up DhDataInputStream
2025-11-24 13:51:48 -06:00
James Seibel
ed7511ff6a
proof-of-concept block Zstd compression
2025-11-24 12:40:49 -06:00
James Seibel
8516e8f9ab
re-enable varint unit tests
2025-11-24 12:38:34 -06:00
James Seibel
47a4d1535f
minor variable refactoring
2025-11-22 11:01:53 -06:00
James Seibel
33a55dc7cd
Delete EventTimer.java
2025-11-22 09:30:00 -06:00
James Seibel
1b4f9e8942
minor throw/this cleanup
2025-11-22 09:24:31 -06:00
James Seibel
2537c4a259
Rename IBatchGeneratorEvnWrapper
2025-11-22 08:16:30 -06:00
James Seibel
b74b6e8068
minor RollingAverage refactor
2025-11-22 08:16:11 -06:00
James Seibel
25979d6a76
Move some exception logic into ExceptionUtil
2025-11-21 06:59:03 -06:00
James Seibel
3f287388d5
re-add biome blending to API config options
2025-11-18 07:42:43 -06:00
James Seibel
72d2ba6aae
comment out phantom buffer cleanup log
2025-11-18 07:32:58 -06:00
James Seibel
611ed4e24a
add mod note in memory low message
2025-11-18 07:32:48 -06:00
James Seibel
eac7a38e73
hopefully reduce the chance of downsampling holes
2025-11-18 07:32:18 -06:00
James Seibel
afd7da7763
Optimize full data update processing
2025-11-18 07:16:50 -06:00
James Seibel
ff7abb6a18
Fix rendering when Iris isn't installed
2025-11-16 16:11:40 -06:00
James Seibel
ca3f5da5de
Add unit test for data source merging speed
2025-11-16 15:30:16 -06:00
James Seibel
69012ab7e6
rename and cleanup data source update methods
2025-11-16 15:29:13 -06:00
James Seibel
e5e502b4f8
Remove unused/broken FullData LevelMinY
2025-11-15 19:09:16 -06:00
James Seibel
42dc0903de
Fix shaders when far clip fading is active
2025-11-15 18:20:47 -06:00
James Seibel
4b20637e47
Fix WorldGen after restarting generation
2025-11-15 12:07:53 -06:00
James Seibel
3257ae8480
replace server tick/world gen tick with a timer
2025-11-15 09:47:15 -06:00
James Seibel
a6ddc561a0
up protocol version 12 -> 13
2025-11-15 09:42:38 -06:00
James Seibel
7c82c9eb7b
add adj data to DTO en/decoding
2025-11-15 09:42:20 -06:00
James Seibel
3c62e18502
Fix gitlab getter Long/Int cast
2025-11-15 07:55:56 -06:00
James Seibel
eea5198fb6
Merge branch 'adjData'
2025-11-14 07:46:37 -06:00
James Seibel
b82a59ecbc
Speed up shutdown and reduce logging
2025-11-14 07:46:02 -06:00
James Seibel
6bfcf36687
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2025-11-13 07:19:19 -06:00
James Seibel
6fe0df7d0f
Don't duplicate adjacent data
2025-11-13 07:18:09 -06:00
James Seibel
b9746381eb
Add varint encoding for full data
...
Closes Merge !93
Thanks Ryan Hitchman!
2025-11-12 07:21:54 -06:00
s809
91dffa3c3e
Prevent auto-pause while pregen is running
2025-11-11 23:48:13 +05:00
James Seibel
6eb24ecde1
re-add GPU upload config including "none"
2025-11-10 07:33:03 -06:00
James Seibel
767753c004
add logging to infinite repo unit test
2025-11-10 06:56:24 -06:00
James Seibel
97442f8833
Fix config min/max validation default setup
2025-11-08 19:11:56 -06:00
James Seibel
62359e3dde
remove LOD load pref logging
2025-11-08 19:08:30 -06:00
James Seibel
b5199cfa87
Optimize ColumnBox building
2025-11-08 18:08:02 -06:00
James Seibel
f0acc73c56
Add compass Index to Edirection
2025-11-08 17:48:30 -06:00
James Seibel
f9dfc38bf1
Separate BlockBiomeWrapperPair from FullDataPointIdMap
2025-11-08 17:47:50 -06:00
James Seibel
5c5d39738e
minor reformating
2025-11-08 17:44:08 -06:00
James Seibel
27fb629c22
default unsafe UI values to config option
2025-11-08 17:41:07 -06:00
James Seibel
c374bf7ca8
test
2025-11-08 08:14:03 -06:00
James Seibel
7e04b12e37
Optimize PrefRecorder slightly
2025-11-07 07:41:59 -06:00
James Seibel
67637dbf10
detail level renaming
2025-11-06 21:50:43 -06:00
James Seibel
6456651d27
Handle non-adjacent data conversion
2025-11-06 21:28:25 -06:00
James Seibel
9343854b4a
Clean up data source getters
2025-11-06 07:42:58 -06:00
James Seibel
5fd8ed840f
Add adjacent data to FullDataDTO for faster loading
2025-11-06 07:35:23 -06:00
James Seibel
4d4d8fd8e9
Split up full data source provider into multiple classes
2025-11-04 07:46:06 -06:00
James Seibel
bf05965015
remove IDataSource
2025-11-02 07:20:07 -06:00
James Seibel
47569f2b3c
minor dataSourceHandler refactor
2025-11-01 16:33:07 -04:00
James Seibel
0567195f73
minor datasource renaming
2025-11-01 16:27:54 -04:00
James Seibel
e355366ffc
Clean up EDhDirection
2025-11-01 09:06:53 -04:00
James Seibel
3681d50eb2
minor comment cleanup
2025-11-01 08:42:25 -04:00
James Seibel
e0c143881f
Fix compression mode javadoc
2025-11-01 08:34:02 -04:00
James Seibel
2a49fdee7f
Add experimental loading option and perfRecorder
2025-10-28 07:46:53 -05:00
James Seibel
f39e06b6dc
remove unused interrupt check
2025-10-28 07:36:28 -05:00
James Seibel
0d5c454dd4
remove unused ColumnQuadView methods
2025-10-28 07:24:24 -05:00
James Seibel
1b447fdc98
Fix logger builder doubling DH name
2025-10-28 07:23:58 -05:00
James Seibel
d84ba05380
minor style reformatting
2025-10-27 06:52:36 -05:00
James Seibel
3e7f160fcd
Merge Fade apply shaders
2025-10-25 11:54:32 -05:00
James Seibel
dcaf334828
use same fade apply frag shader
2025-10-25 11:39:27 -05:00
James Seibel
789306ccff
Add far clip fading
2025-10-25 11:06:19 -05:00
James Seibel
e33fa3cb5e
Rename fade renderer -> Vanilla Fade renderer
2025-10-25 09:36:11 -05:00
James Seibel
8f99117066
Fix iris not setting face culling in the MC state manager
2025-10-25 08:38:29 -05:00
James Seibel
2136c0fe83
framebuffer name consistency fix
2025-10-25 08:37:11 -05:00
James Seibel
7a6cffe19d
Move getKeyedLevelDimensionName() to implementation
2025-10-23 07:17:46 -05:00
James Seibel
06bef93c82
run occlusion culling whenever saving a LOD
...
Also run culling for every column in an LOD, which improves compression by about 20%
- Thanks Scaevolus
2025-10-22 07:25:04 -05:00
James Seibel
939e45ce62
minor RenderBufferHandler optimization and bugfix
2025-10-19 16:40:57 -05:00
James Seibel
7f958269e4
Fix not reloading LODs on horizontal quality change
2025-10-19 16:16:35 -05:00
James Seibel
07e3091d13
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2025-10-19 16:06:24 -05:00
James Seibel
f7ece2b02e
Clean up LodRendering logic
2025-10-19 16:06:00 -05:00
s809
bd796c2ce0
Fix handling of empty server keys
2025-10-19 22:58:07 +05:00
s809
4e6be35da9
Merge branch 'feature/server-keys'
2025-10-19 22:57:50 +05:00
James Seibel
0e0e1e1b0f
Make LodRenderer a singleton
2025-10-18 11:42:36 -05:00
James Seibel
f4ab101403
Dh and level wrapper refactoring and commenting
2025-10-17 07:21:16 -05:00
James Seibel
0902d3f0f5
merge loggers and add logger builder
2025-10-15 17:37:08 -05:00
James Seibel
75c2758fd5
up version number 2.3.6 -> 2.3.7
2025-10-13 18:03:19 -05:00
James Seibel
9ddd917f3b
remove dev from version number
2025-10-13 16:32:29 -05:00
James Seibel
c5945b1254
remove unused EConfigEntryPerformance
...
It is a cool idea, but one that unfortunately never got implemented
2025-10-13 07:46:53 -05:00
James Seibel
9060579615
Fix world gen progress ui button
2025-10-13 07:42:46 -05:00
James Seibel
8f0217185f
Improve config gui object casting
2025-10-13 07:33:27 -05:00
James Seibel
656971b0b9
typo fixing for major config refactoring
2025-10-12 21:10:18 -05:00
James Seibel
5fa3a11024
major config backend refactoring
2025-10-12 20:56:15 -05:00
James Seibel
ed3d00bfce
up version number 2.3.5 -> 2.3.6
2025-10-11 20:55:36 -05:00
James Seibel
ba2681d7b2
remove dev from version number
2025-10-11 20:54:00 -05:00
James Seibel
168570f21f
minor lodRenderer refactor
2025-10-11 18:40:32 -05:00
James Seibel
b3928d3b1f
rename renderFade -> renderFadeTransparent
2025-10-11 11:14:03 -05:00
James Seibel
57aec6092c
comment out delayed save cache test to improve build speed
2025-10-10 07:00:32 -05:00
James Seibel
278f4b1642
move more logic into a global RenderState
2025-10-10 06:58:47 -05:00
James Seibel
26d0b5c571
disable world gen progress display by default
2025-10-09 20:12:31 -05:00
James Seibel
3cb8bbeaa7
Fix some tasks being dropped
2025-10-09 20:12:22 -05:00
James Seibel
009cfdce93
Fix VANILLA_CHUNKS API world gen
2025-10-08 17:27:04 -05:00
James Seibel
463565384b
Re-add biome blending
2025-10-05 16:23:09 -05:00
James Seibel
aed5bb4163
Separate DH pool threads and new executor "Render Loader"
...
Having separate threads for each task behind the scenes allows for easier performance monitoring vs having a single threadpool that handles everything.
2025-10-04 20:10:10 -05:00
James Seibel
bd517e54cf
remove duplicate "thread" name in ticker threads
2025-10-04 19:54:19 -05:00
James Seibel
b323b7e52d
rename uniforms in SSAO shader
2025-10-04 13:45:18 -05:00
James Seibel
32b3eac589
add nullable attributes to world getters
2025-10-04 10:48:34 -05:00
James Seibel
569a5442a9
fix a potential null pointer on world shutdown
2025-10-04 10:26:53 -05:00
James Seibel
25213cae39
Fix noise texture only applying changes on level change
2025-10-04 10:26:34 -05:00
James Seibel
82bb5ef64e
fix typo in far falloff
2025-10-03 06:58:04 -05:00
James Seibel
a8748471df
Handle null pointer on server shutdown
2025-10-02 20:29:42 -05:00
James Seibel
721124b886
Write custom timeout logic for DelayedDataSourceCache
...
This should make the code a bit more transparent vs using the CacheBuilder, plus hopefully resolve a concurrent writing issue that causes monoliths
2025-10-02 20:29:26 -05:00
James Seibel
85e52301d6
typo in ApiEventInjector
2025-10-02 18:08:47 -05:00
James Seibel
08ede3351d
Add DhApiChunkProcessingEvent
2025-10-02 18:03:27 -05:00
James Seibel
9690c898b0
handle null pointer on server shutdown
2025-10-02 07:33:05 -05:00
James Seibel
328336bd29
Allow unbinding Dependencies
...
TODO replacing may be a better way to handle it
2025-10-02 07:32:58 -05:00
James Seibel
75f0061d97
remove unused ServerPlayerWrapper methods
2025-10-02 07:07:31 -05:00
James Seibel
be87c79b1b
Handle a few rendering setup edge cases
2025-10-02 07:07:22 -05:00
James Seibel
12a885aa6e
Manually close compression streams to try reducing GC reliance
2025-09-29 17:21:01 -05:00
James Seibel
d33be490a7
cull LOD rendering on the quad tree
2025-09-29 07:28:03 -05:00
James Seibel
cb654f2429
replace IConfigEntry apiValuePresent -> apiIsOverriding
2025-09-28 16:16:31 -05:00
James Seibel
2705cb679e
minor config handler refactoring
2025-09-28 16:14:22 -05:00
James Seibel
372fcedc7c
add IConfigEntry.apiValuePresent
2025-09-27 20:58:15 -05:00
James Seibel
25e909203d
prep for Config UI refactoring
2025-09-27 20:55:37 -05:00
s809
b312582ce4
Add global bandwidth limit setting
2025-09-26 21:45:10 +05:00
James Seibel
73324c71ec
Force Mac upload method to DATA
...
Maybe will help with crashing/memory corruption?
Data is the most basic upload method in GL so Mac should be able to support it a lot better than BUFFER_STORAGE.
2025-09-24 07:23:14 -05:00
James Seibel
0cdb5cf0ec
Remove Mac state validation option
2025-09-24 07:13:51 -05:00
James Seibel
cbfb1625bc
add extra logic to proof-of-concept java swing UI
2025-09-21 21:28:56 -05:00
James Seibel
25e69d03ba
Make config lang test return empty string if up to date
2025-09-21 21:28:36 -05:00
James Seibel
9564f02283
maybe fix freebsd OS crashing
2025-09-20 22:40:53 -05:00
James Seibel
9e7378be63
Merge branch 'merge-bedrock'
2025-09-20 16:16:36 -05:00
James Seibel
2495c38dc2
Merge branch 'merge-bedrock'
2025-09-20 15:23:34 -05:00
James Seibel
17fcdb428c
finish glproxy comment
2025-09-20 15:14:28 -05:00
James Seibel
944e4f9cb4
Add experimental option to maybe help with Mac crashing
2025-09-20 15:10:54 -05:00
James Seibel
7c0b746220
re-add notnull anotation to ClientPluginChannelApi
2025-09-20 14:21:29 -05:00
Fabian Maurer
b4cb390333
Use correct Supplier interface (1.7.10)
...
It works on modern since
com.google.common.base.Supplier implements
java.util.function.Supplier
but that is not guaranteed
2025-09-19 14:16:36 +02:00
Fabian Maurer
15cda35434
Remove dependency on org.checkerframework (1.7.10)
2025-09-19 14:16:36 +02:00
Fabian Maurer
361d251aa2
Replace isLessSpecificThan with helper function (for 1.7.10)
2025-09-19 14:16:36 +02:00
Fabian Maurer
a565e7d906
User older netty functions (1.7.10)
2025-09-19 14:16:36 +02:00
James Seibel
57bbb12b39
Fix "CUSTOM" quality preset when Iris is present
2025-09-16 07:44:18 -05:00
James Seibel
df17c1cc1b
include world gen chunk/sec rate in progress log
2025-09-14 08:18:37 -05:00
James Seibel
a4f7aad306
change world gen progress message to reduce confusion
2025-09-14 08:18:14 -05:00
James Seibel
1b2c1a59f9
Improve world gen task queue speed slightly
2025-09-13 17:59:39 -05:00
James Seibel
f0bcf88b35
cache a few repo sql strings
2025-09-13 17:06:33 -05:00
James Seibel
5dbda75c0b
add a unit test for SQL update performance testing
2025-09-13 17:01:40 -05:00
James Seibel
5caa945925
remove sea level from level wrapper
2025-09-11 07:07:21 -05:00
James Seibel
6bdfee3636
remove unexplored terrain rendering
2025-09-11 07:06:15 -05:00
James Seibel
1ec536b7df
Add unexplored ocean for overworld
2025-09-10 07:46:21 -05:00
James Seibel
9ffda4d43e
ColumnRenderSource doesn't need to be a IDataSource
2025-09-07 16:15:26 -05:00
James Seibel
670ec28b6f
improve lod load time slightly
...
done by caching the ClientLevelWrapper used to determine block colors
2025-09-07 16:15:05 -05:00
James Seibel
771814af98
Fix typo in config
2025-09-06 22:10:24 -05:00
James Seibel
90f1d38233
make unexplored fog slightly lighter
2025-09-06 11:59:44 -05:00
James Seibel
54a4f380bd
change world gen wireframe height to match unexplored fog
2025-09-06 11:59:44 -05:00
James Seibel
bab421c381
add a config for unexplored fog
2025-09-06 11:59:44 -05:00
James Seibel
9c285c17a9
lower unexplored fog slightly
2025-09-06 11:59:44 -05:00
James Seibel
470a9ce8f1
Close #1036 (LODs reloading twice on config change)
...
Also clean up config event handling
2025-09-06 11:59:44 -05:00
James Seibel
d6b79f8b06
fix concurrency issue during unexplored fog setup
2025-09-06 11:59:44 -05:00
James Seibel
71f1dce956
Add unexplored fog
2025-09-06 11:59:44 -05:00
James Seibel
9857eb337f
Add remove(obj) and remove(index) to RenderableBoxGroup
2025-09-06 11:59:44 -05:00
James Seibel
bced9938f3
Add unexplored fog proof of concept
2025-09-06 11:59:25 -05:00
James Seibel
7f46257e1a
add TODO to testRenderer
2025-09-06 09:33:49 -05:00
James Seibel
5f8b566486
improve generic obj render perf logging
2025-09-06 09:33:29 -05:00
James Seibel
9fe2a3fa7b
minor dontMergeColoredColumns reformat and comment
2025-09-06 08:53:09 -05:00
James Seibel
eb6750bb8d
Merge branch 'dontMergeColoredColumns'
2025-09-06 08:38:58 -05:00
James Seibel
e86487ab9d
Fix LOD-only rendering mode
2025-09-06 08:38:34 -05:00
James Seibel
5423b49f3d
Merge !83 (Improve Chunk Update Queue)
2025-09-05 22:23:25 -05:00
James Seibel
a2c6f906fa
update compression unit test file path
2025-09-05 07:10:49 -05:00
Fabian Maurer
d51474a64a
Don't merge blocks that get colored by blocks above into columns
2025-09-04 17:56:54 +02:00
James Seibel
5b41c7d48a
add (native) ZStd compression as default compressor
2025-09-03 07:39:58 -05:00
s809
034ec7d656
Bump protocol version
2025-08-16 21:01:45 +05:00
s809
fb5e15a2f1
Add a server keys feature
2025-08-16 20:59:28 +05:00
s809
674fc30e77
Replace pooled buffers with unpooled
2025-08-07 17:55:22 +05:00
s809
a05bd307f9
Reduce network logging by default
2025-07-27 23:21:13 +05:00
James Seibel
d78a50ce49
up version number 2.3.4 -> 2.3.5
2025-07-19 14:59:14 -05:00
James Seibel
013eab9268
add space to self updater warning log
2025-07-19 14:57:22 -05:00
James Seibel
435cbde238
remove dev from version number
2025-07-19 14:56:53 -05:00
s809
d7040bad13
Load level on player add if missing
2025-07-19 19:05:52 +05:00
James Seibel
a588070ce1
up version number 2.3.3 -> 2.3.4
2025-07-12 09:35:05 -05:00
James Seibel
d156772438
remove dev from the version number
2025-07-12 09:34:18 -05:00
James Seibel
de7ae41769
Fix API config renderingEnabled() changing the user value
...
Fixes #1083
2025-07-12 08:16:35 -05:00
James Seibel
618ad1938b
full data DTO close data source if corrupted
2025-07-10 22:24:33 -05:00
James Seibel
5b10263f82
minor format cleanup
2025-07-10 07:27:23 -05:00
James Seibel
34f914c52f
Mark a unit test as deprecated
...
Done to suppress warnings in compiler log
2025-07-10 07:26:41 -05:00
James Seibel
67b766c674
Fix monoliths when connected to a server
2025-07-10 07:26:14 -05:00
James Seibel
a3e7469203
Fixes !1078 (lag due to beacon updating on server)
2025-07-09 07:28:25 -05:00
James Seibel
4ecaa6a9a1
Potentially fix an issue with AMD GPU shader compiling
...
Fix from Cortex and the Canvas mod
2025-07-08 07:22:36 -05:00
James Seibel
24f9dadc58
Disable vanilla fading when shaders are active
2025-07-07 07:49:36 -05:00
s809
b3ebaffa85
Disable enableAdaptiveTransferSpeed bby default
2025-07-01 22:03:12 +05:00
James Seibel
b7ac1909d6
Fix config UI changes not always saving
2025-07-01 07:45:26 -05:00
James Seibel
32c3118afa
comment out Z_STD compression
2025-06-30 06:54:27 -05:00
James Seibel
3a525f53f0
Rename world gen mode "Internal Server" -> "Full - Save Chunks"
2025-06-28 13:57:58 -05:00
James Seibel
f3947312c1
Re-Add Z_STD compression for testing
2025-06-28 11:37:06 -05:00
James Seibel
839ea1e778
increase ram amount for unit tests
...
needed for compression tests
2025-06-28 11:36:17 -05:00
James Seibel
d2becd2c03
Fix rare fade error when restarting the LodRenderer
2025-06-28 10:45:36 -05:00
James Seibel
7d87347199
Fix multiplayer null pointer
2025-06-28 09:22:23 -05:00
James Seibel
f4117751c9
Fix world-gen progress not showing in release builds
2025-06-27 07:29:31 -05:00
James Seibel
a8a085f296
Move RenderState to core
2025-06-26 07:50:53 -05:00
James Seibel
317319593e
rename renderDeferredLods -> renderDeferredLodsForShaders
2025-06-25 07:47:08 -05:00
James Seibel
4633f90a03
Add null handling to ServerPlayerStateManager.handlePluginMessage()
2025-06-25 07:45:43 -05:00
James Seibel
5802bbb3f3
keep cave culling for medium quality preset
...
This may be changed back at some point in the future, but depending on the usecase (IE vanilla survival) cave culling is generally better than not having it, and if people see weirdness they can probably guess that increasing the quality preset may fix it.
2025-06-23 07:23:26 -05:00
James Seibel
e93d5b90f1
Disable cave culling for medium quality and higher
2025-06-17 07:15:28 -05:00
James Seibel
9be56607a5
Reduce stuttering with fast world gen
2025-06-14 16:17:28 -05:00
James Seibel
91743bf742
Add Api Before/After Text Create events
...
Deprecate DhApiColorDepthTextureCreatedEvent since it is less obvious when it fires
2025-06-09 07:50:21 -05:00
James Seibel
d40d293f54
Fix hash collisions in FullDataPointIdMap
2025-06-06 07:43:38 -05:00
James Seibel
a075e60e3e
Fix GLMC.glDeleteTextures() calls
2025-06-04 07:07:39 -05:00
s809
d72c7c3695
Check LOD timestamps in file handler threads
2025-06-03 23:41:47 +05:00
Ran
309fa07664
Merge branch 'fix_max_y' into 'main'
...
Fix max Y validation
See merge request distant-horizons-team/distant-horizons-core!85
2025-05-18 00:32:51 +00:00
Stewart Borle
0a017567c4
Fix max Y validation
2025-05-18 00:32:51 +00:00
James Seibel
e01261da5c
Remove line ending from editorconfig
...
Done to fix some issues with some devs on linux
2025-05-17 11:47:00 -05:00
James Seibel
a0879d07c5
json indent 2 -> 4
...
for consistency
2025-05-17 11:25:18 -05:00
Ran
bbb15263f2
Fix gradle versioning
2025-05-03 11:21:05 +10:00
s809
5ca3563c66
Bump protocol version
2025-05-03 00:08:03 +05:00
s809
30256a2779
Send scaled generation bounds coordinates
2025-05-03 00:08:03 +05:00
Ran
4b4f10f5e6
Fix gradle versioning for core application
2025-05-02 12:44:25 +10:00
s809
ad995544f7
Use bytesReceived instead of decreasing multiplicatively
2025-04-20 23:59:34 +05:00
s809
d521e931f4
Change data send tick rate 4 -> 20
2025-04-20 18:26:07 +05:00
s809
dd30a8274a
Add a config entry and refactor
2025-04-20 18:25:27 +05:00
s809
3ca5efadc9
Adaptive data transfer speed
2025-04-20 03:02:18 +05:00
Ran
09174c2d2a
Improve LodDataBuilder.java
...
- Use bitwise modulo
- Don't compute certain things 256 times when they can be computed once.
- Removed expressions that are always false
- Improved comments
2025-04-11 11:24:16 +10:00
James Seibel
e079b28e77
maybe break n-sized rendering but fix LOD loading getting stuck
2025-04-07 06:56:53 -05:00
James Seibel
136124a703
up version number 2.3.2 -> 2.3.3
2025-04-05 09:11:19 -05:00
James Seibel
3ed50e5134
remove dev from version number
2025-04-05 09:10:01 -05:00
James Seibel
b5e3e6867c
Improve DH world gen progress message
2025-04-02 07:25:14 -05:00
James Seibel
3e04342148
Add FIXME comments to Lod and Fade renderers
2025-04-02 07:24:38 -05:00
James Seibel
6699b568df
Fix memory leaks due to un-closed thread pools and worlds
...
How did it take this long to realize the DhWorld objects were never being closed?
2025-03-30 17:30:57 -05:00
James Seibel
53bee4ad42
Remove unused code in LodRenderer
2025-03-30 16:55:01 -05:00
James Seibel
5d5e462221
Fix the sun/moon and stars not rendering
2025-03-30 16:49:58 -05:00
James Seibel
d9b924cfed
Fix beacon beams now going through some blocks
2025-03-30 15:23:19 -05:00
James Seibel
8bd70d593c
Fix flashing on MC 1.21.5 in non-overworld dimensions
2025-03-30 14:36:51 -05:00
James Seibel
5597044604
don't log InterruptedException during threadPool shutdown
2025-03-29 20:11:31 -05:00
James Seibel
5d7c043d06
Fix fog for MC 1.16.5
2025-03-29 19:22:51 -05:00
James Seibel
4aac61b37f
hide repo double close warnings in release
2025-03-29 15:39:45 -05:00
James Seibel
22460fa1f5
Fix duplicate world gen due to short memoization time
...
Reverts 276f2adf00
2025-03-29 15:30:28 -05:00
James Seibel
2d127c7d98
Fix an infinite loop in the lighting engine
...
Not sure how I didn't catch this until MC 1.21.5
2025-03-29 15:29:34 -05:00
James Seibel
91e17c420a
Fix SSAO applying to sky
2025-03-29 10:31:48 -05:00
James Seibel
93f5a85cb5
Fix MC 1.21.5 rendering and bright glass on sky
2025-03-29 10:31:34 -05:00
James Seibel
b275971486
re-add stencil to GL state
...
shouldn't be needed, but just in case
2025-03-29 09:52:41 -05:00
James Seibel
1234ff4d28
up version number 2.3.1 -> 2.3.2
2025-03-25 07:17:27 -05:00
James Seibel
f9bd7e2daf
remove dev from version number
2025-03-25 07:16:43 -05:00
James Seibel
8ec4e235eb
Add config to only log GL errors once
2025-03-19 22:02:53 -05:00
James Seibel
b8a59d0ef6
Attempt to fix Linux complaining about glIsFramebuffer()
2025-03-19 18:34:02 -05:00
James Seibel
e500143781
Potentially fix GL errors when accessing the default FBO on Linux
2025-03-19 17:00:30 -05:00
James Seibel
406468b54c
Fix restoring textures to the default FBO
2025-03-18 20:18:13 -05:00
James Seibel
6857300ae2
Add stack tracing to GL error logging
2025-03-18 18:10:00 -05:00
James Seibel
6775ee23c3
fix passing in the wrong flags to glBufferStorage()
...
Might Resolve #964 and #950
2025-03-18 07:43:20 -05:00
James Seibel
44645943e2
Fix terrain API repo failing if no cache was provided
2025-03-18 07:42:31 -05:00
James Seibel
f385c4a56b
Fix changing graphics settings on world load via API
2025-03-16 14:29:56 -05:00
James Seibel
0cf5e6d594
Fix GL error logging
2025-03-14 10:17:52 -05:00
James Seibel
7b5b8da0d2
decrease gen message timeout 5 -> 2 seconds
...
done to make it consistently appear
2025-03-13 21:17:01 -05:00
James Seibel
851f2ccd06
Add additional error checking/handling to Shader compiling
2025-03-13 21:12:29 -05:00
James Seibel
6c40389c07
up version number 2.3.0-b -> 2.3.1-b-dev
2025-03-08 08:11:01 -06:00
James Seibel
fada9e4cf6
Fix repo leak unit test failing in release
2025-03-08 08:10:43 -06:00
James Seibel
06198fdbb8
Revert "temporarily disable sqlite tests for release"
...
This reverts commit ebc1114a51 .
2025-03-06 07:43:14 -06:00
James Seibel
3158eed5a3
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2025-03-06 07:42:32 -06:00
James Seibel
e701c0e5ea
remove dev from version number
2025-03-06 07:40:49 -06:00
James Seibel
ebc1114a51
temporarily disable sqlite tests for release
2025-03-06 07:40:24 -06:00
s809
d2ff4a5806
Add some debugging info for DTOs
2025-03-02 20:08:45 +05:00
s809
eb8563482e
Replace chunk counts with speed in pregen
2025-02-27 21:08:27 +05:00
s809
b53c33e454
Make generation info text a bit clearer
2025-02-27 21:08:02 +05:00
s809
2483671e5e
Should be division instead of multiplication
2025-02-26 23:16:58 +05:00
s809
cc4733b052
Offset generation bounds by teleportation scale
2025-02-26 22:13:38 +05:00
James Seibel
34e5463718
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2025-02-25 07:25:49 -06:00
James Seibel
53011a13be
duct tape fix to reduce chance of LOD uploading requiring MC reboot
2025-02-25 07:25:46 -06:00
s809
1c579675a2
Remember split section responses temporarily
2025-02-22 20:55:10 +05:00
James Seibel
69a4e6b27e
Add TODO about why LODs sometimes fail to load
2025-02-22 08:55:41 -06:00
s809
b05eb78f3a
Fix foreground thread sometimes blocking server shutdown
2025-02-19 21:17:38 +05:00
s809
83fabe3ee8
Show section numbers in pregen
2025-02-19 20:37:26 +05:00
s809
fdfab2b3a8
Use another method for enforcing non nsized generation
2025-02-19 20:15:34 +05:00
James Seibel
45c67d057a
Fix IDhApiConfigValue.clearValue() failing for some deprecated functions
2025-02-17 21:16:22 -06:00
James Seibel
c296795280
Fix DB leaks in FullDataV2Repo
2025-02-16 20:07:00 -06:00
James Seibel
2deb24ec1e
Add javadocs to ClientWrapper getPlayer Pos methods
2025-02-16 19:53:44 -06:00
James Seibel
5ab7a3030a
Fix DB leaks in FullDataV2Repo
2025-02-16 19:52:48 -06:00
James Seibel
1af4d23c14
improve DB leak tracking exception handling
2025-02-16 19:52:37 -06:00
James Seibel
977204abf0
Add DB leak tracking
2025-02-16 19:34:13 -06:00
James Seibel
276f2adf00
Revert 10 minute memoization for world gen
...
I thought this was only an issue for N-sized generation, but in testing found it to still be an issue for max-detail retrieval as well.
This will have to be looked into more another time
2025-02-15 11:56:21 -06:00
James Seibel
1b3c9e1a89
Fix beacon culling with auto overdraw prevention
2025-02-15 11:12:46 -06:00
James Seibel
6fbe0a9e72
Add missing cave blocks for cave culling
2025-02-15 11:06:43 -06:00
James Seibel
11a2b8bf5b
Add TODO to PriorityTaskPicker about VisualVM
2025-02-15 11:06:30 -06:00
James Seibel
99f2d2f844
Add TODO comment about Immersive Portals only rendering 1 level
2025-02-14 07:48:05 -06:00
s809
a5c029203c
Invert generateOnlyInHighestDetail and rename to enableNSizedGeneration
2025-02-11 22:08:25 +05:00
James Seibel
84015e4a40
Put N-sized generation and upsampling behind experimental configs
2025-02-11 07:47:24 -06:00
James Seibel
08f63470a5
Fix auto updater failing for nightly builds
2025-02-10 07:46:43 -06:00
James Seibel
f2404b6455
remove unneeded IVersionConstant methods
2025-02-08 11:39:18 -06:00
James Seibel
f20231ccbc
fix rare null pointer in sharedApi
2025-02-08 11:38:36 -06:00
s809
3a94bbe804
Reduce queue size back to improve responsiveness
2025-02-07 23:23:15 +05:00
s809
15f1754922
Improve ordering of reading positions to update a bit
2025-02-07 23:21:41 +05:00
s809
28448941e1
Keep update propagation queue filled
2025-02-07 23:20:24 +05:00
James Seibel
18c29b9810
Attempt to fix threadpool shutdown rejection exception
2025-02-07 07:25:57 -06:00
James Seibel
fa66cefbe2
Add comments to LodRenderSection memoized gen positions
...
also increase timeout from 15 sec -> 10 minutes
- done to test if memoization is actually needed
2025-02-07 07:14:50 -06:00
James Seibel
f7dc46cb55
Increase full data update task count to reduce down time
2025-02-06 20:10:30 -06:00
James Seibel
5cebee3be4
Flush world gen memory cache when full
2025-02-06 20:08:28 -06:00
s809
532ac8fe01
Fix incorrect distance being used in update propagation SQL and reduce queue size
2025-02-07 01:05:14 +05:00
James Seibel
8385eeb62c
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2025-02-05 17:31:26 -06:00
James Seibel
95db6885e7
add error logging to FullDataRequestHandler
2025-02-05 17:31:13 -06:00
James Seibel
10a3840373
Fix empty data sources when moving in multiplayer or with N-sized world gen
...
Increases Protocol version 9 -> 10
2025-02-05 17:30:59 -06:00
James Seibel
cedaaa8a2e
replace a few implicit datasource V2 repo statement setters
2025-02-04 19:29:39 -06:00
James Seibel
2c7f11c722
Improve DhApiBeforeRenderEvent javadocs
2025-02-03 20:30:28 -06:00
James Seibel
4fbda8f02b
Fix render enabled config getting set by world gen progress config
2025-02-02 19:52:31 -06:00
James Seibel
b0bd536248
Fix compiling with missing "E"
2025-02-02 15:52:17 -06:00
s809
a3ed0012e3
Balance tasks in thread pool using elapsed time instead of priorities
2025-02-02 20:30:35 +05:00
s809
9952481d77
Do not request already fulfilled sections again until some time passes
2025-02-02 20:30:35 +05:00
s809
5e137ee10d
Auto-move old save data to new location
2025-02-02 20:30:35 +05:00
James Seibel
f02ea68b6f
Add missing Enum prefix to RequestResult -> ERequestResult
2025-02-01 16:08:15 -06:00
s809
1041e0a4dd
Remove generationProgressDisableMessageDisplayTimeInSeconds from server config command
2025-02-01 19:38:43 +05:00
s809
6fb862ecfe
Add GUI description for generateOnlyInHighestDetail
2025-02-01 19:38:25 +05:00
s809
1f8013c1cf
Use generateOnlyInHighestDetail client-side
2025-02-01 18:30:07 +05:00
s809
157d72d8dc
Decrease delay between missing generation rechecks
2025-01-31 14:54:18 +05:00
James Seibel
2c077f5224
Fix a null pointer in the chunk update queue
2025-01-30 20:13:53 -06:00
s809
6e5bd02ae0
Fix beacon beams flickering
2025-01-30 22:30:02 +05:00
s809
a7578b2a72
Process chunks only once with real-time updates enabled
2025-01-30 21:47:31 +05:00
s809
041cf4e0d4
Fix nightly self-updater after moving jars into zip root
2025-01-30 18:11:34 +05:00
s809
bb1154b036
Revert "Improve chunk processing throughput"
...
This reverts commit dd3903f66e .
2025-01-28 20:05:59 +05:00
James Seibel
9c9c90e786
Improve world gen import hiding message
2025-01-26 17:47:28 -06:00
James Seibel
3dbd05a4ae
minor beacon beam height merge cleanup
2025-01-26 17:41:46 -06:00
James Seibel
042a0b6853
Merge branch 'distant-horizons-core-main'
2025-01-26 17:40:15 -06:00
James Seibel
39c621b8d9
Remove locks from LodRenderSection uploading
2025-01-26 17:12:39 -06:00
James Seibel
dd3903f66e
Improve chunk processing throughput
2025-01-26 17:05:37 -06:00
James Seibel
2d1859c77d
change low memory warning to 4GB or more
2025-01-26 16:53:11 -06:00
James Seibel
d62a801c43
Reduce locking in SharedApi.UpdateChunkPosManager
2025-01-25 10:10:10 -06:00
James Seibel
cb40336fda
Increase rolling average window for world gen queue
...
This should reduce fluctuations a bit
2025-01-24 21:53:13 -06:00
James Seibel
766c831af0
fix recalculate heightmap breaking stairs, slabs, and glass
2025-01-24 07:22:11 -06:00
s809
736df9f848
Check if session is ready before ignoring local chunks
2025-01-24 11:20:37 +05:00
James Seibel
a347caafed
Fix holes when moving with N-sized world gen/server side support
2025-01-23 19:44:58 -06:00
James Seibel
2d5902df28
Fix data source leaks for custom world generators
2025-01-23 19:38:01 -06:00
James Seibel
29e496757a
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2025-01-23 19:16:33 -06:00
James Seibel
7cf05ed31d
Fix rare concurrency error on world gen shutdown
2025-01-23 19:15:55 -06:00
James Seibel
e7eb8e24ae
Speed up PhantomArrayListPool for large checkouts
2025-01-23 19:15:42 -06:00
s809
cdca7723a7
Ignore local chunks if realtime updates are enabled
2025-01-23 23:21:13 +05:00
s809
e0a0ba5222
Fix full data source being released too early
2025-01-23 22:06:20 +05:00
James Seibel
0f88c7c231
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2025-01-22 21:31:20 -06:00
James Seibel
d9911f64b9
Simplify Full data hash logic to speed up saving
2025-01-22 21:31:07 -06:00
s809
8bddd6d503
Fix column order check breaking on tiny columns 2
2025-01-23 00:18:33 +05:00
s809
9b261f6472
Fix column order check breaking on tiny columns
2025-01-23 00:15:12 +05:00
James Seibel
00559b5d34
Remove unneeded locks and speed up FullDataId Entry retrieval
2025-01-22 07:16:04 -06:00
James Seibel
9cae54a079
Show instructions to disable world gen progress message for short time
2025-01-21 07:49:30 -06:00
James Seibel
363ec76450
fix isClosedException name
2025-01-21 07:07:33 -06:00
s809
ebd00df388
Fix task splitting causing generation of already generated sections
2025-01-21 17:26:54 +05:00
James Seibel
13882f44ce
minor LodRenderSection rename
2025-01-20 21:51:04 -06:00
James Seibel
fce1fa3f41
Fix cached RenderSource closing while in use
2025-01-20 21:50:33 -06:00
James Seibel
fab8191ddd
remove unneeded wal flush logic
2025-01-20 07:39:04 -06:00
James Seibel
582541d240
handle additional DB closed message on DTO get
2025-01-20 07:38:40 -06:00
s809
f609dcb468
Merge remote-tracking branch 'origin/main'
2025-01-20 11:00:13 +05:00
s809
a69936ca69
Merge branch 'feature/generation-bounds'
2025-01-20 10:59:11 +05:00
James Seibel
8c81c867b6
merge
2025-01-19 17:42:45 -06:00
James Seibel
995f80d553
Fix beacons disappearing and not updating correctly
2025-01-19 17:42:14 -06:00
s809
08f36b4371
Lower the log level of rate limit hits
2025-01-18 17:02:35 +05:00
s809
3d8d8bc0f7
Add generation bounds
2025-01-18 16:42:57 +05:00
s809
54a7cbcb84
Add a check for duplicate config command names and fix duplicate name
2025-01-18 16:26:33 +05:00
s809
a908fcdb69
Change valueConstrainer type in SessionConfig
2025-01-18 16:25:34 +05:00
s809
9f52a86b9e
Return pooled objects after receiving LODs
2025-01-16 21:12:16 +05:00
James Seibel
09962acca6
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2025-01-16 07:20:06 -06:00
s809
f83725f05e
Fix server not shutting down, again
2025-01-15 23:34:38 +05:00
s809
2afc7df596
Increase pregen rolling average 5x
2025-01-15 21:43:40 +05:00
James Seibel
663ad74724
Add missing localization
2025-01-14 21:34:42 -06:00
James Seibel
342a15b611
minor formatting fix
2025-01-14 21:19:36 -06:00
James Seibel
0518da6872
remove Logger.errorAndThrow()
2025-01-14 21:17:53 -06:00
James Seibel
a3263ba5ba
remove unneeded debug log
2025-01-14 19:48:25 -06:00
James Seibel
630547d794
Reduce holes when flying around a partially loaded world
2025-01-14 07:35:33 -06:00
James Seibel
0a9913e24d
Fix errors when using LZ4 compression
2025-01-14 07:17:40 -06:00
James Seibel
f3368f5a07
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2025-01-14 07:03:39 -06:00
James Seibel
1913e09303
Put several queries in try-finally blocks
...
this prevents leaks
2025-01-14 07:03:12 -06:00
s809
863bfbaff5
Release full data sources after sending to clients
2025-01-13 23:37:22 +05:00
James Seibel
8b88816499
add commented out WAL flushing logic
2025-01-13 07:02:41 -06:00
s809
fbecc8e02d
Use dynamic precision for displaying pregen status
2025-01-12 21:56:48 +05:00
James Seibel
68e281d299
Remove year range from licensing headers
...
The license is still valid, now I just don't have to update them every year
2025-01-11 21:26:51 -06:00
James Seibel
9ede311c40
reminder comment about potential LodQuadTree concurrent issue
2025-01-11 21:06:47 -06:00
James Seibel
4f47c78acc
Fix chunk updates not applying as soon as they should
2025-01-11 20:11:42 -06:00
James Seibel
9a3d36757f
Add automatic overdraw prevention to improve fading
2025-01-11 17:59:21 -06:00
James Seibel
9adcfd8143
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2025-01-11 14:56:18 -06:00
James Seibel
8af67c8fcf
minor comment add
2025-01-11 13:36:58 -06:00
James Seibel
ac2bfd98cd
fix rare columnRenderBuffer future nullpointer
2025-01-11 13:36:47 -06:00
James Seibel
c80abeb567
Fix LodQuadTree render source leaks
2025-01-11 13:36:37 -06:00
s809
88ef153bc7
Pregen improvements
2025-01-11 23:55:16 +05:00
James Seibel
5c96937ab4
Fix CPU bottle neck for world gen when updating beacons
2025-01-11 10:50:24 -06:00
James Seibel
cc2b7f6078
Fix some generic object rendering concurrent modification issues
2025-01-11 09:35:31 -06:00
James Seibel
fd658a3d5b
add missing renderableBoxGroup GLMC calls
2025-01-11 09:31:19 -06:00
Jan Trummer
9dcc7e1ad2
Replace set with setMinDefaultMax
2025-01-11 16:05:58 +01:00
James Seibel
a577d69e8c
Re-add a missing GLState revertion
2025-01-11 08:22:22 -06:00
Jan Trummer
72139f1f59
Add config to set max beacon render height
2025-01-11 13:38:44 +01:00
James Seibel
14c6707ff9
Fix compiling, forgot to move some QuadTree objects
2025-01-10 22:16:11 -06:00
James Seibel
3c1d9f3e3f
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2025-01-10 21:58:04 -06:00
James Seibel
430942788d
Fix rendering LODs from different levels after changing dimensions
2025-01-10 21:57:51 -06:00
s809
ec19e43216
Add pregen command
2025-01-11 02:55:04 +05:00
James Seibel
29040519e0
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2025-01-10 07:26:30 -06:00
James Seibel
f93b57e935
Improve initial LOD loading speed and add KeyedLockContainer
2025-01-10 07:26:27 -06:00
s809
ea34e9514b
Simplify executor task submitting logic
2025-01-10 12:42:16 +05:00
James Seibel
506b2b0f7b
Fix delayedSaveCache and fix slow LOD updating regression
2025-01-09 21:26:51 -06:00
James Seibel
ffc982ba55
Fix a couple error messages
2025-01-09 21:23:43 -06:00
James Seibel
2936215f46
replace stacktrace prints with loggers
2025-01-09 18:43:52 -06:00
James Seibel
e8956392cf
Improve initial LOD loading speed and allow removing executor tasks
2025-01-09 18:33:28 -06:00
James Seibel
fc87a1201d
add logger to GitlabGetter
2025-01-09 17:26:43 -06:00
James Seibel
eb7b03fbfe
fix some data sources not being caught and closed
...
This should further reduce the max memory needed.
DelayedFullDataSourceSaveCache is problematic due to not properly closing all data sources it creates and has been deprecated and removed.
2025-01-09 17:19:49 -06:00
s809
f10c21f0a3
Change priorities a bit
2025-01-08 19:59:15 +05:00
s809
12e7aaa7b2
Ignore task rejections if shutting down
2025-01-08 18:46:19 +05:00
s809
475574d6fa
Use separate debug renderer for sync on load
2025-01-08 17:18:49 +05:00
s809
c660aa9fb3
Fix server generation constantly subdividing in INTERNAL_SERVER mode
2025-01-08 14:33:57 +05:00
James Seibel
54cbead4eb
Improve auto updater logging and fix potential issues with updating
2025-01-07 21:33:34 -06:00
James Seibel
a49d74763a
Add quick config to show/hide world gen progress
2025-01-07 20:30:29 -06:00
James Seibel
e3722f2894
Fix missing LODs (especially when world gen is active)
2025-01-07 20:14:41 -06:00
James Seibel
5f76aaee97
Fix missing method from merge
2025-01-07 20:14:01 -06:00
James Seibel
cd39831665
merge
2025-01-07 20:00:33 -06:00
James Seibel
036b42d197
Add world gen progress updates to the overlay
2025-01-07 19:18:21 -06:00
s809
fbd73b9b11
Fix some small issues and add comments
2025-01-07 17:08:19 +05:00
s809
7e222b7555
Merge branch 'refactor/thread-pool-executors'
2025-01-07 16:36:41 +05:00
s809
06b8f88403
Force highest detail in INTERNAL_SERVER mode
2025-01-07 02:35:53 +05:00
s809
56c09f5f5c
Add a config option to force server to always send only the highest detail
2025-01-07 01:25:31 +05:00
s809
c49a61f118
Add more comments
2025-01-07 00:05:16 +05:00
s809
14cd0c4b09
Refactor thread pool handling
2025-01-06 23:32:20 +05:00
James Seibel
6ce6145912
Log a warning if the vanilla render distance is too high
2025-01-05 19:15:11 -06:00
s809
2c8c1e478d
Remove + on start of the line
2025-01-04 23:31:25 +05:00
s809
a444e3b974
Add comments to UPDATE_POS_MANAGER.maxSize and refactor
2025-01-04 22:11:17 +05:00
James Seibel
fa61e62df9
Add more detail to CPU preset config tooltip
2025-01-04 10:02:35 -06:00
James Seibel
b8037e3bea
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2025-01-04 09:48:30 -06:00
James Seibel
e0baf9be93
minor jarUtil comment change
2025-01-04 09:48:22 -06:00
James Seibel
673e7d14dd
make ModInfo.IS_DEV_BUILD final
2025-01-04 09:45:08 -06:00
James Seibel
4f3e867e0b
Fix chunk update queue max count for multiplayer player counts
...
also fix variable/logging
2025-01-04 09:42:05 -06:00
James Seibel
476b96bca6
prevent infinitely growing memory when rapidly changing between dimensions
2025-01-04 09:40:32 -06:00
James Seibel
6a9986ccd3
Move networked chunk updating to the LodBuilder thread
...
This is done both to prevent starvation, infinitely growing tasks/memory, and simplify the AbstractDhServerLevel.updateDataSourcesAsync() method.
2025-01-04 09:40:01 -06:00
James Seibel
4dd2faad67
Hide disableUnchangedChunkCheck from the UI
2025-01-04 09:31:52 -06:00
James Seibel
9622fc3bd7
Use soft references in array pool to prevent some memory crashes
...
Also log if there isn't enough memory
2025-01-04 09:31:42 -06:00
James Seibel
31490f97b9
add missing "this" to QuadElementBuffer
2025-01-04 09:02:50 -06:00
James Seibel
cc006ebb5d
limit queued render section loading to fix memory ballooning
2025-01-04 09:02:29 -06:00
James Seibel
184f261d6b
Add deprecated Purge to RateLimitedThreadPoolExecutor
2025-01-04 08:58:33 -06:00
s809
a916fe1db1
Add a comment to priority calculation
2025-01-04 19:44:23 +05:00
s809
8686e1727f
Move ThreadPoolExecutor#beforeExecute into correct place
2025-01-04 19:25:30 +05:00
s809
e770943fc9
Improve task prioritization
2025-01-04 19:23:25 +05:00
s809
5a31be1e42
Fix re-queueing of positions to reload cancelling the tick
2025-01-04 19:23:25 +05:00
s809
6774a84f61
Remove unused field
2025-01-04 19:23:25 +05:00
James Seibel
770fc10cdf
Add missing types to GLEnums.getString()
2025-01-03 15:58:27 -06:00
James Seibel
aa8659f62d
Fix sqlite memory leaks
2025-01-03 14:46:53 -06:00
s809
5c03c6d99d
Check for updates on launch on dedicated servers
2025-01-03 00:30:03 +05:00
s809
56e430dff2
Rename serversideShortName to chatCommandName
2025-01-02 19:42:57 +05:00
s809
3648c83b2a
Convert section pos to readable format in one of logs
2025-01-01 21:24:15 +05:00
s809
3b1f49e0b7
Group related /dh config commands
2025-01-01 19:59:35 +05:00
s809
fb78b68b96
Use correct world folder name in LAN level key prefix
2025-01-01 18:13:21 +05:00
s809
38611237ac
Remove renderDistanceRadius from server config
2025-01-01 18:12:45 +05:00
James Seibel
2bbc2440fb
Add validateBufferIdsBeforeRendering config
2024-12-31 09:08:10 -06:00
James Seibel
570b7d1757
Potentially fix EXCEPTION_ACCESS_VIOLATION rendering crash
...
Fixes a race condition where a OpenGL buffer ID may be deleted after it has been created for a different buffer object.
2024-12-31 09:07:14 -06:00
James Seibel
6d6d142cf3
Add logging when a repo has finished closing
2024-12-30 20:44:28 -06:00
James Seibel
6c23990be2
Add number formatting to migration progress log
2024-12-30 20:44:06 -06:00
James Seibel
cd91ba50b9
handle corrupted inputs
2024-12-28 09:15:58 -06:00
James Seibel
8511d6e6b8
Add networking thread pool to F3 screen
2024-12-28 09:15:24 -06:00
James Seibel
64b26f0267
Fix typo preventing threadpools from running
2024-12-27 18:11:51 -06:00
James Seibel
31a65d1ce5
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2024-12-27 08:47:33 -06:00
James Seibel
1e3b20a672
Increase default thread preset LOW -> BALANCED
2024-12-27 08:47:03 -06:00
James Seibel
607dbdbc08
Fix f3 screen thread run time "<"
2024-12-27 08:46:46 -06:00
James Seibel
6135bdf67c
Only have a single thread config
...
This means that CPU use will be a lot more consistent since all internal thread pools share a single thread count semaphore.
2024-12-27 08:46:32 -06:00
s809
723d93428b
Respond to incompatible packets so the client is able to display an error in F3
2024-12-27 17:05:01 +05:00
s809
9447510354
Fix failed counter working incorrectly
2024-12-27 15:00:06 +05:00
James Seibel
81654123d8
Fix phantomArrayList lock overhead for large thread counts
2024-12-26 16:27:56 -06:00
s809
cde804820e
Fix null pointers when generation is disabled
2024-12-26 16:08:17 +05:00
s809
29aa50fbd6
Revert "roll back part of "Prune world gen tasks above limit in multiplayer""
...
This reverts commit 49da0e09
2024-12-26 13:57:49 +05:00
s809
1154f23f16
Revert "re-calculate LodRenderSection missing pos every minute"
...
This reverts commit 7270eb8fe2 .
2024-12-26 13:53:21 +05:00
s809
8904872b85
Use library provided method for filling *ArrayLists
2024-12-25 23:12:47 +05:00
s809
5dd52d3a0f
Fix full data source decoding failures
2024-12-25 23:11:55 +05:00
James Seibel
810172346f
Fix DH preventing server shutdown on close
2024-12-25 09:04:42 -06:00
James Seibel
248f6db82e
Fix rare null pointer race condition
2024-12-24 08:12:11 -06:00
James Seibel
0ca2b2f282
minor data point ID map optimization
2024-12-23 21:40:55 -06:00
James Seibel
4d7d8cc3c0
optimize DTO memory reading
2024-12-23 20:44:34 -06:00
James Seibel
2154e53898
Add F3 screen toggling configs
2024-12-22 09:17:31 -06:00
James Seibel
75273be90a
Massively optimize array pooling
...
Separating pools for each object/use case prevents infinitely growing arrays (also the column render source fix in 481e0411ac prevents infinitely allocating arrays)
2024-12-22 08:43:47 -06:00
James Seibel
481e0411ac
Fix array leaks in LodrenderSection loading
2024-12-22 08:03:25 -06:00
James Seibel
4d8469c486
Fix F3 menu showing incorrect pooled memory size
2024-12-21 13:06:35 -06:00
James Seibel
3d866c480f
Add config assumePreExistingChunksAreFinished
2024-12-20 15:25:31 -06:00
James Seibel
61a06c87c2
Fix F3 menu typo
2024-12-20 15:24:18 -06:00
James Seibel
7ab2f49f01
Rename worldGen Tasks F3 row to avoid confusion
2024-12-20 14:22:11 -06:00
James Seibel
e6ceba63f7
Fix null pointer in DataSourceHandler error handler
2024-12-20 13:49:17 -06:00
James Seibel
0ba030e4aa
Repo and Obj Pool rewrite
...
This should provide a significant reduction in garbage generated, reducing GC pressure.
2024-12-20 13:38:44 -06:00
James Seibel
7e0c10a516
add StringUtil.convertBytesToHumanReadable()
2024-12-19 17:26:16 -06:00
James Seibel
7c8c4fa6e7
minor DataTransformer optimization
2024-12-19 08:28:39 -06:00
James Seibel
aaa62ccd89
Fix unnecessary string allocatino in chunkLightStorage
2024-12-14 23:35:08 -06:00
James Seibel
991c77485d
Fix concurrent ChunkWrapper modifications in SharedApi
2024-12-14 20:57:22 -06:00
James Seibel
de5e4a6705
Add concurrency checks to ChunkLightStorage
2024-12-14 20:57:10 -06:00
James Seibel
52917e65bc
sort Lod Builder configs
2024-12-14 18:59:35 -06:00
James Seibel
8e970b1ffb
Attempt to fix a rare concurrency issue in ChunkLightStorage
2024-12-14 17:49:46 -06:00
James Seibel
f89cd52e5c
Add debug wireframe toggle for render section rendering toggle
2024-12-14 17:24:51 -06:00
James Seibel
76b3e81cb1
rename generation mode FULL -> INTERNAL_SERVER
2024-12-14 14:05:36 -06:00
James Seibel
69050bb840
Revert "Fix holes when using Chunky"
...
This reverts commit d398b3bc04 .
2024-12-14 12:20:12 -06:00
James Seibel
3fe60946be
Revert "put shared api particle behind debug config"
...
This reverts commit 23021153da .
2024-12-14 12:20:09 -06:00
James Seibel
04f0b454eb
re-add full (server) distant generator mode
2024-12-13 07:26:49 -06:00
James Seibel
23021153da
put shared api particle behind debug config
2024-12-13 07:26:05 -06:00
James Seibel
d398b3bc04
Fix holes when using Chunky
...
(At the cost of some minor server lag)
2024-12-12 20:56:29 -06:00
James Seibel
7270eb8fe2
re-calculate LodRenderSection missing pos every minute
...
Should re-implement the removed code from 49da0e09a4
2024-12-12 16:55:45 -06:00
James Seibel
49da0e09a4
roll back part of "Prune world gen tasks above limit in multiplayer"
...
LodRenderSection was throwing null pointers during .isFullyGenerated() due to missing null checks
2024-12-12 07:46:27 -06:00
James Seibel
cf8a9dc269
fix typo in LodQuadTree
2024-12-12 07:44:05 -06:00
James Seibel
688312b5e7
up file handler runtime ratio defaults
2024-12-12 07:19:59 -06:00
James Seibel
1f0290c37b
Fix thread F3 avg time >0 when runtime ratio is 1
2024-12-12 07:19:44 -06:00
James Seibel
3c5225534f
Remove world gen timeout config
...
It didn't work as originally intended. It was originally added to prevent world gen lock-ups if a thread hits and infinite loop, but it didn't do anything for that use case and just ended up being annoying for low-end users.
2024-12-12 06:59:03 -06:00
James Seibel
a24527d679
Add average thread execution time to F3 screen
2024-12-11 21:24:34 -06:00
s809
2568e08b3c
Show thread preset in config entries in server command
2024-12-10 00:10:06 +05:00
s809
66337e2493
Add player into request group before trying to fulfill
2024-12-09 16:48:19 +05:00
s809
979c3788f1
Prune world gen tasks above limit in multiplayer
2024-12-09 12:03:49 +05:00
s809
2dc9b9a43f
Revert "Fix gen tasks sometimes not submitting after LOD level changes"
...
This reverts commit 585a288f
2024-12-08 19:09:18 +05:00
James Seibel
839aee7bfc
Fix typos in DhApi world (un)load events
2024-12-07 15:16:30 -06:00
James Seibel
71364d861b
Fix off-by-one error in DhAPI Terrain Repo
2024-12-07 15:08:11 -06:00
James Seibel
f4d1823c50
Merge branch 'distant-horizons-core-fast-hidden-block-culling'
2024-12-07 11:44:41 -06:00
James Seibel
84ddcbf38e
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2024-12-07 11:20:16 -06:00
James Seibel
a9314510fe
re-add several necessary GLState calls
2024-12-07 11:19:56 -06:00
James Seibel
821fa086e6
Replace many GL32 calls with GLMC (IMinecraftGLWrapper)
...
Also fix wireframe rendering
2024-12-07 09:56:36 -06:00
s809
bdd816dbda
Re-add pruning of visitedPositions
2024-12-06 23:32:56 +05:00
s809
5188474101
Use N-sized generation on server when available
2024-12-06 23:10:49 +05:00
s809
b1736ce669
Remove resolved TODO
2024-12-06 20:23:41 +05:00
James Seibel
872421f39f
Add start for standalone jar DB exporting
2024-12-05 18:46:57 -06:00
s809
54dd65b0a3
Merge branch 'NSizedMultiplayerTest'
2024-12-04 23:38:42 +05:00
s809
53e3c5c11c
Clean up
2024-12-04 22:54:45 +05:00
James Seibel
73e5c35fc4
Add a todo comment about potential GC reduction in DTO
2024-12-03 19:26:47 -06:00
s809
0b4fa1b2ed
Up protocol version
2024-12-03 21:23:37 +05:00
s809
585a288f68
Fix gen tasks sometimes not submitting after LOD level changes
2024-12-03 21:10:58 +05:00
s809
56db5d7e1a
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into NSizedMultiplayerTest
2024-12-02 21:17:46 +05:00
James Seibel
af932c5bc9
Add visited position removal timer in RemoteFullDataSourceProvider
...
This is done to hopefully prevent memory leaks
2024-12-02 07:51:07 -06:00
s809
aa5c4aa9c4
Lower log level of out of range warning
2024-11-22 14:54:37 +05:00
s809
97943107f7
Up protocol version
2024-11-22 14:49:39 +05:00
s809
00fd3c236a
Fix config description indentation
2024-11-22 14:44:25 +05:00
s809
0f2e007eff
Fix config descriptions & clean up
2024-11-22 13:29:06 +05:00
s809
36b719c361
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into feature/generation-distance-limiting
2024-11-22 12:51:35 +05:00
James Seibel
7455893ef8
Fix race condition in LodRenderSection loading
2024-11-21 19:00:27 -06:00
James Seibel
b909214974
Fix caught null pointer
2024-11-21 17:21:14 -06:00
s809
b59965671c
Make generation limit work
2024-11-22 00:16:30 +05:00
s809
cf5ba685f4
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into feature/generation-distance-limiting
2024-11-21 22:10:31 +05:00
James Seibel
23c160e948
Accidentally flipped an assertion last commit
2024-11-21 07:41:31 -06:00
James Seibel
6ff2c9f14c
improve columnRenderbuffer assertion message
2024-11-21 07:17:20 -06:00
s809
d1b63f11a5
Merge branch 'main' into 'main'
...
Fix distant-horizons#870 : Correctly template regex
See merge request distant-horizons-team/distant-horizons-core!73
2024-11-20 16:27:44 +00:00
helpimnotdrowning
f7926456a3
Fix distant-horizons#870: Correctly template regex
2024-11-19 16:15:23 -06:00
James Seibel
eb749d6bb0
Fix a rare error where chunk lighting is set to -1
2024-11-18 07:46:24 -06:00
James Seibel
deaccf53f9
Fix sometimes not loading high-detail LODs when on a server
2024-11-18 07:40:16 -06:00
James Seibel
9f966f0643
Remove manifold string plugin
2024-11-17 08:03:04 -06:00
James Seibel
bcc44ab5e3
Add player's DhSectionPos to the F3 menu
2024-11-17 06:22:48 -06:00
James Seibel
37dd0c4d55
up version number 2.3.0-a -> 2.3.0-b
2024-11-16 22:07:31 -06:00
James Seibel
6595f5d90e
Fix fog shader compiling on some software renderers
2024-11-16 21:57:58 -06:00
s809
587ea7017c
Fail subsequent requests for already pending LOD
2024-11-15 18:06:33 +05:00
s809
74e8487fe4
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into feature/generation-distance-limiting
2024-11-15 12:30:14 +05:00
s809
f5fc0004d5
Replace Apache's base32 with guava
2024-11-15 09:32:51 +05:00
s809
5fe6c2cb7b
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into feature/generation-distance-limiting
2024-11-14 17:00:54 +05:00
s809
f92a1ccc27
Add a comment to #pluginMessageReceived methods
2024-11-14 15:52:41 +05:00
s809
5448b8890d
Replace truncating the hashed seed with encoding it into base32
2024-11-14 15:23:35 +05:00
James Seibel
127ec81ade
Add AbstractConfigType.typeIsFloatingPointNumber()
2024-11-13 18:26:20 -06:00
s809
3d11a208d7
Move request handling to another class and rewrite group locking logic
2024-11-13 18:20:57 +05:00
James Seibel
937b36bfa2
Catch a few FullDataSourceV2 Repo closed exceptions
2024-11-13 07:00:31 -06:00
James Seibel
7f761e415f
Fix potential null pointers if other mods mess with the MVM or Proj matricies
2024-11-12 07:27:41 -06:00
s809
eeae8dbdc5
WIP generation distance limiting
2024-11-12 12:25:29 +05:00
s809
15b2d56d8c
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into NSizedMultiplayerTest
2024-11-12 12:07:22 +05:00
James Seibel
ea55750c4b
Hopefully fix some file path complaints for test files
2024-11-11 07:45:18 -06:00
James Seibel
8a61266651
fix level.getHashedSeed() and re-add default getDhIdentifier()
2024-11-09 21:17:09 -06:00
James Seibel
de548c9a5e
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2024-11-09 20:58:48 -06:00
James Seibel
6413725eae
Fix height fog
2024-11-09 20:58:45 -06:00
s809
bd264086e3
Remove seed hash from local & server worlds, and expose DH's level identifier to API
2024-11-09 22:36:25 +05:00
James Seibel
52452e356d
fix upload canceling
2024-11-09 09:53:28 -06:00
James Seibel
6321a6f9af
Attempt to fix concurrency in generic render direct rendering
2024-11-09 09:51:54 -06:00
James Seibel
b0f2918daf
Fix GLProxy renderThread skipping some tasks
2024-11-09 09:48:37 -06:00
James Seibel
9351b7b834
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2024-11-09 08:48:42 -06:00
James Seibel
adce15f648
Improve Buffer uploading speed and remove buffer upload thread
2024-11-09 08:48:18 -06:00
coolGi
6699c4c452
Updated readme to use the new DH links
2024-11-09 14:42:47 +00:00
James Seibel
ea1d79a1a6
Add todo to GenericObjRenderer about potential crash
2024-11-08 07:41:22 -06:00
James Seibel
0fb7131631
deprectate MC_CLIENT.executeOnRenderThread()
...
Use GLProxy instead
2024-11-08 07:41:02 -06:00
James Seibel
13b9e9b0d9
(test) remove GLProxy render thread timeout
...
This should cause upload tasks to finish much faster but will cause stuttering if too many tasks build up
2024-11-08 07:40:37 -06:00
James Seibel
bbd6f2ea89
Move some buffer building logic off the render thread
2024-11-08 07:39:58 -06:00
James Seibel
32b9e723d1
Fix crashing after server shutdown in serverPlayerDisconnectEvent
2024-11-06 07:08:17 -06:00
James Seibel
14db049148
Fix unnecessary logging for JarUtil jarFile getting
...
Closes #733
2024-11-05 07:32:44 -06:00
James Seibel
f8b1b8378a
Fix Concurrent modification in DhServerWorld
2024-11-05 07:16:09 -06:00
James Seibel
f396a650b4
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2024-11-04 18:29:08 -06:00
James Seibel
1dffedccb9
Add hashed seed to server level folders to replace multiverse similarity
2024-11-04 18:29:03 -06:00
s809
534684328e
Fix Flashback crash on dimension loading
2024-11-03 19:20:14 +05:00
James Seibel
573c9912db
add IChunkWrapper debug method
2024-11-02 13:08:26 -05:00
James Seibel
f3af6ce74b
add recalculate heightmap config (disabled by default)
2024-11-02 13:06:27 -05:00
James Seibel
b7fccae64d
Prep for MC 1.21.3 support
2024-11-02 11:19:29 -05:00
James Seibel
6fccaab841
Fix potential RejectedExecutionException error in ServerLevel
2024-11-02 11:19:10 -05:00
James Seibel
7e88ec4cc1
Improve ChunkLightStorage error logging
2024-11-01 18:07:42 -05:00
James Seibel
072fc0cb66
remove unused part of RenderUtil.shouldLodsRender()
2024-11-01 18:06:17 -05:00
James Seibel
5da0314556
Rename DummyRunExecutorService -> RunOnThisThreadExecutorService
2024-11-01 18:05:33 -05:00
James Seibel
415f0bb866
Remove unneeded ClientApi events
2024-10-31 20:28:43 -05:00
s809
13ab18d763
Add section splitting
2024-10-31 16:00:43 +05:00
James Seibel
23b2a62db2
proof-of-concept n-sized multiplayer request support
2024-10-27 16:14:56 -05:00
James Seibel
2dd83d182f
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2024-10-27 16:12:33 -05:00
James Seibel
b7c06dd4ba
fix update error pos log
2024-10-26 10:38:36 -05:00
James Seibel
1819569090
Fix manifold IDE issue
2024-10-26 10:37:55 -05:00
James Seibel
6cd8172ad2
Increase the default render distance 128 -> 256
2024-10-26 08:48:26 -05:00
s809
695fe10546
Fix too many chunks spam
2024-10-26 00:33:41 +05:00
s809
ea92ef1fd3
Set limit to infinite if maxDataTransferSpeed is 0
2024-10-25 23:59:02 +05:00
James Seibel
0e3d978a1f
Cache arrays used by RenderableBoxGroup
2024-10-25 07:40:25 -05:00
James Seibel
240a29803c
Improve generic object profiling
2024-10-25 07:40:04 -05:00
James Seibel
b09b9d1b6f
Fix cloud colors not updating
2024-10-24 22:02:35 -05:00
James Seibel
d1923ee6b5
Fix generic renderer not using material type
2024-10-24 07:13:24 -05:00
James Seibel
9a05ffa730
Update logos in _misc Files
2024-10-24 06:59:56 -05:00
James Seibel
2a46f0349f
Slightly increase DH cloud speed
2024-10-22 16:26:02 -05:00
James Seibel
58a756361e
Fix DH fade corrupting the GL state
2024-10-22 16:25:54 -05:00
James Seibel
eefbe1bba9
add cloud test grid for potential future use
2024-10-22 15:33:41 -05:00
James Seibel
f4bcfa52c7
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2024-10-22 15:32:37 -05:00
James Seibel
f2815c4e25
Change the cloud texture to smooth transitions
2024-10-22 15:30:07 -05:00
s809
45f4bd6949
Fix zero queue length in multiplayer
2024-10-22 23:54:56 +05:00
James Seibel
4d4a3d44fd
CloudRenderHandler minor refactor
2024-10-22 12:23:50 -04:00
James Seibel
61cde9902f
Increase far clip plane distance slightly
2024-10-22 12:21:58 -04:00
James Seibel
a8ce63529c
Optimize cloud rendering and cull clouds behind camera
2024-10-22 12:19:19 -04:00
James Seibel
f7521ece83
Don't log overloaded messages on clients
2024-10-21 14:05:59 -04:00
James Seibel
ab7fea580b
Potentially fix DH fading causing rendering issues with Create
2024-10-21 13:56:54 -04:00
James Seibel
32154b2580
re-add overloaded warning log and config for chat messages
...
chat messages are disabled by default
2024-10-21 13:43:09 -04:00
James Seibel
fd794cd55d
Center update propagation around player position
...
This is done to make world gen appear faster since the LODs will be made visible sooner
2024-10-21 08:52:52 -04:00
s809
f94b55ff00
Fix incomplete buffers being released
2024-10-21 16:43:11 +05:00
s809
b8a862ddd8
Multiply update queue size by player count
2024-10-20 20:00:02 +05:00
s809
271f128de6
Make sure data source received from file handler is fully generated before sending to client
2024-10-20 15:15:04 +05:00
s809
c4ea887b03
Move commands under /dh, add /dh debug command
2024-10-20 15:14:03 +05:00
s809
d12e797732
Up protocol version
2024-10-18 11:16:53 +05:00
s809
afdbc47758
Rename CurrentLevelKeyMessage to LevelInitMessage and add server time offset calculation
2024-10-18 11:16:20 +05:00
s809
bea1ff34b4
Add LOD transfer speed setting
2024-10-18 01:08:12 +05:00
James Seibel
4a7881fbb5
Add ColorUtil.toColorInt()
2024-10-16 14:22:47 -04:00
James Seibel
06c7d84b57
minor columnRenderBuffer refactoring
2024-10-16 14:22:31 -04:00
James Seibel
59767c807b
Fix javadoc compiling
2024-10-15 07:43:23 -05:00
James Seibel
82e1587c4e
Replace JOptionPane's with TinyFD to fix some Mac issues
2024-10-15 07:43:13 -05:00
James Seibel
69a5fdc720
Fix default beacon culling setting
2024-10-14 07:40:57 -05:00
James Seibel
bd6e6b47bb
Split the config file, update the config UI, and remove a few unused configs
2024-10-12 20:39:11 -05:00
James Seibel
633ee7f0f9
Fix N-sized world gen causing holes when moving
2024-10-12 09:53:40 -05:00
James Seibel
fd86826325
Reduce file handler task count when updating QuadTree nodes
2024-10-11 22:13:23 -05:00
James Seibel
e721c59127
Merge !71 (Fix adjacent chunk lighting)
2024-10-11 21:59:10 -05:00
James Seibel
fb42d19513
Fix LOD only mode near clip plane
2024-10-11 07:46:09 -05:00
James Seibel
4a8f802a57
Fix light references in SubDimensionLevelMatcher
2024-10-11 07:33:49 -05:00
James Seibel
65336860d2
Add proof-of-concept standalone jar DB parsing
2024-10-10 07:43:43 -05:00
James Seibel
01da4eb430
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2024-10-08 20:17:14 -05:00
James Seibel
bec3b5b576
Fix world gen incorrectly returning some data sources to the pool
2024-10-08 20:17:11 -05:00
James Seibel
3b5208d774
Fix File Handler threads sometimes looping infinitely
2024-10-08 19:51:39 -05:00
s809
0925f20cac
Fix incorrect name of a method
2024-10-08 22:58:56 +05:00
s809
f350e8a2f9
Fix incorrect folder being used without level keys
2024-10-08 22:37:51 +05:00
James Seibel
2d8bad9aec
Decrease vertical quality drop off
2024-10-08 07:51:34 -05:00
James Seibel
20fedc7d6d
Merge !70 (make DH's near clip plane unaffected by FOV)
2024-10-08 07:19:09 -05:00
James Seibel
4b07f6c8e4
minor ColumnRenderSource refactor
2024-10-08 07:08:51 -05:00
James Seibel
f91d3d1ec2
Prevent returning out of bounds ColumnArrayView's
2024-10-08 07:07:48 -05:00
s809
e97e16e7d1
Fix keyed levels not changing
2024-10-08 09:04:54 +05:00
James Seibel
1b59a269e6
Update the API to allow for N-sized world generation requests
...
This breaks old world generators
2024-10-07 19:45:28 -05:00
James Seibel
28ec1e2960
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2024-10-07 19:45:19 -05:00
James Seibel
1449ceb22c
Move API terrain data point creation into its own class
2024-10-07 17:23:31 -05:00
James Seibel
71581fb88a
Allow world generation to queue for N-sized sections
2024-10-07 17:13:41 -05:00
James Seibel
d86a0dc2b0
refactoring/renaming before adding N-sized world gen
2024-10-06 08:29:39 -05:00
James Seibel
1d8ac571cf
Fix LOD sections not reloading correctly and showing old/empty data
2024-10-06 08:28:24 -05:00
s809
31fdf9fa43
Fix unhandled message spam in replay mod
2024-10-06 01:44:56 +05:00
s809
cc8a2a70e8
Use level key prefixes to in LAN multiplayer
2024-10-06 00:19:42 +05:00
s809
2aca8acaf6
Change level key prefix comment
2024-10-05 21:58:30 +05:00
s809
38d7ca4bec
Prevent server crash on shutdown
2024-10-05 21:29:58 +05:00
s809
c1a405b755
Decouple beacon beam data handling from render handling, send beacon beams to clients
2024-10-05 14:03:02 +05:00
James Seibel
0b49d1a007
Close !69 (add IDhApiLevelWrapper.getDhSaveFolder())
2024-10-04 07:45:53 -05:00
James Seibel
3fb4c254c1
Improve beacon fade rendering
2024-10-03 20:25:23 -05:00
James Seibel
fcb933a2dd
Fix zoom mods breaking DH's fade/near clip plane
2024-10-03 17:25:49 -05:00
James Seibel
ea4d4bf955
Improve fade config, add localization, and add fading to the quality presets
2024-10-03 17:10:51 -05:00
James Seibel
38f3b46f8a
Fix fade rendering when DH rendering is disabled
2024-10-02 18:16:32 -05:00
James Seibel
b77828f984
replace random noise with Bayer for dithering
2024-10-02 18:08:53 -05:00
James Seibel
ec151d398e
Fix the near clip plane appearing at high vanilla render distances
2024-10-02 07:49:20 -05:00
James Seibel
85c00e50d9
Improve dithering quality
2024-10-02 07:35:32 -05:00
James Seibel
fbaff8d850
Add dithered DH fading, double pass fading, and fix LOD clouds
2024-10-01 22:02:32 -05:00
James Seibel
72607a4fc9
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2024-09-30 21:59:39 -05:00
James Seibel
f63e3d4b6d
Add experimental DH/vanilla fading
2024-09-30 21:59:19 -05:00
s809
f9d008ef78
Fix real-time updates being sent to non-ready players
2024-09-29 22:45:36 +05:00
s809
7f0c42396b
Use more correct distance function for real-time updates
2024-09-29 22:24:38 +05:00
James Seibel
db524efba0
Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
2024-09-28 15:27:53 -05:00
s809
54cf9782ae
Do not sync sections after generation, fix incorrect timestamp fetch pos range calculation
2024-09-29 01:17:59 +05:00
James Seibel
a37a2c9c9d
Capitalize EWorldEnvironment variables
2024-09-28 14:31:41 -05:00
James Seibel
03c7b48c5d
Remove multiverse similarity percent and add IDhApiSaveStructure
...
Similarity percent should no longer be needed since the server support was added
2024-09-28 14:30:34 -05:00
James Seibel
5af706daa0
deprecate multiverse config
2024-09-28 11:06:32 -05:00
James Seibel
53bccbb161
Rename AbstractSaveStructure -> ISaveStructure
2024-09-28 11:06:26 -05:00
James Seibel
8547e78d9d
Add Dh level tostring() methods
2024-09-28 10:22:38 -05:00
James Seibel
2aec3d980e
Fix F3 menu showing the same level multiple times
2024-09-28 10:22:21 -05:00
James Seibel
566b536c8d
Add Api world load/unload events and DhApiWorldProxy.get/setReadOnly()
2024-09-28 08:33:19 -05:00
James Seibel
d89d99f126
Add temporary vertical Quality CUSTOM option
2024-09-26 22:34:10 -05:00
James Seibel
c06283d403
Add hashCode() to FullDataPointIdMap
2024-09-26 07:42:24 -05:00
James Seibel
fd0a4c55ac
Change FullDataSourceDTO checksum/hash logic to hopefully be more consistent
2024-09-25 21:57:49 -05:00
James Seibel
b0aa211464
Fix default generic rendering instanced mode
2024-09-25 18:44:39 -05:00
James Seibel
14e7918ea0
fix readme logo filepaths
2024-09-22 17:25:14 -05:00
James Seibel
524ea77ce5
Update readme logos
2024-09-22 17:23:35 -05:00
James Seibel
9f763bcd6a
Add new logos
2024-09-22 17:18:33 -05:00
James Seibel
166875283c
Fix cloud debug colors
2024-09-22 16:53:27 -05:00
James Seibel
abb264bdf0
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2024-09-22 16:32:21 -05:00
James Seibel
70aa5724a9
Closes !68 (Allow toggling generic obj instanced rendering via config)
2024-09-22 16:32:10 -05:00
James Seibel
520d37f410
Add generic obj cube count to F3 menu
2024-09-22 16:31:06 -05:00
s809
29c2756e75
Merge branch 'feature/lan-support'
2024-09-23 00:46:30 +05:00
s809
6c278ea3b1
LAN multiplayer kinda works
2024-09-23 00:02:31 +05:00
s809
b18460b825
Abstract away serverside parts of world & level
2024-09-22 03:28:53 +05:00
James Seibel
d0b50d9633
Add Sqlite library validation to Initializer
2024-09-21 11:45:44 -05:00
James Seibel
c051b3584f
Replace "jdbc:sqlite" with a constant
2024-09-21 11:43:58 -05:00
James Seibel
d4cad8f718
Fix config file handler corruption due to reading/writing concurrently
2024-09-20 07:29:32 -05:00
James Seibel
f7bf05b62f
Update network semaphore comments
2024-09-17 07:40:28 -05:00
s809
840b0a7fe2
Bump protocol version because of removed InvalidSectionPosException
2024-09-17 12:41:46 +05:00
s809
5369bf628a
Fix naming of some things and comments
2024-09-17 09:42:22 +05:00
James Seibel
79d2269218
Fix very high file handler jobs and pool some render data sources
2024-09-16 20:35:57 -05:00
James Seibel
f21c791269
fix comment
2024-09-15 21:15:57 -05:00
James Seibel
11e58eecda
Up API version 3.0.1 -> 4.0.0
2024-09-15 20:36:10 -05:00
James Seibel
fbf13833a0
Up version 2.2.2 -> 2.3.0
2024-09-15 20:35:54 -05:00
James Seibel
2528f4a725
Merge server side branch and refactor
2024-09-15 20:35:38 -05:00
James Seibel
6d6cbd8a44
add more getDimensinoName() calls and minor cleanup
2024-09-11 17:11:55 -05:00
James Seibel
2fe3c261b0
Add DhClientWorld F3 debug string prep
2024-09-11 17:05:57 -05:00
James Seibel
5086f40d03
Add commit info to F3 screen
2024-09-11 17:04:18 -05:00
James Seibel
7766c49cbd
Add DhChunkPos Vec3d constructor
2024-09-11 07:41:56 -05:00
James Seibel
c6d86cfa3b
remove unneeded IDimensionTypeWrapper.getTeleportationScale()
2024-09-11 07:40:44 -05:00
James Seibel
935cfec3d4
Add network compression thread config and pools
2024-09-11 07:37:39 -05:00
James Seibel
ce2e64dc7e
ClientOnlySaveStructure rename getDhDataFoldersForDimension -> getDhDataFoldersForLevel
2024-09-11 07:31:24 -05:00
James Seibel
15774ffe2a
Only attempt to set Java Swing headless on clients
2024-09-11 07:25:01 -05:00
James Seibel
218cb04696
Don't load the client level in shouldLodsRender()
...
This might cause issues with the Replay mod, but we'll see
2024-09-11 07:20:29 -05:00
James Seibel
45fc36543b
Add ILevelWrapper.getDimensionName()
2024-09-11 07:14:21 -05:00
James Seibel
554bb89690
remove unused message classes
2024-09-10 21:46:47 -05:00
James Seibel
2aa048b0cb
Don't send chat messages on dedicated servers for configBasedLogger
2024-09-10 21:46:16 -05:00
James Seibel
570619b114
Ignore config preset UI updating when on the sever
2024-09-10 21:17:50 -05:00
James Seibel
fb3e47ec3f
Add FullDataSourceRepo.getTimestampForPos()
2024-09-10 20:46:18 -05:00
James Seibel
0f27dd79d7
minor refactoring and style cleanup
2024-09-10 07:24:56 -05:00
James Seibel
abe0e284aa
Remove unneeded networking classes
2024-09-10 07:15:37 -05:00
James Seibel
7a97b9dcbf
Fix low quality LODs not loading when flying in a new straight line
2024-09-09 07:41:12 -05:00
James Seibel
23c98e2253
Clean up LodRenderSection async loading logic
2024-09-09 07:37:08 -05:00
James Seibel
06cce40ac6
hide attempting to... warnings for closed databases
2024-09-09 07:36:19 -05:00
s809
7cd1a37914
Restore ordering of session config entries
2024-09-08 21:21:38 +05:00
s809
8ca2052748
Refactor session config
2024-09-08 19:05:42 +05:00
James Seibel
ce4259d98f
add brown mushrooms to the list of ignored blocks to fix swamp issues
2024-09-07 14:22:41 -05:00
James Seibel
d96ba5ae54
Add faster sky light engine from Builderb0y
...
Closes !67
2024-09-07 12:07:48 -05:00
s809
576d0f5666
Fix crash on F3 when commit hash was failed to retrieve
2024-09-07 21:47:43 +05:00
s809
877588ebed
Fix rare NPE when receiving LODs
2024-09-07 21:47:02 +05:00
James Seibel
3bee25053f
Add missing LightingTestChunkWrapper methods
2024-09-06 21:55:48 -05:00
James Seibel
a75d3ec5b0
Fix unit test compiling
2024-09-06 19:36:32 -05:00
James Seibel
d5222ed20f
Closes #805 (Hide "Distant Horizons overloaded")
...
Also update chunks closest to the player first
2024-09-06 18:22:57 -05:00
s809
875b5fffcc
Fix client crashing
2024-09-05 23:45:04 +05:00
James Seibel
d03a887620
Add BuilderB0y's getBlockState optimization
2024-09-05 07:50:18 -05:00
s809
6293cc8c27
Prefill levelKeyPrefix in new worlds
2024-09-05 14:22:00 +05:00
James Seibel
847cfa3ca9
Add current size to rolling average
2024-09-04 16:40:17 -05:00
s809
0361e5c69b
Fix compilation
2024-09-04 22:53:02 +05:00
s809
654355c991
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into serverside
2024-09-04 18:22:47 +05:00
James Seibel
4712a77d00
Up version number 2.2.1 -> 2.2.2-dev
2024-09-04 06:58:59 -05:00
James Seibel
57c5b2d5fc
Up version 2.2.1-dev -> 2.2.1 and API 3.0.0 -> 3.0.1
2024-09-04 06:58:20 -05:00
s809
a2949b8124
Change some string & remove unused config item
2024-09-03 16:52:10 +05:00
James Seibel
50c5701836
Fix referencing unavailable GLFW methods for MC 1.18.2 and lower
2024-09-02 08:00:43 -05:00
s809
6fe0477ca7
Limit number of retries on request errors
...
Add a delay if rate limit is hit
2024-09-02 15:31:39 +05:00
James Seibel
18e075538d
Fix LODs flashing when moving and improve LodQuadTree code
2024-09-01 21:10:22 -05:00
James Seibel
b00e8a08e9
add annotations to QuadTree
2024-09-01 21:09:50 -05:00
James Seibel
ac4ab11a74
Fix LodRenderSection and QuadNode toString methods
2024-09-01 21:09:17 -05:00
James Seibel
c26631db57
Cull beacons based on X/Z distance instead of 3D distance
2024-09-01 17:28:08 -05:00
James Seibel
1daa06fff4
Disable instanced rendering on Mac when Sodium is present
...
Closes !793 (Generic Rendering crashes with Sodium on M1 Mac)
2024-09-01 17:02:43 -05:00
James Seibel
f3ef6f25f4
Fix some beacon rendering/updating issues
2024-09-01 16:36:37 -05:00
James Seibel
ec012d9fd6
Fix glass panes not affecting beacon colors
2024-09-01 15:04:24 -05:00
James Seibel
fc90cf3377
add disableUnchangedChunkCheck config
2024-08-31 22:11:25 -05:00
James Seibel
e1e42d1caf
Fix cloud color not matching MC
2024-08-31 21:55:54 -05:00
James Seibel
95ce29e355
Update all pos objects to use getters to match with DhBlockPos
...
I'd prefer not to need getters/setters since it's cleaner to just call pos.x, but that doesn't allow for immutable/mutable distinction.
2024-08-31 20:50:22 -05:00
James Seibel
0fd818b077
Allow users to re-activate DH rendering if a rendering error is thrown
2024-08-31 20:20:51 -05:00
James Seibel
ba59daf747
Add beacon nearby culling
2024-08-31 20:20:24 -05:00
James Seibel
b7d94c2ed1
Fix RenderableBoxGroup not supporting clear()
2024-08-31 20:06:04 -05:00
James Seibel
7a057a8d53
fix Lod builder not showing the correct stacktrace in Intellij
2024-08-31 15:04:30 -05:00
James Seibel
49c6ab97a9
Remove unused threadpool
2024-08-31 15:04:12 -05:00
James Seibel
ed0d80b37e
Reduce deplayed LOD modified save from 2 sec -> 500 ms
...
This should make some LOD update operations appear faster
2024-08-31 15:01:37 -05:00
James Seibel
9768728c92
Add RollingAverage object
2024-08-31 14:58:08 -05:00
James Seibel
0c68544f2f
Fix DhLightingEngine putting lights at relative (0,0) and add debug logic
2024-08-31 12:45:39 -05:00
s809
048b36f80d
Add comment
2024-08-31 20:50:50 +05:00
s809
40f902e2f5
Delay loading first level when on server
2024-08-31 20:46:58 +05:00
James Seibel
b1f154a0ea
Add DhBlockPosMutable and make the original immutable
...
This is to prevent issues with some methods accidentally mutating shared positions
2024-08-30 07:35:59 -05:00
James Seibel
628c9b071f
DhBlockPos cleanup
2024-08-29 20:05:26 -05:00
James Seibel
ed39b6181f
Fix DH beacon detection logic mutating input block pos
...
alternate title: Fix DH beacon detection logic breaking the lighting engine
2024-08-29 19:54:36 -05:00
James Seibel
1d6d712483
Fix LODs not updating in the nether or when blocks are changed underground
2024-08-29 07:32:55 -05:00
s809
62ddb46674
Restore LOD fetching by distance
2024-08-29 17:09:08 +05:00
James Seibel
73c4f0ffcd
Add a quick DH cloud UI config
2024-08-28 07:16:20 -05:00
s809
375cd44cbd
Do not start generator until server responds with config
2024-08-27 16:35:22 +05:00
s809
ce057525d3
Show incompatible protocol version in F3
2024-08-27 16:02:15 +05:00
s809
01c879951c
Fix sync on login
2024-08-26 16:53:59 +05:00
s809
4f19f05f3b
Change naming of rate limit related items
2024-08-26 00:39:28 +05:00
s809
47f68c7ed3
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into serverside
2024-08-24 02:58:17 +05:00
s809
39db421aa1
Remove mentions of generation task priorities
2024-08-23 17:28:15 +05:00
s809
f4b0c08822
Fix network compression pool not shutting down
2024-08-23 17:11:32 +05:00
s809
f17c3fa267
"Fix" buffer release errors in FullDataPayload
2024-08-23 14:16:20 +05:00
James Seibel
48d1005be6
Up version number 2.2.0 -> 2.2.1-dev
2024-08-20 19:16:18 -05:00
s809
81e6f55dbf
Use same packet resource for all versions
2024-08-19 17:55:59 +05:00
s809
b5e2019d28
Add logging of request group lifecycle
2024-08-15 15:46:24 +05:00
s809
84dca85447
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into serverside
2024-08-11 20:59:23 +05:00
s809
8c3e8136be
Do not clear keyed level on close event
2024-08-10 23:53:22 +05:00
s809
606c157958
Make encode/decode error handling work correctly
2024-08-10 23:26:04 +05:00
s809
ba3677b641
Make error handling somewhat work
2024-08-10 19:49:33 +05:00
s809
dee13a4ec4
Merge branch 'serverside-experimental/prevent-disconnects' into serverside
2024-08-07 22:20:29 +05:00
s809
71e4cd6272
Fix real-time updates
2024-08-06 23:12:13 +05:00
s809
82c5de7dfe
Fix Neoforge not being able to connect to vanilla servers
2024-08-05 14:51:17 +05:00
s809
9d11733444
Fix dimension switching (untested)
2024-08-03 15:42:43 +05:00
s809
e62c6a5c55
[skip ci] Prevent disconnects on encode/decode/handle errors
2024-08-01 22:19:10 +05:00
s809
93b57ae2e1
Increase defaults for network compression threads
2024-07-30 10:52:27 +05:00
s809
e5033a0c0f
Use FullDataPayload instead of reusing messages
2024-07-29 13:10:04 +05:00
s809
32abe15b09
Add build number on F3 screen
2024-07-28 20:19:38 +05:00
s809
2b65e33aa7
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into serverside
2024-07-28 19:44:25 +05:00
s809
bc6ab6c840
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into serverside
2024-07-28 19:01:28 +05:00
s809
ccbb071704
Reapply "Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into serverside"
...
This reverts commit d26cb41048 .
2024-07-28 17:05:58 +05:00
s809
d26cb41048
Revert "Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into serverside"
...
This reverts commit a15aaa573d , reversing
changes made to 83c1a2fd63 .
2024-07-27 23:06:34 +05:00
s809
a15aaa573d
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into serverside
2024-07-27 21:43:21 +05:00
s809
83c1a2fd63
Fix handler registration
2024-07-20 23:56:24 +05:00
s809
0e904a388c
Raise full data chunk size limit
2024-07-16 23:56:48 +05:00
s809
3723137fea
Remove unused method
2024-07-16 23:52:28 +05:00
s809
71e54cc9ab
Up protocol version
2024-07-16 23:51:30 +05:00
s809
b4cf962a85
Fix event handler registration
2024-07-16 23:40:20 +05:00
s809
1a30f240ef
Client-side chunk handling
2024-07-16 17:49:09 +05:00
s809
b3b5ac63c8
Server-side logic is pretty much finished
2024-07-16 00:27:22 +05:00
s809
16abc0faa1
[skip ci] Initial chunked full data message payloads
2024-07-15 07:57:20 +05:00
s809
778c2f894e
Fix level handling for real time updates
2024-07-12 23:11:36 +05:00
s809
2617cd294d
Add cache for ignoring responses for cancelled requests
2024-07-11 23:06:23 +05:00
s809
43b421042d
Add a comment to semaphores
2024-07-11 22:08:10 +05:00
s809
af69678545
Fix player tracking on server
2024-07-10 23:51:39 +05:00
s809
85341f7a6d
Add missing semaphore release
2024-07-09 18:06:16 +05:00
s809
9e0edd0cf3
Prevent request cancellation deadlock
2024-07-09 14:47:45 +05:00
s809
84e90a7a9b
Use dedicated thread pool for data compression
2024-07-08 23:07:58 +05:00
s809
48a8cdc365
Disable parent update propagation
2024-07-07 19:46:47 +05:00
s809
171e6b9bcd
Reset state of level detection on world exit
2024-07-07 01:49:44 +05:00
s809
7e48c49e33
Make data source encoding lazy and move it off server thread
2024-07-01 00:15:54 +05:00
s809
1b48d61d3f
Rename CloseEvent
2024-06-30 22:35:41 +05:00
s809
47541fa99c
Move fixing the dimension name into even more correct place
2024-06-28 23:18:24 +05:00
s809
13638cedee
Move fixing the dimension name into correct place
2024-06-28 19:28:36 +05:00
s809
4cdf31cfe8
Fix paths unable to be created on Windows
2024-06-28 17:25:09 +05:00
s809
3ff9a93066
Fix test compilation failing
2024-06-28 15:52:39 +05:00
s809
083a036666
Use level's ResourceLocation instead of dimension type's
2024-06-28 15:28:33 +05:00
s809
a0efe44e8d
Clean up package structure
2024-06-26 23:57:37 +05:00
s809
8d110e22dd
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into refactor/remove-tcp-connection
2024-06-26 15:13:03 +05:00
s809
4d6e11fdeb
Fix compilation
2024-06-26 14:55:21 +05:00
s809
454b15ff60
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into refactor/remove-tcp-connection
2024-06-26 14:54:00 +05:00
s809
d2f4972693
Put messages received before player joining into queue
2024-06-16 00:45:16 +05:00
s809
acb299530d
Avoid reloading levels when unnecessary
2024-06-14 16:25:20 +05:00
s809
7c705015e6
Use level keys
2024-06-13 16:44:37 +05:00
s809
bcb21be848
Show dimension names
2024-06-10 23:39:57 +05:00
s809
562594de2f
Better error on invalid dimension
2024-06-09 22:01:30 +05:00
s809
03a00bb7ca
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into refactor/remove-tcp-connection
2024-06-09 21:18:08 +05:00
s809
dc3aa939db
Fix logging errors
2024-06-08 00:07:24 +05:00
s809
39391b944f
Add toString to messages & fix incorrect call
2024-06-06 21:25:19 +05:00
s809
a6fc8f1702
Fix compilation
2024-06-02 20:00:09 +05:00
s809
b0777789fd
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into refactor/remove-tcp-connection
2024-06-02 19:58:53 +05:00
s809
24a2a48deb
Increase section reload delay
2024-06-01 19:49:23 +05:00
s809
e08faa7943
Fix requests breaking on rejoining
2024-06-01 12:17:04 +05:00
s809
a000afbc60
Kinda works, rejoining is broken
2024-05-29 23:36:34 +05:00
s809
a3e34c9738
[skip ci] Still a mess
2024-05-27 22:01:57 +05:00
s809
1f63bdf124
[skip ci] Somewhere
2024-05-22 23:18:18 +05:00
s809
44205664b5
[skip ci] Incomplete
2024-05-21 22:54:57 +05:00
s809
40d019d7e8
Merge remote-tracking branch 'origin/main'
2024-05-18 22:14:19 +05:00
s809
96755e6174
Move overrides in LAN to config
2024-05-18 22:09:19 +05:00
s809
bd5866787f
Update Config.java
2024-05-17 12:41:09 +00:00
s809
d9651bbd27
Merge branch 'main' into 'main'
...
rewrite config comments
See merge request s809/distant-horizons-core!1
2024-05-17 12:39:54 +00:00
Yeshi0
a1f4442a53
rewrite config comments
2024-05-14 20:16:44 +02:00
s809
e6b140245b
Fix awt dependency error
2024-05-12 17:34:58 +05:00
s809
08336027b2
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into feature/2.0.4
2024-05-11 19:16:01 +05:00
s809
543b5ed49a
Fix dimension switching (at cost of breaking immersive portals)
2024-05-10 23:56:07 +05:00
s809
3d86c5c5ee
Fix generated sections not appearing
2024-05-10 21:13:40 +05:00
s809
8e1009ab3f
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into feature/2.0.4
2024-05-05 19:51:21 +05:00
s809
551a5f1a72
Fix updates
2024-05-05 16:55:15 +05:00
s809
2664f96e0f
Generation works, updates don't
2024-05-03 22:56:01 +05:00
s809
dde2bcc947
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2024-05-02 21:47:35 +05:00
s809
3e3e97385b
Fix 1.16.5 and 1.17.1 builds
2024-04-17 21:02:14 +05:00
s809
05fba12038
Prevent generation when config is not acknowledged by server
2024-04-16 21:55:02 +05:00
s809
c1f2803c56
Add missing newlines for override configs
2024-04-16 21:39:56 +05:00
s809
7006c669f0
More verbose invalid level error
2024-04-16 21:38:37 +05:00
s809
7cd0c956f6
Fix IPv6 addresses not being properly handled
2024-04-16 21:27:26 +05:00
s809
7c33dda11b
Add FlushConsolidationHandler
2024-04-16 20:32:50 +05:00
s809
5f9f0f23b8
Fix integer overflows
2024-04-12 23:14:58 +05:00
s809
284191a904
Fix Neoforge
2024-04-12 22:36:04 +05:00
s809
0ad60cd5d9
Merge branch 'feature/plugin-channel'
2024-04-02 22:34:45 +05:00
s809
8485d1585a
Remove localhost from check
2024-04-02 22:27:36 +05:00
s809
1cd2f75dd2
Fix compilation
2024-04-01 21:52:20 +05:00
s809
bdc4fa4477
Fix errors when on vanilla server
2024-04-01 00:55:15 +05:00
s809
ff7720a8d6
Adjust server port change behavior
2024-04-01 00:07:32 +05:00
s809
6829709123
Fix reconnection logic
2024-03-30 23:40:05 +05:00
s809
0d355f675a
Incomplete
2024-03-26 00:30:57 +05:00
s809
af2f0e8582
Fix Forge
2024-03-18 21:37:58 +05:00
s809
3362570123
Add thread pool task buildup limiter
2024-03-16 12:28:38 +05:00
s809
e008eb8a13
Server side plugin networking
...
Untested port for Forge
2024-03-14 21:46:23 +05:00
s809
1f438d8f87
Fix world setting
2024-03-10 21:09:52 +05:00
s809
278ae04532
Initial buggy plugin channel support
2024-03-05 22:09:30 +05:00
s809
2d4f033891
Do not wait for world gen tasks to stop while shutting down queue
2024-02-25 18:05:45 +05:00
s809
1fd85f2249
Show server side messages in F3 on disconnect
2024-02-24 22:48:24 +05:00
s809
d966697ecb
Change some wording
2024-02-24 21:37:54 +05:00
s809
2e6c0ba356
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2024-02-22 23:06:21 +05:00
s809
ebb47990f4
Fix immersive portals
2024-02-15 23:15:01 +05:00
s809
15fe39c1bb
Fix connection exception handling
2024-02-13 22:03:55 +05:00
s809
7bb0ec3148
Fix compilation
2024-02-12 21:39:30 +05:00
s809
6fcfacd346
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2024-02-12 21:38:58 +05:00
s809
48212ba746
Add another config option
...
Fix rate limiting issues (kinda)
2024-02-11 19:39:35 +05:00
s809
7bf9ce141a
Avoid doing requests on join
2024-02-10 17:06:49 +05:00
s809
2353bd7545
Fix compilation
2024-02-07 21:03:37 +05:00
s809
02ddf5773c
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2024-02-07 20:49:49 +05:00
s809
3e37e9ee08
Remove unused packets
2024-02-04 21:57:57 +05:00
s809
b1b907bfe5
Silence a warning
2024-02-04 21:33:21 +05:00
s809
d347dbd222
Fix typo
2024-02-04 21:29:21 +05:00
s809
44527630da
Fix queue not filled when generation is toggled
2024-02-04 21:00:02 +05:00
s809
df6ac6d740
Add connection state on F3 screen
...
Hide refresh queue from debug when disabled
2024-02-04 20:20:57 +05:00
s809
2ce08f8957
Merge remote-tracking branch 'origin/main'
2024-02-04 02:36:04 +05:00
s809
1baa666d23
Add priority distance limiting by ratio
2024-02-04 02:34:53 +05:00
s809
e5e4551038
Some logging changes
2024-02-03 23:02:31 +05:00
s809
0cfbe09558
Use ConfigBasedLogger
...
Add sub-sectioning to server networking section
2024-02-03 22:24:34 +05:00
s809
7d72e82325
Change a comment in Config
2024-02-03 20:17:21 +05:00
s809
3f823c58cc
Fix exception while saving new data
2024-02-02 05:48:36 +00:00
s809
3932ea21c2
Limit rate+concurrency instead of only concurrency
...
Rename post-relog update to Login sync
2024-01-29 22:36:13 +05:00
s809
c9d426e581
Refactor ILevelRelatedMessage and RemotePlayerConnectionHandler
2024-01-28 22:37:50 +05:00
s809
61c516df1d
Post-relog updates
2024-01-27 19:45:30 +05:00
s809
7e2019abd4
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2024-01-21 17:20:49 +05:00
s809
f0f3614b9d
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2024-01-16 20:17:43 +05:00
s809
573a284580
Fix generation
2024-01-13 19:44:48 +05:00
s809
310c890474
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2024-01-13 16:51:12 +05:00
s809
8a309b56d9
Fix crash when changing config while disconnected
2024-01-13 16:08:49 +05:00
s809
adc3f15c97
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2024-01-08 17:50:00 +05:00
s809
962f523af9
Fix 1.16.5 and 1.17.1 builds
2024-01-05 22:37:27 +05:00
s809
dbc1ad4cb7
Add names to network threads
2024-01-05 22:08:37 +05:00
s809
8b0f6a4414
Daemonize timers
2024-01-05 22:08:16 +05:00
s809
502aaf6a8a
Add a config to delay generation requests, for cases when gen tasks are not filled properly yet
2023-12-28 18:58:50 +05:00
s809
5c644fbf5b
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-12-24 19:16:03 +05:00
s809
da60ca7560
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-12-21 19:17:51 +05:00
s809
a5a56c7eb7
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-12-21 11:47:51 +05:00
s809
ff8b1f24d0
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-12-20 23:18:57 +05:00
s809
904c1a7d71
Add protection against hang on shutdown
2023-12-19 23:20:23 +05:00
s809
02aca6f044
Allow section state requests to be controlled separately
2023-12-19 22:52:19 +05:00
s809
b4ea632b93
Add kick trigger on repeated rate limit hitting
...
Remove some unused code
2023-12-18 23:10:39 +05:00
s809
a2cc1c2913
Revert "Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core "
...
This reverts commit 522a799516 , reversing
changes made to 04e43ebec8 .
2023-12-18 22:15:34 +05:00
s809
522a799516
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-12-18 19:17:14 +05:00
s809
04e43ebec8
Remove current post-relog update feature
2023-12-18 19:13:57 +05:00
s809
077d72c23b
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-12-15 20:29:15 +05:00
s809
cb95c45d76
Fix compilation
2023-12-06 22:06:37 +05:00
s809
a9de079132
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-12-06 21:09:19 +05:00
s809
166cc55e3c
Abstract away ChannelHandlerContext from user code
2023-11-27 23:46:05 +05:00
s809
f36bffa4b7
Add missing config entries in chat commands
2023-11-26 21:32:50 +05:00
s809
6da1e75dad
Fix server side generation setting being ignored
2023-11-25 18:04:25 +05:00
s809
82d66ca392
Basic chat commands
2023-11-25 17:44:51 +05:00
s809
e98cf1f2b5
Hide all unrelated config entries
2023-11-23 20:58:09 +05:00
s809
77bd333fff
Fix RejectedExecutionException when leaving server
2023-11-20 17:18:05 +05:00
s809
b791a185a2
Deduplicate code in MultiplayerConfigChangeListener
2023-11-20 16:54:17 +05:00
s809
c64d7fedd2
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-11-19 22:56:56 +05:00
s809
d2f5c02238
Bandaid fix to prevent duplicate section requests
2023-11-12 17:17:15 +05:00
s809
9cfcf37fb3
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-11-11 19:20:33 +05:00
s809
84d36df388
Do not clean up rendering on a dedicated server
2023-11-04 16:56:15 +05:00
s809
880abd0124
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-11-03 21:05:27 +05:00
s809
72274bfd7d
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-10-30 15:26:29 +05:00
s809
9640169be9
Make post-relog update independent from generation toggle
2023-10-23 23:18:52 +05:00
Steveplays28
9daf0c7317
chore: Add missing language entries for the server networking config
2023-10-20 14:07:42 +02:00
Steveplays28
a4df5a8ed8
style: Rename renderDistance to renderDistanceRadius to stay in sync with the main config
2023-10-20 14:03:19 +02:00
Steveplays28
df3d20f94e
fix: Fix getting LOD render distance radius from the config
...
This config option was renamed recently, to fix LODs not rendering out to the LOD render distance border. Also removed an unused import.
2023-10-20 13:49:55 +02:00
Steveplays28
f3b40f51a2
Merge branch 'main-upstream'
...
# Conflicts:
# core/src/main/java/com/seibel/distanthorizons/core/file/fullDatafile/GeneratedFullDataFileHandler.java
# core/src/main/java/com/seibel/distanthorizons/core/level/DhClientLevel.java
# core/src/main/java/com/seibel/distanthorizons/core/level/DhServerLevel.java
2023-10-20 13:41:33 +02:00
s809
e3d7598501
Fix compilation
2023-10-14 22:13:01 +05:00
s809
596b822a5d
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-10-14 22:09:15 +05:00
s809
e9e7ac48b1
Fix compilation
2023-09-28 23:28:18 +05:00
s809
2e2254fbbd
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-09-28 22:54:35 +05:00
s809
8bda3351b8
Make worldGenLoopingQueue lock free
2023-09-27 21:40:59 +05:00
Steveplays28
532f3adba8
Merge branch 'main-upstream'
2023-09-27 14:09:04 +02:00
s809
cc8b97f2fe
Improve management of frequent real time updates
2023-09-26 22:03:04 +05:00
s809
db31c54309
Fix Enable Distant Generation config being ignored
2023-09-26 13:21:37 +05:00
s809
375e81b17d
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-09-26 11:40:38 +05:00
s809
4fb9126d49
Fix unloaded file check
2023-09-24 18:48:14 +05:00
Steveplays28
ed2fca240e
fix: Fix compiling after merge
2023-09-24 11:33:49 +02:00
Steveplays28
f5549f2ebe
Merge remote-tracking branch 'origin-core/main'
2023-09-24 11:28:38 +02:00
Steveplays28
18e9cfe2a5
Merge branch 'main-upstream'
2023-09-24 11:24:55 +02:00
s809
e4e6753a02
Add gen task rate display
2023-09-24 14:24:31 +05:00
Steveplays28
8e7855405d
Merge remote-tracking branch 'origin-core/main'
2023-09-23 16:34:07 +02:00
Steveplays28
381cae7307
feat: Add config option for server port
2023-09-23 16:33:43 +02:00
s809
e94d67916d
Fix compiling
...
Remove unused config category
Use pooling when receiving sections
Fix use of real time update config
Fix debug renderer not unregistered on queue close
2023-09-23 15:32:24 +05:00
Steveplays28
c98f9476cb
Merge remote-tracking branch 'upstream-core/main'
...
# Conflicts:
# core/src/main/java/com/seibel/distanthorizons/core/api/external/methods/config/client/DhApiDebuggingConfig.java
# core/src/main/java/com/seibel/distanthorizons/core/config/Config.java
# core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/CompleteFullDataSource.java
# core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/HighDetailIncompleteFullDataSource.java
# core/src/main/java/com/seibel/distanthorizons/core/file/fullDatafile/FullDataFileHandler.java
# core/src/main/java/com/seibel/distanthorizons/core/file/renderfile/RenderDataMetaFile.java
# core/src/main/java/com/seibel/distanthorizons/core/generation/WorldGenerationQueue.java
# core/src/main/java/com/seibel/distanthorizons/core/render/LodRenderSection.java
# core/src/main/java/com/seibel/distanthorizons/core/render/renderer/DebugRenderer.java
# core/src/main/java/com/seibel/distanthorizons/core/render/renderer/LodRenderer.java
2023-09-22 15:40:31 +02:00
s809
6c36f3c7e9
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-09-21 21:04:58 +05:00
s809
877a89d17a
Add config for a few slow features
2023-09-21 21:00:23 +05:00
s809
d325a69e3f
Move context levels to requests
2023-09-21 10:16:34 +05:00
s809
08704aad2c
Allow selecting specific IDebugRenderable's for rendering
2023-09-19 21:32:59 +05:00
s809
a80bb082b3
Validate response types
2023-09-19 20:19:25 +05:00
s809
fccd197cd5
Fix chunk updates sent to incomplete connections
...
Hide useless warns, for cases when listener is not configured yet
2023-09-19 18:53:10 +05:00
s809
2cfc2c81c8
Fix future id collisions between c<->s
...
(cause of occasional hangs on disconnection)
Add packet trace logging
2023-09-19 17:28:26 +05:00
s809
6f4e105542
Fix compiling
2023-09-18 13:44:19 +05:00
s809
633b3f2033
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-09-18 13:24:43 +05:00
Steveplays28
f0a62c813a
Merge remote-tracking branch 'upstream-core/main'
2023-09-12 17:35:29 +02:00
s809
21f03526f8
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-09-10 12:03:29 +05:00
Steveplays28
0e7a96d308
fix: Fix missing IServerKeyedClientLevel import
2023-09-09 21:03:17 +02:00
Steveplays28
87572246a6
Merge remote-tracking branch 'upstream-core/main'
2023-09-09 20:53:44 +02:00
Steveplays28
025484d5b4
Merge remote-tracking branch 'upstream-core/main'
2023-09-09 14:47:07 +02:00
Steveplays28
15e4b1316e
Merge remote-tracking branch 'upstream-core/main'
2023-09-08 19:54:43 +02:00
s809
e02eddc60e
Fix compiling
2023-09-07 21:07:16 +05:00
s809
1e1ddd505b
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-09-07 20:07:30 +05:00
s809
415f16507b
Add post-rejoin updates
2023-09-02 01:23:56 +05:00
s809
cb95978502
Fix compilation
2023-08-27 19:56:12 +05:00
s809
1b729f3fe7
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-08-27 19:10:25 +05:00
s809
d84e097fa2
Merge branch 'client-level-error' of https://gitlab.com/s809/distant-horizons-core into client-level-error
2023-08-27 18:43:06 +05:00
s809
51ad901206
Fix loading ClientLevel on server
2023-08-27 18:41:47 +05:00
s809
517925a207
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-08-26 21:33:44 +05:00
s809
c5abc22c58
Merge branch 'feat/server-updates'
2023-08-24 00:01:07 +05:00
s809
2330377212
Send updates at chunk level instead of sections
2023-08-23 23:55:16 +05:00
s809
9db56bbf87
test
2023-08-22 20:41:42 +05:00
s809
52a90fec6c
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core into feat/server-updates
2023-08-22 19:12:43 +05:00
Steveplays28
3630dc724d
fix: Add null check to config GUI when adding a screen change listener
2023-08-22 10:52:19 +02:00
s809
627bfbc007
Incomplete
2023-08-21 22:08:35 +05:00
Steveplays28
d9283e938b
feat: Update rendering block ignores
...
Barrier blocks, structure void blocks, light blocks, and air blocks now share 2 `HashMap`s that define blocks that should be ignored by the LOD builder.
2023-08-21 03:41:27 +02:00
s809
ce4d50654d
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-08-19 22:28:13 +05:00
s809
7568ab56f6
Fix hang when near completion of loading from server
...
Replace total value with sum of pending+finished requests
2023-08-19 22:21:01 +05:00
s809
bf58654a10
Fix prioritization not working properly
2023-08-19 21:22:51 +05:00
Steveplays28
e4576c7d51
Merge remote-tracking branch 'upstream-core/main'
2023-08-19 11:41:38 +02:00
Steveplays28
a1f07c075e
Merge remote-tracking branch 'upstream-core/main'
2023-08-18 15:12:11 +02:00
s809
84c4ad6cdd
Add missing level wrapper argument (and a bunch of null checks)
2023-08-18 15:04:59 +02:00
Steveplays28
47aef1f349
Merge remote-tracking branch 'upstream-core/main'
...
# Conflicts:
# core/src/main/java/com/seibel/distanthorizons/core/api/internal/ClientApi.java
# core/src/main/java/com/seibel/distanthorizons/core/api/internal/SharedApi.java
# core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/FullDataPointIdMap.java
# core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/CompleteFullDataSource.java
# core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/HighDetailIncompleteFullDataSource.java
# core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/LowDetailIncompleteFullDataSource.java
# core/src/main/java/com/seibel/distanthorizons/core/file/fullDatafile/GeneratedFullDataFileHandler.java
# core/src/main/java/com/seibel/distanthorizons/core/file/fullDatafile/RemoteFullDataFileHandler.java
# core/src/main/java/com/seibel/distanthorizons/core/level/ClientLevelModule.java
# core/src/main/java/com/seibel/distanthorizons/core/level/DhClientLevel.java
# core/src/main/java/com/seibel/distanthorizons/core/level/DhClientServerLevel.java
# core/src/main/java/com/seibel/distanthorizons/core/level/DhServerLevel.java
# core/src/main/java/com/seibel/distanthorizons/core/level/IDhServerLevel.java
# core/src/main/java/com/seibel/distanthorizons/core/level/ServerLevelModule.java
# core/src/main/java/com/seibel/distanthorizons/core/network/NetworkEventSource.java
# core/src/main/java/com/seibel/distanthorizons/core/network/messages/AckMessage.java
# core/src/main/java/com/seibel/distanthorizons/core/network/messages/CloseReasonMessage.java
# core/src/main/java/com/seibel/distanthorizons/core/network/messages/HelloMessage.java
# core/src/main/java/com/seibel/distanthorizons/core/network/messages/PlayerUUIDMessage.java
# core/src/main/java/com/seibel/distanthorizons/core/network/messages/RemotePlayerConfigMessage.java
# core/src/main/java/com/seibel/distanthorizons/core/network/objects/RemotePlayer.java
# core/src/main/java/com/seibel/distanthorizons/core/network/protocol/EMessageHandlerSide.java
# core/src/main/java/com/seibel/distanthorizons/core/network/protocol/INetworkMessage.java
# core/src/main/java/com/seibel/distanthorizons/core/network/protocol/MessageRegistry.java
# core/src/main/java/com/seibel/distanthorizons/core/network/protocol/NetworkChannelInitializer.java
# core/src/main/java/com/seibel/distanthorizons/core/network/protocol/NetworkExceptionHandler.java
# core/src/main/java/com/seibel/distanthorizons/core/world/DhClientWorld.java
# core/src/main/java/com/seibel/distanthorizons/core/world/DhServerWorld.java
# core/src/main/java/com/seibel/distanthorizons/core/wrapperInterfaces/block/IBlockStateWrapper.java
# core/src/main/java/com/seibel/distanthorizons/core/wrapperInterfaces/misc/IServerPlayerWrapper.java
# core/src/main/java/com/seibel/distanthorizons/core/wrapperInterfaces/world/IBiomeWrapper.java
2023-08-16 11:36:00 +02:00
Steveplays28
1e7a25046a
fix: Fix BlockStateWrapper and Biome serializing to empty strings
2023-08-15 00:03:13 +02:00
Steveplays28
87a9e93278
fix: Fix server trying to access client instance
2023-08-14 19:23:39 +02:00
Steveplays28
2d3062008e
Merge remote-tracking branch 'upstream-core/main'
2023-08-14 15:40:41 +02:00
Steveplays28
8dcec7a1bd
refactor: Re-add old serialization method
...
This is used by some override methods that don't have access to the level.
These old serialization methods have `FIXME`s so they're easy to find in the future.
2023-08-13 23:18:55 +02:00
Steveplays28
d839b6e4bd
Merge remote-tracking branch 'upstream-core/main'
...
# Conflicts:
# core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/FullDataPointIdMap.java
# core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/CompleteFullDataSource.java
# core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/HighDetailIncompleteFullDataSource.java
# core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/LowDetailIncompleteFullDataSource.java
# core/src/main/java/com/seibel/distanthorizons/core/pos/DhSectionPos.java
2023-08-13 22:59:43 +02:00
s809
0c155ac8cd
Generation task prioritization (loaded > unloaded > ungenerated)
2023-08-13 18:59:08 +05:00
s809
271b193543
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-08-13 01:53:06 +05:00
s809
e4ac25f4ce
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-08-08 20:57:30 +05:00
s809
52f9e3e9e4
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-08-08 12:35:21 +05:00
s809
6bf32ff85c
Add debug renderer for remote generation queue
2023-08-05 22:30:33 +05:00
s809
9bd432ad7f
Fix memory leak related to requests
2023-08-04 22:12:09 +05:00
s809
04fc4aa676
Remove unnecessary logging
2023-08-04 21:51:53 +05:00
s809
8ee4b8b4c9
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-08-04 21:10:41 +05:00
s809
5767668efa
Somewhat proper request cancellation
2023-08-04 21:04:34 +05:00
s809
76b226b865
Fix switching dimensions (request cancellation is broken)
2023-08-04 13:06:56 +05:00
s809
1788c18d59
Everything I've done so far (not working/finished)
2023-08-01 22:31:16 +05:00
s809
2251cd4c25
Attempt to fix dimension switching
2023-08-01 17:04:40 +05:00
s809
781b588980
Implement server-side rate limiting
2023-08-01 12:55:36 +05:00
s809
74ac4fe64f
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-07-31 17:43:16 +05:00
s809
6d1f9803ce
Avoid losing requests due to concurrency
2023-07-31 17:42:14 +05:00
s809
95d721e1a3
World generation
2023-07-31 15:23:56 +05:00
s809
d2f2a3b8aa
Attempt to use GeneratedFullDataFileHandler
2023-07-24 19:59:16 +05:00
s809
768ce5b8fd
something
2023-07-24 19:16:05 +05:00
s809
3e9f741d62
Implement transferring of missing full data source types
2023-07-24 14:15:03 +05:00
s809
133f007bde
Fix mistake
2023-07-24 11:01:10 +05:00
s809
a623a3bfab
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-07-24 10:41:17 +05:00
s809
4157a39589
Somewhat working generation
2023-07-24 01:46:09 +05:00
s809
10e2873497
Downloads already visited chunks
2023-07-23 23:48:42 +05:00
s809
d7ef6c8a72
Got chunks to generate on server
2023-07-23 20:34:40 +05:00
s809
d29ba9d423
Requests now work properly
...
Merge request tracker into event source
2023-07-23 14:39:29 +05:00
s809
0c60395426
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-07-23 11:08:31 +05:00
s809
4ac1c0d4b3
Sending some responses
...
Rejoin is horribly broken
2023-07-19 22:29:33 +05:00
Steveplays28
9a0c9e9b7d
feat: Implement syncing of DhSectionPos for chunk requests/responses
2023-07-19 16:48:43 +02:00
s809
79408c081a
Close network request tacker properly
2023-07-19 17:40:38 +05:00
s809
218411902e
Incomplete something
2023-07-19 15:54:17 +05:00
s809
a42f8367a4
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-07-19 12:20:11 +05:00
s809
02acfaa3ed
Finer control over message handling (untested)
2023-07-19 12:19:39 +05:00
s809
9a2799e83b
Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core
2023-07-16 12:47:44 +05:00
s809
73e6ce75b0
Replace "tell version to client" part with simple ack because YAGNI
2023-07-16 12:38:32 +05:00