I have programed it so that autobuy will not work on the first map but will work again after that. This should permanently fix the problem of the server crashing in loops.