a PHP version of a MMORPG emulator "Dofus"