Commit Graph

193 Commits

Author SHA1 Message Date
asofold
930228bc6c Protected more against moving up (ladder, vine, water).
Prevent climbing too high up vine that are not attached to solid
blocks. Prevent too high speed moving up on ladders, vine, liquid.
Refine treatment of exiting boats.
2013-02-03 16:32:22 +01:00
asofold
70e47e03c1 Bump version. 2013-02-03 14:03:30 +01:00
asofold
6282fe9cdb Bump version. 2013-02-03 13:43:11 +01:00
asofold
afb66a3172 Set version to 3.8.10-ALPHA(1), due to jenkins being down. 2013-02-03 13:07:41 +01:00
asofold
71d6a46b93 Further reduce false positives for survivalfly. Adapt some debug
messages.
2013-02-03 00:24:07 +01:00
asofold
ddd61a6522 Add falldamage option to survivalfly. Not sure it is a good idea to set
it to false, though.
2013-02-02 22:22:55 +01:00
asofold
044c435180 Fix jumping out of water when next to something solid.
Problem was introduced by previous commits, which seemed to have fixed
false on-ground judgment (short-cut in PlayerLocation.isOnGround).
2013-02-02 18:14:55 +01:00
asofold
c003ccc09f Fix some issues with stairs and half-blocks.
Add stepping up half-block distances to lost-ground.
2013-02-02 17:32:45 +01:00
asofold
824e67ffe6 Use the keep-alive estimation for the new god-mode check.
Might not fully do it, but should make occasional hits possible.
2013-02-02 08:28:52 +01:00
asofold
e0f5e594be Add workaround method for keep-alive time, as a temporary solution.
Also keep track of last-regain-health time for that and other purpose.
2013-02-02 08:19:31 +01:00
asofold
25a3c9663b Switch from ActionFrequency to ActionAccumulator for vertical-accounting
(survivalfly).

This should reduce false positives due to lag of any kind. Might set
event number to 3, depending on tests.
2013-02-01 17:28:58 +01:00
asofold
ed4b551c08 Balance maxphase violation better with default config. 2013-02-01 16:13:19 +01:00
asofold
dba567ee2b [Bleeding] Bring in new god-mode check. 2013-02-01 09:38:58 +01:00
asofold
f4727ad3a2 Double.MIN_VALUE is something else. Should be Double.NEGATIVE_INFINITY. 2013-02-01 08:30:36 +01:00
asofold
a123e02251 Fix cobweb + jumping. 2013-02-01 07:42:39 +01:00
asofold
7fa1238c4e Fix moving.debug output, add output for silent cobweb set-back. 2013-02-01 07:25:06 +01:00
asofold
d8733f873b [Bleeding] Kill Jesus!
Just kidding. Introduces a lift-off medium tracking for jumping to be
able to limit the maximum jump-phase for lifting off water.
2013-02-01 06:51:21 +01:00
asofold
4f125728f2 Add javadocs and comments. 2013-02-01 06:16:01 +01:00
asofold
7e4ad21f4f Prevent ascension over max jump phase for normal jumping/moving.
Adds a "dirty"-flag, set on receiving velocity. If a player still
ascends while exceeding max-jump-phase, a violation will be triggered,
regardless of the taken distance. This has not been tested against hacks
yet, and might well have little effect. It does aim against step and
block-jumping on protected regions, but there might be another limiting
method necessary to make this fully effective.
2013-01-31 10:01:46 +01:00
asofold
f38822e4d5 Add some initial values. 2013-01-31 09:23:20 +01:00
asofold
048831b55b Set dependencies to 1.4.7-R1.x.
This needs more consideration, for backwards compatibility the pure-API
modules might compile against an older API version (defensively!),
while the API-only MCAccess might need an extra module compiling against
what it needs.
2013-01-31 07:05:28 +01:00
asofold
fd9bb76202 Refactor parts of actions to NCPCompat.
This is not finished, log action is missing still.
2013-01-30 14:05:39 +01:00
asofold
4e85e9d211 Add comment on "copy". 2013-01-30 11:00:33 +01:00
asofold
a3656b92d9 Add WorldConfigProvider for future purpose. 2013-01-30 10:42:29 +01:00
asofold
0dc16d6a27 Set version to 3.8.10 for further development. 2013-01-30 06:06:02 +01:00
asofold
dc5a1bd19f Consistency fixes for reloading the configuration.
Mostly MCAccess must be reset after reloading the configuration, a rare
case, but wanted for testing. For this a component has been added, which
allows automatic setting of MCAccess on reload, in consequence the
CheckListener registers all checks as components with the NoCheatPlusAPI
(CheckListener.addCheck).

