9289 Commits

Author SHA1 Message Date
Dylan K. Taylor
9ecf23d3ee Fix some bugs in doxygen config 2019-01-24 11:26:48 +00:00
Dylan K. Taylor
738e310798 Strip out RCON, closes #2686
Users should move to the new RconServer plugin instead.
2019-01-23 20:39:16 +00:00
Dylan K. Taylor
61e04d5284 Merge branch '3.5' 2019-01-23 16:48:12 +00:00
Dylan K. Taylor
187f36fe38 ExperienceOrb: clean up some confusing code 2019-01-23 16:46:18 +00:00
Dylan K. Taylor
dc89b48354 Human: Fixed XP drop amount to match vanilla
In vanilla it doesn't drop the exact number of points you collected. Rather, you lose a little for every level above 1 you had (1 level requires 7 points, later levels require +2 per level), and can recover at most 100 points. Hence, if you had 10 levels, you get back enough points to fill 5 levels and most of a 6th. 14-15 levels gets you the upper bound of about 7.5 levels.
2019-01-23 12:39:25 +00:00
Dylan K. Taylor
e6d1c1dfbc Living: Get rid of delayed XP spawning, closes #2644
This is not identical to vanilla, but I don't care because it gets rid of edge cases and also makes it easier to integrate with EntityDeathEvent in the future.
2019-01-23 12:31:05 +00:00
Dylan K. Taylor
6277787e0a Convert Particle to interface 2019-01-23 12:18:24 +00:00
Dylan K. Taylor
d2284d5c47 Move Particle IDs to protocol namespace 2019-01-23 12:16:01 +00:00
Dylan K. Taylor
23a18a8eb6 Convert Sound into interface 2019-01-23 12:10:24 +00:00
Dylan K. Taylor
2356991022 Merge branch '3.5' 2019-01-22 22:27:07 +00:00
Dylan K. Taylor
5a8812b1dc 3.5.8 is next 2019-01-22 22:14:19 +00:00
Dylan K. Taylor
4b8e4123af Release 3.5.7 3.5.7 2019-01-22 22:13:35 +00:00
Dylan K. Taylor
45a4252c26 RCON: Explicitly specify connection backlog size, fixes #2685
I believe this is caused by a bug in the linux kernel, since it only impacts certain machines I tested (one, to be specific). Whatever the case, setting a max backlog size is prudent anyway, and fixes the problem.
2019-01-22 22:11:32 +00:00
Dylan K. Taylor
feaaa925a7 Fixed a series of denial-of-service bugs in RCON
Packets with a too-short payload would either cause the RCON thread to hang until the client disconnected, or crash the RCON thread entirely.

commit 90bb1894d7f87645b806f5fc67d1b877bb963180
Author: Dylan K. Taylor <odigiman@gmail.com>
Date:   Tue Jan 22 18:15:46 2019 +0000

    fix some bugs in RCON
