Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does this repo work? #668

Open
ffMathy opened this issue Feb 6, 2025 · 3 comments
Open

How does this repo work? #668

ffMathy opened this issue Feb 6, 2025 · 3 comments

Comments

@ffMathy
Copy link

ffMathy commented Feb 6, 2025

This is such an inspiring repo. I am from back in the D2JSP (Diablo 2 JavaScript Parser) days, and I thought I wanted to help my friend who is a Diablo 2 gamer get into programming.

I thought it would be a good idea to try to make a botting framework for him, but in the language he's used to (Java).

I am not good at Go. Would it be possible for you to talk a bit about how Koolo works? I assume you're reading in-game memory from somewhere, but I am not sure where in the code that's present.

@ffMathy
Copy link
Author

ffMathy commented Feb 10, 2025

Okay, I found out that most of the logic is fron d2go, another library you made which you use from here.

Are you OK with me porting this library to dotnet and Java?

@artosimonyan
Copy link
Collaborator

artosimonyan commented Feb 15, 2025

The bot and library are open source, so you can freely do what ever you want. Just give credits to original project.

Contributing and learning another language is more fun, try that if you want but I see no issues in porting it if you find it fun.

But yeah, we're using memory reading (in d2go) to obtain information about the client and using mouse clicks and keystrokes via the winapi to interact with the game itself.

@ffMathy
Copy link
Author

ffMathy commented Feb 15, 2025

Yeah. Right now, jumping from the basics of Java to Go is a huge step for him and would likely throw him off board.

But thanks! I'll do my best to make a port and call it d2java.

I already ported d2go. The repo will go live soon.

I will build in helper methods for botting as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants