mainoo Posted October 5, 2023 Posted October 5, 2023 Hey! I could use some help with an issue I'm encountering while trying to run the Comet source server.I recently started learning C# and decided to create my own server using the Comet source. I followed the instructions provided on the page meticulously. Everything seemed smooth until I tried to log in to the client. The problem is, that I keep getting an error message saying "server maintenance." But as far as I can tell, the server should be up and running.I'm using client version 5187, which was provided by Spirited. I've also cross-checked the IP address inside the config file and on the loader, and they both seem to be correct.Using conquer loader!Has anyone else faced this issue before? Any ideas on how to resolve it? Any help or advice would be greatly appreciated!attached screenshot of the issue! Quote
Flake Posted October 5, 2023 Posted October 5, 2023 Did you check the configuration in the realm table? Quote
mainoo Posted October 5, 2023 Author Posted October 5, 2023 Did you check the configuration in the realm table?Yes i checked it Quote
Spirited Posted October 5, 2023 Posted October 5, 2023 Oops, copying and pasting what I put on epvp.Is the IP address you're using your public IP? Or is it a private one within your home network (usually in the format 192.168.x.x)? If it's a public IP address, then make sure you're port forwarding correctly (there're guides on how to do that with your router if you're not familiar with what port forwarding is). Also, make sure you have the ports punched out in your firewall (whether it's a public or private IP). Quote
mainoo Posted October 6, 2023 Author Posted October 6, 2023 Oops, copying and pasting what I put on epvp.Is the IP address you're using your public IP? Or is it a private one within your home network (usually in the format 192.168.x.x)? If it's a public IP address, then make sure you're port forwarding correctly (there're guides on how to do that with your router if you're not familiar with what port forwarding is). Also, make sure you have the ports punched out in your firewall (whether it's a public or private IP).you catch me :'D looking for solution Thanks for your reply, yes I did it.i was looking for a solution on google and found a thread for you speaking about common issues like "server maintenance" and how to forward port to fix it.i make it and still get this message.check the screenshots for port forwardhttps://imgur.com/4Y7qLVf"https://imgur.com/Vn1raw1"also, I copied and pasted my replay :) l Quote
Spirited Posted October 6, 2023 Posted October 6, 2023 Oops, copying and pasting what I put on epvp.Is the IP address you're using your public IP? Or is it a private one within your home network (usually in the format 192.168.x.x)? If it's a public IP address, then make sure you're port forwarding correctly (there're guides on how to do that with your router if you're not familiar with what port forwarding is). Also, make sure you have the ports punched out in your firewall (whether it's a public or private IP).you catch me :'D looking for solution Thanks for your reply, yes I did it.i was looking for a solution on google and found a thread for you speaking about common issues like "server maintenance" and how to forward port to fix it.i make it and still get this message.check the screenshots for port forwardhttps://imgur.com/4Y7qLVf"https://imgur.com/Vn1raw1"also, I copied and pasted my replay :) lWhat does your LoaderSet.ini file look like? Quote
mainoo Posted October 6, 2023 Author Posted October 6, 2023 there's no file called Loderset.ini that comes with conquer loader v2 there's only a file called CLHook.ini that's how like https://i.imgur.com/ThkI9C2.png' alt='IMGUR>'> I redownloaded Conquer Loader from the official site and checked it again. attach screenshot files inside. Quote
Spirited Posted October 6, 2023 Posted October 6, 2023 Quote there's no file called Loderset.ini that comes with conquer loader v2 there's only a file called CLHook.ini that's how like https://i.imgur.com/ThkI9C2.png' alt='IMGUR>'> I redownloaded Conquer Loader from the official site and checked it again. attach screenshot files inside. Oh, I'm not familiar with that loader. This is the one we use here: Though, it doesn't have a workaround for flash built into it. If that loader also doesn't work, then I'd check the realms table and make sure the server name is correct there. It looks like you're using Storm, so that's what I'd expect to see in the realms table. Quote
mainoo Posted October 6, 2023 Author Posted October 6, 2023 Quote Quote there's no file called Loderset.ini that comes with conquer loader v2 there's only a file called CLHook.ini that's how like https://i.imgur.com/ThkI9C2.png' alt='IMGUR>'> I redownloaded Conquer Loader from the official site and checked it again. attach screenshot files inside. Oh, I'm not familiar with that loader. This is the one we use here: Though, it doesn't have a workaround for flash built into it. If that loader also doesn't work, then I'd check the realms table and make sure the server name is correct there. It looks like you're using Storm, so that's what I'd expect to see in the realms table. It works now, work with the loader you posted. Many thanks bro https://i.imgur.com/rPh41JX.png' alt='IMGUR>'> Quote
Spirited Posted October 7, 2023 Posted October 7, 2023 Awesome! And no worries, enjoy messing around with that source. Quote
tim Posted January 2, 2024 Posted January 2, 2024 I am also having a similar issue to this. Hello everyone,I've been setting up a private server for Conquer Online using the Comet project, but I've run into a snag with server connections. Below, I've detailed the issue, including the steps I've taken so far. Any guidance or advice from the community would be greatly appreciated!Overview of the ProblemI have two servers as part of the setup: the Comet Account Server and the Comet Game Server.Both servers seem to start up without any obvious errors, but I'm encountering issues when trying to connect with the game client.Im getting this when the dotnet run is used on Comet.Account :Comet: Account Server Spirited © All Rights Reserved Patch 4294Initializing server...Launching server listener...Listening for new connectionsServer and Database Configuration:--Comet.Account Server Config (Comet.Account.config):--------------IP Address: IPv4 Address. . . (taken directly from ipconfig)Port: 9958--Comet.Game Server Config (Comet.Game.config):--------------Game Network IP Address: IPv4 Address. . . (taken directly from ipconfig)Game Network Port: 5816RPC Network Port: 5817The game server initializes and listens for connections correctly.MySQL Database (comet.account):mysql> SELECT * FROM realm;+---------+-------+-------------+---------------+--------------+----------+---------+| RealmID | Name | AuthorityID | GameIPAddress | RpcIPAddress | GamePort | RpcPort |+---------+-------+-------------+---------------+--------------+----------+---------+| 1 | Comet | 1 | IPv4 Address| IPv4 Address| 5816 | 5817 |+---------+-------+-------------+---------------+--------------+----------+---------+1 row in set (0.00 sec)Contains tables like account, account_authority, account_status, and realm.The realm table was initially set with IP 192.168.1.64 and ports 5816 (GamePort) and 5817 (RpcPort). But updated as above.Client Configuration:Using a custom loader (Conquer Loader v5 from nullable) to connect to the server, configured with:[Loader]IPAddress=IPv4 address;The ip address or host name to connect to.LoginPort=9958;The login port.GamePort=5816;The game port.Website=www.elitepvpers.com;Logout websiteForce=TRUE;Force the client to connect to IPAddress no matter what.Issues Encountered:The game client, when run, fails to connect to the server, displaying an error message stating "server is down."The Account Server shows it’s listening for new connections but doesn’t seem to recognize any incoming attempts from the client.Steps Taken:Added a new rule on firewall settings to allow port 9958 Ensured the MySQL user root has the necessary permissions.I also tried running the play.exe after just simply altering the server.dat file :[Header]GroupAmount=1Group1=GroupPic5[Group1]ServerAmount=1Server1=PrivateIp1=ipv4Port1=5816ServerName1=PrivateHintWord1=Pic1=servericon23Request for Assistance:I'm wondering if there's a misconfiguration I've overlooked or if there are additional steps I need to take to ensure a successful connection between the client and the servers. Any insights or similar experiences would be incredibly helpful. I've redacted the ip address but can provide if needed.Thank you in advance! Quote
Spirited Posted January 2, 2024 Posted January 2, 2024 Hey Tim. Is the IPv4 address you're using a local IP address (something like 192.168.1.x) or a public IP address? If it's public and you're going through your ISP, then you'll need to configure port forwarding on your router. Make sure that the realm name in the MySQL database also matches the server name in the server.dat file. Let me know if you have any follow up problems / questions. Good luck! Quote
tim Posted January 2, 2024 Posted January 2, 2024 Hello Spirited,Thanks once again for your input. Based on your feedback and some further investigation, I've revised my approach. Here's the updated situation:Local IP Address:The IP looks like 10.0.0.x Server Configuration Adjustments:Both the Comet.Account.config and Comet.Game.config are set to use the local IP address 10.0.0.x.. Port Forwarding Necessity:Do I need port forwarding with this IP? For local testing and setup, I believe port forwarding might not be necessary. Realm and Server Name Consistency:I've confirmed that the realm name in the MySQL realm table matches the server name in the Server.dat file. Both are now named "Comet" MySQL mysql> SELECT * FROM realm;+---------+-------+-------------+---------------+--------------+----------+---------+| RealmID | Name | AuthorityID | GameIPAddress | RpcIPAddress | GamePort | RpcPort |+---------+-------+-------------+---------------+--------------+----------+---------+| 1 | Comet | 1 | 10.0.0.x | 10.0.0.x | 5816 | 5817 |+---------+-------+-------------+---------------+--------------+----------+---------+1 row in set (0.00 sec) Server.dat [Header]GroupAmount=1Group1=GroupPic5[Group1]ServerAmount=1Server1=cometIp1= 10.0.0.xPort1=5816ServerName1=CometHintWord1=Pic1=servericon23Current Issue - "Connecting failed due to server maintenance or internet congestion. Please re-login later.": Should the Comet.Account server say "Account Server has connected" before I login with conquer loader? The Comet.Game server says this after running dotnet run.Comet: Account Server Spirited © All Rights Reserved Patch 4294Initializing server...Launching server listener...Listening for new connectionsThe client still reports that the "Connecting failed due to server maintenance or internet congestion. Please re-login later." when I attempt to connect. Firewall: I added rules to allow Inbound and Outbound specific to port 9958. I also tried running ConquerLoader after disabling firewall completely. No luck. Insights and Further Assistance:Could there be specific network settings or server configurations I might still be overlooking? My thoughts: Im uneasy about the port forwarding since its not 192.168.x.x. Im unsure about the firewall although I think I added rules and disabled it entirely without luck. If you dont see any issues with port forwarding or firewall I will try to go back thorough the setup and look over everything again carefully. Best regards,Tim Quote
Spirited Posted January 3, 2024 Posted January 3, 2024 You're right. If you're using a private IP address, then you don't need to worry about port forwarding. So if your firewall is set up correctly and you're still not getting the first message from the client, then I'd say it's probably a client configuration issue? Or maybe your anti-virus has another firewall that's preventing the ports from being exposed? And yeah, the "Account Server has connected" is expected. That's the game server and account server establishing a connection to each other for authorization sharing. Where did you download the client, and how are you starting it? You're running patch 4294, right? So you could try running without the custom loader with just the modified server.dat file. You'd run conquer.exe with the command-line argument "blacknull". For example, "conquer.exe blacknull" in a command prompt. Quote
tim Posted January 3, 2024 Posted January 3, 2024 So, big news – the server is finally up and running! Seriously, I appreciate your help. There was some issue with the server.dat file – still not sure what, but a fresh setup did the trick.Now that it's working, I’m super excited to start tinkering with the game's features. I’m thinking of adding NPCs, gear, and more. But before I dive in, I want to understand the nuts and bolts a bit better. So, I've got a couple of questions:Documentation on Packets and Game Data Files: Is there any documentation or resources you recommend for understanding the packets and game data files? I want to make sure I'm doing things right.MySQL Database Updates: When adding new features like NPCs, do I need to add new files or data directly to the MySQL database?Guidance on Adding Features: Any tips or pointers on how to get started with adding these kinds of features? I think I saw somewhere that you mentioned you responded on epvp about how to build on the comet source. I'll look into finding that thread as well. Also, I was thinking of putting together a write-up of my setup process – sort of document my process if that would be helpful for the community. It could be a neat way to give back and help others who are starting out. Quote
Spirited Posted January 3, 2024 Posted January 3, 2024 Documentation on Packets and Game Data Files: Is there any documentation or resources you recommend for understanding the packets and game data files? I want to make sure I'm doing things right.Good job on getting things up and running. For documentation, I'm actually actively working on a new wiki that's easier to contribute to using mdbook and GitHub. But that's going to take some more time to complete. Your best resource right now is going to be other questions made in the past on epvp and other server projects.MySQL Database Updates: When adding new features like NPCs, do I need to add new files or data directly to the MySQL database?You might, yeah. For things like NPC spawns. It'll depend on how you want to implement NPCs, but you may decide to script dialogs in Lua or another language. And you're welcome to contribute back to Comet if you choose to using pull requests. Guidance on Adding Features: Any tips or pointers on how to get started with adding these kinds of features? I think I saw somewhere that you mentioned you responded on epvp about how to build on the comet source. I'll look into finding that thread as well. Yup! There's an article on my website that talks a bit more about that as well.Also, I was thinking of putting together a write-up of my setup process – sort of document my process if that would be helpful for the community. It could be a neat way to give back and help others who are starting out.That'd be great! You're always welcome to put in a pull request to fix up the readme in the repo, as well. Quote
tim Posted January 5, 2024 Posted January 5, 2024 Sounds great! I added a thread detailing my setup. Let me know what you think and i can get to work on updating the README.md and put in a pull request. Quote
Spirited Posted January 5, 2024 Posted January 5, 2024 Sounds great! I added a thread detailing my setup. Let me know what you think and i can get to work on updating the README.md and put in a pull request.You can always put something in, and then we can have a conversation about the changes on the pull request. Quote
_zaphod77_ Posted January 9, 2024 Posted January 9, 2024 Note that some routers do not provide access to the internet IP from inside the lan at all.If this is your problem, people from outside can connect, but you can't connect from inside. This cannot easily be worked around, because the auth sever will send the internet ip to the client, and it will fail to connect to the gameserver. normally a hosts file would do the trick, but conquer only accepts sever ips.The feature required for this to work is "hairpin NAT" and not all routers have it, especially ones that come from cable providers. and they rarely say if they have it or not. 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.