Commit Graph

1230 Commits

Author SHA1 Message Date
asofold
ff94745999 [Instable] Bleeding: Encapsulate CB/MC access for compatibility.
Soem things are not optimized yet, also it is a raw commit no test, does
not even compile.
2012-12-06 22:16:07 +01:00
asofold
d47c2cd533 Added MunchHausen check. 2012-12-06 05:43:30 +01:00
asofold
6e62b7ee1b Fix aspect of NoFall.
1. Add used PlayerLocation back to parked.
2. Also check for ladder and stairs.
2012-12-06 02:11:38 +01:00
asofold
da942816f1 Typo. 2012-12-06 02:03:27 +01:00
asofold
ca01f45975 It's done. 2012-12-06 02:01:44 +01:00
asofold
4cdb6027b5 Add lag measurement to TickTask + command.
It allows showing average lag covering any period within the last 80
ticks, and also tracks 80 times the sum of 80 ticks, covering 270
seconds roughly. Also lag spikes over 150 ms and over 1000 ms are
counted for one hour (ActionFrequency with 3x20 minutes). A judgment
for the current tick freezing can be done getting the last time for
running
the
tick task.
(Needs to be put to use, yet.)
2012-12-06 01:58:57 +01:00
asofold
115adb342a Visibility and comments. 2012-12-05 21:51:57 +01:00
asofold
79b514d4fa Set version to 3.8.5 for development towards next release. 2012-12-05 01:39:37 +01:00
asofold
4c0c432d8e Set version to 3.8.4-RC fro release on BukkitDev. 2012-12-05 01:24:12 +01:00
asofold
e776a8c524 Fix NPE for block breaking.
BlockCache.setAccess was missing (sloppy!).
2012-12-05 01:13:12 +01:00
asofold
9838cf4393 Do not undo command changes.
Instead just clear the list. It appears that this leads to recalculation
of permissions, which leads to freezing during disabling the plugin
having NPC plugins like Citizens 2 in place. Undoing the changes is not
that important anyway.
2012-12-04 22:28:51 +01:00
asofold
cfa397fabc Add BlockCache to isOnGround (breaking duration). 2012-12-04 05:27:11 +01:00
asofold
2d1beaf3a9 Bleeding: Sharpen NoFall.
New attempts to reduce fall damage by stopping in mid air and letting
MC deal fall damage (send ground), then regenerate health and/or fall
the last 3 blocks without damage are prevented by this (mostly).
Hopefully few to none false positives.
2012-12-04 04:41:50 +01:00
asofold
14b0700259 Simplify checkDamage. 2012-12-04 03:26:08 +01:00
asofold
d5c76ed416 Set version to 3.8.4 for development towards next release. 2012-12-04 03:19:41 +01:00
asofold
155f00132a Set version to 3.8.3-RC for release on BukkitDev. 2012-12-04 02:10:41 +01:00
asofold
5ebaf7a8ea Add verbose log entries on disable (logging.debug). 2012-12-03 17:46:38 +01:00
asofold
a564d676a0 Add methods for checking if listeners are registered. 2012-12-03 17:34:56 +01:00
asofold
9ed8a150bc Alter synchronization for TickTask queues. 2012-12-02 18:22:54 +01:00
asofold
5fc17e0c11 Fixes after fast commits. 2012-12-02 17:49:18 +01:00
asofold
2f482649a0 Re-order cleanup on disable, clean up metrics too. 2012-12-02 17:39:50 +01:00
asofold
2e9608c056 Add cancel method to metrics. 2012-12-02 17:33:33 +01:00
asofold
7968d01259 Improve ListenerManager cleanup. 2012-12-02 17:27:00 +01:00
asofold
8082b3d33d TickTask changes applied to plugin. 2012-12-02 17:03:43 +01:00
asofold
a156d1117b Add method to empty request queues for TickTask. 2012-12-02 16:59:59 +01:00
asofold
2a8b6e3ad2 Add ability to lock TickTask.
Prevents adding new entries.
2012-12-02 16:58:16 +01:00
asofold
44b6eb2b2a Ensure minimal capacity for CoordMap (not relevant to known issues). 2012-12-02 16:45:07 +01:00
asofold
2c73a8adb8 Collect block flags after checking isIllegal (!). 2012-12-01 21:40:53 +01:00
asofold
68fbbcee1e Prevent npe in one place. 2012-11-29 15:57:57 +01:00
asofold
37bca8836b Bleeding: Use collecting flags before checking. 2012-11-29 15:50:00 +01:00
asofold
82cf9b1c47 Bleeding: Add faster return ability for player location checking. 2012-11-29 15:47:07 +01:00
asofold
2cec7468ea Add Method to collect flags. Add comment to isOnGround. 2012-11-29 15:39:11 +01:00
asofold
f6aaf52d03 Looking once over set-back + nofall. 2012-11-26 00:49:30 +01:00
asofold
ba1954025d Revised passable, corrected + simplified.
Hopefully :) [missing: survivalfly does not estimate a player to be on
ground if fully stuck]
2012-11-25 23:25:51 +01:00
asofold
d5136dc788 Add convenience methods for block coordinate comparison. 2012-11-25 23:24:06 +01:00
asofold
484c61e9aa Remove godmode kick for the moment. 2012-11-25 23:23:46 +01:00
asofold
01dee36e32 Raise vl for godmode kick to 60. 2012-11-24 23:35:35 +01:00
asofold
35a4a3c780 Repair unpatching isIllegal. 2012-11-24 18:38:18 +01:00
asofold
af171ee272 Always kick on fake bed leave. 2012-11-23 16:26:25 +01:00
asofold
e388e4d306 comments update. 2012-11-23 16:24:39 +01:00
asofold
1a2a5d3d05 Use CombinedData.wasInBed ! 2012-11-23 16:19:44 +01:00
asofold
fbef165233 Use delayed kicks for moving checks. 2012-11-23 16:16:44 +01:00
asofold
3b226dea6d Make bed-leave an extra check. 2012-11-23 16:16:05 +01:00
asofold
b0a56ef743 Add more kick actions (survivalfly, morepackets) 2012-11-23 15:36:53 +01:00
asofold
5300ef26ef Add kick to godmode. 2012-11-23 15:27:28 +01:00
asofold
ff52b2cc25 Add todo note. 2012-11-23 15:18:47 +01:00
asofold
bd65c1218f Switch fastplace to monitor 2 seconds + shortterm (10 ticks by default). 2012-11-23 15:18:04 +01:00
asofold
df29e64bd9 Check the minecraft players bounding box for isIllegal. 2012-11-23 15:15:30 +01:00
asofold
b4fdbb71fc Set CraftBukkit dependency to 1.4.5-R0.2. 2012-11-23 15:14:45 +01:00
asofold
e9f099eaed Also check y for isIllegal. 2012-11-23 12:36:36 +01:00