I created an inherent Combat Macro to automate the first couple of turns of battle. Whenever I enter a battle and click on a macro, I get kicked back to main.php. If the macro completed the battle, there's no internal acknowledgement of the results of the battle, though the game updates my xp, meat, adventures left, et al. If it doesn't complete the battle, I get redirected to the fight page again, which Mafia treats a new fight; I tested this with a macro that only casts Entangling Noodles, and I got cycled back into the battle with Mafia not recognizing that anything had happened.