1>hl_weapons.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CBasePlayer::Touch(class CBaseEntity *)" (?Touch@CBasePlayer@@UAEXPAVCBaseEntity@@@Z)So at one point i give up and scrapped all the code, doing something more "easy" instead, and by easy i mean copy pasting the crossbow code. It did compile well, by the exception of the client syde, that get me the same error, so i just change the hldll. Everything was running preaty well, until it was the moment to shoot the gun:
1>Debug\hl_cdll\client.dll : fatal error LNK1120: 1 unresolved externals
Host_Error: PF_precache_model_I: 'models/nail.mdl' Precache can only be done in spawn functionsThe only thing i want to know is what and how to solve this issue, if you ask what the code is, well... is the same as a Crossbow. But now the thing is... if the way to solve this problem is to compile the cl_dll, well... TOO BAD! because i dont know what is the main cause of the problem.
You would say that the weapon is bad writed on the hl_weapons.obj, like i thinked it was, but then i thinked on compiling the cl_dll of a separated source code, where i didnt even touch the client or the regular dlls. And this happens:
1>hl_weapons.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CBasePlayer::Touch(class CBaseEntity *)" (?Touch@CBasePlayer@@UAEXPAVCBaseEntity@@@Z)It results... the main base code for the client that i worked whit was busted from the start all along, i need to clarify that im not using the SoloKillersSDK, im using the 2013 Valve realease.
1>Debug\hl_cdll\client.dll : fatal error LNK1120: 1 unresolved externals
If you know how to solve the problem whithout deleting all my progress, i will thank you a lot, words cannot describe my sheer fucking confusion right now...