2019-01-22 22:05:15 +00:00
Dylan K. Taylor
5221db1178 Updated BinaryUtils dependency 2019-01-22 17:22:11 +00:00
Dylan K. Taylor
17fee801e6 RCON: remove unnecessary function 2019-01-22 13:43:55 +00:00
Dylan K. Taylor
1ebc101ded fixed crash on dev build self-shutdown 2019-01-22 13:38:50 +00:00
Dylan K. Taylor
48a99937b9 more exception handling cleanup 2019-01-22 13:37:46 +00:00
Dylan K. Taylor
053defb7dc Updated RakLib dependency 2019-01-21 14:19:15 +00:00
Dylan K. Taylor
4ae6428641 Level: rename getCollisionCubes() -> getCollisionBoxes()
these aren't cubes! shoghi, please read the dictionary.
2019-01-20 18:11:20 +00:00
Dylan K. Taylor
425ad6101f Block: rename onEntityCollide() -> onEntityInside()
this better describes what the hook is for.
2019-01-20 18:09:47 +00:00
Dylan K. Taylor
d586a18a16 Updated BedrockData submodule 2019-01-20 16:57:25 +00:00
Dylan K. Taylor
ae7d6cc4a2 Merge branch '3.5' 2019-01-20 15:53:47 +00:00
Dylan K. Taylor
47321114eb login: allow 60 seconds clock drift on login JWT
can everyone please just use NTP already?
2019-01-20 15:51:29 +00:00
Dylan K. Taylor
a27c9409f1 ExperienceOrb: fixed wrong condition 2019-01-20 12:30:24 +00:00
Dylan K. Taylor
854f851525 ExperienceOrb: don't follow players in other worlds 2019-01-20 12:30:09 +00:00
Dylan K. Taylor
467caf347d NetworkSession: Consistently don't use 0x prefix 2019-01-20 11:06:47 +00:00
Dylan K. Taylor
5d8568b1a4 Add NetworkSession->getDisplayName(), clean up ip/port ad-hoc usages 2019-01-20 11:05:12 +00:00
Dylan K. Taylor
842eb0200e Merge branch '3.5' 2019-01-19 19:14:39 +00:00
Dylan K. Taylor
9003b38be3 Fixed a wtf in Player->removeWindow() 2019-01-19 19:14:21 +00:00
Dylan K. Taylor
f9c067db50 Merge branch '3.5' 2019-01-19 17:48:57 +00:00
Dylan K. Taylor
a6a93f822f 3.5.7 is next 2019-01-19 17:48:16 +00:00
Dylan K. Taylor
d4851a8f1f Release 3.5.6 3.5.6 2019-01-19 17:33:07 +00:00
Dylan K. Taylor
480a513f30 Sign: fixed asserts on loading NBT, closes #2636 2019-01-19 16:42:22 +00:00
Dylan K. Taylor
6df983da3e Merge branch '3.5' 2019-01-19 16:24:41 +00:00
Dylan K. Taylor
4fd3bee360 Entity: Address fireticks crashdumps
This will now throw an exception at the source instead of crashing when the entity is saved, which should put the blame on the correct plugin responsible for this.
This also includes magic method hacks to preserve backwards compatibility, since the fireTicks field is now protected.
2019-01-19 16:05:10 +00:00
Dylan K. Taylor
41fd7545e3 RegionLoader: Account for unexpected EOF when reading chunks, closes #2676 2019-01-19 15:49:19 +00:00
Dylan K. Taylor
82dddde159 Remove dead code in /time command handler 2019-01-19 15:15:04 +00:00
Dylan K. Taylor
bc709efb77 Prevent stupidity with /enchant 2019-01-19 15:14:51 +00:00
Dylan K. Taylor
9d8a70d5cf Level: use appropriate exceptions 2019-01-19 14:55:09 +00:00
Dylan K. Taylor
65927e6965 Minor cleanup to Player NBT creation garbage 2019-01-19 14:32:20 +00:00
Dylan K. Taylor
d3f9d1f3e7 Merge branch '3.5' 2019-01-19 13:57:42 +00:00
Dylan K. Taylor
cd98e6a23e Updated PreProcessor submodule 2019-01-19 13:57:17 +00:00
Dylan K. Taylor
179fb9c7cb Fixed tree trunk generation bug introduced by ac87319aed4d556d85a8aeba0ea6da6667a5408f
Blocks were being overwritten in the writebatch which hadn't yet been set, so reading them from the world yielded air blocks instead of trunk, allowing the generation to overwrite blocks which should have been logs.
2019-01-19 13:41:28 +00:00
Dylan K. Taylor
6b7710e62b Introduce dedicated NBT data exceptions, fix up some corrupted chunk handling 2019-01-19 12:43:47 +00:00
Dylan K. Taylor
c5998a92a8 PluginManager: clean up some Throwable abuse 2019-01-17 23:34:59 +00:00
Dylan K. Taylor
c5df2f6f0d Remove another Throwable abuse 2019-01-17 22:43:52 +00:00
Dylan K. Taylor
2dee7e9e0f Properly handle Query packet errors 2019-01-17 22:22:53 +00:00
Dylan K. Taylor
38cf8d157d Max players check now works properly
This now includes all connected sessions, whether they are considered online or not.
2019-01-17 21:40:10 +00:00
Dylan K. Taylor
41676cb4d4 Server: remove some useless methods 2019-01-17 21:01:31 +00:00