Raised This Month: $ Target: $400
 0% 

What I need to get started?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Smokey485
Senior Member
Join Date: Dec 2004
Location: Newt 'Ellin
Old 08-11-2006 , 11:12   What I need to get started?
Reply With Quote #1

Alright, I went to those sites, but I don't exactly know how SourceMM works.. I know it's done in C++, I just don't know if it requires either C# or C++, or it supports both....

I need to know what I need to compile my DLL, and how to hook it with metamod, so please send me a link, or post here, the files I need to always include in my plugins, thanks.
__________________
+karma if I am helpful to you.
I am one in a few million.
Smokey485 is offline
Send a message via AIM to Smokey485 Send a message via MSN to Smokey485
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 08-11-2006 , 11:38   Re: What I need to get started?
Reply With Quote #2

C++, and this isn't the forum to ask these questions, but I'll help anyway.

Read this: http://wiki.tcwonline.org/index.php/...ourceMM_Coding

And check out SVN and whatnot on
http://www.sourcemm.net

Good luck, hope to see some good stuff from ya in the future.

And I don't know what dev environments to use other than VS2003 for Windows servers, (VS2005 doesn't compile Source's code properly I think...Valve is working on that or so they say.)
FlyingMongoose is offline
Smokey485
Senior Member
Join Date: Dec 2004
Location: Newt 'Ellin
Old 08-11-2006 , 13:57   Re: What I need to get started?
Reply With Quote #3

Quote:
Originally Posted by FlyingMongoose
C++, and this isn't the forum to ask these questions, but I'll help anyway.

Read this: http://wiki.tcwonline.org/index.php/...ourceMM_Coding

And check out SVN and whatnot on
http://www.sourcemm.net

Good luck, hope to see some good stuff from ya in the future.

And I don't know what dev environments to use other than VS2003 for Windows servers, (VS2005 doesn't compile Source's code properly I think...Valve is working on that or so they say.)
Sorry about posting in the wrong forum, kind of get mixed up when you see SourceMM at the beginning of the forum names =P
__________________
+karma if I am helpful to you.
I am one in a few million.
Smokey485 is offline
Send a message via AIM to Smokey485 Send a message via MSN to Smokey485
BAILOPAN
Join Date: Jan 2004
Old 08-14-2006 , 01:43   Re: What I need to get started?
Reply With Quote #4

FYI the SourceMM trunk copy of the HL2SDK works fine with both Visual Studio 2005 and GCC 4+ (with -Wall and no -fpermissive), thanks to Damaged Soul.

I highly recommend you check out the stub_mm and sample_mm plugins.
__________________
egg
BAILOPAN is offline
showdax
Senior Member
Join Date: Dec 2004
Old 08-21-2006 , 08:46   Re: What I need to get started?
Reply With Quote #5

Quote:
Originally Posted by BAILOPAN View Post
FYI the SourceMM trunk copy of the HL2SDK works fine with both Visual Studio 2005 and GCC 4+ (with -Wall and no -fpermissive), thanks to Damaged Soul.

I highly recommend you check out the stub_mm and sample_mm plugins.
Wait wait, so was it DS that removed the need for -fpermissive, or did Valve fix that? Either way, that's really interesting. I might have to use your guys' SDK code base if it's more than just warning fixes.
showdax is offline
Send a message via MSN to showdax
BAILOPAN
Join Date: Jan 2004
Old 08-21-2006 , 13:29   Re: What I need to get started?
Reply With Quote #6

DS removed the need for -fpermissive and also made it work under -Wall. I can point him to this thread if you're interested in what changed but you can also just see the revision log in ViewVC. He committed over the unmodified SDK.
__________________
egg
BAILOPAN is offline
Bludy
New Member
Join Date: Jan 2005
Old 08-26-2006 , 12:23   Re: What I need to get started?
Reply With Quote #7

Hey guys I figured I would post here since my problem is related to getting set up.

I'm using Microsoft Visual Studio 2005 (Trial version, if it works I want to buy it)

But Im having a few problems getting my environment set up. I followed the online tutorial posted above, and set all of the Include and library files as specified, but this error keeps getting back to me.

Error 1 fatal error C1083: Cannot open include file: 'shareddefs.h': No such file or directory C:\HL2SDK\dlls\cbase.h 58

Now I have tried to set a path to the shareddefs.h file in the Include directories, which is in the folder (HL2SDK\game_shared) but when I do that it sends me back a number of other syntax errors.

The wiki doesn't say anything about including that folder in the include directories, and the errors I get when I do just doesn't seem right. I need to know whats going wrong here. Is my Visual studio version not correct? Is it directory tree related? I'm still learning, but this is quite a speedbump for a novice, and there are a number of other activities that require my attention which makes this problem hard to put all my focus on.

Anyways If anyone can help me out I would appriciate it. Thanks.
Bludy is offline
Bludy
New Member
Join Date: Jan 2005
Old 08-26-2006 , 15:03   Re: What I need to get started?
Reply With Quote #8

I forgot to mention that I am trying to compile the sample_mm plugin.
Bludy is offline
BAILOPAN
Join Date: Jan 2004
Old 08-26-2006 , 20:21   Re: What I need to get started?
Reply With Quote #9

This is a screenshot of my include setup for SourceMM:
__________________
egg
BAILOPAN is offline
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 09-15-2006 , 18:30   Re: What I need to get started?
Reply With Quote #10

where is trunk loacted lol or is it just a new dir u made up?
edit: nvm i think i got it with some help from teame06 <3

Last edited by k007; 09-16-2006 at 12:23.
k007 is offline
Send a message via MSN to k007
Reply



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 17:48.


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