Please give more detail, I don't think I understand what you want to do. What do you mean by automatically log in or automatically go online?
1. First, a character will be created in my database.2. When the number of players is not enough, I need to enter a command to log the characters in this database into the game.
1. First, a character will be created in my database.2. When the number of players is not enough, I need to enter a command to log the characters in this database into the game.
You can't easily do that. It requires you to send all of the client packets to the server and log each character in. Whatever the client sends to the server, you will need to emulate that.