asofold
b131750bc7
Move lost ground code to magic.LostGround.
2016-03-20 23:48:21 +01:00
asofold
27abbfc25f
WTF elytra + end rod.
...
(Remove wrong pre condition for elytra: have end rod somewhere.)
(Prepare using survivalfly for elytra, not sure if will do so.)
2016-03-20 22:20:57 +01:00
asofold
48bf891bb4
Tackle some of the issues with Elytra but without end rod (unfinished).
...
Missing:
* More testing and adjusting.
* Other cases found, but not yet done. E.g. multiple 0-ydistchange.
* Jumping with oddd gain (2x 3.8 instead 0.42 + 0.33333).
* Lost ground and all the cases apply here (use only sf or refactor).
2016-03-20 15:20:09 +01:00
asofold
2c46f5240a
Remove modsprint from levitation, since modifiers set to false does.
2016-03-20 12:08:40 +01:00
asofold
1b85e918dd
Move default yOnGround constants to Magic.
2016-03-20 12:01:34 +01:00
asofold
56f217c9f2
Log in survivalfly, if the player is wearing elytra, but no end rod.
2016-03-20 11:42:16 +01:00
asofold
ff12a15c97
Increase default login ticks to 60 for hover.
2016-03-20 11:34:31 +01:00
asofold
0496af0ac1
Use the respawn location.
2016-03-20 11:28:45 +01:00
asofold
d35291e3a4
Allow ProtocolLib 4.0.0 or later on MC 1.9.
2016-03-20 10:56:19 +01:00
asofold
26766095fe
[NOTEWORTHY] Fix player instances being stored, though shouldn't.
...
The static stuff might need a cleanup (removal).
2016-03-20 01:34:08 +01:00
asofold
46b4641ba5
Expect outgoing teleport after respawn.
2016-03-19 23:01:36 +01:00
asofold
bc30368f1c
[BLEEDING] Re-organize creativefly, extend configuration.
...
* Do or start to distinguish ascend vs. descend, if gravity is used, if
modifiers are used, similar, based on the model in use (the vertical
check part had never accounted for descending anyway). Shuffle chunks of
code.
* Reflect new options in the configuration, sort in more to vertical and
horizontal sections.
* Alter set-back handling, use ordinary set-back for maxheight,
prioritie other violations over maxheight.
* fly-nofly transition: Clear active horizontal velocity, allow less
horizontal friction.
* Increase horizontal speed to 420 for spectator mode.
* Add more tags with specific cases applying.
* Adjust logging format of hdist/vdist.
This probably isn't a usable state, more changes and testing will
follow.
2016-03-19 13:29:21 +01:00
asofold
1e01ad8678
[BREAKING] Change creative model config paths. Rename ModelFlying.xy.
2016-03-18 15:15:27 +01:00
asofold
10cf788acd
Duplicate javadocs.
2016-03-18 14:31:47 +01:00
asofold
de5533a1bd
Support adding more complex definitions of moved config paths.
2016-03-18 14:31:19 +01:00
asofold
3b1260bf57
Add missing check to.isOnGround() to creativefly step_up.
2016-03-18 12:37:15 +01:00
asofold
5629bfe009
Get rid of creativeFlyPreviousRefused. Only reduce vl if no violation.
2016-03-18 12:29:57 +01:00
asofold
9c784cc6a1
Make logging in creativefly more similar to survivalfly.
2016-03-18 12:24:13 +01:00
asofold
1bf61815f3
Increase the horizontal speed limit for elytra.
...
Since sprint mod doesn't apply, 400 has been even lower than the maximum
spectator mode speed. Likely the old config paths will be deprecated
soon.
2016-03-18 12:18:47 +01:00
asofold
51885cdc56
First version of sweep attack compatibility.
2016-03-18 10:28:33 +01:00
asofold
bbf3baa9ff
Fight: more debug logging, confine thorns workaround.
2016-03-18 10:11:58 +01:00
asofold
f3d4941a6f
Force disable FastHeal on Minecraft 1.9 and later.
...
Assume player ticking changes covering this.
2016-03-15 23:57:23 +01:00
asofold
48fa508392
README.md too difficult.
2016-03-14 10:51:20 +01:00
asofold
56614aa7ab
Actually clarify.
2016-03-14 10:43:47 +01:00
asofold
6763f17f03
Clarify build options.
2016-03-14 10:35:47 +01:00
asofold
65f5f96d04
Test.
2016-03-13 23:44:21 +01:00
asofold
847e76ad48
Newline.
2016-03-13 23:43:24 +01:00
asofold
1e65556b00
Put the table last.
2016-03-13 23:42:38 +01:00
asofold
a8a1f1b53a
Add profiles for spigot1_8_r3 and spigot1_9_r1.
2016-03-13 23:35:09 +01:00
asofold
1be694d869
Add a cbdev profile for building.
2016-03-13 23:23:04 +01:00
asofold
0be4373310
Allow step up.
2016-03-12 22:52:39 +01:00
asofold
c5bda06745
Prioritize flying over elytra.
2016-03-12 22:52:17 +01:00
asofold
ca71865589
Attempt to catch https://github.com/NoCheatPlus/Issues/issues/94 .
...
Couldn't reproduce, set more lenient margin on a workaround.
2016-03-12 16:52:53 +01:00
asofold
8c1b21a96c
Move code between classes of magic. More on splash moves.
...
Move/split:
* Generic/general/multipurpose stays in ...moving.magic.Magic.
* vDistAir -> MagicAir.
* vDistLiquid -> MagicLiquid.
Workarounds:
* Splash moves up/down (higher speeds).
* Other adjustments (in-water near-zero inversion thing).
2016-03-12 16:42:11 +01:00
asofold
8b6d1324a3
More splash moves.
2016-03-11 01:36:47 +01:00
asofold
783b89649f
Delegate some rare checking to methods.
2016-03-10 23:08:54 +01:00
asofold
b0caec08d2
Ensure a set-back is set in the MovingListener with one method.
...
Unifies treatment of cf+sf after data reset or certain issues after
join/respawn.
2016-03-10 22:31:01 +01:00
asofold
7dcbe3df6b
[BREAKING] Create a common interface for per-player debug messages.
...
Breaking, because it alters Check, CheckListener and BaseAdapter. Not
really meant/possible to be used by external plugins, though.
2016-03-10 22:24:31 +01:00
asofold
8d43b0abc5
Keep track of ModelFlying in MoveData.
2016-03-10 20:00:23 +01:00
asofold
ca8cbdaf05
Allow ProtocolLib 3.7.0 as well. Move method code to GenericVersion.
2016-03-10 19:39:38 +01:00
asofold
cb50f2cc61
[BLEEDING] Remove pvp-knockback workaround with 1.9 (read on).
...
If false positives with players receiving knockback from pvp hits
increase, setting checks.fight.pvp.knockbackvelocity to true instead of
default will force-activate the workaround.
Debug logging would reveal if this works or not. If the velocity events
fire correctly, the horizontal components will be clearly greater than
zero most of the time with pvp hits. [Can't test this right now.]
2016-03-09 11:57:02 +01:00
asofold
81c74441da
Fix rush auto suggestion.
2016-03-07 22:54:48 +01:00
asofold
d34679371d
[BLEEDING][INSTABLE] First rough levitation + elytra support (read on).
...
Very coarse modeling, players likely are able to abuse this and there
are verly likely more false positives.
Especially elytra will have issues:
* Players can fly very fast.
* Elytra will make players fly even faster than the set limit, resulting
in false positives at some point. Setting the allowed speed that high
will yield the problem of players being able to abuse even worse. Thus
limiting to the speed of spectator mode. Modeling will be changed to
accomodate for gain vs. max. distance and other.
2016-03-06 14:46:45 +01:00
asofold
b40875060c
Fetch block shapes without using updateState.
2016-03-05 20:17:44 +01:00
asofold
4221f5bf18
Extend pre-setup checks for dedicated MCAccess for 1.9.
2016-03-05 20:06:20 +01:00
asofold
e58b334911
Correctly note '1.9' blocks. Fixes Issue #109 .
2016-03-05 13:07:36 +01:00
asofold
262a7b27b2
Allow standing on shulker (dedicated MCAccess for 1.9 only).
2016-03-04 22:43:45 +01:00
asofold
65c4815f14
Add rough values for 1.9 blocks.
2016-03-04 21:44:51 +01:00
asofold
c5d99f986a
[BLEEDING] Fix block shape retrieval for 1.9.
2016-03-04 14:00:47 +01:00
asofold
62ea433a0f
Confine the accepted Minecraft version for ProtocolLib 3.7 more.
...
9be2cd2400 (diff-2f1ecdb100c80df342f0249f8ebacbb1R83)
2016-03-03 22:43:38 +01:00