Built on the Code · by Zhuagenborn
Plants vs. Zombies Online Battle
Plants vs. ZombiesA mod that adds two-player online battle to Plants vs. Zombies, one side as plants and the other as zombies, via DLL injection.
- Origin
- PC (classic)
- Runs on
- WindowsLinux
- Tags
- c++multiplayerneeds-original-game
This project adds online multiplayer to Plants vs. Zombies using reverse engineering, inline hooks and DLL injection. Two players compete over the network, one defending as the plants and the other attacking as the zombies.
It only works with the Chinese 1.0.0.1051 version of the game, identified by the executable's MD5. You build two DLLs, plant.dll and zombie.dll, with Visual Studio 2022 and CMake, copy them to the game folder and inject them at startup. It targets Windows.
Highlights
- Plant side starts as the server and the zombie side as the client
- Online play happens in the I, Zombie Endless level, converted into a networked mode
- PowerShell script provided to start an online game
- IPv4 by default, with an optional IPv6 build
- Includes a suggested DLL injector tool