cursey / kanan

Mods for Mabinogi using Javascript
The Unlicense
57 stars 30 forks source link

How do I attach kanan to different processes? #189

Open YukimuraKyoko opened 7 years ago

YukimuraKyoko commented 7 years ago

" You can attach kanan to different processes if you are running multiple clients. Open an administrator command prompt where kanan.py is located and run python kanan.py -p where id is the process id you want to attach to. You can also have kanan start multiple clients by running kanan auto-start.bat or python kanan.py -s. "

I managed to open two clients, one has kanan, the other one is clean. I want to apply kanan to the clean client.exe process.

However, when I opened cmd in the directory where kanan.py is, I typed kanan.py -p Client.exe. And that didn't seem to work. So I'm not sure how to attach kanan to another process

Seeker1437 commented 7 years ago

Client.exe is what Windows calls the "image name" for a process, however that in itself is not the process id.

To get the process ID easily, you can open Task Manager, Select Processes , slelect view at the top, show column, select PID (Win7)

Or look under Details (Win10) next to Client.exe

You will see the PID which should be a number, that you can use.