Commit Graph

1410 Commits

Author SHA1 Message Date
asofold
d8701a7ea6 Add target-location heuristic to reduce false positives with improbable. 2013-01-29 02:51:51 +01:00
asofold
3348865288 New method for distance (coordinates). 2013-01-28 23:53:05 +01:00
asofold
0fb299b39f Don't check backwards sprinting after being hit. 2013-01-28 09:18:03 +01:00
asofold
04e7b2a09b Munchhausen can be enabled now. 2013-01-28 09:17:31 +01:00
asofold
b02a57c09c Workaround for vines + axes. 2013-01-27 06:58:12 +01:00
asofold
342ef0f5a6 TickTask.getLag: Never return anything smaller than 1. 2013-01-27 05:06:33 +01:00
asofold
200a96440e Contemplation. 2013-01-26 09:29:08 +01:00
asofold
025d71dfde Fix standsOnEntity (jumping on boats and minecarts). 2013-01-26 08:43:18 +01:00
asofold
9bb8687a88 Add javadocs for ComponentRegistry and related. 2013-01-26 08:03:33 +01:00
asofold
4324d4fe74 [Bleeding] Lessen trouble with boats. 2013-01-26 07:42:56 +01:00
asofold
034a7d58b0 Fix unregistering of components from allComponents. 2013-01-26 07:41:51 +01:00
asofold
1e29c03251 Re-order methods. 2013-01-26 06:56:23 +01:00
asofold
99e7994b76 Fix morepackets(vehicle) set back never executing. 2013-01-26 00:16:18 +01:00
asofold
333cffd0d5 Fix last damage-tick by entity attack being reset while dead, renamings. 2013-01-26 00:08:17 +01:00
asofold
53756f7145 Cleanup for all added components, reorder cleanup on disable. 2013-01-25 23:51:29 +01:00
asofold
9bd7745690 Change the way morepackets(vehicle) teleports player and vehicle.
Player gets ejected, then both teleport then re-enter. Includes some
sanity checks. Also should work for players exiting vehicles. Might
conflict with Worldguard region flags and similar. [Missing: proper
treatment of vehicle-enter/exit.]
2013-01-25 22:12:40 +01:00
asofold
ed56c3458f Add "/ncp version" command. 2013-01-25 20:41:38 +01:00
asofold
ed09b58074 Set data.teleported for hover violations. 2013-01-25 14:38:41 +01:00
asofold
509347e78b Update a TODO. 2013-01-25 00:14:43 +01:00
asofold
405f33e90e Remove debug output for boats. 2013-01-24 23:53:39 +01:00
asofold
85131dcadb [BLEEDING] Re-sharpen NoFall, configurable.
Fall damage events for violations are not cancelled anymore due to the
"moved too quickly" bypass. Instead the player is dealt 3 more damage
than normal and added to the hover checking if that is activated.
Further a config flag allows to specify if to reset the NoFall data, set
to false by default, thus victims of Minecraft false-positives are at
doubled suffering.
punished
2013-01-24 23:49:31 +01:00
asofold
940e7d83e3 Add class-member checks for failing constructors (compat). 2013-01-24 21:38:31 +01:00
asofold
f485fc7a2d Fix for non-blocks in setupBlockProperties. 2013-01-24 20:46:33 +01:00
asofold
15c04a3115 Also check for too high numbers as arguments to getLag. 2013-01-23 18:54:19 +01:00
asofold
944f3469d0 Random safeguard for breaking-time (fastbreak). 2013-01-23 18:30:30 +01:00
asofold
6a70f0a010 Accoutn for lag in chat.commands. 2013-01-23 03:07:17 +01:00
asofold
cce67ac67c Account for TickTask resetting. 2013-01-23 03:06:52 +01:00
asofold
60114eb6eb Do account for ms == 0. 2013-01-23 02:21:09 +01:00
asofold
fdb58eefca Logics for beginners. 2013-01-23 02:11:22 +01:00
asofold
67b3b9ea00 Make TickTask.getLag more precise. 2013-01-23 02:08:02 +01:00
asofold
9b75979dee (Hot-) fix negative indices on TickTask.getLag. 2013-01-23 02:06:31 +01:00
asofold
3ad3309e43 Correct block break time penalties for under-water and off-ground.
Also adds API to get and set those.
2013-01-22 19:56:07 +01:00
asofold
07d8573e9e [Bleeding] Check vehicle-morepackets for players riding pigs. 2013-01-22 18:43:04 +01:00
asofold
542dafc6f7 Add default config for allowinstantbreak. 2013-01-21 06:06:48 +01:00
asofold
8d1ee85d9d Add compatibility option to set blocks as instantly breakable. 2013-01-21 05:59:52 +01:00
asofold
b54b558322 Minor tweak :p. 2013-01-21 02:10:08 +01:00
asofold
f0ea06bea6 Also ignore hover for players inside of vehicles. 2013-01-21 02:08:25 +01:00
asofold
4f3e4fad65 (Not putting hover in at respawn due to chunk sending.) 2013-01-20 17:18:36 +01:00
asofold
0eaa8fd1b5 Ignore dead / sleeping directly on hover. 2013-01-20 06:53:31 +01:00
asofold
f940e1e359 More to the order of things. 2013-01-20 05:59:46 +01:00
asofold
c457d27616 MCAccessBukkit: Fail too for transparent, zombies. 2013-01-20 05:50:50 +01:00
asofold
762ae9174d [BLEEDING] Some missing parts [might still be missing some].
Set to bleeding, because the last commits are. Bukkit-API-only access
shortly tested. There will be issues, but this might help over the
darkest of days.
2013-01-20 05:25:21 +01:00
asofold
4c6798b979 Typo / log level. 2013-01-20 04:35:35 +01:00
asofold
835ae9cb26 Add ability to run extra BlockProperties setup if MCAccess implements
the interface.
2013-01-20 04:31:00 +01:00
asofold
ee1f410dae [SAFETY COMMIT, REFACTOR, BREAKING]
Moving big parts of code between sub-projects. Some refactoring was
needed to unlink some classes. Deprecated methods removed. Some utility
methods were moved to differently named utilities. Few signatures
changed (e.g. BlockProperties.init). Most changes should only concern
bugs or developers who dug into some NCP deeply (not sure those exist).
It should still all be there.
2013-01-20 04:18:08 +01:00
asofold
8e313f4a47 [SAFETY COMMIT, INCOMPLETE] RAW: Add support for bukkit-api-only. 2013-01-20 00:51:09 +01:00
asofold
c8c4d4c9cc Add a method to set a config property for all configs at once. 2013-01-19 21:43:31 +01:00
asofold
9810c5c46b Add more info in case MCAccess can not be set. 2013-01-18 23:06:50 +01:00
asofold
48c2d0ea53 Add fine grained permissions for Rei's Minimap's radar.
This merges pull request 4 (@slide23) in a slightly altered way, with
a little delay.
2013-01-18 22:43:16 +01:00
asofold
f9b45921b1 Move mod messages to a utility. 2013-01-18 22:37:23 +01:00