Jump to content

Spirited

Administrator
  • Posts

    497
  • Joined

  • Last visited

Everything posted by Spirited

  1. I don't think it's related to any hook. It affected official conquer as well.
  2. They're false positives. It was a problem back in the day for the official servers as well. You can add the flagged files to your allow list. I'm not sure if people looked into why or not.
  3. Thanks for the extra notes! I'll get things updated.
  4. You're fine! And if you fix it, feel free to submit a pull request back to the Redux repo. I'd be happy to peer review it and get it merged. It may be worth moving it to GitHub first, though.
  5. Hmm, that doesn't sound right to me. Hehe So, the issue with that line is more that the type it's casting to is truncating the result to zero. The order of the divide is expected to work. It's trying to calculate a percentage of the item's remaining value. So for example, if you have 100 maximum durability on an item but it only has 50 durability remaining, that would be 0.50 (or 50%). If you try to divide two integers, though, it'll truncate the result as an integer and return 0. Then, the code above type casts it into an unsigned integer (which does nothing since it'll always result in zero). A real fix would be to cast one or both of the durability variables to a double type. Then, you'd multiple that double (the percentage of remaining durability) against the sell-back price of the item (giving you a percentage of the sell-back cost).
  6. The first thing I'd suggest doing is searching for the message processing for MsgItem (the message type that handles buying and selling items from NPCs). In Redux, that's under Network/GameServer.cs. It looks like there's already handling for it, so it may be worth setting a breakpoint here and stepping through the handler. That way, you can make sure the item is being found and that the logic actually works as intended.
  7. Oh! Thanks for the additional context. Yeah, hopefully that helps narrow it down. Shame that a lot of these projects are that old and unmaintained.
  8. This might be a silly question, but have you already changed the server name from Redux in the config to Light? If not, I'd try that. Else, maybe you have the wrong launcher? I know someone made a launcher with the same name (so make sure you download the right one from this forum).
  9. Looking at the project, it looks like it creates an INI file named after your computer. And that contains the server name, game port, login port, and game IP address. With the error you're getting right now, I'd make especially sure that login port matches what's in the client, and that you select a server name in the client that matches the config.
  10. I'm not sure, but there's a video for that project:
  11. Interesting. I guess we'll have to see how this one turns out. It's a much more saturated market for MMORPGs, now.
  12. Do you have the right server selected? In some server projects, you may need to make sure the server name matches in the client and database. Try Dark (that's a default a lot of servers use around that patch).
  13. Have you checked your firewall settings to make sure you're letting the port through? And do you have the correct port set for your account server?
  14. It's pretty straight forward, if you're just looking to host something for fun. I didn't really know programming when I first started. If you're looking to start a successful, large private server, though, then you're probably out of luck. A lot of servers aren't complete in features or have issues that need a programmer for. Plus, you need to program new features to be competitive with other servers. I'd say, it may be worth looking into some servers that advertise here and on epvp, read feedback, and choose a server you may want to support. Otherwise, you can always have a little fun hosting your own. Best of luck.
  15. I've never worked with TQ Binary databases. This'll be up to the developers who do.
  16. Is there a reason why you specified the game IP address as 192.168.1.64? If not, then that should be set to your IP address as well (since I'm guessing you're running the game server on the same machine). Then, I'd also check your firewall settings to ensure the ports are allowed. Let me know how that works out for you.
  17. If you modify server.dat, you have to be very careful that you're modifying it correctly. The file format and counts in that file are super strict. I don't entirely remember, but some patches of the client don't like specific local IP addresses either. You can try your public IP address (if you have port forwarding set up), or you could try using the launcher that's provided in this thread.
  18. Here's a starting guide for beginners that can help you out: Generally, this section (the section I moved your thread to) has a lot of pinned resources you can make use of. In terms of starting projects, Redux on patch 5065 is a terrific start. It doesn't come without its issues, but it's a solid, free, open-source project to get your feet wet with. And you can make a fun server out of it. Best of luck, and if you have any more questions, feel free to ask.
  19. All done! You may notice some extra changes I made while I was at it. Post counts now show on comments, and joined dates will show on non-mobile devices. Cheers.
  20. Hi all! There will be a planned maintenance starting on December 28th to apply the latest updates to our board. This will apply several new fixes we've been waiting for, including for our currently broken post counters (disabled right now). We can also expect new sharing functionality, but that may require additional steps after the patch for updating our theme. The board will be in read-only mode for a short time to perform a backup, and then will be taken offline to perform the upgrade and perform sanity checks. Thanks for your understanding, and hope y'all enjoy your Christmas festivities! Spirited
  21. Basically, my loader will pause Conquer.exe before it has the chance to even start and run any code, and then inject that code into the process as the first thing it does. Then, it runs the rest of the process.
  22. Here's how I did it: https://gitlab.com/spirited/dragon/-/blob/main/src/Dragon.Module.Websites/website_hook.cpp?ref_type=heads
  23. It was in testing, but I think the section was cleaned up after it didn't gain much traction. If you want to take on the project, then you can contact a moderator for their website. I don't have the bandwidth right now to do this.
  24. To my knowledge, there are no source code leaks besides the old Chinese Eudemons Alpha leak. And that's not terribly helpful for Conquer Online. Maybe you could use it as a base, but you'd have to implement basically everything but the engine. And that engine is way freakin' old. It'd be missing a huge amount of things even before you start focusing on it rendering a map from Conquer Online. You'd probably be better off making your own client with modern frameworks than wasting that time making it compile on something other than Visual C++ 6.0.
  25. This is just the server. Making a custom client would be much more involved.
×
×
  • Create New...