NMan1 / Modern-Warfare-Warzone-Cheat

A cheat for modern warfare (the warzone) game mode. Very outdated but maybe you can learn something
MIT License
100 stars 57 forks source link

LNK2001: Unable to compile #7

Closed rwds-root closed 4 years ago

rwds-root commented 4 years ago

1>dllmain.obj : error LNK2001: unresolved external symbol "void __cdecl d3d12hook::release(void)" (?release@d3d12hook@@YAXXZ) 1>Global.obj : error LNK2001: unresolved external symbol "long __cdecl d3d12hook::hookPresentD3D12(struct IDXGISwapChain3 *,unsigned int,unsigned int)" (?hookPresentD3D12@d3d12hook@@YAJPEAUIDXGISwapChain3@@II@Z) 1>Global.obj : error LNK2001: unresolved external symbol "void __cdecl d3d12hook::hookkDrawInstancedD3D12(struct ID3D12GraphicsCommandList *,unsigned int,unsigned int,unsigned int,unsigned int)" (?hookkDrawInstancedD3D12@d3d12hook@@YAXPEAUID3D12GraphicsCommandList@@IIII@Z) 1>Global.obj : error LNK2001: unresolved external symbol "void __cdecl d3d12hook::hookDrawIndexedInstancedD3D12(struct ID3D12GraphicsCommandList *,unsigned int,unsigned int,unsigned int,int)" (?hookDrawIndexedInstancedD3D12@d3d12hook@@YAXPEAUID3D12GraphicsCommandList@@IIIH@Z) 1>Global.obj : error LNK2001: unresolved external symbol "void __cdecl d3d12hook::hookExecuteCommandListsD3D12(struct ID3D12CommandQueue *,unsigned int,struct ID3D12CommandList *)" (?hookExecuteCommandListsD3D12@d3d12hook@@YAXPEAUID3D12CommandQueue@@IPEAUID3D12CommandList@@@Z) 1>Global.obj : error LNK2001: unresolved external symbol "long __cdecl d3d12hook::hookSignalD3D12(struct ID3D12CommandQueue *,struct ID3D12Fence *,unsigned __int64)" (?hookSignalD3D12@d3d12hook@@YAJPEAUID3D12CommandQueue@@PEAUID3D12Fence@@_K@Z) 1>Global.obj : error LNK2001: unresolved external symbol "long (__cdecl* d3d12hook::oPresentD3D12)(struct IDXGISwapChain *,unsigned int,unsigned int)" (?oPresentD3D12@d3d12hook@@3P6AJPEAUIDXGISwapChain@@II@ZEA) 1>Global.obj : error LNK2001: unresolved external symbol "void (__cdecl* d3d12hook::oDrawInstancedD3D12)(struct ID3D12GraphicsCommandList *,unsigned int,unsigned int,unsigned int,unsigned int)" (?oDrawInstancedD3D12@d3d12hook@@3P6AXPEAUID3D12GraphicsCommandList@@IIII@ZEA) 1>Global.obj : error LNK2001: unresolved external symbol "void (__cdecl* d3d12hook::oDrawIndexedInstancedD3D12)(struct ID3D12GraphicsCommandList *,unsigned int,unsigned int,unsigned int,int)" (?oDrawIndexedInstancedD3D12@d3d12hook@@3P6AXPEAUID3D12GraphicsCommandList@@IIIH@ZEA) 1>Global.obj : error LNK2001: unresolved external symbol "void (__cdecl* d3d12hook::oExecuteCommandListsD3D12)(struct ID3D12CommandQueue *,unsigned int,struct ID3D12CommandList *)" (?oExecuteCommandListsD3D12@d3d12hook@@3P6AXPEAUID3D12CommandQueue@@IPEAUID3D12CommandList@@@ZEA) 1>Global.obj : error LNK2001: unresolved external symbol "long (__cdecl* d3d12hook::oSignalD3D12)(struct ID3D12CommandQueue *,struct ID3D12Fence *,unsigned __int64)" (?oSignalD3D12@d3d12hook@@3P6AJPEAUID3D12CommandQueue@@PEAUID3D12Fence@@_K@ZEA) 1>C:\Users\nginx\Downloads\Modern-Warfare-Warzone-Cheat-master\x64\Release\Universal-ImGui-Hook.dll : fatal error LNK1120: 11 unresolved externals

I am unable to compile due to this issue. What am I doing wrong? I would really appreciate any help.

NMan1 commented 4 years ago

A simple google search would answer your question... Remove extern from those functions.

rwds-root commented 4 years ago

A simple google search would answer your question... Remove extern from those functions.

Sorry, but my noob ass still needs your help. I didn't exactly understand how do I remove extern from these functions. Can you please give me a tip?

rcszephyr commented 4 years ago

include Hook.h in Hook.cpp.

rwds-root commented 4 years ago

include Hook.h in Hook.cpp.

Thanks, I managed to compile by doing this. I am able to inject the dll just fine. But it crashes while loading the map.

