The server down cannot inform as it random crash and unexpected. For any manual restart server, staffs always announcement in game and have 10 minute before reboot.
For gym leader, you will not get exp or money after you lose first time. It attempt to avoiding people abuse to gain exp and farm money from them. Some times when the game crashes/stuck, you might lose your a bit of your progress. Keep in mind that game is in BETA and crashes can happen any time. You will not be given anything you lost in a rollback/crash/stuck as it's responsbility. Please take the time to read the following thread https://pokemonrevolution.net/forum/viewtopic.php?f=88&t=7881#p48834
Sorry for your inconvenience, the server stability is our top priority and will improve in the future.