asofold
40a9f881d7
Do sharpen protectplugins and opinconsoleonly.
...
Compare to label of a registered command.
2012-11-06 10:25:12 +01:00
asofold
f9942a608e
Do add CommandUtil for auxiliary methods.
2012-11-06 10:23:39 +01:00
asofold
941c308333
Do move Permissions where it belongs.
2012-11-06 10:11:17 +01:00
asofold
a88f69f164
Merge branch 'master' of
...
https://git@github.com/NoCheatPlus/NoCheatPlus.git
Conflicts:
src/fr/neatmonster/nocheatplus/checks/moving/SurvivalFly.java
2012-11-06 10:01:21 +01:00
asofold
3a1e9fe7d8
Safety fuck up commit.
2012-11-06 07:56:53 +01:00
asofold
50ad3915ed
SF: Use accounting only in air.
2012-11-06 02:14:02 +01:00
asofold
3bb18c5c35
SF: don't clear tags with bunny and hbuffer.
2012-11-06 02:12:51 +01:00
asofold
b2f513b1ad
Some events still can not be cancelled at all.
2012-11-05 13:16:06 +01:00
asofold
e73620e5c2
Combined/EntityDamage allows to ignore cancelled events.
2012-11-05 13:12:27 +01:00
asofold
cf89b93095
Actually we want to receive cancelled events for teleport.
2012-11-05 13:06:05 +01:00
asofold
10db15c8f6
Add tag "buffer", if buffer negated distance above limit.
2012-11-05 12:38:13 +01:00
asofold
8dde53b9ba
Fixes for survivalfly, adaptions, comments.
2012-11-05 12:32:28 +01:00
asofold
43aa80e0dc
Rename ParameterName.COMPONENT to TAGS.
...
1. Component(s) collides with concepts of the overall design.
2. It is meant like simple tags of whatever origin.
2012-11-05 10:06:20 +01:00
asofold
c5ea1ad9c6
Code simplification.
2012-11-05 10:02:24 +01:00
asofold
857e299c30
SF: Use maximum for distance above limit. Fill in component information.
2012-11-05 07:24:39 +01:00
asofold
dbdebd0e84
Add ParameterName.COMPONENT, for check details on violations.
2012-11-05 07:04:25 +01:00
asofold
619359cc32
Bleeding: add consistency check for y-moving direction (accounting).
2012-11-05 07:01:44 +01:00
asofold
06a5d33542
Set jumAmplifier to the actual value instead of 0 for some spots.
2012-11-05 06:49:15 +01:00
asofold
1a87a9d0da
Random formatting + java doc.
2012-11-05 05:14:58 +01:00
asofold
d8d6c5ab60
Redundant.
2012-11-05 02:48:49 +01:00
asofold
d59eaaec2f
SF + set-back: Still use set-back location, don't reset data.
...
On teleports initiated by NCP set-back location is kept, as well as some
parts of the fly data should not be cleared but reset according to the
set-back location.
Bed checks take into account that there could be a set-back location if
ground is not set.
2012-11-05 01:15:03 +01:00
asofold
7a70f0e4a2
SF: Fix problems with continued jumping.
...
Especially over stairs one would encounter problems, because the setback
location was not set anymore for the "lost-ground" workaround. This
effectively reverts former removal of setting it then.
2012-11-04 13:43:35 +01:00
asofold
ea2960e37f
Equipped end portal frames are walked on differently...
2012-11-04 13:18:38 +01:00
asofold
7ab2b1ae33
FlowerPot can be walked on.
2012-11-04 13:06:16 +01:00
asofold
61860247f4
Add lastAccess to ActionFrequency.
2012-11-04 12:50:19 +01:00
asofold
2901ac3abc
Javadoc/comments.
2012-11-03 13:15:29 +01:00
asofold
67e993d597
DataManager.removeData: Fix for consistency.
2012-11-03 12:27:03 +01:00
asofold
dd1da82abd
Compromise: Completely bind yawrate(fight) to the angle check.
...
To avoid compatibility issues with exemptions the yawrate
feeding/checking is now only done if angle is enabled. As a compromise
both are still checked, even if speed has already cancelled the event,
because the "fast turning" checks both accumulate data and depend on not
missing players attempts.
2012-11-03 10:54:00 +01:00
asofold
17395cb742
Deprecate CheckType.removeData(String, CheckType), move to DataManager.
2012-11-03 10:22:21 +01:00
asofold
2e87c821b5
Add note.
2012-11-03 10:19:00 +01:00
asofold
c43a00e21c
Keep it at faster enabled-checks for moving event.
2012-11-03 10:09:19 +01:00
asofold
1e7b60f79b
Prefer the set-back location from passable, but still check it first.
2012-11-03 09:55:50 +01:00
asofold
d8a1d96550
Random formatting.
2012-11-03 09:44:07 +01:00
asofold
b8f886f59c
API cleanup: Associate all group check types with their bypass
...
permissions.
2012-11-03 09:33:10 +01:00
asofold
01a8fe94ec
Bleeding: Switch BlockCache to use CoordMap.
2012-11-03 05:58:11 +01:00
asofold
dc0239fd4c
Add CoordMap to allow direct query by coordinates.
2012-11-03 05:57:52 +01:00
asofold
eedc4c77a7
Bleeding: Let Passable prefer the data's set-back location.
...
This might not fully fix all fly bypasses, but it prevents the Passable
check from resetting players into the air for moves that may cover any
distance from air into ground, leading to resetting the player into the
air, which allows for a fly bypass, effectively. Preferring the data's
set-back location will set the player back onto ground if it is
passable,
this still leaves some area for cheat attempts, but the order of speed
and passable checks shows the dilemma that either can undo the others
effects with the set-back locations used by the checks. [Subject to
review.]
2012-11-03 04:46:37 +01:00
asofold
77d8c27f7e
Add convenience method for isPassable.
2012-11-03 04:40:14 +01:00
asofold
6c610c490b
Bleeding: Set setBack on player join.
...
This avoids missing moving events that might go into blocks, for
instance, the setBack location will either be set from before or get set
on player join. [Still edge cases missing, world changes, world removal]
2012-11-03 04:24:43 +01:00
asofold
81ec563474
Comments + evil formatting.
2012-11-03 04:16:01 +01:00
asofold
7369178e7f
Bleeding: clean up bounding box use.
...
No more AxisAlignedBB instance creation within PlayerLocation.
2012-11-02 12:15:57 +01:00
asofold
3ce15aa8a0
More data cleanup.
2012-11-02 10:40:37 +01:00
asofold
c6eb573b57
Add components package with interfaces [likely to be moved around soon].
2012-11-02 10:26:42 +01:00
asofold
ea82a57272
Add an access method for cleanup of stored (check) config instances.
2012-11-02 08:40:05 +01:00
asofold
25c5c48576
InstantBow: Add "strict" flag for laggy servers.
...
If set to false only the time since last shot is taken into account.
This allows an instant first shot always but still prevents "machine
gun" hacks, which might be a good option for servers with much lag.
2012-11-02 04:05:34 +01:00
asofold
c7e7077ced
Wooden doors + efficiency + wrong tool [more ugly].
2012-11-02 03:26:21 +01:00
asofold
f11a586302
Use blockFlags directly in some places.
2012-11-02 01:29:47 +01:00
asofold
0a472661c4
Use slightly bigger bounding box for stairs.
2012-11-01 02:54:03 +01:00
asofold
6971a8e117
InstantBow: Set default delay to 130 to avoid false positives.
2012-11-01 00:36:13 +01:00
asofold
b8e54cbd59
SurvivalFly: Removed reset of set-back if workaround is used.
2012-10-31 23:37:12 +01:00
asofold
e3d9b693b3
Bleeding: Attempt to fix jump boost handling.
2012-10-31 05:52:14 +01:00
asofold
6262ec2551
Set version to 3.8 for development of a MC 1.4.2 release.
2012-10-30 20:43:27 +01:00
asofold
f86a5d9620
1.3.2 BACKPORT RELEASE (InventoryClick).
2012-10-30 20:34:53 +01:00
asofold
cb03c04420
Hotfix inventory click.
2012-10-30 20:30:44 +01:00
asofold
ac6bc00bbf
BlockProperties.collidesBlock: account for stairs.
2012-10-30 06:21:39 +01:00
asofold
15d7adba00
SurvivalFly: Small reordering for efficiency/future.
2012-10-30 06:20:55 +01:00
asofold
5ddbe0896a
SurvivalFly: Adjust ystep to account for stairs and half steps.
2012-10-30 05:10:32 +01:00
asofold
f6214d52f2
FastClick: Add option to spare players in creative mode from the check.
2012-10-30 03:33:06 +01:00
asofold
55a086eb94
BlockFLags: cobble wall is 1.5 high as well.
2012-10-28 21:00:07 +01:00
asofold
41dfecb900
Block flags: skull is ground.
2012-10-28 18:20:00 +01:00
asofold
5700dda2fa
Added 1.4 blocks to BlockProperties (roughly).
2012-10-28 05:47:59 +01:00
asofold
9d046d3298
Bleeding: Quick adaption to CB 2406.
2012-10-28 04:45:47 +01:00
asofold
8af0250c8b
Actually create an Items instance...
2012-10-28 01:16:49 +02:00
asofold
bcb9fba671
Set hotfix check to active, actually
2012-10-28 00:52:02 +02:00
asofold
b0e33ef9dc
Elaborate hotfix for books slightly (aggressive!).
2012-10-28 00:40:27 +02:00
asofold
b0f54dae3f
Hotfix attempt for written books (silent cancel).
2012-10-27 22:02:55 +02:00
asofold
12f8d3036e
Remove old compatibility workaround (skipnext).
2012-10-27 21:56:56 +02:00
asofold
20065d0baf
Renaming.
2012-10-27 00:39:53 +02:00
asofold
7a14c7fc1f
Bleeding: Sharpen inventory.instantbow and instanteat [expect false
...
positives
with lag and plugin incompatibilities if they use shootBow].
2012-10-25 14:32:00 +02:00
asofold
5c138d5787
Add debug message (player) to inventory.instantbow.
2012-10-25 13:01:05 +02:00
asofold
003c6ea700
Remove nofall ActionList from MovingConfig.
2012-10-25 12:04:25 +02:00
asofold
2a9e42ea75
Allow ActionFactory to get null-definitions, for instance with missing
...
config presets.
2012-10-25 12:04:07 +02:00
asofold
f5eb4ca16c
Last config change in build 176.
2012-10-25 01:15:07 +02:00
asofold
b9478cf721
Consequently remove nofall-actions from the default config for the
...
moment.
2012-10-25 00:21:51 +02:00
asofold
708fdd8a00
Set fall distance when a player leaves.
2012-10-25 00:18:39 +02:00
asofold
affeaecb34
Fix GodMode not checking permission and using wrong obfuscated CB
...
method
[suspect
this
check
not being necessary anymore].
2012-10-24 23:04:38 +02:00
asofold
6908db7976
Reduce added vl for fastbreak by factor 1000, adjust actions.
2012-10-24 17:34:51 +02:00
asofold
54e4c485b9
FastBreak: More messy workarounds.
2012-10-24 16:30:50 +02:00
asofold
e6e9cb9805
Add ladder to blocks that are ignored by passable by default (not by
...
config).
2012-10-24 03:51:08 +02:00
asofold
cfc9f32387
ConfigManager: add getActionFactoryFactory to allow proxies.
2012-10-24 03:45:29 +02:00
asofold
0fc7234d91
MovingListener: adjust resetting of positions.
2012-10-22 17:41:48 +02:00
asofold
5f18deb341
Fix NPE in MovingListener.
2012-10-22 17:30:30 +02:00
asofold
3ba0f93cb3
Few renaming, use location already fetched.
2012-10-22 17:27:23 +02:00
asofold
41dd43f0de
Distinguish solid and ground materials, add diode to gorund (fixes
...
ticket #280 ).
2012-10-21 22:20:42 +02:00
asofold
f0ba361968
Correct IStats to be an interface as well.
2012-10-21 20:45:26 +02:00
asofold
5f589e78e9
Bleeding: Add interfaces IFirst and ILast for hooks ordering.
2012-10-21 20:38:05 +02:00
asofold
a3eb7f576d
Bleeding: Add capability to replace ActionFactory and actions.
2012-10-21 07:13:29 +02:00
asofold
318372b000
Bleeding: Add access API to check execution history for if an action
...
would get executed.
2012-10-21 06:51:11 +02:00
asofold
f9788d162f
Simplify internals of ExecutionHistory.
2012-10-21 06:21:04 +02:00
asofold
b2c7b9ae74
Adjust chat warning message.
2012-10-19 23:55:58 +02:00
asofold
1c01300225
Remainders of nopwnage: count most weights less with passed time.
2012-10-19 23:42:31 +02:00
asofold
6c3d924b9c
Text: Set default weight "noletter" to 0.0 (disabled).
2012-10-19 21:46:41 +02:00
asofold
5ce4ba2ad6
Actually, build 163 did change the defualt configuration, 164 will too.
2012-10-19 21:44:37 +02:00
asofold
a6ee06a714
Build 162 changes the configuration.
2012-10-19 21:37:39 +02:00
asofold
822589a006
Adjust first logging for passable.
2012-10-19 21:17:04 +02:00
asofold
fdf29a5e17
Add repeaters (diode) blocks to be ignored by passable.
2012-10-19 20:55:57 +02:00
asofold
c05336e3e4
Yawrate: add maximum penalty, corect use of minimum.
2012-10-19 19:05:09 +02:00
asofold
fc6d15b6fe
Move IViolationInfo to access package.
2012-10-19 18:30:45 +02:00
asofold
033cebf7cb
Move PlayeRMove from combined to moving (still feeds combined/yawrate).
2012-10-19 12:00:38 +02:00
asofold
b08282d925
Clear NoFall data for quick returns on fall damage, also quick return
...
for cancelled events.
2012-10-19 11:41:01 +02:00
asofold
fbcacf6d40
Re-order some stuff.
2012-10-19 11:40:06 +02:00
asofold
f30bccd7d3
Remove workarounds listener (split to moving + combined).
2012-10-19 11:32:32 +02:00
asofold
298336bf6b
Passable: Allow moving in a block, if head is free (no block
...
transitions).
2012-10-19 00:55:52 +02:00
asofold
85848c6f72
Bleeding: SF: Prevent VL reduction if last violation was within two
...
seconds.
2012-10-19 00:45:21 +02:00
asofold
2e812f17f8
Bleeding: Adjust keeping track of positions (from, preparatory: to).
...
Some
corrections.
2012-10-19 00:21:02 +02:00
asofold
2764515190
Use event.getTo for yawrate instead of player.getLocation.
2012-10-19 00:05:16 +02:00
asofold
1efb62c943
Improve isAboveLadder by using a bounding box rather.
2012-10-19 00:04:22 +02:00
asofold
040c32d5d0
Config last changed in build 158.
2012-10-19 00:02:23 +02:00
asofold
d49aacd231
Prevent passable from resetting to the "to"- position.
2012-10-18 16:21:07 +02:00
asofold
76dd563271
Ignore stats hooks result of oncheckFailure.
2012-10-17 19:14:39 +02:00
asofold
e3be45b986
Add ladder to blocks ignored by default by passable.
2012-10-17 18:52:58 +02:00
asofold
77216f0799
Add Extended information about violations to hooks.
2012-10-17 18:31:44 +02:00
asofold
3286bdd0dd
Comment out NetServerHandler use to make sure it can't be used.
2012-10-17 17:44:12 +02:00
asofold
c2e4549ec7
Comments.
2012-10-13 12:09:28 +02:00
asofold
0e041c419a
Passable+cactus and ladder+efficiency-axe.
2012-10-13 12:05:16 +02:00
asofold
4ad88cd945
Typo.
2012-10-13 11:05:32 +02:00
asofold
d07ba833c1
Shuffle code.
2012-10-12 13:37:11 +02:00
asofold
541430a361
Switch to hard-coded build number for config-outdated checking to avoid
...
unnecessary regenerating of configs.
2012-10-12 02:46:02 +02:00
asofold
b79a292c34
SurvivalFly: reduce false positives by using an adapted bounding box
...
for the y-inconsistency case.
2012-10-12 02:28:09 +02:00
asofold
589362c363
Account for fences with on ground.
2012-10-12 00:00:03 +02:00
asofold
b55c43ea71
Rename TypeIdCache to BlockCache.
2012-10-11 18:23:30 +02:00
asofold
96f9232dae
Fix some properties not getting reset for PlayerLocation. (Fixes
...
freezing.)
2012-10-10 02:58:06 +02:00
asofold
07994c6a34
Harmless optimization :p
2012-10-10 02:35:37 +02:00
asofold
b8209ac294
Spider too rush!
2012-10-10 02:29:33 +02:00
asofold
e721b4e759
Give the on-ground judgment less high bounds.
2012-10-10 01:28:11 +02:00
asofold
2e322198db
[Bleeding] Add anti spider exception to on ground checks.
2012-10-09 23:55:18 +02:00
asofold
0a777735e7
Move flag checking methods to BlockProperties. TypeIdCache is really
...
only the cache now.
2012-10-09 23:35:39 +02:00
asofold
4ee1880a4d
Refine lily pad placement check, add place against air for some reason.
2012-10-09 18:17:27 +02:00
asofold
def976df50
Add simple security guards to Passable for moving inside of blocks.
2012-10-09 17:33:40 +02:00
asofold
ded72a5152
Add convenience methods: isPassable, getVector
2012-10-09 17:18:36 +02:00
asofold
8311070902
[Bleeding] Account for entities (boat, minecart) for on-ground.
2012-10-09 05:11:20 +02:00
asofold
2389b82138
Random.
2012-10-09 04:40:06 +02:00
asofold
be384aa799
Fix NPE(s).
2012-10-09 04:39:57 +02:00
asofold
9171199086
[Bleeding] Less false positives for survivalfly.
2012-10-09 04:08:50 +02:00
asofold
c9427d4ff1
Add Methods for bounding box tests. PlayerLocation: Use idCache for
...
more, return idCache as IBlockAccess if present. [DEBUG, Ongoing]
2012-10-08 17:50:27 +02:00
asofold
4025cd3e55
Use Location.locToBlock instead of Math.floor.
2012-10-08 06:40:08 +02:00
asofold
3d981241eb
Delete data and history if system time ran backwards.
2012-10-08 06:11:59 +02:00
asofold
a209b806c8
Use a cache for block id and data in the move checks.
2012-10-08 04:57:26 +02:00
asofold
5bf347ca88
Add ability to use a cache for block id and data for PlayerLocation.
2012-10-08 04:56:53 +02:00
asofold
a5c37a884b
Small optimization for violation handling.
2012-10-08 04:28:39 +02:00
asofold
24eede78fe
Change PlayerLocation use (reduces memory footprint).
2012-10-08 04:15:51 +02:00
asofold
167d442501
Fight.reach + giant.
2012-10-08 02:55:51 +02:00
asofold
b2beb4d4de
Adjust kick actions for drop.
2012-10-08 00:41:12 +02:00
asofold
457fd1934e
Fastbreak + haste potion effect.
2012-10-08 00:23:24 +02:00
asofold
964da9ac46
Also cleanup entity in PalyerLocation (@Score_Under).
2012-10-07 23:23:21 +02:00
asofold
645f17253b
Log jumpphase for debug.
2012-10-07 23:20:25 +02:00
asofold
de1f8ba295
Small corrections (@Score_Under).
2012-10-07 23:19:57 +02:00
asofold
3082097437
Fix passable + cauldron. Use Arrays.fill somewhere (@Score_Under).
2012-10-07 23:19:36 +02:00
asofold
cea496b61f
Correct reach distance dynamic range.
2012-10-07 22:32:37 +02:00
asofold
14fb490376
Instanteat will now take maximum of last invclick and last eat.
2012-10-07 22:03:34 +02:00