Open Armifer opened 11 years ago
Do you have any other scripts running? I haven't seen any FPS drop myself, and the mission system isn't overly taxing on the CPU.
We had it running with dayz Epoch, which in itself has a few server performance issues. I used the built in event system that epoch uses, to call some of the scripts, and rewrote them to fit that code rather than being called from the server functions. It seems when a mission was spawned, and a new mission ready to spawn after the time calculations had finished, the loop would lag out the server until the mission was completed by having a player go to the box or object at the mission site. It is now running with zero performance issues, except a small stutter when mission spawns in the objects, just like a dayz crash site does, when the server has high population.
Added this, and after starting server I logged in as admin and used #monitor. Server Load FPS reports 15-16 on the test box I ran it on. Before adding the Mission System, the server load FPS 47-50. This is with 1 player on the server, with 562mb of ram being used consistently, CPU usage is at 13%, and this is with the mission system, and without it. I then edited the files to reduce the amount of AI spawning, and it did not help. Any suggestions?