Jump to content
Returning Members: Password Reset Required ×

Server: Comet, Open Source


Recommended Posts

Posted

Just to confirm, you're not using the same character ID as the character already on screen, right? Have you tried using a different name as well?

I have tried different names / UID / Mesh ... about every value that I could change in all kinds of combinations. Have tried spawn monster.

Btw, I got your pull request for the packet writer changes. Can you take a look at my comments when you have a free chance? We can remove the entire method since it's just calling the base class now. :happy:

  • 1 month later...
  • Replies 70
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Looking good, I have come across a little issue probably something I have forgotten I created a character but it didn't login?

System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
  at Comet.Game.Server.ProcessAsync(Client actor, Byte[] packet) in C:\Users\alank\Desktop\comet-5187\comet-5187\src\Comet.Game\Server.cs:line 138

That was the error I got I'm using 5187 and attempting to run it locally, I also have not changed anything in the source just yet

Posted

Looking good, I have come across a little issue probably something I have forgotten I created a character but it didn't login?

System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
  at Comet.Game.Server.ProcessAsync(Client actor, Byte[] packet) in C:\Users\alank\Desktop\comet-5187\comet-5187\src\Comet.Game\Server.cs:line 138

That was the error I got I'm using 5187 and attempting to run it locally, I also have not changed anything in the source just yet

That's odd. It looks like the client got disconnected. Can you create an issue in the issue tracker on GitLab and provide a dump of your game server's database? Thanks!

Posted
Before I do that is it only comet.account.sql and comet.game.sql that I need to upload to mysql? No need for the upgrades or? It has saved a new character as I tried again, first one said it was created but it didn't show for me but creating a new one and it is now showing but still no login.
Posted

Before I do that is it only comet.account.sql and comet.game.sql that I need to upload to mysql? No need for the upgrades or? It has saved a new character as I tried again, first one said it was created but it didn't show for me but creating a new one and it is now showing but still no login.

I'm not sure what you mean by showing. Can you elaborate? And when you upload your database, please only upload the comet.game database. I only need the character information to reproduce the login flow.

Posted
I meant it registered in the comet.game database under characters, actually looking at it both registered. As for me I need to rest my head now though, I have even already opened the ports as well but iirc I've had login issues before which were port related. Windows firewall can be dumb at times but I'm pretty sure I allowed Comet.Account.exe and Comet.Game.exe
Posted

Do I add portals to database or source? Perhaps a brief tutorial for adding things such as portals and basic NPCs for complete novices such as myself.

Hey there! Just for context, this source is made to be a clean base. The objective was to make a simple server architecture that's easy to understand and build off of. I didn't quite succeed on that since I made a huge focus on performance over ease of use, but it's still pretty simple and allows the author to implement packet handling, maps, etc. all to their choosing. That said, I don't plan on releasing tutorials for adding systems - that's out of scope for the project and not something I have time for. That definitely doesn't stop others from releasing tutorials about it, though; and you can always ask questions here.

  • 3 weeks later...
Posted

Do I add portals to database or source? Perhaps a brief tutorial for adding things such as portals and basic NPCs for complete novices such as myself.

Hey there! Just for context, this source is made to be a clean base. The objective was to make a simple server architecture that's easy to understand and build off of. I didn't quite succeed on that since I made a huge focus on performance over ease of use, but it's still pretty simple and allows the author to implement packet handling, maps, etc. all to their choosing. That said, I don't plan on releasing tutorials for adding systems - that's out of scope for the project and not something I have time for. That definitely doesn't stop others from releasing tutorials about it, though; and you can always ask questions here.

Can you add the Step 3 restore scripts?

I think the link is broken for them.

"Step 3 - Deploy

Install MariaDB and configure for legacy authentication, then run the included restore scripts."

Posted

Do I add portals to database or source? Perhaps a brief tutorial for adding things such as portals and basic NPCs for complete novices such as myself.

