Commit Graph

1430 Commits

Author SHA1 Message Date
asofold
c49b1fb7b6 Change appearance of the output of the lag command. 2013-02-04 09:21:06 +01:00
asofold
cf065d6da2 Correct cncp link. 2013-02-03 23:22:46 +01:00
asofold
5eb3476c1d Update readme.md. 2013-02-03 23:21:22 +01:00
asofold
ae01377606 Set version to 3.8.10-ALPHA to keep it somewhat consistent, switch back
with 3.8.11.
2013-02-03 22:50:35 +01:00
asofold
38a2fdfb27 Bump version. 2013-02-03 22:10:26 +01:00
asofold
6a0a4188c1 Sharpen vertical-accounting.
Also use first bucket, if count matches.
Demand at least gravity getting added.
2013-02-03 21:55:01 +01:00
asofold
d897c99a23 [Bleeding] Adjust velocity handling.
Mainly horizontal velocity. Should reduce abuse potential for small
amounts of velocity added. Repeated adding of velocity might pose
problems, still.
2013-02-03 21:37:00 +01:00
asofold
5711a261a0 Bump version. 2013-02-03 21:35:15 +01:00
asofold
f5676cc635 Attempt to fix ladder climb up check.
Adds concept to ignore certain flags for isOnGround checking.
2013-02-03 19:16:55 +01:00
asofold
7bc9b709cd Bump version. 2013-02-03 18:41:42 +01:00
asofold
c3b0bf1012 Fixes pending...
swimup: Speed corrected.

vertical velocity: reset only with to on ground or small velocity.
2013-02-03 18:37:06 +01:00
asofold
ec70fb1df4 [Bleeding] Change how vertical velocity is applied, reset both h/v on
certain occasions.
2013-02-03 18:20:49 +01:00
asofold
cfdbfedf56 Fix ladder+vine speed limits for moving up not being applied. 2013-02-03 17:38:44 +01:00
asofold
7872c9690b Bump version. 2013-02-03 17:09:28 +01:00
asofold
ab068f0a2d Attempt to fix lilypad + swimup. 2013-02-03 17:05:07 +01:00
asofold
52797769a2 Fix jumping from water onto lilypads. 2013-02-03 16:52:37 +01:00
asofold
0c0f8d1c5c Switch vertical accounting to 3 events per bucket. 2013-02-03 16:46:48 +01:00
asofold
c6bf6c5d27 Bump version. 2013-02-03 16:36:33 +01:00
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
75a9d74edd Prevent walking on signs. 2013-02-03 13:46:34 +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
351fbfd79f Add specialized convenience methods for isOnGround and standsOnEntity. 2013-02-02 17:25:37 +01:00
asofold
57202f81c5 Correct short-cut on-ground judgment. 2013-02-02 16:46:03 +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
aa171f9687 Prepare getKeepAliveTime method for MCAccess.
No implementation of it yet. If implemented this will help finding
players that do a passive god-mode.
2013-02-02 08:13:59 +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
ca0fe64688 Add new accumulator class.
This allows accumulating values grouped by number of events rather than
real-time.
2013-02-01 17:27:44 +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