Hi, I'm writing on behalf of a guy in a community online who's developing a client for an old game that is now dead, we are limited with the features of the official closed-source client, but this guy has taken upon himself to make a client that emulates the old client.
I've ported the code to Visual Studio for him, in the hopes that it would fix the lag that we are experiencing with the client. We don't really have a clue about what is happening that causes the lag, but it's there and yeah well, not playable really.
I can log on to a private server that I make with 1 map, no entities, walls etc, just tiles - and the lag seems to be reduced as opposed to a map where there are a lot of other players or entities.
I have linked the project below. Just fyi, it's a Visual Studio 2019 solution.
You make take the code and put it into Codeblocks instead, but some changes to code may need to be made for it to run on Codeblocks since I just ported it from Codeblocks to MSVS.
Hope someone can help clear up this issue, as the creator have looked and I have looked. We can't seem to figure out what is going on.
Build using Debug + x86, otherwise you'll have to configure winsockets + allegro for your desired configuration.