Hey there! Just for context, this source is made to be a clean base. The objective was to make a simple server architecture that's easy to understand and build off of. I didn't quite succeed on that since I made a huge focus on performance over ease of use, but it's still pretty simple and allows the author to implement packet handling, maps, etc. all to their choosing. That said, I don't plan on releasing tutorials for adding systems - that's out of scope for the project and not something I have time for. That definitely doesn't stop others from releasing tutorials about it, though; and you can always ask questions here.

Can you add the Step 3 restore scripts?

I think the link is broken for them.

"Step 3 - Deploy

Install MariaDB and configure for legacy authentication, then run the included restore scripts."

That's intended to be an overview of the steps for those a little bit more experienced with Conquer Online projects.

You can find the full readme with all the details in the repo: https://gitlab.com/spirited/comet

Let me know if you have any further questions. :happy:

Posted

Hey there! Just for context, this source is made to be a clean base. The objective was to make a simple server architecture that's easy to understand and build off of. I didn't quite succeed on that since I made a huge focus on performance over ease of use, but it's still pretty simple and allows the author to implement packet handling, maps, etc. all to their choosing. That said, I don't plan on releasing tutorials for adding systems - that's out of scope for the project and not something I have time for. That definitely doesn't stop others from releasing tutorials about it, though; and you can always ask questions here.

Can you add the Step 3 restore scripts?

I think the link is broken for them.

"Step 3 - Deploy

Install MariaDB and configure for legacy authentication, then run the included restore scripts."

That's intended to be an overview of the steps for those a little bit more experienced with Conquer Online projects.

You can find the full readme with all the details in the repo: https://gitlab.com/spirited/comet

Let me know if you have any further questions. :happy:

I get this message each time I try to run the 'Launch Comet' in Visual Studio Code:

The program '[10136] Comet.Account.dll' has exited with code 0 (0x0).

Posted

Can you add the Step 3 restore scripts?

I think the link is broken for them.

"Step 3 - Deploy

Install MariaDB and configure for legacy authentication, then run the included restore scripts."

That's intended to be an overview of the steps for those a little bit more experienced with Conquer Online projects.

You can find the full readme with all the details in the repo: https://gitlab.com/spirited/comet

Let me know if you have any further questions. :happy:

I get this message each time I try to run the 'Launch Comet' in Visual Studio Code:

The program '[10136] Comet.Account.dll' has exited with code 0 (0x0).

I'm not sure how that's possible, given it should output something. Maybe check you have the right .NET Core version installed and try debugging server startup?

Posted

That's intended to be an overview of the steps for those a little bit more experienced with Conquer Online projects.

You can find the full readme with all the details in the repo: https://gitlab.com/spirited/comet

Let me know if you have any further questions. :happy:

I get this message each time I try to run the 'Launch Comet' in Visual Studio Code:

The program '[10136] Comet.Account.dll' has exited with code 0 (0x0).

I'm not sure how that's possible, given it should output something. Maybe check you have the right .NET Core version installed and try debugging server startup?

I got it to work now, thank you so much!

Do you have any idea how to fix the Flash.ocx?

I am trying everything and can't figure it out.

Posted

Do you have any idea how to fix the Flash.ocx?

I am trying everything and can't figure it out.

Uhm... I know something got posted on epvp, but it's just a temporary solution. Windows is going to remove flash as a mandatory update starting in Summer. I don't have a solution to that, no. I'm just developing on 5017 for now.

  • 1 month later...
Posted
In honor of diversity month and International Transgender day, I updated the contribution guide for Comet to include more inclusive terminology. You can find all replacements here. Throughout the week (really whenever I get time), I'll be updating the code to reflect these new requirements. Thanks, and remember to be kind to one another.
Posted

I can understand the reasoning behind the majority of these....but Dummy? Hard time following that one.

Also, most of the alternatives for a Master/Slave alternative don't really make much sense to me. I could maybe see Leader/Follower(duplicated in the list btw) or Orchestrator/Worker. The other ones don't share the same relationship principals that we see in what we have historically referred to as a master/slave relationship.

