The project is going well, except I've run into a problem. I did a stress test on the single thread and discovered that the most number of players I could support would be about 50. Granted I know how I could spread the process over another two threads. But that is all I would have. I have done optimizations. Biggest optimization, and currently biggest resource drain is the area triggers.
The next biggest problem that would fix the whole thing, is movement. I am using kinematic body and calling KinematicBody.move_and_collide(). That function is a big drain on the cpu cycles. When moving 50 of the avaitors at one time fps drops, lots. I can't figure out a way of moving the toons on the server, and allow the use of at least1000 players on one thread. I tried making the movement multithreaded, but ran into the problem of the KinematicBody crashing the program. Seems KinematicBody is not thread safe, even when calling mutex.