add function for interacting with server.
match file layout with Deathmax.
fix max bc generated for regular attack.