From the Bluetooth SIG:

Original Acronym... : Slaves_Clock_Accuracy

New Acronym... : Worst_Case_SCA

Stumped on what SCA stands for.

Posted

I can understand the reasoning behind the majority of these....but Dummy? Hard time following that one.

Also, most of the alternatives for a Master/Slave alternative don't really make much sense to me. I could maybe see Leader/Follower(duplicated in the list btw) or Orchestrator/Worker. The other ones don't share the same relationship principals that we see in what we have historically referred to as a master/slave relationship.

From the Bluetooth SIG:

Original Acronym... : Slaves_Clock_Accuracy

New Acronym... : Worst_Case_SCA

Stumped on what SCA stands for.

Thanks for the feedback, I can work on making the list of alternatives a bit more tuned for Comet. I started that process a bit with the addition of "player" and "game client", but I'll get on to cleaning up irrelevant suggestions.

  • 8 months later...
Posted

Friend, Maybe I'm just the one with this question, I'm already running the "Comet, game server" and "Comet, Account server"

How can I run the client?

I understood that it is the server, I would like to ask you where can i find the client to Run the game

Actually I'm running your code and it's fine, server up. Now, how can i run the client to test?

Could you just give me some tips? Thank you very much

Posted
Quote

Friend, Maybe I'm just the one with this question, I'm already running the "Comet, game server" and "Comet, Account server"

How can I run the client?

I understood that it is the server, I would like to ask you where can i find the client to Run the game

Actually I'm running your code and it's fine, server up. Now, how can i run the client to test?

Could you just give me some tips? Thank you very much

You can find instructions for configuring and starting up the client here:

 

  • 6 months later...
Posted

Hey Spirited,

Do you know why I may be getting this message when debugging the project?

https://ibb.co/D8Lj3hf

I have a feeling it's because I have one of the IPs/Ports wrong, because the IP being used is my OVH VPS IP, which all ports are open by default(even contacted support to make sure) and all Firewalls are disabled, even on the Windows Server 2019 OS.

Here are some of the Comet.Game/Comet.Account configs, plus the realm.

Comet.Game:

https://ibb.co/Swq689J

https://ibb.co/5LHss8G

Comet.Account:

https://ibb.co/N6nk82t

https://ibb.co/k92gTkR

Realm:

https://ibb.co/zhddmZX

Posted
Hey there, so you shouldn't need to change the game or account configuration files with your IP address. Those IP addresses are listening IPs from the host machine, and aren't used for clients to connect to. The default is "0.0.0.0", which means listen on all interfaces. I recommend keeping those the same, as well as not exposing your MySQL port if you can help it. In terms of not being able to connect, I'd make sure you're port forwarding everything correctly. Try using a port checker to make sure they're all being exposed correctly. Good luck!
Posted

I now have Game/RPC Network in Comet.Game.config set to 0.0.0.0, and Network in Comet.Game.config set to 0.0.0.0.

My realm table has my VPS IP for Game and 0.0.0.0 set for RPC, and realm matches my clients name.

Used Port Checker, and 9958, 5618, and 5817 are all open on my VPS.

Still stuck on "Connecting to account server. Please wait a moment."

With a "Missing packet 1051, Length 52." on Comet, Account Server.

Do things need to be setup different since this is hosted on my VPS?

Posted

I now have Game/RPC Network in Comet.Game.config set to 0.0.0.0, and Network in Comet.Game.config set to 0.0.0.0.

My realm table has my VPS IP for Game and 0.0.0.0 set for RPC, and realm matches my clients name.

Used Port Checker, and 9958, 5618, and 5817 are all open on my VPS.

Still stuck on "Connecting to account server. Please wait a moment."

With a "Missing packet 1051, Length 52." on Comet, Account Server.

Do things need to be setup different since this is hosted on my VPS?

Oh, do you have the right version of the source downloaded? Sorry, I didn't see the missing packet message. Make sure that the branch you have cloned is the version of the client you want to run.

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