Why do some games use databases? (Like Tibia). And at what point do they save the data?
retained text
I’m not a game developer, but I know a bit about web software development. I know that offline games use save files and save data periodically—either when the player triggers a save or upon exiting the game. I was looking into \*Tibia\* and noticed it requires an SQL server. Why take that approach? And when exactly does it save? In web programming, the transactional context is the HTTP request, but that doesn't really apply to an online game.
document fetched 2026-09-30 00:27 · canonical https://reddit.com/r/gamedev/comments/1wtpiui/why_do_some_games_use_databases_like_tibia_and_at