Commit graph

193 commits

Author SHA1 Message Date
Tim203
30b9caf5fa Corrected some stuff 2019-09-17 00:45:39 +02:00
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
RednedEpic
eaf57550e5 Implement support for changing held item 2019-08-05 15:16:45 -05:00
RednedEpic
9399296908 Fix NBT translations (for the most part) 2019-08-04 17:23:19 -05:00
RednedEpic
5be882b040 Fix wrong EntityType in JavaSpawnPlayerTranslator 2019-08-04 15:53:39 -05:00
RednedEpic
128769dee8 Minor refactors and tweaks, update README 2019-08-03 22:24:53 -05:00
RednedEpic
bfa4abf9c8 Merge remote-tracking branch 'origin/master' 2019-08-03 20:45:01 -05:00
Logicism
fc50242c47 Fix Redudant Gamemode Code 2019-08-03 18:20:15 -07:00
Logicism
ebd1e502f2 Add Gamemode Change and Titles Times Translator w/ Scoreboard Registry 2019-08-03 18:01:16 -07:00
RednedEpic
1d1cdd4f42 Set Ipv4 port for BedrockPong 2019-08-03 01:56:54 -05:00
RednedEpic
c114e4d541 (A lot) more work on entities 2019-08-03 01:51:05 -05:00
RednedEpic
d496d4958e Start work on entity translations 2019-08-02 22:38:09 -05:00
Blue Kelp
fda221c12c fixup example xbox username 2019-08-02 14:01:01 -07:00
Blue Kelp
ae9d51c8b7 log user auto-logins and note to improve 2019-08-02 13:55:26 -07:00
Blue Kelp
bf7c74e072 fix cert/handshake error 2019-08-02 13:55:06 -07:00
Blue Kelp
5f93b5bec4 null safety on auth/handshake errors 2019-08-02 13:54:40 -07:00
Blue Kelp
f62aa390d2 support auto-login of configured users
- fall back to window/form prompt if user is not configured
2019-08-02 13:15:32 -07:00
Blue Kelp
168778026a refactor file utils for reuse 2019-08-01 21:16:17 -07:00
Blue Kelp
6f5c9a535e consolidate with existing utils class 2019-08-01 21:15:11 -07:00
Blue Kelp
9bebfd5ded pull out auth window code into util class 2019-08-01 21:15:11 -07:00
Blue Kelp
491737202d refactor auth code out 2019-08-01 21:15:11 -07:00
Blue Kelp
909b81275b fixup default logging base class
- removed translation of some packets (left over from original source)
- all events are handled the same way now and translation is only performed in the subclass
2019-08-01 18:53:35 -07:00
Blue Kelp
e85e16ecfe move boilerplate event stuff
- logging performed in single method of base class
2019-08-01 18:38:21 -07:00
RednedEpic
eb28de7857 Temporarily comment out NBT code so inventory doesn't bug out 2019-08-01 15:31:03 -05:00
Redned
3151788cd0
Merge pull request #16 from LogicismDev/master
Scoreboard
2019-07-31 17:46:00 -05:00
RednedEpic
3784ba7baa Code cleanups and update ItemTranslator to work with new mappings 2019-07-31 14:59:23 -05:00
EOT3000
8c2897dbec new remaps 2019-07-30 20:10:27 -04:00
EOT3000
0bb3bc49d9 comment out remap function, because we won't need it for a while! 2019-07-30 08:38:37 -04:00
Logicism
c7869e77e8 Scoreboard Fix 2019-07-29 19:57:43 -07:00
Logicism
fe833edddb Scoreboard Fix 2019-07-29 19:47:49 -07:00
EOT3000
66bc2753f7 add re-mappings 2019-07-29 22:25:13 -04:00
RednedEpic
8a0c1f7208 Add planks translators 2019-07-29 17:40:38 -05:00
RednedEpic
1e4e729b6b Add wool/carpet translators 2019-07-29 17:39:51 -05:00
RednedEpic
6ba8614612 Move inventory translators to the proper package 2019-07-29 17:28:01 -05:00
RednedEpic
8220131f7d Merge branch 'master' into inv 2019-07-29 17:26:15 -05:00
RednedEpic
635a26dd60 Start work on inventory/item translators 2019-07-29 17:20:48 -05:00
RednedEpic
bbacbfdf66 Fix invalid package declarations 2019-07-25 23:26:42 -05:00
Ryan Hecht
39bc9baf16 Added JavaEntityDestoryTranslator and JavaSpawnExpOrbTranslator 2019-07-24 22:03:59 -07:00
Ryan Hecht
2a07e05877 Refactored Java packets to follow package structure of MCProtocolLib, removed redundant 'JavaTimeTranslator' 2019-07-24 21:44:15 -07:00
RednedEpic
77ea4eda60 Encrypt bedrock packets 2019-07-24 17:53:42 -05:00
RednedEpic
dbfbaf47cd Cleanup and refactor translator code 2019-07-24 15:13:07 -05:00
RednedEpic
df6836e12b Add authentication/online mode support 2019-07-24 01:29:54 -05:00
RednedEpic
d6aa75b2f7 Bump Java protocol library 2019-07-23 18:44:53 -05:00
RednedEpic
c90784feb7 Bump Bedrock protocol library 2019-07-23 18:44:30 -05:00
RednedEpic
657f12654b Add form API and other small changes 2019-07-23 18:16:25 -05:00
RednedEpic
ff11a55884 Call the PingEvent 2019-07-23 11:53:39 -05:00
RednedEpic
caebb8e4f4 Add weather packets 2019-07-23 11:47:40 -05:00
RednedEpic
81ad1542ee Add some entity translators 2019-07-23 11:47:39 -05:00
EOT3000
a2e4aed340 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java
2019-07-23 08:05:43 -04:00
EOT3000
f0551727ca First Event! 2019-07-22 10:20:49 -04:00
RednedEpic
ccb52007fc Allow connected sessions to run Geyser commands 2019-07-21 19:52:20 -05:00