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

Compiling a plugin in 2022


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lemon Needle
New Member
Join Date: Apr 2022
Old 04-09-2022 , 08:59   Compiling a plugin in 2022
Reply With Quote #1

Hey all, I've taken an interest in creating server plugins based on metamod source. The community infrastructure is huge and information is plentiful, however, it's been a challenge to find up-to-date info that can be executed without problems on modern systems.

I've been digging up old forum posts, scouring the wikis and investigating the discord. I've found a treasure trove of threads from 10 years ago, wiki pages from many different time periods with conflicting information, and elaborate guides that explain how to write and compile plugins on windows 7 with VS2010.

I've tried putting as much information into practice as I could, however, almost all paths lead to some kind of compatability issue. I'm not experienced enough to solve these kinds of problems on my own.

Are there any resources available that go into detail on how to compile a metamod source plugin with VS2017+ on windows 10+ and solve common problems? Thank you.
Lemon Needle is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 04-12-2022 , 03:59   Re: Compiling a plugin in 2022
Reply With Quote #2

I've created a project template that builds the sample Metamod:Source plugin using AMBuild, since that's the current preferred build system for related projects.

It's been tested against VS2015 and the TF2 HL2SDK, so I assume that it works for 2017 as well.
It doesn't work on VS2017 for some reason (maybe my installation is cursed), but I've also tested it against VS2019 and it compiles successfully there.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 04-12-2022 at 04:07.
nosoop 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 00:36.


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