Custom Client.dll not working Created 8 years ago2015-12-04 03:46:37 UTC by Themaster12234 Themaster12234

Created 8 years ago2015-12-04 03:46:37 UTC by Themaster12234 Themaster12234

Posted 8 years ago2015-12-04 03:46:54 UTC Post #327662
Hi, I dowloaded the half life sdk from github (https://github.com/ValveSoftware/halflife) then I followed this tutorial to setup the visual studio http://www.sourcemodding.com/tutorials/goldsrc/programming/intro-to-goldsrc-programming-setting-up-visual-studio/

After that, I compiled the hl.dll and the client.dll, but I have this message couldn't load library d:\half life sdk\Half-life\customod\cl_dlls\client.dll

When I compiled i doesn't had any errors, someone know what I do wrong?
Posted 8 years ago2015-12-15 14:53:14 UTC Post #327784
Hi,

I wrote the above linked tutorial. The error you are getting is at run-time and wouldn't show up on compile because everything probably compiled fine.

Hl.exe cant seem to locate the Client.dll so it throws that error. Where are you placing the newly compiled Client.dll you created?

It should be in a structure similar to this:

valve/hl.exe
valve/<myModName>/cl_dlls/client.dll
valve/<myModName>/dlls/hl.dll

Did the Client fail to copy from the intermediate Compile directory to the above folder?

Did you build cldll from the Visual Studio solution?

Something else to check is the liblist.gam file
Posted 8 years ago2016-01-02 04:52:49 UTC Post #328046
Sorry, for don't answer before, everything is ok. The client wasn't failed and I built it from the Visual Studio Solution...

Now I'm in vacations so I can't do nothing...

Maybe when I come home I will fix it for my self...

Thx for reply and your tutorial were great...
Posted 8 years ago2016-01-11 13:21:50 UTC Post #328187
Thanks for the kind words :)

Hope it will work out for you. If it causes you any more grief send a mail onto sourcemodding@gmail.com, I check that more often than twhl.

I hope to make further tutorials soon :D

Enjoy your vacation and best of luck :)
You must be logged in to post a response.