Commit Graph

131 Commits

Author SHA1 Message Date
Tim203 1c74a6252a Some fixes, added playerlist. Entity spawning doesn't work yet 2019-09-17 00:28:29 +02:00
Redned 4b3dfc09f9 Fix gamemode changing 2019-09-15 20:34:57 -05:00
Redned fac7093bff Add position checker to prevent false movements
Sometimes this caused bugs on servers and made anticheats go wild. This should resolve most of the movement issues regarding that.
2019-09-15 20:25:16 -05:00
Redned ef7800a739 Move block translations to separate class
This is to be expanded upon further at a later date
2019-09-15 19:04:54 -05:00
Redned 5d87b7ccab Cleanup startup messages 2019-09-15 18:46:05 -05:00
Redned 7f051bd6bc Start work on a basic chunk cache and block collision detection 2019-09-15 18:34:14 -05:00
Tim203 0690b30c02 Made logging a bit more useful 2019-09-15 09:57:02 +02:00
Redned 21ddc83da8 Implement multi-block chunk updates 2019-09-14 23:23:14 -05:00
Redned c606119c1d Fix entities glitching out and teleporting to the wrong location 2019-09-14 23:19:13 -05:00
EOT3000 3f45b21689 Block changes work (again) 2019-09-14 19:21:55 -04:00
EOT3000 074442aac9 Block changes work (again) 2019-09-14 11:33:58 -04:00
EOT3000 77c8acefdb Block changes work 2019-09-14 11:26:49 -04:00
EOT3000 eb00721f3d Merge remote-tracking branch 'origin/chunks' into chunks 2019-09-13 22:53:39 -04:00
EOT3000 26a043fd0a null is probably solid! Like dirt! 2019-09-13 22:53:16 -04:00
RednedEpic 061642f9ab Fix bug where player was spawned inside of a block upon joining 2019-09-13 20:22:00 -05:00
RednedEpic 1bf4e5289a Implement more player actions 2019-09-13 20:12:36 -05:00
RednedEpic 664723a768 Update default movement speed value 2019-09-13 19:38:06 -05:00
RednedEpic a69aa8ebdb Implement player movement 2019-09-13 19:37:06 -05:00
RednedEpic 03bf12ee65 Implement more block mappings 2019-09-13 18:49:46 -05:00
SupremeMortal c9be13d487
Fix AIOOBE and remove PlayerSession usage. 2019-09-13 15:45:55 +01:00
SupremeMortal ab55050d11
Close remote java connection when bedrock player leaves. 2019-09-13 14:37:31 +01:00
SupremeMortal 9a9f67b45f
Get chunks working to some degree. 2019-09-13 11:49:18 +01:00
SupremeMortal ed7213d7c7
Remove IntelliJ files @EOT3000 added... and more chunk changes. 2019-09-13 10:39:38 +01:00
SupremeMortal d8388d0315
Merge remote-tracking branch 'upstream/chunks' into chunks
# Conflicts:
#	connector/src/main/java/org/geysermc/connector/utils/ChunkUtils.java
2019-09-13 10:15:43 +01:00
SupremeMortal 7a6d3f4604
Various chunk tweaks. 2019-09-13 10:08:48 +01:00
Redned 7bda95cfb2
Set non-air blocks on the block layer 2019-09-11 22:22:46 -05:00
EOT3000 db864b7e51 try more chunk stuff 2019-09-11 18:54:51 -04:00
EOT3000 59e0aff289 Hybrid mode start + try fixing chunks (hashcodes, etc.) 2019-09-11 16:28:48 -04:00
RednedEpic 6cb80dea28 Minor cleanup upon initial block remap 2019-09-10 18:45:46 -05:00
SupremeMortal 72589fabcd
Rename palette to BitArray and fix various chunk issues.
No idea if this works since I have no Java Edition server to test on.
2019-09-10 22:50:34 +01:00
RednedEpic 383429d71b Fix a few chunk errors
This does not fix chunks on its own, they're still very much a work in progress, however this commit should hopefully resolve a few issues. The client might still crash due to some invalid mappings (most likely), but this should bring us one step closer.

With hardcoded values for the chunks, the client wouldn't crash (which leads me to the conclusion stated above) and on the occasions that it would not time out, the chunks were empty.

Co-authored-by: SupremeMortal <suprememortal@users.noreply.github.com>
2019-09-08 15:46:10 -05:00
RednedEpic bd8a00b5eb Merge branch 'master' into chunks 2019-08-30 16:56:34 -05:00
RednedEpic 1c1785ac51 Start work on chunks
- There are probably many errors and issues with this code (some dumb ones probably). As of right now it crashes the client.
2019-08-30 16:47:33 -05:00
Redned 7aa4457f34
Uncomment disconnect code for downstream disconnect
- This should hopefully reduce spam in console when a java client is disconnected. The disconnect handler will be rewritten later to address the not being able to reconnect issue.
2019-08-23 22:49:48 -05:00
RednedEpic b611f8facb Rewrite remapper 2019-08-09 22:16:34 -05:00
RednedEpic f1c34a4ca5 Add respawn translator (Closes #23) 2019-08-09 19:15:06 -05:00
RednedEpic 7dae4cbd0f Fix NPE for items with missing mappings (Closes #24) 2019-08-09 16:09:47 -05:00
EOT3000 33c4c115ab more fixes 2019-08-08 21:54:02 -04:00
EOT3000 c621ead6d9 fix things 2019-08-08 21:50:29 -04:00
RednedEpic ba21acc9c8 Cleanup adding/removing players 2019-08-08 20:42:55 -05:00
RednedEpic 295d8d5256 Fix double disconnect bug and minor code cleanups 2019-08-08 18:16:46 -05:00
EOT3000 de78c93b72 chunks. Still don't work, but hey, it doesn't crash or hang! 2019-08-08 18:14:08 -04:00
EOT3000 7c807740a4 even more mappings! 2019-08-07 19:56:44 -04:00
EOT3000 d22861d61b remap fixes 2019-08-07 19:08:48 -04:00
RednedEpic cadd779f43 Implement entity attribute support 2019-08-06 01:39:39 -05:00
EOT3000 b66631407b api stuff 2019-08-05 22:14:41 -04:00
EOT3000 7fccb0d69d new remapper (: 2019-08-05 22:09:45 -04:00
EOT3000 5318a664b8 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java
2019-08-05 22:05:56 -04:00
EOT3000 202e3e584c new remapper (: 2019-08-05 21:59:54 -04:00
RednedEpic c926c7d8fa Remove unnecessary duplicate of StartGamePacket 2019-08-05 15:30:56 -05:00