Janick Posted October 10, 2022 Posted October 10, 2022 Disclaimer: I don't have any experience working with C# and I've never hooked up a database to a server before so please bear with me!I'm trying to run Comet 5017 locally with 5017 client and I'm having trouble getting past the login screen. The game server has connected with the account server but the account server is stuck on Missing packet 1051, length 52.What I've done:Setup MariaDB with default settings (port 3306, hostname localhostBuilt Comet, changing the database password in both Comet.Account.config and Comet.Game.config onlyRan the database scriptModified realm table, setting the Name to Eternity and the GameIPAddress to my IPV4 address, left the RpCIPAddress as it isModified the LoaderSet.ini file in the client, setting the IPAddress to my IPV4 addressTried logging onto Eternity with the account user and password that I set up in the account tableI presume the problem is that the account server isn't connecting to my database so it can't authenticate, but I'm unsure as to how to resolve this. I haven't forwarded any ports - I'm assuming this isn't necessary if I'm simply trying to run the servers locally? Quote
Spirited Posted October 10, 2022 Posted October 10, 2022 Do you have the right branch for 5017 from GitLab? If you cloned the repo as is, then the primary branch is 5187. I should probably change that to be a "main" branch with the instructions in there... Quote
Janick Posted October 10, 2022 Author Posted October 10, 2022 Do you have the right branch for 5017 from GitLab? If you cloned the repo as is, then the primary branch is 5187. I should probably change that to be a "main" branch with the instructions in there...Thanks a lot, that seems to have done the trick! Disclaimer: I also dont use Git very much! I've switched to 5065 now as well. Logging in seems to be a bit of a struggle though, took me a few goes to get in and it's a little laggy. I'm running a laptop with 16GB RAM so specs shouldn't be an issue... any recommendations as to where I should try and start? Quote
Spirited Posted October 10, 2022 Posted October 10, 2022 Do you have the right branch for 5017 from GitLab? If you cloned the repo as is, then the primary branch is 5187. I should probably change that to be a "main" branch with the instructions in there...Thanks a lot, that seems to have done the trick! Disclaimer: I also dont use Git very much! I've switched to 5065 now as well. Logging in seems to be a bit of a struggle though, took me a few goes to get in and it's a little laggy. I'm running a laptop with 16GB RAM so specs shouldn't be an issue... any recommendations as to where I should try and start?Took you a few goes and it's laggy? Can you give more details like what exactly you're seeing to quantify that? It seems to be fine on my computer. Quote
Janick Posted October 11, 2022 Author Posted October 11, 2022 Do you have the right branch for 5017 from GitLab? If you cloned the repo as is, then the primary branch is 5187. I should probably change that to be a "main" branch with the instructions in there...Thanks a lot, that seems to have done the trick! Disclaimer: I also dont use Git very much! I've switched to 5065 now as well. Logging in seems to be a bit of a struggle though, took me a few goes to get in and it's a little laggy. I'm running a laptop with 16GB RAM so specs shouldn't be an issue... any recommendations as to where I should try and start?Took you a few goes and it's laggy? Can you give more details like what exactly you're seeing to quantify that? It seems to be fine on my computer.I've uploaded a video here: https://streamable.com/6ylto4As you can see, it took a few goes logging in. The lag isn't obvious in the video, but it doesn't feel very smooth. Tbf it kinda felt like the original CO experience...I'm just not sure whether it's a hardware thing or a software issue. Quote
Spirited Posted October 11, 2022 Posted October 11, 2022 Thanks a lot, that seems to have done the trick! Disclaimer: I also dont use Git very much! I've switched to 5065 now as well. Logging in seems to be a bit of a struggle though, took me a few goes to get in and it's a little laggy. I'm running a laptop with 16GB RAM so specs shouldn't be an issue... any recommendations as to where I should try and start?Took you a few goes and it's laggy? Can you give more details like what exactly you're seeing to quantify that? It seems to be fine on my computer.I've uploaded a video here: https://streamable.com/6ylto4As you can see, it took a few goes logging in. The lag isn't obvious in the video, but it doesn't feel very smooth. Tbf it kinda felt like the original CO experience...I'm just not sure whether it's a hardware thing or a software issue.Well, your ping is 34ms, so it's not lagging so much as it's just a low frame rate. That failed first login is strange though, I'll have to look into that some more when I have time. I wonder if other patches above 5065 have that issue with Comet as well. Quote
Janick Posted October 11, 2022 Author Posted October 11, 2022 Took you a few goes and it's laggy? Can you give more details like what exactly you're seeing to quantify that? It seems to be fine on my computer.I've uploaded a video here: https://streamable.com/6ylto4As you can see, it took a few goes logging in. The lag isn't obvious in the video, but it doesn't feel very smooth. Tbf it kinda felt like the original CO experience...I'm just not sure whether it's a hardware thing or a software issue.Well, your ping is 34ms, so it's not lagging so much as it's just a low frame rate. That failed first login is strange though, I'll have to look into that some more when I have time. I wonder if other patches above 5065 have that issue with Comet as well.Ah I see, FPS seems to be limited to about 25. I can't really remember how high it can get, is there anything I can do to improve that? Quote
Spirited Posted October 12, 2022 Posted October 12, 2022 I've uploaded a video here: https://streamable.com/6ylto4As you can see, it took a few goes logging in. The lag isn't obvious in the video, but it doesn't feel very smooth. Tbf it kinda felt like the original CO experience...I'm just not sure whether it's a hardware thing or a software issue.Well, your ping is 34ms, so it's not lagging so much as it's just a low frame rate. That failed first login is strange though, I'll have to look into that some more when I have time. I wonder if other patches above 5065 have that issue with Comet as well.Ah I see, FPS seems to be limited to about 25. I can't really remember how high it can get, is there anything I can do to improve that?Yeah, it could be a graphics driver issue. Make sure your drivers are up to date and not a few years old. If that still doesn't work, then you can try manually fixing mouse pointer display issues that caused frame drops back a few years ago:https://www.elitepvpers.com/forum/co2-pserver-guides-releases/3578581-release-fix-mouselag-old-clients-without-hooking.htmlhttps://www.elitepvpers.com/forum/co2-guides-templates/3104081-guide-fixing-cursor-lag.htmlI should probably add that to my suite of default hooks in my launcher project.Edit: Apparently this was a Windows issue before that got fixed in a later version of Windows 10. So please update your OS as well and see if that helps. Quote
Janick Posted October 12, 2022 Author Posted October 12, 2022 Yeah, it could be a graphics driver issue. Make sure your drivers are up to date and not a few years old. If that still doesn't work, then you can try manually fixing mouse pointer display issues that caused frame drops back a few years ago:https://www.elitepvpers.com/forum/co2-pserver-guides-releases/3578581-release-fix-mouselag-old-clients-without-hooking.htmlhttps://www.elitepvpers.com/forum/co2-guides-templates/3104081-guide-fixing-cursor-lag.htmlI should probably add that to my suite of default hooks in my launcher project.Edit: Apparently this was a Windows issue before that got fixed in a later version of Windows 10. So please update your OS as well and see if that helps.Drivers are all up to date and Windows is at latest update. Changing the cursors seems to have improved things, FPS still stuck at about 25 but it does feel less clunky. I think I'll just work with this for now, thanks for all the help! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.