Conquer Python Development

06/01/2025 04:02 LearningPython#1
Hey there, i'm currently in the process of learning Python and i'm at a point where i would like to go more hands on.

I've always enjoyed editing private server sources in the past when i was a kid (which is about 20 years ago or so), trying to make my own features and quests and what not.

And i feel like i'll learn a lot in terms of Python development when i can do something that i find really fun to do, which is of course development with direct visual effect, therefor working on a conquer source, a game i once loved seems to be ideal.
I know that Python isn't the way to go when it comes to performance, at least not in terms of conquer development, however this is intended for a localhost learning server, so it should be fine, nobody aside from me will be logging in.

------------------

Now that all of that is out of the way, i would like to learn how to begin a python source for conquer.
Ideally it would be great to just get a python based source based on an older patch with some of the basics done, but i don't expect any python conquer source to exist.
Meaning i want to learn how to make my own from the ground up, and would love to receive some guidance on how to actually get started.

I'm not looking for 2 word posts that state "sniff packets" or whatever, that obviously isn't really helpfull.
I'm someone who is serious about learning and studying, and regardless of how much time it costs, i'm willing to dedicate myself too it.

Thank you in advance, i would appreciate any constructive guidance.
08/06/2025 09:06 .Nostalgia#2
We live in the age of Gemini CLI/Claude Code. Get any source you want, open the conquer wiki, tell it to rewrite it in the language you want.
08/08/2025 04:27 Spirited#3
Quote:
Originally Posted by .Nostalgia View Post
We live in the age of Gemini CLI/Claude Code. Get any source you want, open the conquer wiki, tell it to rewrite it in the language you want.
Hahahahahahahahaha

Even if that was true, what makes you think that someone who wants to learn how to program in Python would want that? Maybe someone who wants to learn a craft wants to do that craft?

Quote:
Originally Posted by LearningPython View Post
Hey there, i'm currently in the process of learning Python and i'm at a point where i would like to go more hands on.

I've always enjoyed editing private server sources in the past when i was a kid (which is about 20 years ago or so), trying to make my own features and quests and what not.

And i feel like i'll learn a lot in terms of Python development when i can do something that i find really fun to do, which is of course development with direct visual effect, therefor working on a conquer source, a game i once loved seems to be ideal.
I know that Python isn't the way to go when it comes to performance, at least not in terms of conquer development, however this is intended for a localhost learning server, so it should be fine, nobody aside from me will be logging in.

------------------

Now that all of that is out of the way, i would like to learn how to begin a python source for conquer.
Ideally it would be great to just get a python based source based on an older patch with some of the basics done, but i don't expect any python conquer source to exist.
Meaning i want to learn how to make my own from the ground up, and would love to receive some guidance on how to actually get started.

I'm not looking for 2 word posts that state "sniff packets" or whatever, that obviously isn't really helpfull.
I'm someone who is serious about learning and studying, and regardless of how much time it costs, i'm willing to dedicate myself too it.

Thank you in advance, i would appreciate any constructive guidance.
There're a few server projects that you could use and translate from. I'm not sure Python is a great language to use as a game server, though. It's not really optimized for uses like that. But if that doesn't stop you, then you'll need to know how to write a socket system with asynchronous reads and writes, and a bit about multithreading.

Comet is my project that has multiple patches implemented, but just enough to get you logged in. It's fully documented and gives you a few patch options, so it might be a good reference, at least initially?
[Only registered and activated users can see links. Click Here To Register...]
08/11/2025 03:48 tkblackbelt#4
Yeah as Spirited said, I would just take a nice base and try and port it to python. But make sure you take the time to understand what you are doing along the way if your goal is learning. I would recommend AI, but use the web app where you can paste code in and have it explain it to you and help convert to python. But you should be typing it in yourself and understanding it.

Using Claude code or some other tool where it writes all the code directly on your editor/project will not teach you anything. Even if you take the time to read what it's writing (which you should still do lol), it's not the same as physically typing it yourself from a learning perspective.

Best of luck with your server!