frifox / gw2dps

GW2DPS
31 stars 13 forks source link

Update Gadget and World Boss HP offsets for 64-bit #28

Closed hairys closed 8 years ago

hairys commented 8 years ago

also added breakbar state check.

hairys commented 8 years ago

Guess I can't make a separate pull request, haha. It lumped my float changes into my previous pull request. Commit 682cc18 should resolve issue #23. Aren't rounding errors fun! :D

frifox commented 8 years ago

gw2dps.cpp lines 289/290, probably meant hp_shift_xxx, not hp_shift1_xxx. Also, the Ally struct in the gw2dps.h was missing "Vector pos;"

Btw, I did try to get a x64 build to work, but for some reason it's not even injecting (no console) for me, odd. I'll mess a bit more but it's quite late, might have to continue tomorrow.

hairys commented 8 years ago

Yep, meant hp_shift_xxx, thanks. It's 4 hours past my bedtime.... x64 built is working for me. Finally. I did have an issue with the screen freezing upon injecting. Rafzi was able to fix it. It was an error with the hkPresent hook, as I suspected.

frifox commented 8 years ago

Yup, not going to happen today. For me it fails at CreateRemoteThread part when injecting. I tried few x64 injectors I found online but even though they tell me injection was successful, nothing really happened.

Shawn538 commented 8 years ago

UGH! i want to help sooooooo bad! But i only know java... Ive taken it upon myself to learn some C++ so i can try to aid in the conversion to 64. But i cant seem to get a fucking compiler to function on my computer at all. Tried eclipse.. but it wont even run a simple hello world. Im so mad cause im so bad

hairys commented 8 years ago

@frifox switch your entire build environment to 64-bit. That includes external libraries (boost, wxWidgets, direct x, etc). You'll have to build everything from scratch in 64-bit mode. The resulting 64-bit injector and dll should work with the 64-bit client.

hairys commented 8 years ago

We'll have to make them as entirely separate builds for now. I tried to do some integration yolo mouse style. They use a single (x64) exe to inject either a 64-bit or 32-bit dll. That's what I want to try to do.

hairys commented 8 years ago

@Shawn538 get Microsoft's Visual Studio 2013 Community edition. It supports 64-bit compile.

Shawn538 commented 8 years ago

@hairys After many many hours of trying to figure it out... i finally got it to compile a program... and i even figured out how to distribute it to my friends (the basic hello world i made).

now i can do the helps (or try to) :D

hairys commented 8 years ago

I managed to make a single (x86) injector that can inject either the 32-bit or 64-bit dll by using a 64-bit proxy exe.