Commit Graph

1071 Commits

Author SHA1 Message Date
Evenprime
2d34799a87 Check against building in air + more configuration options + less
noisy logging.
2011-02-22 15:08:08 +01:00
Evenprime
62dfce532d Fixed logging + new anticheat mechanism
Logging of moving violations (previously reset coordinates of event
before logging, therefore the logged information was not useful at
all).

Added check for building. Building against thin air is not permitted
in the client singleplayer game, so why should it be on a server?
2011-02-21 19:23:05 +01:00
Evenprime
f338325bd9 Minor changes to logging 2011-02-20 14:05:22 +01:00
Evenprime
274dc260e2 Potential fix for people going invisible after Teleports. 2011-02-20 13:10:50 +01:00
Evenprime
dc83bdb17c Version 0.5.2 - minor changes before release 2011-02-20 11:58:15 +01:00
Evenprime
2daeabc157 Reworked movingcheck to make it easier later-on to modify/adapt.
Now instead of resetting the player after every minor illegal move, he
gets 2 moves in a row. If one of them is legal, we allow it. This is
to give stuck players the chance to escape themselves.

16 minor illegal moves in a row count now as one "normal" illegal
move.
2011-02-20 10:01:53 +01:00
Evenprime
b31f476149 Partly commit of reorganization of plugin structure. 2011-02-19 19:47:57 +01:00
Evenprime
9ebc186490 version bump 2011-02-19 15:01:23 +01:00
Evenprime
ef3bc33748 Minor change to onGround Check + more config options
Instead of using the built-in Math.floor I now use my own, because I
want to treat a very special case different to see if it fixes people
"freezing" on borders of blocks.

Now you can change the limit(s) for the speedhack-check yourself.
2011-02-19 14:50:05 +01:00
Evenprime
9e01d7aedf Changed standard location for configuration and log file. 2011-02-18 20:43:09 +01:00
Evenprime
83d984edeb experimental Logging support.
Choose where and what to log. (needs some additional code changes
before it is actually useful)
2011-02-18 20:30:23 +01:00
Evenprime
461097af56 Yet another fix for a "player getting stuck in wall" bug.
I forgot to handle the case where a player is stuck in a wall without
something below (e.g. the infamous minecart ride against a ceiling).
2011-02-18 18:00:47 +01:00
Evenprime
7340933587 Fixed behaviour inside of walls (e.g. after teleports, falling
sand/gravel)
2011-02-18 16:15:57 +01:00
Evenprime
bc5985628e Forgot a file 2011-02-17 21:48:32 +01:00
Evenprime
125628cdd8 Fixed Permissions - Fixed bug with players with identical names -
Fixed Minecart bug
2011-02-17 21:48:03 +01:00
Evenprime
c223358e7d Permissions support + fix regression at half blocks and stairs 2011-02-17 18:13:05 +01:00
Evenprime
bf07aa16d7 Complete rewrite of the "onGround" check. Now it is much more
reliable.

OPs are now no longer filtered. (I use player.isOp() to check for
OP-status until I have a better system.

Increased threshold for speedhack from 50 to 60 to reduce false
positives. This value will at some point be configurable by the server
admin.
2011-02-17 16:07:56 +01:00
Evenprime
79c8fd6060 Rename + Speedhack-detection + bugfix
Renamed Project into NoCheatPlugin, because the old name doesn't fit
it anymore.
Also added a first draft of Speedhack detection. Will log suspicious
behaviour.
Fixed another bug with ladders, if a player jumps onto them and holds
itself only with his hands (metaphorically speaking).
2011-02-16 23:16:09 +01:00
Evenprime
20a67d606d Fixed a literal corner case.
When walking diagonally over a pit, Minecraft elevates a little in the
case that you are going to fall down on one side. This special move is
now treated as valid.
2011-02-16 19:52:34 +01:00
Evenprime
1598d487d5 Bumped version number to 0.2
This release should cause (almost) no more false positives on ladders,
stairs and half-blocks.
2011-02-16 15:31:59 +01:00
Evenprime
db5b1d051a Initial Commit to GIT Repository. 2011-02-16 15:15:35 +01:00