xKarmaSs commented 4 years ago

my ass crashing to https://prnt.sc/rolvny

rwds-root commented 4 years ago

my ass crashing to https://prnt.sc/rolvny

Yup, exactly the same error.

NMan1 commented 4 years ago

The source is not updated fully. The pull request pushed only updated a few things. It’s up to you to fix the rest, all offsets and such can be found here https://www.unknowncheats.me/forum/other-fps-games/355326-call-duty-modern-warfare-21.html

agent25147 commented 4 years ago

include Hook.h in Hook.cpp.

Thanks, I managed to compile by doing this. I am able to inject the dll just fine. But it crashes while loading the map.

can you help me compile too ? or better send me the compiled version

windofxy commented 4 years ago

include Hook.h in Hook.cpp. I've include it but i still can't compile Why?

DefaultO commented 4 years ago

include Hook.h in Hook.cpp.

Thanks, I managed to compile by doing this. I am able to inject the dll just fine. But it crashes while loading the map.

can you help me compile too ? or better send me the compiled version

You really don't want to have a compiled ready-to-use version from someone who don't even can paste without instructions on how to get rid of those errors. He probably haven't changed hooking yet too which will get you certainly banned after injecting.

windofxy commented 4 years ago

include Hook.h in Hook.cpp.

Thanks, I managed to compile by doing this. I am able to inject the dll just fine. But it crashes while loading the map.

can you help me compile too ? or better send me the compiled version

You really don't want to have a compiled ready-to-use version from someone who don't even can paste without instructions on how to get rid of those errors. He probably haven't changed hooking yet too which will get you certainly banned after injecting.

Hey,bro!Have you successfully compiled this hack?Pls tell me how to compile it.I tried as many method as i can.And I still can't compile it :(

NMan1 commented 4 years ago

I don’t understand how some of you guys are having so many damn issues? Please turn off your computer and throw it out the window. If you can’t devote 3 minuets into looking at the other issues (which have had this issue and either I’ve commented with the solution or someone else did) then you shouldn’t have a computer more or less WiFi. Please get a brain for the sake of the people that do have a brain reading these comments.

And as the other person mentioned, if you even do some how get this complied, right when you inject it your games gonna crash and your going to be banned. Then what? Oh that’s right, you’ll be right back here asking brain dead questions for eternity. Learn to do it right!!! Your wasting your time randomly clicking things for hours hoping it works!!

windofxy commented 4 years ago

I don’t understand how some of you guys are having so many damn issues? Please turn off your computer and throw it out the window. If you can’t devote 3 minuets into looking at the other issues (which have had this issue and either I’ve commented with the solution or someone else did) then you shouldn’t have a computer more or less WiFi. Please get a brain for the sake of the people that do have a brain reading these comments.

I've tried the method in the closed Issue.And I didn't get the work done

windofxy commented 4 years ago

Should I add extern to the functions with the error.Or remove extern??

windofxy commented 4 years ago

you said two different method to solve the problem

windofxy commented 4 years ago

One in this issue , and another one in a closed issue

NMan1 commented 4 years ago

I don’t understand how some of you guys are having so many damn issues? Please turn off your computer and throw it out the window. If you can’t devote 3 minuets into looking at the other issues (which have had this issue and either I’ve commented with the solution or someone else did) then you shouldn’t have a computer more or less WiFi. Please get a brain for the sake of the people that do have a brain reading these comments.

I've tried the method in the closed Issue.And I didn't get the work done

Any issue you could have related to compiling has been answered here if your using the default source. It’s simply not possible to have so many damn issues like your having if you used the source I put out. It probably took you hours to even get visual studio installed properly. People like you really make me not want to post sources like this from the brain cells I lose reading this shit.

I’m happy to help anyone, no matter how simple the question/fault may be. As long as they show they’re trying.

windofxy commented 4 years ago

I searched it in Google

NMan1 commented 4 years ago

I searched it in Google

Well then there’s obviously no help for you in programming. Please stop spamming this thread.

windofxy commented 4 years ago

That why i return to here and ask the question

agent25147 commented 4 years ago

Should I add extern to the functions with the error.Or remove extern??

Have you even tried looking the fucking ERROR UP IN GOOGLE????? Any issue you could possibly have can be fixed with 10 minuets of searching in google!!! This is the most simplest shit!!!! How will you even update the offsets if you can’t fix a extern linker error?

sir fixed basic library errors , i dont code in c++ thats why i was asking for help we really appreciate you posted the source but here's a simple request to post the compiled one too , the one working for you

NMan1 commented 4 years ago

Your not building it with the right settings. You should only get 1 compilation error (a linker error) which I’ve said and many other hows to fix. Any other errors can be fixed with google. And why the fuck are you even messing with a c++ source if you don’t even know C++? Your just asking for issues. Anyone that responds to this issue I’m just going to block, complete waste of my time now.

playfuldreamz commented 4 years ago

like your having if you used the source I put out. It probably took you hours

yeah this guys is a piece of shit innit