Jump to content

kennylovecode

Member
  • Posts

    141
  • Joined

  • Last visited

Everything posted by kennylovecode

  1. I've been thinking about how to embed the BOSS timing of my server in the game and draw it on the map. This idea has also started to communicate with duki. Great, I finally have a place to copy it. I mean study, hahaha.
  2. I don't intend to set anyone against each other. I'm just saying that we should independently think and research the concept of not solely waiting for others to help us.
  3. The community is strong because of you.
  4. Hi, actually, I know him, but I didn't make it so obvious, but we can't control him to do so. Therefore, I think that open source should be limited. We provide you with an idea, a framework and some foundations, and we can't let these people copy and paste them and sell them.
  5. Let me answer you, because not everyone is as smart as you can find it, and most people will get it quickly by using money Therefore, we only need to pay attention to how and why we do it, and we ignore what others do.
  6. You will only encounter this problem when you replace the old swf, and then you will not send any packets to the client.
  7. Doing it yourself is much faster than waiting for others to update, isn't it? developer
  8. In fact, have you found that while you are using imgui, the fps of the original game drawing window is dropping sharply. That's why I gave up using imgui, because I didn't find a solution.
  9. I'm glad this can help you. You just need to replace this file, because the 5065 version of this file should have no subsequent code for logging in after creation, so you must close the client and log in again.
  10. I once met this kind.It appeared when I changed from version 5517 to version 5065, because I replaced CharacterInAndOut.swf To version 5065, you will not directly enter the game after creating a character, so you must close the client and reopen the login.
  11. I'm glad to offer this little thing.
  12. nice bro.... I'm glad I provided value like dust
  13. I did a boring experiment, and you made a world.
  14. hi, why the github link death...
  15. where the v3 download from, i try to slove the problem
  16. May I ask if GameServer crashes when you disconnect from the client?
  17. using System; using System.IO; namespace ConquerServer_v2.Client { public static class DHKeyExchange { public class ServerKeyExchange { OpenSSL.DH _keyExchange; byte[] _serverIv; byte[] _clientIv; public byte[] CreateServerKeyPacket() { _clientIv = new byte[8]; _serverIv = new byte[8]; string P = "E7A69EBDF105F2A6BBDEAD7E798F76A209AD73FB466431E2E7352ED262F8C558F10BEFEA977DE9E21DCEE9B04D245F300ECCBBA03E72630556D011023F9E857F"; string G = "05"; _keyExchange = new OpenSSL.DH(OpenSSL.BigNumber.FromHexString(P), OpenSSL.BigNumber.FromHexString(G)); _keyExchange.GenerateKeys(); return GeneratePacket(_serverIv, _clientIv, P, G, _keyExchange.PublicKey.ToHexString()); } public GameCryptography HandleClientKeyPacket(string PublicKey, GameCryptography cryptographer) { byte[] key = _keyExchange.ComputeKey(OpenSSL.BigNumber.FromHexString(PublicKey)); cryptographer.SetKey(key); cryptographer.SetIvs(_clientIv, _serverIv); return cryptographer; } public byte[] GeneratePacket(byte[] ServerIV1, byte[] ServerIV2, string P, string G, string ServerPublicKey) { Random Random = new Random(); int PAD_LEN = 11; int _junk_len = 12; string tqs = "TQServer"; MemoryStream ms = new MemoryStream(); byte[] pad = new byte[PAD_LEN]; Random.NextBytes(pad); byte[] junk = new byte[_junk_len]; Random.NextBytes(junk); int size = 47 + P.Length + G.Length + ServerPublicKey.Length + 12 + 8 + 8; BinaryWriter bw = new BinaryWriter(ms); bw.Write(pad); bw.Write(size - PAD_LEN); bw.Write((UInt32)_junk_len); bw.Write(junk); bw.Write((UInt32)ServerIV2.Length); bw.Write(ServerIV2); bw.Write((UInt32)ServerIV1.Length); bw.Write(ServerIV1); bw.Write((UInt32)P.ToCharArray().Length); foreach (char fP in P.ToCharArray()) { bw.BaseStream.WriteByte((byte)fP); } bw.Write((UInt32)G.ToCharArray().Length); foreach (char fG in G.ToCharArray()) { bw.BaseStream.WriteByte((byte)fG); } bw.Write((UInt32)ServerPublicKey.ToCharArray().Length); foreach (char SPK in ServerPublicKey.ToCharArray()) { bw.BaseStream.WriteByte((byte)SPK); } foreach (char tq in tqs.ToCharArray()) { bw.BaseStream.WriteByte((byte)tq); } byte[] Packet = new byte[ms.Length]; Packet = ms.ToArray(); ms.Close(); return Packet; } } } } you are using this code , right?
  18. I can almost be sure that if you can find a matching client, there won't be any problems.
  19. When setting up a private service for the first time, it is best to ensure that your client is the official original client. This way, you don't have to encounter DHKey exchange failures due to client issues. If you are using someone else's client, please solve the problem I mentioned first, and there is a high probability that you will be able to resolve it. For example, if you use the 5619 client, you don't necessarily need 5619. You can use any version between 5600-5930, and the difference between them won't be significant
  20. This prompt is already very obvious. Try setting a breakpoint on the socket connection accept connection and debug the DHKeyExchange with the client. Only after successfully exchanging keys with the client can your socket receive the correct content
  21. You explained it very clearly, I hope it's true. I am an amateur C # enthusiast who has developed many private servers in China using Spirted's Comet source and some open-source sources. My strengths are basic business development and testing, feedback, and bug fixing. I have some experience in disassembly, but not much. Hope to have the opportunity to participate
  22. So, are you saying that you will invest in this open-source project and develop it for everyone to use for free? Are you God~ My question is what can I gain from participating in this project? Just the joy of coding? Childhood memories? It still has monetary rewards. If it has monetary rewards, who will pay for this expense? If it has monetary rewards, would it still open source? Sorry, I have seen too many of these things before, and I am still very sensitive to them.
  23. Your confusion is also my confusion. I don't believe in this kind of thing. People are all profit driven animals. This approach reminds me of pro4ever on the eliteppers forum.
  24. You can write an absolute value of 130005 at the packet when debugging and building it, and see if the client displays it.
  25. I couldn't find what you called in my 6609 version ANI file Any data related to 40130005 So the question is whether you have used clients that have been modified by others, and whether you have aligned the data on the server with the file configuration on the client?
×
×
  • Create New...