Memeware 7.3 Ambiance: Full Source Analysis
A cosmetic day-cycle freezer. Two lwjeb handlers: a PacketInEvent consumer cancels every incoming S03PacketTimeUpdate, and an UpdateEvent consumer force-writes the client world's time to 0 (Morning)…
Published 2026-08-13 · Updated 2026-10-14
Packets This Module Uses
Analysis
Overview
A cosmetic day-cycle freezer. Two lwjeb handlers: a PacketInEvent consumer cancels every incoming S03PacketTimeUpdate, and an UpdateEvent consumer force-writes the client world's time to 0 (Morning) or 20000 (Night). No serverbound packet is touched, so the server's own world clock and day cycle are completely unaffected.
Architecture
The module registers itself under the display name 'Ambience' with two modes, Morning and Night. The packet handler cancels S03PacketTimeUpdate on the way in, which is the entire interception: the vanilla client applies the server's world time from that packet (in WorldClient.setWorldTime via the S03 handler), and cancelling it leaves the client-side day counter frozen at whatever value it had. The update handler then pins the world clock to 0 or 20000 every tick through WorldInfo.setWorldTime, so even client-side time sources (the day counter advancing) cannot drift the display.
Why it is invisible
Time-of-day is a one-way server-to-client broadcast; the client never reports its world clock, so a server cannot tell what time the client thinks it is. Cancelling S03 only changes the client's rendering and gameplay ambience (lighting, sky color, mob spawning is server-side). The anticheat-visible surface is exactly zero packets. The closest real detectors are the timer/tick family, which measure the client's cadence of movement packets against the server's clock: the same 'time perception' axis, policed from the only direction a server can observe.
source Ambiance.java
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
What this file does
The whole module is two consumers. eventConsumer0 cancels S03PacketTimeUpdate; note the cancel happens before the packet is dispatched to the vanilla handler, so the client never applies the server's time of day; eventConsumer1 runs once per UpdateEvent and writes the pinned value into the WorldInfo, overriding any residual drift. The mode string comparison (isMode("Morning") ? 0 : 20000) means anything other than Morning is Night, and the module has no state beyond that. There is no onEnable/onDisable override, so the packet cancel is armed whenever the module is toggled on and disarmed on toggle-off by Memeware's base event registration.
anticheat Countering Checks
The anticheat code that detects or counters the techniques this module uses. Full source, with the detection mechanism explained below each box.
anticheat TimerBalancer (client-tick ledger)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
How it counteracts this module
Spartan's per-player tick ledger. pushDelay is fed one PlayerTickEvent per server tick and balances each measured delay against the 50ms ideal: delays over 50 add their excess to the balance and count 'negative' ticks, delays under 50 draw from the balance, and when the balance cannot cover the deviance the shortfall accumulates into result. isNegativeTimer fires once more than 15 consecutive sub-50ms delays are seen, a client ticking faster than the server allows. Honest note: it measures the cadence of the player's ticks, which come from movement packets, never from the world clock; freezing the client's time-of-day changes none of that input, so this module cannot trip it. It is included as the closest real check on the time axis because it is the one check in the corpus that models the client's perception of time passing against a server-side ideal.
anticheat Timer (movement tick-rate, Type A)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
How it counteracts this module
Azure's Type A timer: on every PacketPlayInFlying it measures the millisecond gap from the previous one. A gap under 47ms counts a fast tick; seven consecutive fast ticks raise the violation 'Timer Type A (X%, Nms)' with a 60-second cooldown. A gap over 70ms decays the threshold by 3, and a server teleport (PacketPlayOutPosition) slams the threshold to -10 to forgive teleport artifacts. Honest note: the check watches movement-packet cadence (the speed-hack axis), and the Ambiance module sends no packets at all, so the gap sequence it observes is untouched. It is the canonical real detector for clients that compress their perceived time (timer speed), the adjacent manipulation to freezing the world clock.
anticheat TimerB (averaged tick sample)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
How it counteracts this module
Azure's Type B timer is the averaging variant: it ignores gaps under 50ms, computes timerSpeed = 50/delta per movement packet, and accumulates a 20-sample deque. When the deque fills, the average is compared against 0.6: an average below 0.6 means the client's movement cadence is meaningfully faster than real time over the sample window, and the violation 'Timer Type B (average)' fires with the same 60s cooldown. Teleports remove the last sample instead of poisoning the average. Honest note: same framing as Type A: the input is purely serverbound movement timing, so a module that only cancels an inbound S03 and rewrites a client-side long has no observable effect on it; it is the closest real check class to the module's 'time' feature, not a detector for it.
anticheat Timer (transaction-anchored clock)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | |
| 104 | |
| 105 | |
| 106 | |
| 107 | |
| 108 | |
| 109 | |
| 110 | |
| 111 | |
| 112 | |
| 113 | |
How it counteracts this module
Grim's timer is anchored to the player's own ping instead of wall time: the check records the client's movement clock (via transaction/PONG round trips) and compares it against the server's real-time balance. timerBalanceRealTime accrues 50ms per counted movement packet, and whenever that balance overtakes System.nanoTime() the player is moving faster than the server's clock allows, flagging, cancelling the packet, and setbackting. Because the reference is the transaction-measured ping floor rather than wall time, ping fluctuation cannot false it. Honest note: it never inspects the S03 stream; its only inputs are movement and transaction packets. The Ambiance module produces neither, so it is invisible to Grim's timer. It is included here as the most precise real-world check of the 'does the client's time match the server's' question, which is the only server-observable side of the time axis this module touches cosmetically.