Terotrificy
Veteran OT User
That's what i meant, i think Ezzz wrote it in some thread i don't remember but if i'm not wrong, cipsoft did like this:No need for 10 bots, just one with a big stock of items. Found the thread: Server lags when login/logout with a lot of items - time to fix it! (https://otland.net/threads/server-lags-when-login-logout-with-a-lot-of-items-time-to-fix-it.266112/#post-2572247)
As you can see, 168k items caused the server to lag for 4-5 seconds. There was an attempt to optimize it by caching and using binary format, though prolly not finished and not implemented into tfs. And still wouldn't get rid of the core issue, cause even with 100 ms delay you can make the game unplayable by constantly logging in and out.
Load players into memory -> Unload players into a swap file after some time without logging in. -> If a player attempts to login and swap file exists, load the player info from this file.
In addition that cipsoft like you said, had the database in another machine, correct me if i'm wrong.