I was successfully able to debug this and now zoneagent doesn’t crash but their is one more problem which i encountered
The problem is when login limit is reached to 20 and then if 21st player try to login all other gets automatically disconnected
As far as I know, there is no limit set in the code that only allows 20 players. Check your code and may be debug where its failing to accept 21st client.