Commit Graph

1500 Commits

Author SHA1 Message Date
asofold
5500cd15bf More on-ground: Faster return + fixing some workarounds.
Question remains if this opens bypasses. At first glance it seems good.
2013-03-07 18:26:16 +01:00
asofold
5a76b22ef6 Sharpen maximum jump distance. 2013-03-07 04:20:26 +01:00
asofold
eb4c537e65 Revert too fast return, add other, comments, indentation. 2013-03-07 03:28:40 +01:00
asofold
08de1cb576 Tweak isOnGround for faster exclusion. 2013-03-07 02:34:52 +01:00
asofold
9a5b988735 Higher or same height... 2013-03-07 00:21:12 +01:00
asofold
0543eb8200 Don't count blocks as ground the players foot is in. 2013-03-07 00:11:45 +01:00
asofold
db21e49576 Player must be above getBlockHeight. 2013-03-06 21:06:19 +01:00
asofold
83abefb630 Fix walking on a block below COCOA. 2013-03-06 20:36:00 +01:00
asofold
348ba34e35 Commend on potential issue with join. 2013-03-06 19:36:50 +01:00
asofold
11628b2863 [BLEEDING] Squash a couple of spiders.
Reworking parts of the on-ground judgment to exclude blocks the player
is inside of rather than standing on them.
2013-03-06 19:19:49 +01:00
asofold
2d5dd8770d Fix block dump not respecting the checks.debug and blockbreak.debug
flags.
2013-03-06 18:54:11 +01:00
asofold
ce3d1ba89c Attempt to fix issues with (non exact) respawn. 2013-03-06 15:40:35 +01:00
asofold
0eaf9587d8 Add null check and refine preconditions for on-ground shortcut. 2013-03-06 04:08:20 +01:00
asofold
f20fc8575d isOnGround: Fix shape judgment for shape-changing blocks. 2013-03-05 21:49:16 +01:00
asofold
8762d38020 Fix isOnGround issue with shape judgment. 2013-03-05 21:36:30 +01:00
asofold
3ad9ba3993 Fix isOnGround stopping loop with "walls". 2013-03-05 21:23:18 +01:00
asofold
7adef83687 Change resetting of yOnGround for NoFall.
Use CheckConfig to determine if it is necessary. Move resetting to a
method. Collect block flags again.
2013-03-05 20:21:29 +01:00
asofold
8bed6fb2de Change resetting of yOnGround for NoFall.
Use CheckConfig to determine if it is necessary. Move resetting to a
method. Collect block flags again.
2013-03-05 20:11:51 +01:00
asofold
2b0ab5cae3 Reset block-flags with setYonGround. Add setter for block-flags. 2013-03-05 20:10:37 +01:00
asofold
d7110b3239 Adjust/fix moving debug output. 2013-03-05 19:45:01 +01:00
asofold
b73f68dd55 Add javadocs about levels. 2013-03-05 18:39:49 +01:00
asofold
de44ea43a4 Fix for flags + adjust debug output to show flags and exact coordinates
on higher debugLevel.
2013-03-05 18:26:10 +01:00
asofold
354511b88f isOnGround: Fix for flags. 2013-03-05 17:31:37 +01:00
asofold
f7d9441174 isOnGround: Add null check, move some things to methods. 2013-03-05 17:14:43 +01:00
asofold
0194d1fcc8 Tweak isOnGround: Faster exclusions for walls. 2013-03-05 17:00:06 +01:00
asofold
22974751e6 Re-order isOnGround for better overview. 2013-03-05 16:54:12 +01:00
asofold
66f2d6d7eb Set version to 3.8.11 for further development. 2013-03-05 16:37:48 +01:00
asofold
2dbc486987 Set version back to 3.8.10-RC, since back to dev was premature. 2013-03-05 07:55:07 +01:00
asofold
ce6a8b4498 Adjust on-ground handling: fix and bring back "shortcut" check.
It is not just a shortcut, it also prevents survivalfly alerts in case
the player is stuck.
2013-03-05 07:53:37 +01:00
asofold
7bf1e24b93 Set version to 3.8.11 for further development. 2013-03-05 04:47:32 +01:00
asofold
8807c6d9fa Set version to 3.8.10-RC for release on BukkitDev. 2013-03-05 03:08:02 +01:00
asofold
680bd86dd8 Fix false positives with jump+sprint just touching water once. 2013-03-05 02:31:30 +01:00
asofold
323d0f07d1 Fix for sneaking/blocking + velocity. 2013-03-04 23:37:58 +01:00
asofold
11f139a4fa Only debug this to console for nonzero BuildParameters.testLevel. 2013-03-04 23:06:58 +01:00
asofold
1cc18db8be Reorder isOnGround, remove unreliable "short-cut". 2013-03-04 22:24:44 +01:00
asofold
078c567e4b Attempt to reduce false positives with sprint+jump+attack.
Attacking while sprinting will now activate an extra buffer for the
horizontal speed checking.
2013-03-04 03:26:31 +01:00
asofold
494c667592 Add horizontal buffer to sf debug output. 2013-03-04 01:13:58 +01:00
asofold
1d1e428d05 Add checks.debug flag for fast activation of all checks debug features. 2013-03-04 01:13:40 +01:00
asofold
a22b259cc4 Attempt to fix issues with re-join and survivalfly. 2013-03-03 18:44:37 +01:00
asofold
d42f94f651 Step can only be set in the global config. 2013-03-03 18:08:14 +01:00
asofold
6b5b9ce0e4 Reset hover ticks if found on ground. 2013-03-03 18:00:21 +01:00
asofold
ec5a504d7f Only check sf/hover every n ticks (configurable). 2013-03-03 17:58:54 +01:00
asofold
7ac499af06 Add loginticks to sf/hover to allow extra counting down before really
checking.
2013-03-03 17:38:19 +01:00
asofold
feaa09ad03 Add dev-url. 2013-03-03 16:40:15 +01:00
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