Components can not be registered twice anymore.

All TickListeners will be removed in onDisable.

Possibly others.
2013-01-30 04:22:06 +01:00
asofold
abe22f8104 Cleanup BlockProperties on disable. 2013-01-30 03:22:58 +01:00
asofold
8c3ed77c7c Also remove clear parkedInfo in case of reload or data removal. 2013-01-30 03:17:18 +01:00
asofold
8c2bda2b70 Use BLockProperties.isOnGroundOrResetCond. 2013-01-30 03:12:24 +01:00
asofold
04b1341e43 Attempt to fix survivalfly false positives on login in water (seldom). 2013-01-30 03:06:30 +01:00
asofold
87e350aa81 Add in-game debug to fight.critical. 2013-01-30 01:23:22 +01:00
asofold
f9691c3ea8 Fix NoFall violations with ender-pearls. 2013-01-30 01:22:19 +01:00
asofold
b00bb9a014 Hint at new god mode check [not yet in]. 2013-01-29 23:50:58 +01:00
asofold
54fd0d6bff Explicitly cancel data-man task. 2013-01-29 17:12:04 +01:00
asofold
9ddb91f7fd Add comment. 2013-01-29 16:36:12 +01:00
asofold
eda657b6de Fix and optimize hover checking.
Fix: reset players hover ticks if moves are not checked (sleep, dead,
vehicle, disabled).

Optimize: Only check on-ground, if the players hover tick counts
reach the limit. Players are reset when moving anyway.
2013-01-29 14:00:28 +01:00
asofold
24421dc85d Add methods to config manager to retrieve min/max numbers. 2013-01-29 13:47:46 +01:00
asofold
a8f326d855 MAXIMALLY. 2013-01-29 03:48:08 +01:00
asofold
562f1da59b Assume maximally 20 attacks / moves per second. 2013-01-29 03:46:31 +01:00
asofold
acd8afcdc2 Use the xz-distance for the moment. 2013-01-29 03:23:39 +01:00
asofold
0620ced63c Add utility methods for 2d-distance. 2013-01-29 03:20:37 +01:00
asofold
c40b9fac22 Add tags to improbable. Currently only the tags triggering the violation
are shown, probably useful for debugging.
2013-01-29 03:16:10 +01:00
asofold
d8701a7ea6 Add target-location heuristic to reduce false positives with improbable. 2013-01-29 02:51:51 +01:00
asofold
3348865288 New method for distance (coordinates). 2013-01-28 23:53:05 +01:00
asofold
0fb299b39f Don't check backwards sprinting after being hit. 2013-01-28 09:18:03 +01:00
asofold
04e7b2a09b Munchhausen can be enabled now. 2013-01-28 09:17:31 +01:00
asofold
342ef0f5a6 TickTask.getLag: Never return anything smaller than 1. 2013-01-27 05:06:33 +01:00
asofold
9bb8687a88 Add javadocs for ComponentRegistry and related. 2013-01-26 08:03:33 +01:00
asofold
4324d4fe74 [Bleeding] Lessen trouble with boats. 2013-01-26 07:42:56 +01:00
asofold
034a7d58b0 Fix unregistering of components from allComponents. 2013-01-26 07:41:51 +01:00