Commit Graph

2718 Commits

Author SHA1 Message Date
asofold
db1d15d93a [Bleeding] Allow ProtocolLib 4.0.0 on MC [1.9, 1.10). See notes.
Issues on quick testing:
* End portal seems bugged, resulting in desync, entering in creative
mode. Switching to survival via console allows end portal travel after
kick+relog. Can't tell if this is a 1.9 bug or due to building NCP vs.
an older version of ProtocolLib.
2016-04-02 14:05:44 +02:00
asofold
0b6f5b456e Add workaround counters to oddSlope. 2016-03-28 21:36:57 +02:00
asofold
a00b6a53b5 Fix issues with respawning ender dragons (block place reqach+distance). 2016-03-26 02:42:35 +01:00
asofold
c138d972f8 Cover MagicAir.venvHacks with workaround counters.
* Several more to go :p.
* A command for logging global/per player/checktype!? is still missing.
2016-03-26 01:23:39 +01:00
asofold
81b0c9441a Log just used workarounds on debug. 2016-03-26 01:01:44 +01:00
asofold
e5713ef93b Ignore null players in UseEntityAdaper. 2016-03-26 00:33:26 +01:00
asofold
752e130640 Adjustments for elytra and creativefly default model configs.
* Allow moderate ascending with elytra.
* Let ground be true by default.
* Disable some stuff for spectator mode by default.
* Alter logging.
2016-03-26 00:19:20 +01:00
asofold
8a82b23b99 Confine cobweb workaround by set-back distance. 2016-03-25 17:43:47 +01:00
asofold
60ab3c9717 Better naming for sfZerovDist (+Repeat), don't restrict by hDist. 2016-03-25 16:14:24 +01:00
asofold
677622ac66 [BLEEDING] Use 1.9 API to detect actually using elytra. 2016-03-23 22:35:09 +01:00
asofold
8353bdbfbe Quick and dirty: noob tower. (Might still need review for exploits.) 2016-03-22 19:19:56 +01:00
asofold
336b518082 "Quickly" add lostground and a few specific workarounds to creativefly.
Later the ordinary envelope should be checked by survivalfly, possibly
adding exceptions for specific side conditions, e.g. elytra is worn.

Could lead to unifying cf + sf some day, rather using different kind of
sub-check methods, depending on side conditions (flying, allow flying,
elytra, ...).
2016-03-21 18:13:25 +01:00
asofold
206c985a08 Split off checking for glide envelope with horizontal gain to magic. 2016-03-21 15:54:25 +01:00
asofold
395de51ddb Indentation, visibility. 2016-03-21 00:03:32 +01:00
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