Commit Graph

254 Commits

Author SHA1 Message Date
Mike Savoie
ae193a8598 Don't be so condescending in default kick messages. 2013-02-21 20:43:26 -05:00
asofold
fafb27a131 Dump block properties in a task whenever they are reset.
Better schedule it with a task, to get other plugins changes.
Also get dumped on /ncp reload, seems to be better, though it can mean
spam.
2013-02-20 22:30:55 +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
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
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
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
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
45ba3b931e Reduce false positives for god-mode.
At maxNoDamageTicks/2 damage can rule.
2013-02-15 20:39:11 +01:00
asofold
0fff534cd1 Allow stuck players to jump upwards if head is free. 2013-02-15 15:53:56 +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
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
asofold
d3966b3ccd Adapt lost-ground check to recent fix in PlayerLocation.isOnGround.
This should reduce false positives with running down "stairs" made of
full blocks by a lot.
2013-02-08 12:28:26 +01:00
asofold
bcd62f09a8 Move some debug output to a method. 2013-02-08 11:13:46 +01:00
asofold
dd9e5d3873 Code simplification. 2013-02-08 11:10:51 +01:00
asofold
a12ffcf916 Correct vl for fastclick to include current violation. 2013-02-08 09:49:38 +01:00
asofold
df4705d0d8 Let inventory.fastclick not execute actions with heavier lag spikes.
It will execute cancel, if the actions for the former vl contain it, but
the vl will not be increased, neither will actions be executed.
2013-02-08 09:47:13 +01:00
asofold
df005b4181 More grace to velocity handling, configurable.
Before full revert or recode: a moderate (smaller than
before) minimal grace amount for the counters is used now.
2013-02-06 18:43:34 +01:00
asofold
261fca021d Add comments, reorder slightly. 2013-02-06 17:42:04 +01:00
asofold
7399bfa8ee More haste. 2013-02-05 11:02:47 +01:00
asofold
2b8dd41461 Reduce some false positives with survivalfly. [Not finished.] 2013-02-05 01:52:15 +01:00
asofold
fcd18ead24 Make god-mode lag boundaries configurable. 2013-02-04 23:48:37 +01:00
asofold
f126a13be5 Don't let freedom go below 0. 2013-02-04 23:03:04 +01:00
asofold
6c8c6adca5 Attempt to fix repeated adding of velocity.
Effects on hacks have to be evaluated further.
2013-02-04 10:10:46 +01:00
asofold
c49b1fb7b6 Change appearance of the output of the lag command. 2013-02-04 09:21:06 +01:00
asofold
ae01377606 Set version to 3.8.10-ALPHA to keep it somewhat consistent, switch back
with 3.8.11.
2013-02-03 22:50:35 +01:00
asofold
38a2fdfb27 Bump version. 2013-02-03 22:10:26 +01:00
asofold
6a0a4188c1 Sharpen vertical-accounting.
Also use first bucket, if count matches.
Demand at least gravity getting added.
2013-02-03 21:55:01 +01:00
asofold
d897c99a23 [Bleeding] Adjust velocity handling.
Mainly horizontal velocity. Should reduce abuse potential for small
amounts of velocity added. Repeated adding of velocity might pose
problems, still.
2013-02-03 21:37:00 +01:00