koolo icon indicating copy to clipboard operation
koolo copied to clipboard

How does this repo work?

Open ffMathy opened this issue 10 months ago • 5 comments

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 avatar Feb 06 '25 20:02 ffMathy

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?

ffMathy avatar Feb 10 '25 07:02 ffMathy

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.

artosimonyan avatar Feb 15 '25 10:02 artosimonyan

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.

ffMathy avatar Feb 15 '25 11:02 ffMathy

Any update on the port? Sounds interesting. I'm not quite sure why koolo-map.exe requires D2LoD, and i thought d2go was made for reading memory from D2R instead.

bowwowden avatar Jun 14 '25 05:06 bowwowden

Yeah I got stuck. The repo can read memory values though, but can't actually do any sort of clicks and calls.

ffMathy avatar Jun 14 '25 09:06 ffMathy