Join our server

Problems using the app


#1

Almost everytime I try to host a battle either the troops dont appear so I cant add any or the app freezes in the middle of a battle and I get kicked I have 4g data so I dont think that’s the problem but I’m not sure why it doesn’t work


#2

Yes, I think these problems, as well as the server crashes, are related to bugs with the multi-threaded code. With the risk of getting technical, there are several threads in there, the main UI-thread, rendering thread, javascript thread, simulation thread, and networking thread, and the game needs to be very careful when juggling and passing data between those threads, or very bad things happen. It’s one of the more difficult aspects of programming. But I’ve found an approach how to do it properly, and have spent the last weeks going through and refactoring the code. Almost done, and I hope to have an update out by the end of this week.