AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Coding MM:S Plugins & SM Extensions (https://forums.alliedmods.net/forumdisplay.php?f=75)
-   -   Need some reminders on how to setup my dev env. (https://forums.alliedmods.net/showthread.php?t=346018)

c0ldfyr3 02-07-2024 03:16

Need some reminders on how to setup my dev env.
 
1 Attachment(s)
Howdy partners,

It's been a minute! I've been around the world galavanting for the past 14 years and I've just now got a home base and a nice development machine setup. I figure now with CS2 releasing it's not a bad time to update ZombieMod, GoreMod, SprayMod, Hostitron and DeadVox to work with it.

So I've just got started and one thing I realise I'm out of practice with is debugging HLDS itself. Can anyone point me in the right direction? Do IRC in thinking I can set it up in a way that I can run my project and it will run HLDS? I still have my old project files so I guess I can start there hah.

I also noticed my server.cfg doesn't seem to be getting executed at boot, was there something I'm missing like adding exec server.cfg to autoexec.cfg or something? I have a vague memory of this.

Thanks in advance, there will be more things I've forgotten as time goes on I think!

- c0ld

https://forums.alliedmods.net/attach...1&d=1707294017

Bacardi 02-07-2024 07:12

Re: Need some reminders on how to setup my dev env.
 
I have just touched little bit...

But this one was great start https://wiki.alliedmods.net/Building_sourcemod
To build SM for practising and get AMBuild work.
Next build MM:S 1.11, you need solve few errors tough (I try use clang only)

At the end, there is not SM for CS2
But you can try load MM:S 1.12
https://forums.alliedmods.net/showpo...65&postcount=5

I have not much knowledge of MM:S plugins.

c0ldfyr3 02-07-2024 09:06

Re: Need some reminders on how to setup my dev env.
 
Hey! Thanks for the reply.

This github repo already works for CS2: https://github.com/Source2ZE/CS2Fixes/

What I'm wondering about is how to debug the CS2 process using Visual Studio. Do I need to attach it or can I run it from the start. The reason I need to do this is if it bombs out at the start I want to be able to debug through my plugin to see what's going on. I'm positive I could before but my old zombiemod_mm source doesn't have any debug info in the solution :(

Bacardi 02-07-2024 21:18

Re: Need some reminders on how to setup my dev env.
 
I only find linux
https://wiki.alliedmods.net/Debuggin...ource_on_Linux

You may get better help from Discord, https://forums.alliedmods.net/showpo...55&postcount=1


All times are GMT -4. The time now is 16:39.

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