Raised This Month: $12 Target: $400
 3% 

Error "Couldn't get DLL API" when loading Metamod Source on HLDS for Windows with DOD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JeanDedie
New Member
Join Date: Sep 2011
Old 09-19-2011 , 16:36   Error "Couldn't get DLL API" when loading Metamod Source on HLDS for Windows with DOD
Reply With Quote #1

Hello,

I tried to install the MM:S addon for Day Of Defeat on the lastest version of HLDS but i have the error "Host_Error: Couldn't get DLL API from ".\dod\addons\metamod\bin\server.dll".


After i have download the "hldsupdatetool.exe" tools for Windows, i have run it with this command in the installation folder (D:\WXP_USR\HLDS) : HldsUpdateTool.exe -command update -game dod -dir .
See "HLDS_folder.jpg" in attachement for the result of installation.

So i have download MM:S and decompress it to obtain "D:\WXP_USR\HLDS\dod\addons\metamod\bin"

After i have generated the VDF file named "metamod.vdf", i store it in "D:\WXP_USR\HLDS\dod\addons".

The VDF file contain :
"Plugin"
{
"file" "../dod/addons/metamod/bin/server"
}

I launch the server with the GUI "hlds.exe" and the paramter describe on "HLDS_exec.jpg" screenshot, and when i use the command "meta version" i obtain nothing.

So i have edit the "liblist.gam" file in the dod folder to change the "gamedll" setting :
#gamedll "dlls\dod.dll"
gamedll "addons\metamod\bin\server.dll"

But when i launch the server with the GUI i obtain this error message (see HLDS_error.jpg) : "Host_Error: Couldn't get DLL API from ".\dod\addons\metamod\bin\server.dll"

I have forgot anything during the installation ?
Attached Thumbnails
Click image for larger version

Name:	HLDS_error.jpg
Views:	693
Size:	21.3 KB
ID:	92792   Click image for larger version

Name:	HLDS_exec.jpg
Views:	498
Size:	21.7 KB
ID:	92793   Click image for larger version

Name:	HLDS_folder.jpg
Views:	475
Size:	51.2 KB
ID:	92794  
JeanDedie is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 09-19-2011 , 17:09   Re: Error "Couldn't get DLL API" when loading Metamod Source on HLDS for Windows with
Reply With Quote #2

Quote:
Originally Posted by JeanDedie View Post
Hello,

I tried to install the MM:S addon for Day Of Defeat on the lastest version of HLDS but i have the error "Host_Error: Couldn't get DLL API from ".\dod\addons\metamod\bin\server.dll".


After i have download the "hldsupdatetool.exe" tools for Windows, i have run it with this command in the installation folder (D:\WXP_USR\HLDS) : HldsUpdateTool.exe -command update -game dod -dir .
See "HLDS_folder.jpg" in attachement for the result of installation.

So i have download MM:S and decompress it to obtain "D:\WXP_USR\HLDS\dod\addons\metamod\bin"

After i have generated the VDF file named "metamod.vdf", i store it in "D:\WXP_USR\HLDS\dod\addons".

The VDF file contain :
"Plugin"
{
"file" "../dod/addons/metamod/bin/server"
}

I launch the server with the GUI "hlds.exe" and the paramter describe on "HLDS_exec.jpg" screenshot, and when i use the command "meta version" i obtain nothing.

So i have edit the "liblist.gam" file in the dod folder to change the "gamedll" setting :
#gamedll "dlls\dod.dll"
gamedll "addons\metamod\bin\server.dll"

But when i launch the server with the GUI i obtain this error message (see HLDS_error.jpg) : "Host_Error: Couldn't get DLL API from ".\dod\addons\metamod\bin\server.dll"

I have forgot anything during the installation ?
MM:S only works on Source games, including Day of Defeat: Source (aka DOD:S). For Day of Defeat (non-Source), you need regular MetaMod (and AMXModX instead of SourceMod if you go that route).

If you meant to install the Day of Defeat: Source server, it's named dods, not dod.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 09-19-2011 at 17:19.
Powerlord is offline
Old and Slow
Senior Member
Join Date: May 2005
Location: Arlington, Texas
Old 09-19-2011 , 20:05   Re: Error "Couldn't get DLL API" when loading Metamod Source on HLDS for Windows with
Reply With Quote #3

as PL says, hlds.exe is for the Half Life 1 line of servers.
srcds.exe is what is run for Half Life 2 servers.

there is still the original MetaMod for HL1
now there is MetaMod:Source for HL2
__________________
.......Chuck |TxA| Old and Slow [AARP]
Old and Slow is offline
JeanDedie
New Member
Join Date: Sep 2011
Old 09-21-2011 , 02:16   Re: Error "Couldn't get DLL API" when loading Metamod Source on HLDS for Windows with
Reply With Quote #4

Thanks for your reply.

It's works with "HldsUpdateTool.exe -command update -game dods -dir ."
JeanDedie is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode