Commit Graph

1556 Commits

Author SHA1 Message Date
asofold
65859486ec Attempt to fix Zombe/noclip flippage [quick'n'shalow: untested]. 2013-03-02 04:25:08 +01:00
asofold
f28235cf61 Tweak lost-ground workarounds.
Allow a little more on ascending, early abort on descending too fast.
2013-03-02 03:33:45 +01:00
asofold
ff409fddea Rearrange some things with MovingListener/PlayerMove(lowest).
1. Don't check sf if passable sets back already, since passable favours
the
sf-set-back-location anyway.
2. First check which checks to check, to somewhat clean up the
MovingListener
3. Reset some properties on set-back in MovingListener.
2013-03-02 03:15:49 +01:00
asofold
036c99653f Use hard limits for maximum number of steps for ray-tracing.
This concerns both blockinteract.visible and moving.passable, both set
to 60. In effect extreme moves are impossible with either check
activated. Mind that 60 steps could be something like 20 blocks for some
cases, probably even less.
2013-03-01 21:50:37 +01:00
asofold
c805caa553 RayTracing: Add ability to check number of steps done.
Now available in the abstract base class.
2013-03-01 21:43:26 +01:00
asofold
b70418770a Add methods for further testing of directions and similar. 2013-03-01 21:16:48 +01:00
asofold
f650a48cad Forgot to rename this one. 2013-03-01 19:56:08 +01:00
asofold
9ba173b82e Confine lost-ground check for block edges further. 2013-03-01 19:47:50 +01:00
asofold
212438dd7b MCAcessBukkit: Also make Glowstone an exception. 2013-03-01 19:34:44 +01:00
asofold
ccb5bae436 Plugin class: Add a method for processing reload. 2013-03-01 19:14:51 +01:00
asofold
b2be3b9474 NCPBukkitCompat: Ensure some full blocks are not ignored by passable. 2013-03-01 19:10:00 +01:00
asofold
2d0b2bace0 Add comments and javadocs. 2013-03-01 18:54:48 +01:00
asofold
bf0e8350ec More caching for on-ground checking in PlayerLocation.
Remember the minimal yOnGround for having found ground and the maximal
yOnGround for not having found ground. Does not apply for all
xz/y-margin parameters, yet.
2013-03-01 18:37:30 +01:00
asofold
1c2c0dce89 Add comment. 2013-03-01 18:35:30 +01:00
asofold
e5767e3290 Remove hopefully not needed extension for y-bounds for isOnGround. 2013-03-01 17:35:07 +01:00
asofold
e46c8a1893 Compile NCPCompatBukkit against 1.4.7-R1.0, since more is not needed. 2013-03-01 16:38:05 +01:00
asofold
c64bf49020 Move build timestamp to parent pom. 2013-03-01 16:25:10 +01:00
asofold
2a9e00b4ae Add more build parameters (time, java). 2013-03-01 16:16:23 +01:00
asofold
e1adb3db54 Ignore empty lines. 2013-03-01 15:32:51 +01:00
asofold
d429f8c597 Add safety check to stop ray-tracing if coordinates don't change. 2013-03-01 15:13:53 +01:00
asofold
810e075a4a LICENSE.txt is on top level. 2013-03-01 15:12:14 +01:00
asofold
3b283b655c Adjust getString to filter not set maven build parameters. 2013-03-01 15:11:52 +01:00
asofold
36b402c27a Simplify replacing of build-parameters. 2013-03-01 15:02:28 +01:00
asofold
e7cfdd4b3e Make sure RayTracing only advances if really moving into that
direction.
2013-03-01 02:22:04 +01:00
asofold
df57b0134a Update messages for setting up MCAccess.
Update Jenkins url.
Only log API-only message in case it can be set up at all.
2013-03-01 02:04:34 +01:00
asofold
15a2165a9c Fix passable ray-tracing not stopping after collision. 2013-02-28 23:24:43 +01:00
asofold
5ca6e33fac Reset lastAccess and lastExpired on clear(). 2013-02-28 20:26:24 +01:00
asofold
7c90d2260e Fix LetterEngine.checkConsistency.
Reference for cleanup should be the last time an entry was removed.
2013-02-28 20:13:49 +01:00
asofold
f03ffcf0a5 Let EnginePlayerDataMap remember the last time entries were removed. 2013-02-28 20:13:32 +01:00
asofold
84d82ff339 Add setback-y-distance to debug output for survivalfly. 2013-02-28 18:32:19 +01:00
asofold
63cc892cde Too much space. 2013-02-28 18:12:16 +01:00
asofold
31faf7f11e Adjust available build parameters: TEST_LEVEL and DEBUG_LEVEL
Not yet too much in use, though.
2013-02-28 18:09:42 +01:00
asofold
50ebbb01fb Reduce false positives with jumping onto/over edges of blocks.
This is another case of "lost-ground", also contains one fix for nofall.
2013-02-28 17:16:40 +01:00
asofold
da4b142aa9 Add module: NCPCompatBukkit
Seems better to have a dedicated module for this as well, since other
modules might be built against different versions of the Bukkit-API,
potentially.
2013-02-28 03:40:40 +01:00
asofold
15f3b38248 Add module for 1.4.7: NCPCompatCB2602 2013-02-28 03:21:38 +01:00
asofold
35815eaae6 Set version to 3.8.10 (release phase). 2013-02-28 01:28:56 +01:00
asofold
c8ac66de2c Reduce false positives for jumping off water near half-steps.
This allows a little more jumping in shallow water.
2013-02-27 22:45:54 +01:00
asofold
eb28f4775c Fix issue with hover check on players joining.
Re-check if survivalfly is checked at all for the player in case of
exceeding hover-ticks.
2013-02-27 21:39:22 +01:00
asofold
e342b07654 Add comment. 2013-02-27 21:25:17 +01:00
asofold
e0c6e9ebdd Reduce false positives with jumping almost onto block edges.
Also begin to rearrange lostground workaround checking.
2013-02-27 21:04:12 +01:00
asofold
9d1f7924b9 Config change: Add an active-flag for data-expiration and set the
default duration to 60 minutes (still disabled by default).
2013-02-27 18:47:31 +01:00
asofold
4a9f82ef0c Clear logins data on removing all data (ncp remove *). 2013-02-27 18:23:32 +01:00
asofold
e9deb059a3 Register all online players with the NCPExemptionManager in postEnable. 2013-02-27 18:22:33 +01:00
asofold
74a935ccd6 Add periodic consistency checking.
Mainly this is now an "ability", in terms of allowing for registration
f a ConsistencyChecker component. With this commit DataMan will check
the online-players map for consistency, LetterEngine(chat.text) will
check expiration of data, NCPExemptionManager will check entity-ids.
2013-02-27 18:00:44 +01:00
asofold
e0b2eb753c Add getInt and getLong with bounds parameters. 2013-02-27 15:34:45 +01:00
asofold
7a84ed371b Add module for build parameter info.
This is needed with the current technique in order to have it available
at the time of testing NCPCommons.
2013-02-27 00:46:56 +01:00
asofold
33af656b29 Add support for build parameters (example: EXTENSIVE_TESTING).
We can put through build parameters for testing and other purposes so
NCP can see them during testing or runtime otherwise. Not sure this is
the final version, though.
2013-02-26 23:14:33 +01:00
asofold
4958913d1e Fix opposite-direction increments in ray-tracing. 2013-02-26 20:26:46 +01:00
asofold
7baac6bb38 Extend tests for RayTracing. 2013-02-26 20:25:37 +01:00
asofold
e3166783bc [BLEEDING] Use same yOnGround for noFall by default.
This should be handled by workarounds in survivalfly
(noFallAssumeGround).
2013-02-26 18:37:41 +01:00