asofold
acc3376106
Expect an outgoing teleport for cancelled PlayerMoveEventS.
...
There is a small chance that other plugin cancel these events. Since the
server ignores event.setFrom for cancelled events and also won't fire a
teleport event, this remains a problematic case.
2015-12-12 15:58:02 +01:00
asofold
bd9f471102
More oddLiquid cases (moving down out of water).
2015-12-12 15:41:19 +01:00
asofold
9dbd721d12
Fight auto-indent.
2015-12-12 14:14:44 +01:00
asofold
71abb63641
Don't add a new entry after merging.
2015-12-12 14:03:31 +01:00
asofold
b0dd8b18ed
Update time for stored entries, in case time ran backwards.
2015-12-12 14:02:58 +01:00
asofold
f9f04feee0
Extend margin for PaperSpigot workaround, confine by split move 1.
...
Add a tag.
2015-12-09 22:14:37 +01:00
asofold
4e0b617bea
Add missing return value.
2015-12-09 11:55:25 +01:00
asofold
7db75f4d79
Faster return for packets missing position or look data.
2015-12-09 11:49:19 +01:00
asofold
0fe398c233
Confine PaperSpigot workaround by jumpphase instead of hDistance.
2015-12-09 10:38:04 +01:00
asofold
0ccfe9699f
Increase default max age.
2015-12-08 19:24:40 +01:00
asofold
2ac4bc7939
Less comma.
2015-12-08 19:23:00 +01:00
asofold
e82a989119
Use a real queue for TeleportQueue.
...
Main purpose is to prevent FlyingFrequency false positives with teleport
loops/excess (typically server or NCP set-backs).
2015-12-08 19:18:56 +01:00
asofold
61d58406f7
[BLIND] Add special case to skip vdistsb to prevent a set-back loop.
...
~ Observed on PaperSpigot 1.7.10
2015-12-08 13:29:29 +01:00
asofold
794fb99d99
Prefer not to use DebugUtil.debug for non-temporary use.
2015-12-07 08:21:23 +01:00
asofold
b2b3ca8dcc
Other special cases for water.
2015-12-07 08:18:13 +01:00
asofold
eb3a86857f
Sketch block change tracking (incomplete, deactivated by default).
...
Represents the first "simplistic" approach to block change tracking,
only attempting to make vertical push/pull work.
It seems that we need to add on-ground checking accounting for piston
moves as well, otherwise anything with pistons retracting will lead to
survivalfly violations. Pistons extending and retracting may also
randomly move around players, including dragging them into the piston
block with the bounding box (not center of player).
In order to make on-ground work, we might need to check in another
place, possibly check where resetFrom an resetTo are set. Performance
questions might remain, there might also be a slight redesign necessary,
in order to run some sub-routines more side-effect free, to check
several branches, including after-failure checking.
2015-12-07 07:44:00 +01:00
asofold
dfcc30aed9
Adjust liquid height, fixes jumping on fence with water above.
2015-12-07 07:35:40 +01:00
asofold
4d3ee38881
Remove the strapackets cancel part, only skip FlyingFrequency on ACK.
2015-12-06 23:53:50 +01:00
asofold
067d6298d9
Do move AttackFrequency to NCPCore.
2015-12-06 17:25:34 +01:00
asofold
1d8d2f66c7
Set ignorestance to true on 1.8 and later.
2015-12-05 21:38:52 +01:00
asofold
1053c21e56
[BLEEDING] Partly fix up bunny hop conditions.
...
Conditions have been warped for some time. Could lead to more false
positives on hdist.
2015-11-29 14:54:24 +01:00
asofold
2e11cdac0b
Confine the bunnyhop envelopy by y-Distance further.
...
* Below 1.7 allow ground-to-ground hop with moderate speed. Might be
there is more speed possible, shortly tested on 1.6.4.
* From 1.7.10 on, hitting the jump envelope or having the head
obstructed is demanded.
2015-11-29 13:04:22 +01:00
asofold
567647fd12
Remove some commented out parts.
2015-11-29 12:36:57 +01:00
asofold
1c07adef1a
Account for GROUND_HEIGHT in isPassableWorkaround. Fix end portal frame.
...
* The GROUND_HEIGHT flag indicates, that players are on ground (and can
walk on) from getGroundMinHeight on, once a block collides. Thus an
extra case for isPassableWorkaround is necessary.
* Set GROUND_HEIGHT for ENDER_PORTAL_FRAME, return the minimal height of
the ENDER_PORTAL_FRAME block for getGroundMinHeight. (Also add XZ100,
just to be sure.)
2015-11-29 09:51:12 +01:00
asofold
7057f8f984
Log getGroundMinHeight, where it differs from maxY.
2015-11-29 09:19:40 +01:00
asofold
56fa75168c
Use LogManager or comment Bukkit logger use.
2015-11-29 09:18:58 +01:00
asofold
8cecf230df
Legacy compat: Use BridgeHealth for health.
2015-11-29 09:06:27 +01:00
asofold
fdf15fc33e
Typo.
2015-11-29 09:03:51 +01:00
asofold
4a8f19ef7a
Log all violations for on-the-fly debugging by default, configurable.
...
This reduces the complexity of explanation :). Performance savers can
turn it off, to prevent the hook registering at all.
2015-11-28 21:10:09 +01:00
asofold
6e602af816
Remove the unused velocitygraceticks thing.
2015-11-28 09:54:27 +01:00
asofold
92b5d0ff60
Legacy compat: Move THORNS to BridgeEnchant.
2015-11-26 11:21:35 +01:00
asofold
2c5accef0c
Do set to GenericVersion.UNKNOWN_VERSION, if the input equals it.
2015-11-26 09:56:34 +01:00
asofold
282024f3a8
[BREAKING] Move several methods from MinecraftVersion to GenericVersion.
...
This breaks testing for UNKNOWN_VERSION, if that is used externally.
Access methods are added for testing for unknown versions.
PR mentioning access methods:
94c4da3267
2015-11-26 09:51:11 +01:00
asofold
473ec3873c
Set Bukkit dependency to 1.8.8-R0.1-SNAPSHOT, scope to 'provided'.
...
(That means adding Bukkit as a dependency to several modules.)
2015-11-25 08:58:15 +01:00
asofold
55cf5c0a6b
Add convenience methods for comparison with the set minecraft version.
2015-11-25 08:16:21 +01:00
asofold
218fdc46c4
[BREAKING] Move ActionFrequency and ActionAccumulator to a sub-package.
2015-11-24 07:33:30 +01:00
asofold
8b1eb86543
Move AttackFrequency and KeepAliveFrequency as checks to NCPCore.
...
+ Add adapters to "packet-listeners" in feature tags.
2015-11-24 06:36:57 +01:00
asofold
98ae3fb192
Fix LogAction, let it extend a more generic one.
2015-11-24 04:01:08 +01:00
asofold
1c608ecda1
Clarify, potentially.
2015-11-23 08:30:32 +01:00
asofold
ea0e9e1ade
Make FlyingFrequency a standard check in NCPCore.
2015-11-23 07:54:28 +01:00
asofold
88d3741cbd
Work around issues with switching from flying to survivalfly.
2015-11-22 02:41:37 +01:00
asofold
83c8d52631
Let fly speed apply with flying upwards.
...
Might be different with earlier versions of MC. Can be made
version-dependent on request.
2015-11-22 02:40:49 +01:00
asofold
5e17ce05ff
Count moves inside media other than water. Add lava special case.
2015-11-22 01:33:55 +01:00
asofold
fb66ea7335
Refine interact event cancelling.
...
* Still check cancelled events, if using the block is allowed.
* Allow using food and potions, even if the event is cancelled.
2015-11-20 08:47:55 +01:00
asofold
c08a670288
Add oddLiquid case for moving out of water with velocity.
2015-11-17 01:34:57 +01:00
asofold
6c74fa0cea
Pull through lava friction + fixes and changes for friction in general.
...
Could add an issue or two...
2015-11-16 17:10:32 +01:00
asofold
76ef40f6fb
Adjust block height for liquid.
2015-11-16 15:39:56 +01:00
asofold
c1cd680108
Feed combined.improbable from net.attackfrequency.
...
Adds the infrastructure to the TickTask.
2015-11-16 13:05:03 +01:00
asofold
8ff29c2575
Add check: net/AttackFrequency (without improbable).
2015-11-16 12:30:22 +01:00
asofold
d899334d8f
Log fight.speed violations only for higher vls (legacy).
2015-11-16 10:37:06 +01:00