asofold
76d70f7b3b
[INSTABLE] 1.4.7 support (cb-dev).
2013-01-17 19:20:44 +01:00
asofold
0bc526e957
Set dependency for NCPCompatCB2545 to 1.4.6-R0.3.
2013-01-17 18:21:41 +01:00
asofold
fd2469490a
[Bleeding] Replace LagMeasureTask by TickTask.
...
Contains some fixes. Removes the debugging message for lag. Might
in some places use wild guesses for lag estimation
(TickTask.getLag(1000) < 1.5).
2013-01-17 01:47:07 +01:00
asofold
48705669dd
Increase tick after all processing.
2013-01-16 23:06:23 +01:00
asofold
2550e3059e
Update Metrics class.
2013-01-16 23:05:47 +01:00
asofold
e34ad4fcdf
Fix concurrent modification exception for a part.
...
Only set the hover ticks on teleporting events. On setting back players
in MovingListener.onTick, this will be prevented now. However actions
might still cause trouble, so some non-blocking stuff would be good here
(a removeFroHover set, some other way of keeping track).
2013-01-15 18:32:31 +01:00
asofold
d693d3a690
Code duplication for test.
2013-01-14 19:48:36 +01:00
asofold
9850a0e3bb
[BLEEDING] Add simple hover check.
2013-01-14 18:49:49 +01:00
asofold
91420f9edf
Add TickListener component.
...
TickTask allows registration and calls on each tick.
2013-01-14 04:23:39 +01:00
asofold
6d245c62a7
Add "ncp unexmpt * [...]", use with care.
...
Might unexempt npcs if another plugin used this for such.
2013-01-14 02:40:12 +01:00
asofold
6cfe46c117
Make resetting fall distance for teleports configurable.
2013-01-14 02:24:11 +01:00
asofold
e05275fd73
A little more grace for fast falling (vacc).
2013-01-14 02:09:31 +01:00
asofold
5879fba502
[Bleeding] Set the players fall distance on successful teleports.
...
Might cause issues.
2013-01-14 01:55:13 +01:00
asofold
fed73d519b
[Bleeding] Adapt teleport handling to cancelled events better.
...
Also will invalidate currently processed moving events.
2013-01-14 01:49:27 +01:00
asofold
0e9826cb14
[Bleeding] Re-arrange move-handling on highest and monitor level.
...
Remove uncancelling events. Ignore sleeping [might need adaption to
not trigger anything on getting up], account for cancelled events
and reset postions and feed yawrate accordingly.
2013-01-14 01:09:38 +01:00
asofold
a158b169d2
[Bleeding] NoFall: Try to delay damage on violations.
...
Cancel damage events rather than keeping fall distance plus damaging the
player. This should punish players less for bugs in MC or NCP, while
still dealing the accurate damage.
The players can still keep hovering, but that's what the hover checks
will be for.
2013-01-13 23:30:51 +01:00
asofold
76000584d0
Add more tests for ActionFrequency.
2013-01-13 22:11:51 +01:00
asofold
f0e9a844fc
ActionFrequency.update: reorder safety checks slightly.
...
Gains a little bit of consistency for negative time differences. Also
might be faster for the case of seldom shifting, though most likely
by an insignificant amount.
2013-01-13 22:11:29 +01:00
asofold
363cda50e8
Clear NCPExemptionManager in onDisable just in case.
...
Little significance, but could be expected to have some future purpose.
2013-01-13 21:49:29 +01:00
asofold
d766379afe
Imports fail.
2013-01-13 21:43:55 +01:00
asofold
070a7c1dd8
Tests are put into test/... not main/...
2013-01-13 21:29:28 +01:00
asofold
32c376455a
Also remove data for CheckType.ALL for components that don't implement
...
IHaveCheckType.
2013-01-13 21:23:25 +01:00
asofold
b492bd5ac0
Clear lag spikes if system time ran backwards.
2013-01-13 20:51:44 +01:00
asofold
6256703d01
Have TickTask be locked from the start.
2013-01-13 20:45:15 +01:00
asofold
e5686d694b
Lock, purge and cancel TickTask in onEnable.
2013-01-13 20:44:23 +01:00
asofold
ede74785d2
Add safety check for the "system time ran backwards" category.
2013-01-13 19:56:43 +01:00
asofold
e2849c2979
The LAST 2 brackets.
2013-01-12 01:55:57 +01:00
asofold
ea2cafe45a
LAST one.
2013-01-12 01:53:51 +01:00
asofold
804c91b292
More typos, should really try to sleep now.
2013-01-12 01:41:50 +01:00
asofold
025fea086f
Re-order and adjust the readme.
2013-01-12 01:37:40 +01:00
asofold
5e90b855cd
Merge pull request #10 from MyPictures/master
...
Updates for the new ReadMe.md.
2013-01-11 16:16:01 -08:00
MyPictures
d2998a7445
Updated ReadMe once again
...
- Added link to Licence.txt
- Fixed some grammar fails
- At least Maven 2 is needed to compile NoCheatPlus
- Added Maven goal
2013-01-12 01:11:46 +01:00
asofold
97262544ae
Only on top level.
2013-01-12 01:06:21 +01:00
asofold
470c1a2421
Put license on top level.
2013-01-12 01:04:23 +01:00
MyPictures
a271ee95c3
Fixed some links :)
2013-01-12 00:53:02 +01:00
asofold
98ac036132
Merge pull request #9 from MyPictures/master
...
Add a ReadMe.md, which makes sense. TODO: Link to the license!
2013-01-11 15:43:55 -08:00
MyPictures
7dfcf75103
Update ReadMe.md
2013-01-11 21:58:04 +01:00
MyPictures
22ed045668
Create ReadMe.md
2013-01-11 12:22:16 -08:00
asofold
f0c1f34438
[Bleeding] Holzhammer 2.
...
MovingData: Set set backs and teleported to private visibility in order
to be able to rule out potential sources of inconsistencies. Also set
morepackets set-backs to null rather than to the same reference of
set-back (onSetBack).
2013-01-09 20:44:54 +01:00
asofold
5c8e76ecba
Reset to the players location on join. Adaptions to set-back use.
2013-01-09 19:20:43 +01:00
asofold
6cc3791439
[Bleeding] Change order of testing MCAccess and add dev branch for the
...
moment.
2013-01-09 19:18:44 +01:00
asofold
c82e92863d
Holzhammer.
2013-01-09 00:12:53 +01:00
asofold
c79920c3b2
Set version to 3.8.9 to distinguish from release of 3.8.8.
2013-01-08 21:36:17 +01:00
asofold
7ee13cce09
Also debug set back in the moving listener.
2013-01-07 19:09:34 +01:00
asofold
4b92889059
Use 1.0.1 for parent pom.
2013-01-07 19:04:24 +01:00
asofold
3cbae00fbb
Adapt debug logging to show full move always.
2013-01-07 19:01:03 +01:00
asofold
fbc85de617
[Bleeding] Prepare something for handling reload better, later.
2013-01-07 18:49:37 +01:00
asofold
ee3e3bb431
Add NCPCompatCBDev to have some kind of a canary in place.
2013-01-06 13:58:36 +01:00
asofold
c262337940
Adjustments with set-backs.
2013-01-05 19:20:05 +01:00
asofold
15d2346dea
MovingData.onSetBack: also reset more-packets/vehicle set-backs.
2013-01-05 12:28:04 +01:00