asofold
520e7bab74
Set fall distance to 0, if the player could fly or is in creative mode.
2014-03-21 10:11:47 +01:00
asofold
f1342fd021
First rough version of a LocationTrace implementation.
...
Just the raw implementation + initial test cases. To keep memory use
constant, a ring-buffer with some maximal size will be used. The
iterators are meant for faster implementation, rather than fastest
iteration. Later some trigonometric functions could be added to
LocationTrace, depending on if that may gain a lot of performance.
Next we will add the logics for adding entries and resetting the trace
to NCP (moving, teleporting, joining), on Logout the trace must not stay
in MovingData but should be garbage collected. That should be a
milestone dev build, though it does nothing for the user, it might help
finding crash bugs :p.
Soon to follow will be changing some fight checks to be able to use the
moving trace, then alter them to actually use it. Fight and interact
checks could also do moving consistency checking (tp exploit).
Who reads this?
2014-03-20 23:29:57 +01:00
asofold
2478ae787b
Just a typo.
2014-03-18 23:34:45 +01:00
asofold
a0091f92d0
Set version to 3.10.10-SNAPSHOT for next development iteration.
2014-03-18 23:32:52 +01:00
asofold
f4bf94030b
Set version to 3.10.9-RC for release.
2014-03-16 15:01:34 +01:00
asofold
f8d72eb591
Make message for consoleonly feature configurable. [TICKET DBO 711]
2014-03-15 16:05:49 +01:00
asofold
d130a3d583
Random formatting change.
2014-03-15 15:48:20 +01:00
asofold
b9bcce1292
Fix for stained glass panes.
...
Adding a flag for ~ thin fence.
2014-03-03 23:13:05 +01:00
asofold
ce2d0dbc3c
Add configurability to enforcing the players location.
2014-03-03 22:52:46 +01:00
asofold
2b2ace4a4b
Set assumesprint to true by default (accidentally committed earlier!).
...
This will allow saving hunger, but there will be much less false
positives with current server versions.
2014-03-01 15:57:13 +01:00
asofold
9c29d32a98
Reviewing several places for use of Double.MAX_VALUE and similar.
...
(No game-changing stuff.)
2014-03-01 15:53:51 +01:00
asofold
ce5a90201c
Ensure wrongBlock does not add Integer.MAX_VALUE as violation level.
...
Also cap violation at 4.
2014-03-01 15:15:10 +01:00
asofold
894aa466d6
Force return air for y outside of map bounds.
2014-02-25 11:43:44 +01:00
asofold
cb557122b8
Set maxBlockY from given world.
2014-02-25 11:22:39 +01:00
asofold
1cb9a18174
Rather use prepareSetBack than setTeleported before set-back.
2014-02-24 13:08:18 +01:00
asofold
8eebda863f
Ensure TeleportCause.PLUGIN is used for teleporting.
2014-02-24 12:57:31 +01:00
asofold
65b3c4440d
[BLEEDING/INSTABLE] Add actual move location consistency checking.
2014-02-23 03:30:27 +01:00
asofold
abdeb12377
Less object creation with short-use Locations + other preparation.
...
* Make use of Entity.getLocation(Location) in most places, for starters.
* Prepare a check for moving location consistency.
2014-02-23 02:01:28 +01:00
asofold
16db04f397
Officially drop compatibility for before CB 1.4.5-R1.0 !
2014-02-23 00:38:31 +01:00
asofold
187a7ef094
Need to use isOnGroundOrResetCond here.
2014-02-22 22:43:20 +01:00
asofold
c08366b59b
Merge pull request #23 from MyPictures/master
...
Remove "ASCII art" from the source code (finally?).
2014-02-22 22:20:46 +01:00
asofold
f1d7aa8a35
Clean up moving-data resetting on players joining the server.
2014-02-22 22:04:31 +01:00
MyPictures
add2179dc9
Cleanup "ASCII art" from the sourcecode
...
Wiped every ASCII related thing that I could find in the NoCheatPlus
source.
2014-02-22 19:26:06 +01:00
asofold
06aff0b0a6
[CONFIG] Reduce logging of blockinteract.visible by a lot.
2014-02-22 18:35:21 +01:00
asofold
1284fffdf1
Move some code off SurvivalFly.check.
2014-02-22 13:24:22 +01:00
asofold
888c18a908
Further confine pre-conditions for the sprintback check.
2014-02-22 13:03:00 +01:00
asofold
05372fbef4
Add comment.
2014-02-22 13:02:24 +01:00
asofold
d24a13ed12
Process captcha for cancelled chat events as well.
2014-02-22 00:00:10 +01:00
asofold
4957f2875a
Set version to 3.10.9-SNAPSHOT for next iteration.
2014-02-21 12:09:28 +01:00
asofold
ed37597fcd
Set version to 3.10.8-RC for release.
2014-02-18 23:59:53 +01:00
asofold
34c26c8791
ERR
2014-02-17 02:07:51 +01:00
asofold
9528b15f55
Avoid sign duplication due to a bug in CraftBukkit.
...
The cancelled BlockPlaceEvent will lead to an extra sign being dropped,
while the item in hand stays. Odd enough, the cactus is removed before
the BlockPlaceEvent - need to check if a ticket exists for CraftBukkit
already...
2014-02-17 01:58:44 +01:00
asofold
3361280cc7
Correct type of placed block, autosign uses Material.SIGN now.
2014-02-16 22:54:16 +01:00
asofold
598896a7cc
Forgot to alter VL.
2014-02-16 22:31:09 +01:00
asofold
4ddfcc9063
Set dependencies to current snapshots.
2014-02-16 21:49:33 +01:00
asofold
8b298337ae
Add a "Against" check, complementing the already exisiting CheckType.
...
* Promote BLOCKPLACE_AGAINST to "full check", with silent cancelling.
* Refactor listener for check arguments and order.
2014-02-16 21:29:52 +01:00
asofold
a198133cfa
Use manhattan method for WrongBlock (not a change for the logic).
2014-02-16 19:26:45 +01:00
asofold
3f78497fde
Add manhattan method for having one block.
2014-02-16 19:25:12 +01:00
asofold
5c29859e8b
Increase fall distance for which critical can trigger.
...
Now players are forced to create moving events with CraftBukit,
in order to get above the trigger-distance, thus moving checks can
complement this (in theory).
This could lead to more false positives.
2014-02-16 19:10:52 +01:00
asofold
caff337b1b
Increase kick vl to 1500 for survivalfly.
2014-02-16 18:58:15 +01:00
asofold
a3ad8454e8
Reorder default config: yawrate.
2014-02-13 23:50:51 +01:00
asofold
35e00b1498
Set moving.passable.raytracing.vcliponly to false.
...
Start off with accurate checking rather, allow turning off for
performance gain.
2014-02-13 23:29:13 +01:00
asofold
d710ee0c35
[CONFIG CHANGE] Set default for checks.fight.direction.strict to false.
2014-02-13 22:29:50 +01:00
asofold
12b046f5a7
Add option to assume the player is sprinting when possible (read on).
...
This is a workaround for the case that sprinting events are missing,
wrongly set up or for events firing in an unusual order.
This does allow speeding hacks that allow players to go at sprinting
speed without telling the server, so it should only be turned on if
there is any issues.
The option has to be turned on: checks.moving.assumesprint
2014-02-09 13:55:22 +01:00
asofold
ad2105bdfb
[BLIND] Review sprinting handling.
...
* Remove un-cancelling sprint events.
* Use MovingData for sprinting time.
* Change checking order in some places.
2014-02-09 13:43:06 +01:00
asofold
95420740ee
[BLIND] Relay to reflection to avoid issues with return types.
2014-02-09 13:00:06 +01:00
asofold
719c3ac31b
Simplified method name.
2014-02-09 12:45:45 +01:00
asofold
2862f3c855
Attempt to fix compilation issues due to Projectile.getShooter.
2014-02-03 00:54:53 +01:00
asofold
d092ca5ff2
Update Bukkit/CB dependencies for NCPCore and NCPCompatCBDev.
2014-02-03 00:25:46 +01:00
asofold
51172bdc79
[BLIND] Reset block break timing with changing the tool.
2014-02-03 00:25:10 +01:00