Commit Graph

21 Commits

Author SHA1 Message Date
Dawson f6c360ed7c Fixing prediction 2023-03-18 15:27:04 -04:00
Dawson 3f136d78ea Attempt at fixing StackOverflowError 2023-03-18 13:14:56 -04:00
Dawson 403642af4e Using our SWORDS EnumSet 2023-03-17 22:49:27 -04:00
Dawson 80bf891d11 New check concept 2023-03-17 18:17:46 -04:00
Dawson e888a5d9eb Optimizing processChunk 2023-03-17 12:29:54 -04:00
Dawson 87f21ca0c6 Update GeneralListener.java 2023-03-17 11:52:27 -04:00
Dawson 0ed027cd6f Optimizing emulator iterations (needs testing) 2023-03-16 17:35:18 -04:00
Dawson fa919690f6 Pushing out 2023-03-16 17:20:32 -04:00
Dawson be993b9b4b Fixing inventory (D) 2023-03-16 15:48:32 -04:00
Dawson c74ab5b1a6 Added new Inventory (FastClick) check
This detection looks for fast item switch movements, or that's that intention. This functionality needs added now that I notice.
2023-03-16 07:47:24 -04:00
Dawson 5c1284e008 Adding comment in Chunk 2023-03-15 14:28:08 -04:00
Dawson 868815e429 Fixing Inventory (C) velocity falses 2023-03-15 14:25:15 -04:00
Dawson 91a3e5ca9b Optimized chunk grabbing, added velocity accounting for prediction 2023-03-15 14:20:02 -04:00
Dawson 53e9cb2189 Section 2023-03-14 20:59:54 -04:00
Dawson c8f279a9fc Fixed teleport lag issue with emulator 2023-03-14 14:13:23 -04:00
Dawson bbb7ade1c9 Added todo to fix teleport lag on emulator 2023-03-14 13:04:43 -04:00
Dawson ed2410757d Bug fixes and performance improvements
- Fixed NullPointerExceptions on the teleport functions of the Phase check. This is caused by a concurrency issue where I didn't set the Location object as a final constant and it would get updated to null by another thread.
- Added a Cache on the XMaterial#matchXMaterial(Material) method so it isn't running the logic repeatedly. This improved performance.
- Instead of using an object as a key in BlockUpdateHandler, we use an Integer array. This should theoretically improve performance by reducing the amount of hashing required. However, we shall see how this works in practice.
- Reduced the amounts of instructions needed to run in the getCollidingBlocks() method for the Emulator in APlayer by removing the use of a Stream and just replacing it with a for() loop.
2023-03-14 13:03:50 -04:00
Dawson 572716e76e Update JoinListener.java 2023-03-14 10:52:55 -04:00
Dawson dc089d022e Improving shit 2023-03-07 14:32:38 -05:00
Dawson 11b4a62924 Imrpoved shit 2023-03-06 14:37:21 -05:00
Dawson 591f782efd Restructuring Project 2023-03-06 09:32:22 -05:00