Commit Graph

455 Commits

Author SHA1 Message Date
asofold
3ba0f93cb3 Few renaming, use location already fetched. 2012-10-22 17:27:23 +02:00
asofold
41dd43f0de Distinguish solid and ground materials, add diode to gorund (fixes
ticket #280).
2012-10-21 22:20:42 +02:00
asofold
f0ba361968 Correct IStats to be an interface as well. 2012-10-21 20:45:26 +02:00
asofold
5f589e78e9 Bleeding: Add interfaces IFirst and ILast for hooks ordering. 2012-10-21 20:38:05 +02:00
asofold
a3eb7f576d Bleeding: Add capability to replace ActionFactory and actions. 2012-10-21 07:13:29 +02:00
asofold
318372b000 Bleeding: Add access API to check execution history for if an action
would get executed.
2012-10-21 06:51:11 +02:00
asofold
f9788d162f Simplify internals of ExecutionHistory. 2012-10-21 06:21:04 +02:00
asofold
b2c7b9ae74 Adjust chat warning message. 2012-10-19 23:55:58 +02:00
asofold
1c01300225 Remainders of nopwnage: count most weights less with passed time. 2012-10-19 23:42:31 +02:00
asofold
6c3d924b9c Text: Set default weight "noletter" to 0.0 (disabled). 2012-10-19 21:46:41 +02:00
asofold
5ce4ba2ad6 Actually, build 163 did change the defualt configuration, 164 will too. 2012-10-19 21:44:37 +02:00
asofold
a6ee06a714 Build 162 changes the configuration. 2012-10-19 21:37:39 +02:00
asofold
822589a006 Adjust first logging for passable. 2012-10-19 21:17:04 +02:00
asofold
fdf29a5e17 Add repeaters (diode) blocks to be ignored by passable. 2012-10-19 20:55:57 +02:00
asofold
c05336e3e4 Yawrate: add maximum penalty, corect use of minimum. 2012-10-19 19:05:09 +02:00
asofold
fc6d15b6fe Move IViolationInfo to access package. 2012-10-19 18:30:45 +02:00
asofold
033cebf7cb Move PlayeRMove from combined to moving (still feeds combined/yawrate). 2012-10-19 12:00:38 +02:00
asofold
b08282d925 Clear NoFall data for quick returns on fall damage, also quick return
for cancelled events.
2012-10-19 11:41:01 +02:00
asofold
fbcacf6d40 Re-order some stuff. 2012-10-19 11:40:06 +02:00
asofold
f30bccd7d3 Remove workarounds listener (split to moving + combined). 2012-10-19 11:32:32 +02:00
asofold
298336bf6b Passable: Allow moving in a block, if head is free (no block
transitions).
2012-10-19 00:55:52 +02:00
asofold
85848c6f72 Bleeding: SF: Prevent VL reduction if last violation was within two
seconds.
2012-10-19 00:45:21 +02:00
asofold
2e812f17f8 Bleeding: Adjust keeping track of positions (from, preparatory: to).
Some
corrections.
2012-10-19 00:21:02 +02:00
asofold
2764515190 Use event.getTo for yawrate instead of player.getLocation. 2012-10-19 00:05:16 +02:00
asofold
1efb62c943 Improve isAboveLadder by using a bounding box rather. 2012-10-19 00:04:22 +02:00
asofold
040c32d5d0 Config last changed in build 158. 2012-10-19 00:02:23 +02:00
asofold
d49aacd231 Prevent passable from resetting to the "to"- position. 2012-10-18 16:21:07 +02:00
asofold
76dd563271 Ignore stats hooks result of oncheckFailure. 2012-10-17 19:14:39 +02:00
asofold
e3be45b986 Add ladder to blocks ignored by default by passable. 2012-10-17 18:52:58 +02:00
asofold
77216f0799 Add Extended information about violations to hooks. 2012-10-17 18:31:44 +02:00
asofold
3286bdd0dd Comment out NetServerHandler use to make sure it can't be used. 2012-10-17 17:44:12 +02:00
asofold
c2e4549ec7 Comments. 2012-10-13 12:09:28 +02:00
asofold
0e041c419a Passable+cactus and ladder+efficiency-axe. 2012-10-13 12:05:16 +02:00
asofold
4ad88cd945 Typo. 2012-10-13 11:05:32 +02:00
asofold
d07ba833c1 Shuffle code. 2012-10-12 13:37:11 +02:00
asofold
541430a361 Switch to hard-coded build number for config-outdated checking to avoid
unnecessary regenerating of configs.
2012-10-12 02:46:02 +02:00
asofold
b79a292c34 SurvivalFly: reduce false positives by using an adapted bounding box
for the y-inconsistency case.
2012-10-12 02:28:09 +02:00
asofold
589362c363 Account for fences with on ground. 2012-10-12 00:00:03 +02:00
asofold
b55c43ea71 Rename TypeIdCache to BlockCache. 2012-10-11 18:23:30 +02:00
asofold
96f9232dae Fix some properties not getting reset for PlayerLocation. (Fixes
freezing.)
2012-10-10 02:58:06 +02:00
asofold
07994c6a34 Harmless optimization :p 2012-10-10 02:35:37 +02:00
asofold
b8209ac294 Spider too rush! 2012-10-10 02:29:33 +02:00
asofold
e721b4e759 Give the on-ground judgment less high bounds. 2012-10-10 01:28:11 +02:00
asofold
2e322198db [Bleeding] Add anti spider exception to on ground checks. 2012-10-09 23:55:18 +02:00
asofold
0a777735e7 Move flag checking methods to BlockProperties. TypeIdCache is really
only the cache now.
2012-10-09 23:35:39 +02:00
asofold
4ee1880a4d Refine lily pad placement check, add place against air for some reason. 2012-10-09 18:17:27 +02:00
asofold
def976df50 Add simple security guards to Passable for moving inside of blocks. 2012-10-09 17:33:40 +02:00
asofold
ded72a5152 Add convenience methods: isPassable, getVector 2012-10-09 17:18:36 +02:00
asofold
8311070902 [Bleeding] Account for entities (boat, minecart) for on-ground. 2012-10-09 05:11:20 +02:00
asofold
2389b82138 Random. 2012-10-09 04:40:06 +02:00
asofold
be384aa799 Fix NPE(s). 2012-10-09 04:39:57 +02:00
asofold
9171199086 [Bleeding] Less false positives for survivalfly. 2012-10-09 04:08:50 +02:00
asofold
c9427d4ff1 Add Methods for bounding box tests. PlayerLocation: Use idCache for
more, return idCache as IBlockAccess if present. [DEBUG, Ongoing]
2012-10-08 17:50:27 +02:00
asofold
4025cd3e55 Use Location.locToBlock instead of Math.floor. 2012-10-08 06:40:08 +02:00
asofold
3d981241eb Delete data and history if system time ran backwards. 2012-10-08 06:11:59 +02:00
asofold
a209b806c8 Use a cache for block id and data in the move checks. 2012-10-08 04:57:26 +02:00
asofold
5bf347ca88 Add ability to use a cache for block id and data for PlayerLocation. 2012-10-08 04:56:53 +02:00
asofold
a5c37a884b Small optimization for violation handling. 2012-10-08 04:28:39 +02:00
asofold
24eede78fe Change PlayerLocation use (reduces memory footprint). 2012-10-08 04:15:51 +02:00
asofold
167d442501 Fight.reach + giant. 2012-10-08 02:55:51 +02:00
asofold
b2beb4d4de Adjust kick actions for drop. 2012-10-08 00:41:12 +02:00
asofold
457fd1934e Fastbreak + haste potion effect. 2012-10-08 00:23:24 +02:00
asofold
964da9ac46 Also cleanup entity in PalyerLocation (@Score_Under). 2012-10-07 23:23:21 +02:00
asofold
645f17253b Log jumpphase for debug. 2012-10-07 23:20:25 +02:00
asofold
de1f8ba295 Small corrections (@Score_Under). 2012-10-07 23:19:57 +02:00
asofold
3082097437 Fix passable + cauldron. Use Arrays.fill somewhere (@Score_Under). 2012-10-07 23:19:36 +02:00
asofold
cea496b61f Correct reach distance dynamic range. 2012-10-07 22:32:37 +02:00
asofold
14fb490376 Instanteat will now take maximum of last invclick and last eat. 2012-10-07 22:03:34 +02:00
asofold
d9038010d8 Fix survivalfly alerts for moving downstream in water. 2012-10-07 21:47:54 +02:00
asofold
1372a462d9 Add piston stuff to ignore list (config) for passable. 2012-10-07 18:39:30 +02:00
asofold
1bb1dd8a89 Add permission for breaking fluids. 2012-10-07 00:17:49 +02:00
asofold
81c924225d Do not check fast-break for creative mode anyway. 2012-10-07 00:05:22 +02:00
asofold
f6d34f36f0 Move "place against liquids" to block-place listener. 2012-10-07 00:00:32 +02:00
asofold
f913beba1f Adjust fight.reach to use optimal reference y. 2012-10-06 19:38:46 +02:00
asofold
308117054a Adjust fight.reach to use optimal reference y. 2012-10-06 19:36:28 +02:00
asofold
660182f351 NoFall: Account for just moved distance for moving onto ground. 2012-10-06 18:40:10 +02:00
asofold
0dec258753 Correct chat/fast actions. 2012-10-06 07:42:43 +02:00
asofold
0b87140998 Adapt fight.reach reach adaption to 0.75 at most, cancel more silently. 2012-10-06 05:15:08 +02:00
asofold
7d0db899f6 Adjust workaround use to reduce false positives. 2012-10-06 03:31:48 +02:00
asofold
8219c8e8df Small adaption for default config (chat). 2012-10-06 02:40:00 +02:00
asofold
390fa3f738 Attempt to prevent exploits of a workaround. 2012-10-06 01:57:06 +02:00
asofold
5dff15002a Attempt to fix nofall issues. 2012-10-06 01:22:08 +02:00
asofold
765b90ffd9 Adjust one string. 2012-10-05 23:12:58 +02:00
asofold
1f10a81448 Add ability configure passable check to ignore certain blocks. 2012-10-05 17:14:41 +02:00
asofold
73d2f79f8a Bleeding/Instable: More aggressive NoFall [no violations], creativefly
with accounting option.
2012-10-05 03:37:10 +02:00
asofold
59063c7497 Fix ArrayIndexOutOfRange in DelayableCommand. 2012-10-05 00:43:38 +02:00
asofold
5baaedce74 Add per check section debug flag support. 2012-10-04 02:06:00 +02:00
asofold
0ebb8b60d3 Passable: Fix glass panes and iron fences. 2012-10-04 01:31:01 +02:00
asofold
979fd0a5e2 Make penalty time more configurable for yawrate checking. 2012-10-03 19:08:13 +02:00
asofold
df22700a15 Use lower case + trim for similarity checks. 2012-10-03 18:31:39 +02:00
asofold
84555c4e51 Add triggers to combined.invulnerable to keep it more minimal. 2012-10-03 17:47:29 +02:00
asofold
7398952c5e Bleeding: Add combined.invulnerable to handle problems with players
relogging.
2012-10-03 17:27:50 +02:00
asofold
efabd0536b Add startupdelay to Logins check. 2012-10-03 14:13:25 +02:00
asofold
b2d6608eaa Correct one string. 2012-10-03 03:01:38 +02:00
asofold
ee7be35fa0 Remove fight.instantheal check. 2012-10-03 02:42:03 +02:00
asofold
07db0630fc Big change: Chat section rework. Add Logins check. Some config
adaptions.
2012-10-03 00:09:46 +02:00
asofold
a07202c1ff Prevent division by zero. 2012-10-02 17:04:24 +02:00
asofold
af8623ee81 Integrate captcha into commands check. 2012-10-02 16:08:41 +02:00
asofold
8b92bd74dc Only clear fly/nofall data if changing form/to creative mode. 2012-10-02 15:51:58 +02:00
asofold
74b3c1c84f Adjust Synchronization with captcha. 2012-10-02 15:32:53 +02:00