Commit Graph

559 Commits

Author SHA1 Message Date
Nikita Edel
142e41e1ca fix sort function 2026-03-11 04:08:40 +01:00
Nikita Edel
56955ad935 shift of negative values, added casts 2026-03-11 03:59:41 +01:00
Nikita Edel
caadcfe9db faulty casts of templated classes 2026-03-11 03:45:56 +01:00
Nikita Edel
e76ec32824 dangerous alignment issues
the processDLCData() fn, was constantly casting a raw byte pointer to scalars/structs, replaced those calls with memcpy, also optimized and improved the guards for __linux__ at the top of the file
2026-03-11 03:24:46 +01:00
Nikita Edel
dfb200d037 integer oferflow, shift of negative value 2026-03-11 00:26:31 +01:00
Nikita Edel
a006cc5aa0 uninitialized vptr
the vptr to isSolidRender() is not known before contruction of the Tile. Its true by default. if false, need to pass false. that is what i did. i verfied what isSolidRender() is in every file. and did exactly what isSolidRender() would return
2026-03-10 23:22:34 +01:00
Nikita Edel
8865194e47 uninitialized data 2026-03-10 21:59:51 +01:00
Leah Anderson
4e39635f20 Merge pull request #167 from 4jcraft/fix/missing-asset-error
fix: remove unused console-only asset archive imports
2026-03-10 14:31:36 -06:00
Tropical
687d4e66a3 Merge pull request #147 from nikita-edel/dev
enhancement: make LCE runnable with ASan
2026-03-10 15:27:22 -05:00
Tropical
12ede0691a fix: remove unused console-only asset archive imports 2026-03-10 15:22:37 -05:00
Nikita Edel
cc305944e5 Merge branch '4jcraft:dev' into dev 2026-03-10 20:59:25 +01:00
Tropical
fd785ad3f2 Merge pull request #132 from TheComputerGuy96/ci-debug-job
Debug build split (and other minor CI fixups)
2026-03-10 14:58:13 -05:00
Nikita Edel
c86bfe35f3 Merge branch '4jcraft:dev' into dev 2026-03-10 20:51:42 +01:00
Nikita Edel
0ff6f767e5 formailize comments 2026-03-10 20:30:31 +01:00
Nikita Edel
da3d69b5bd final commit, removed scripts and reset meson.build 2026-03-10 20:27:11 +01:00
Nikita Edel
af16088015 improved a change 2026-03-10 20:13:01 +01:00
Tropical
750436d815 Merge pull request #165 from 4jcraft/fix/fatal-load-error
fix: implement `CConsoleMinecraftApp::FatalLoadError` on linux
2026-03-10 13:57:00 -05:00
Nikita Edel
f9fc430c43 Merge branch '4jcraft:dev' into dev 2026-03-10 19:34:42 +01:00
Tropical
d495ebf841 Merge pull request #166 from TheComputerGuy96/non-infinity
GameNetworkManager: Fix incorrect infinity value redefinition
2026-03-10 13:32:24 -05:00
Echo J.
8a8280b242 GameNetworkManager: Fix incorrect infinity value redefinition
WaitForSingleObject() uses the maximum 32-bit value for specifying infinite timeout (while INFINITY might overflow that sized value back to 0) which caused the server wait event to not actually wait when compiled with Clang (and the game to be forever stuck on a black screen due to abnormal server state)
2026-03-10 20:00:07 +02:00
Tropical
5406648692 fix: implement CConsoleMinecraftApp::FatalLoadError on linux 2026-03-10 11:16:42 -05:00
JuiceyDev
56245448d3 Merge pull request #160 from vekidev/patch-1
the biggest pr of them all
2026-03-10 10:37:46 +01:00
vekidev
45c90ef358 the biggest commit of them all
its the biggest one what can i tell you
2026-03-10 10:27:24 +01:00
JuiceyDev
2464d27749 Merge pull request #152 from 4jcraft/chore/4jcraft-comments
chore: add comments indicating 4jcraft modifications, update contribution guidelines, undo #135
2026-03-10 07:15:38 +01:00
Tropical
10009abcc5 docs: clarify comment policy 2026-03-09 20:35:02 -05:00
Nikita Edel
6be6aadf0e another delete operator missmatch 2026-03-10 02:27:16 +01:00
Tropical
d6b8d665df docs: add actionable contribution guidelines 2026-03-09 20:23:04 -05:00
Nikita Edel
021c2809f4 purged -Wdelete-non-abstract-non-virtual-dtor 2026-03-10 02:13:56 +01:00
Tropical
e4868446bd chore: add comments for 4jcraft-added functionality, undo #135 2026-03-09 19:46:54 -05:00
Nikita Edel
c74bb31102 Merge branch 'dev' of github.com:nikita-edel/4jcraft into dev 2026-03-10 00:13:02 +01:00
Nikita Edel
c6ab0e1177 unhide files 2026-03-10 00:12:26 +01:00
Nikita Edel
2ae8ac3b80 fix typos in comment 2026-03-09 23:15:34 +01:00
Nikita Edel
0047a442a3 hide the files 2026-03-09 23:06:45 +01:00
Nikita Edel
66b31669c3 new batch of delete operator missmatch 2026-03-09 22:48:36 +01:00
Nikita Edel
10ee2085ff Merge branch '4jcraft:dev' into dev 2026-03-09 22:10:47 +01:00
Nikita Edel
5265eef759 first patch of UB 2026-03-09 21:54:43 +01:00
ThePixelMoon
ca48a01a81 Merge pull request #145 from Schweeeeeeeeeeeeeeee/dev
Add missing python3 dependency to flake.nix
2026-03-09 22:27:32 +02:00
ThePixelMoon
17e113f292 Merge pull request #144 from MathiewMay/dev
Fixed packet desync caused by entity ID overflowing
2026-03-09 22:26:55 +02:00
Schweeeeeeeeeeeeeeee
97729d5b23 Add missing python3 dependency to flake.nix 2026-03-09 20:51:07 +01:00
MathiewMay
9c254bbf4d SetEntityMotionPacket::write() was sending raw entity ID without masking, changing it to mask the ID to 11 bits first since large entity IDs were accidentally setting the compression flag bit and causing wrong number of bytes to be read by receiver. 2026-03-09 15:34:08 -04:00
Tropical
4ecafd754b Merge pull request #138 from Pyogenics/fix-shutil-rmtree
Fix error where rmtree is called in an awkward setup
2026-03-09 14:17:18 -05:00
Nikita Edel
d36433cafc Merge branch '4jcraft:dev' into dev 2026-03-09 19:44:18 +01:00
Leah Anderson
9c996b6014 Merge pull request #137 from MathiewMay/dev
Added nullptr check on itemInHandRenderer to prevent an seg fault.
2026-03-09 12:14:55 -06:00
Pyogenics
ef8f4b6f77 Fix error where rmtree is called in an awkward setup 2026-03-09 17:56:18 +00:00
MathiewMay
3f1c95418f removed the turnOnLightLayer on handRenderer so that it renders correctly (similar to how chunk renderer had to be disbaled for proper rednering)
Add nullptr check before calling redner on itemInHandRenderre to prevent a occasional seg fault.
2026-03-09 13:25:56 -04:00
DecalOverdose
5f3ae12d16 Merge pull request #135 from urzuline/dev
disable vsync and force maxFps to zero
2026-03-09 21:11:24 +04:00
Emily
e13c573ecc disable vsync and force maxFps to zero 2026-03-09 13:03:23 -04:00
Nikita Edel
81e9256b7a added asan for debug builds 2026-03-09 17:22:15 +01:00
Echo J.
fb39f1afde Remove an unused CI file
This was effectively replaced by the build-linux.yml script
2026-03-09 17:38:53 +02:00
Echo J.
4eaf02bfd0 CI: Compile the client directly with Meson
I'm not sure why Ninja had to be called here
2026-03-09 17:38:53 +02:00