Raised This Month: $165 Target: $400
 41% 

Solved SDK


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ish12321
Veteran Member
Join Date: May 2016
Old 06-04-2018 , 11:09   SDK
Reply With Quote #1

Hello,
Could someone please give me the entire SDK I need for making metamod plugins. My server uses ReHLDS, ReGameDLL_CS, ReAPI, ....... Latest version of metamod-r and amxmodx 1.8.3 latest developer build.

I know you would suggest me to search, however, I did that already and found many SDK. I got confused which is correct and latest and which is wrong, and so, I'm asking here.
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here

Last edited by ish12321; 06-04-2018 at 20:17.
ish12321 is offline
KliPPy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 06-04-2018 , 14:08   Re: SDK
Reply With Quote #2

To create a metamod plugin you only need HLSDK and Metamod.
https://github.com/alliedmodders/hlsdk
https://github.com/alliedmodders/metamod-hl1
__________________
KliPPy is offline
ish12321
Veteran Member
Join Date: May 2016
Old 06-04-2018 , 15:48   Re: SDK
Reply With Quote #3

Got those 2 and placed them in seperate folders. Added environment variables and put them in Visual Studio project include. Now, I find alot of errors on compilation saying that there are missing ';'
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
ish12321
Veteran Member
Join Date: May 2016
Old 06-04-2018 , 16:16   Re: SDK
Reply With Quote #4

Code:
Severity	Code	Description	Project	File	Line	Suppression State
Error	C2086	'int C_DLLEXPORT': redefinition	Learning 1	f:\metamod\metamod_sdk\metamod\dllapi.h	12	
Warning	C4005	'ARRAYSIZE': macro redefinition	Learning 1	f:\metamod\hlsdk\engine\eiface.h	417	
Error	C2440	'initializing': cannot convert from 'PLUG_LOADTIME' to 'const char *'	Learning 1	f:\metamod\learning 1\learning 1\learning 1\main.h	17	
Error	C2086	'int C_DLLEXPORT': redefinition	Learning 1	f:\metamod\metamod_sdk\metamod\dllapi.h	13	
Error	C2086	'int C_DLLEXPORT': redefinition	Learning 1	f:\metamod\metamod_sdk\metamod\h_export.h	5	
Error	C2086	'int C_DLLEXPORT': redefinition	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	95	
Error	C2086	'int C_DLLEXPORT': redefinition	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	100	
Error	C2086	'int C_DLLEXPORT': redefinition	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	105	
Error	C2086	'int C_DLLEXPORT': redefinition	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	109	
Error	C2086	'int C_DLLEXPORT': redefinition	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	113	
Error	C2086	'int C_DLLEXPORT': redefinition	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	114	
Error	C2086	'int C_DLLEXPORT': redefinition	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	117	
Error	C2086	'int C_DLLEXPORT': redefinition	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	118	
Error	C2086	'int C_DLLEXPORT': redefinition	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	119	
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	Learning 1	f:\metamod\metamod_sdk\metamod\dllapi.h	11	
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	Learning 1	f:\metamod\metamod_sdk\metamod\dllapi.h	12	
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	Learning 1	f:\metamod\metamod_sdk\metamod\dllapi.h	13	
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	Learning 1	f:\metamod\metamod_sdk\metamod\h_export.h	5	
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	95	
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	100	
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	105	
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	109	
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	113	
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	114	
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	117	
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	118	
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	119	
Error	C2144	syntax error: 'int' should be preceded by ';'	Learning 1	f:\metamod\metamod_sdk\metamod\dllapi.h	11	
Error	C2144	syntax error: 'int' should be preceded by ';'	Learning 1	f:\metamod\metamod_sdk\metamod\dllapi.h	12	
Error	C2144	syntax error: 'int' should be preceded by ';'	Learning 1	f:\metamod\metamod_sdk\metamod\dllapi.h	13	
Error	C2144	syntax error: 'int' should be preceded by ';'	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	100	
Error	C2144	syntax error: 'int' should be preceded by ';'	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	105	
Error	C2144	syntax error: 'int' should be preceded by ';'	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	109	
Error	C2144	syntax error: 'int' should be preceded by ';'	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	113	
Error	C2144	syntax error: 'int' should be preceded by ';'	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	114	
Error	C2144	syntax error: 'int' should be preceded by ';'	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	117	
Error	C2144	syntax error: 'int' should be preceded by ';'	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	118	
Error	C2144	syntax error: 'int' should be preceded by ';'	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	119	
Error	C2144	syntax error: 'void' should be preceded by ';'	Learning 1	f:\metamod\metamod_sdk\metamod\h_export.h	5	
Error	C2144	syntax error: 'void' should be preceded by ';'	Learning 1	f:\metamod\metamod_sdk\metamod\meta_api.h	95	
Error	C2061	syntax error: identifier 'hudtextparms_t'	Learning 1	f:\metamod\metamod_sdk\metamod\mutil.h	25	
Error	C2061	syntax error: identifier 'hudtextparms_t'	Learning 1	f:\metamod\metamod_sdk\metamod\mutil.h	26	
Error	C2061	syntax error: identifier 'hudtextparms_t'	Learning 1	f:\metamod\metamod_sdk\metamod\mutil.h	49	
Error	C2061	syntax error: identifier 'hudtextparms_t'	Learning 1	f:\metamod\metamod_sdk\metamod\mutil.h	50
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
ish12321
Veteran Member
Join Date: May 2016
Old 06-04-2018 , 19:25   Re: SDK
Reply With Quote #5

I figured out with the help of @KliPPy how to compile. However, the output is a .exe instead of .dll. How to configure Visual Studio to output a .DLL file, instead of a .exe. Also, it asks for making a main function, which is not needed in the case. Got to know it would be not needed if I compile as a .DLL ?
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 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 16:28.


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