CivBreak

From CivWiki
Jump to navigation Jump to search
CivBreak in use, without particles

CivBreak was an exploit in Citadel that allowed breaking reinforced blocks almost instantly. It has existed intermittently on most Civ servers, and is often reintroduced when switching anticheat plugins due to its obscurity in the hack client community. For example, CivClassic was vulnerable to the exploit from April 24th to April 26th, 2020 because the server switched from an unknown anticheat plugin to AAC.[1][2][3] The hack also works on some minigame servers, which led it to be included in multiple other hack clients.[4][5] CivBreak would also feature in prominent hacked clients such as Wolfram[6] and Huzuni[7].

Mechanics

CivBreak was implemented as an Advanced Macros script.[8] When triggered, it would send one packet to the server indicating that the player has started digging the reinforced block, and then many packets starting that the player has stopped digging the block. Spigot would interpret each packet as the block being broken, and fire a BlockBreakEvent many times per tick. Citadel would see these events and cancel them only after decreasing the reinforcement's durability as if it had been broken normally. In essence, this is a normal fastbreak exploit. However, the server's anticheat would not pick up on the hack because Citadel had already canceled the BlockBreakEvent. This would cause significant amounts of lag, especially for diamond reinforcements.

The exploit was finally patched by Maxopoly, who implemented it as part of SimpleAdminHacks.[9] The patch works for any plugin, not just Citadel, by tracking all packets relating to breaking blocks and calculating the expected timing between the packets. If the timings are outside the expected range or the packets aren't in the expected order, the plugin will kick the player and log the violation.

Media

References