Commit Graph

1392 Commits

Author SHA1 Message Date
asofold
0a031a0a92 [BLEEDING] Add hidden config option to override block flags.
This allows to override arbitrary blocks block-flags.
2013-02-20 22:09:31 +01:00
asofold
33abae929b Should have used a regex :p. 2013-02-20 22:04:43 +01:00
asofold
c16ccd8435 Add convenience method to StringUtil for splitting by chars. 2013-02-20 21:18:16 +01:00
asofold
f7ca2da065 Add data value to debug.output method. 2013-02-20 20:56:05 +01:00
asofold
3827fac67a Add methods for getting block-flag-names and parsing flags.
Also add extended output to BlockProperties.dumpBlocks.
2013-02-20 20:33:39 +01:00
asofold
e6961a757b Move some debugging code to a utility. 2013-02-20 19:43:54 +01:00
asofold
354e7e456d Correct fastheal actions. 2013-02-20 18:42:17 +01:00
asofold
1e71a02449 Update javadocs: return value. 2013-02-20 18:32:45 +01:00
asofold
66da361c5d Fix fight.speed not getting registered properly.
Should use addCheck in order to have the stored MCAccess instance reset
properly on reloading. Little relevance with this check.
2013-02-20 18:27:22 +01:00
asofold
6eeb3ae89d Add missing strings entry for fastheal. 2013-02-20 18:10:17 +01:00
asofold
db5a71d6d2 [Bleeding] Add FastHeal check.
Might need lower interval and higher buffer in the default config,
subject to testing.
2013-02-20 17:02:48 +01:00
asofold
4a2dfc853e Something against criticals.
NoFall will now reset fall distances to 0 if the player walks on ground
(configurable: anticriticals).
2013-02-19 02:25:49 +01:00
asofold
2304abd6e8 Add nofall fall distance to fight.criticals debug message. 2013-02-19 01:49:59 +01:00
asofold
52eb97026c [BLEEDING] Revive direction checking. Optimizations. 2013-02-18 02:55:46 +01:00
asofold
faa9a8637c Explicitly set STEP as solid.
Hopefully fixes an issue with another plugin.
2013-02-17 22:37:53 +01:00
asofold
1effa80021 Tighten blockinteract.speed limit to 60. 2013-02-17 20:21:38 +01:00
asofold
cd2cb78ad6 Don't forget to increase the VL. 2013-02-17 19:54:06 +01:00
asofold
3bb6e94432 Merge branch 'master' of https://git@github.com/NoCheatPlus/NoCheatPlus.git 2013-02-17 19:49:25 +01:00
asofold
6112d5b9fb [Bleeding] Add interact.speed check. 2013-02-17 19:45:49 +01:00
asofold
dd5f094472 Adjust debug message. 2013-02-17 19:44:50 +01:00
asofold
277d062763 Attempt to fix issues with piston-extension. 2013-02-17 19:05:57 +01:00
asofold
0d3f63e8c3 Fix interact-ray-tracing workaround. 2013-02-17 18:15:46 +01:00
asofold
48ffb2f09f [Bleeding] Add blockinteract.visible check.
This check performs somewhat heuristic ray-tracing to see if a block
interacted with can actually be "seen", in terms of not reaching
through fully solid blocks. [Still needs for performance: more refined
conditions when to use + interact-speed check].
2013-02-17 17:49:50 +01:00
asofold
3f7e2d44f1 Add heuristic InteractRayTracing. 2013-02-17 17:33:14 +01:00
asofold
89cbbfdddb Optimize/correct block-interact checking. 2013-02-17 17:04:06 +01:00
asofold
5f5d571264 Also prevent using item-in-hand or using interacted-block fpor
cancelled interact events.
2013-02-17 16:25:28 +01:00
asofold
1d44fe66be Check BlockInteract first. 2013-02-17 16:20:13 +01:00
asofold
28a28b2e54 Fastest return first. 2013-02-17 14:32:29 +01:00
asofold
5c3f79c09d Add convenience methods to BlockCache. 2013-02-17 14:21:23 +01:00
asofold
68a807a564 Correct a method name in BlockProperties.
Old one is deprecated now.
2013-02-17 14:07:22 +01:00
asofold
3dbe5fcda8 Add constructor without arguments to RayTracing for convenience. 2013-02-17 13:56:13 +01:00
asofold
0c5a6981e7 Merge pull request #11 from MyPictures/master
Outdated Jenkins link
2013-02-15 17:54:13 -08:00
MyPictures
69b2e287dd Fix outdated jenkins link in Readme.md 2013-02-16 02:44:34 +01:00
asofold
45ba3b931e Reduce false positives for god-mode.
At maxNoDamageTicks/2 damage can rule.
2013-02-15 20:39:11 +01:00
asofold
dbf87093e3 [Bleeding] Simplify passable-ray-tracing.
Just comment out the from-collides check, since it should be included in
the actual ray-tracing check. Should give some speed-up.
2013-02-15 18:59:12 +01:00
asofold
cbe0b5c0d7 Workaround for standing on the block below a cactus (simplistic). 2013-02-15 18:53:38 +01:00
asofold
0fff534cd1 Allow stuck players to jump upwards if head is free. 2013-02-15 15:53:56 +01:00
asofold
29f5a153a5 Fix isSameBlock(Location), add convenience methods isBlockAbove. 2013-02-15 15:46:19 +01:00
asofold
1264cdb240 [Bleeding] Add ray-tracing for passable check.
By default this only checks for block-transitions and vclip down.
2013-02-15 13:59:36 +01:00
asofold
9f7d3c6cfc Add basic ray-tracing support. 2013-02-13 21:26:26 +01:00
asofold
7d5e5deb24 Adjust Metrics.
1. Removed setting timeouts explicitly.
2. Schedule logging the error before throwing the exception.
2013-02-12 22:58:03 +01:00
asofold
73cbac3b8f Putting workaround right. At the cost of some swimup foggyness. 2013-02-09 00:26:02 +01:00
asofold
08427fb3f1 Reduce false positives with survivalfly + swimup (jump, half-steps). 2013-02-09 00:07:03 +01:00
asofold
602b4c70b4 Basically ignore events with zero damage for god-mode. 2013-02-08 19:46:00 +01:00
asofold
c6ed76167a Set all noswing actions to only log from vl>10 on. 2013-02-08 19:24:45 +01:00
asofold
43264adf40 Adjust moving debug output: Show both v/h, but only if active. 2013-02-08 14:23:45 +01:00
asofold
83eb9c8564 Reset velocity specs for one-time-use velocity. 2013-02-08 14:03:55 +01:00
asofold
aa3c48059c Attempt to further reduce false positives with exiting boats. 2013-02-08 13:52:20 +01:00
asofold
06fdca5f25 Sharpen lost-ground conditions. 2013-02-08 13:31:35 +01:00
asofold
409f5e5878 Workaround for jumping onto flower pots. 2013-02-08 13:01:35 +01:00