Jump to content
Returning Members: Password Reset Required ×

Help setting up Spirited's Comet project


Recommended Posts

Posted

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 localhost

  • Built Comet, changing the database password in both Comet.Account.config and Comet.Game.config only

  • Ran the database script

  • Modified realm table, setting the Name to Eternity and the GameIPAddress to my IPV4 address, left the RpCIPAddress as it is

  • Modified the LoaderSet.ini file in the client, setting the IPAddress to my IPV4 address

  • Tried logging onto Eternity with the account user and password that I set up in the account table

I 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?

Posted
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...
Posted

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?

Posted

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.

Posted

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/6ylto4

As 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.

Posted

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/6ylto4

As 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.

Posted

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/6ylto4

As 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?

Posted

I've uploaded a video here: https://streamable.com/6ylto4

As 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.html

https://www.elitepvpers.com/forum/co2-guides-templates/3104081-guide-fixing-cursor-lag.html

I 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.

Posted

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.html

https://www.elitepvpers.com/forum/co2-guides-templates/3104081-guide-fixing-cursor-lag.html

I 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!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...