Commit Graph

1276 Commits

Author SHA1 Message Date
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
035df395ff Set version to 3.8.1 for development towards next release. 2012-11-02 01:21:11 +01:00
asofold
994f35c059 Set version to 3.8.0-RC for release on BukkitDev. 2012-11-01 03:58:23 +01:00
asofold
0a472661c4 Use slightly bigger bounding box for stairs. 2012-11-01 02:54:03 +01:00
asofold
0447eed6ef Set CraftBukkit dependency to 1.4.2-R0.1 to match the beta release. 2012-11-01 02:29:53 +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
c146b8ca5d Change dependency scope for CraftBukkit to "provided". 2012-10-30 07:47:36 +01:00