09.03.2017, 10:15
Recommending people to use DINI while learning to code is the same as recommending them to use GOTO everywhere, like they did in BASIC languages 30 years ago.
If you want to learn coding, do it right the first time with the proper tools and code-base.
It's no use to learn an outdated system while there are better and easier alternatives.
On topic: my guess is the account-file isn't closed anywhere except inside OnPlayerDisconnect.
When you log off, the file would be closed and you can login properly.
But using gmx while being connected (and the account-file hasn't been closed yet), you're restarting the server without properly logging off players and their file may be kept open.
Trying to login again would fail because the OS knows the file is opened already and you cannot open it a second time.
If you want to learn coding, do it right the first time with the proper tools and code-base.
It's no use to learn an outdated system while there are better and easier alternatives.
On topic: my guess is the account-file isn't closed anywhere except inside OnPlayerDisconnect.
When you log off, the file would be closed and you can login properly.
But using gmx while being connected (and the account-file hasn't been closed yet), you're restarting the server without properly logging off players and their file may be kept open.
Trying to login again would fail because the OS knows the file is opened already and you cannot open it a second time.