Post Reply  Post Thread 
need good tutorial to make a srcds plugin
Author Message
get
Dark terminal user
***


Posts: 162
Group: Registered
Joined: Oct 2005
Status: Offline
Post: #1
need good tutorial to make a srcds plugin

any one knows a nice tutorial or howto compile a srcds serverplugin?

thx


04-23-2008 05:07 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZilexuS
Juni0r Membr
**


Posts: 13
Group: Registered
Joined: Apr 2008
Status: Offline
Post: #2
RE: need good tutorial to make a srcds plugin

What kind of plugin?



WEB: zilexus.mine.nu | MAiL: ZilexuS [at] Gmail [dot] com
04-23-2008 05:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Drocona
Forum admin
*******


Posts: 3,981
Group: Administrators
Joined: Mar 2005
Status: Offline
Post: #3
RE: need good tutorial to make a srcds plugin

I know how to compile for windows, no idea for Linux..


Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
http://srcdsgroup.black-sky.nl
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
04-23-2008 04:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Mooga
TF2 Server Admin
******


Posts: 759
Group: Super Moderators
Joined: Oct 2007
Status: Offline
Reputation: 0
Post: #4
RE: need good tutorial to make a srcds plugin

If you want to write your own plug-in by hand, you must be a skilled programmer. I think they normally use C++ but I could be wrong.

Making a mod for metamod or sourcemod will be a lot easier since they have their own scripting languages.


~ Mooga

fqdn Wrote:
if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected.

that's the 2 sentence explanation.

04-23-2008 09:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Drocona
Forum admin
*******


Posts: 3,981
Group: Administrators
Joined: Mar 2005
Status: Offline
Post: #5
RE: need good tutorial to make a srcds plugin

For whatever it's worth, here's one of things I fooled with including a say and say_team command hook so you can add filters etc.

Everything works and it should compile fine when you press build, note that this is pretty old and have no idea if valve changed anything I used.

I know the socket doesn't work, it should still compile and run without errors though.

Like Mooga said, it's C++ but a bit different (like VALVe style lol), I use Visual Studio .NET 2003 for this



Attached File(s)
.zip File  Black-Sky - Log plugin including to be fixed socket.zip (Size: 249.27 KB / Downloads: 2)

Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
http://srcdsgroup.black-sky.nl
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114

This post was last modified: 04-24-2008 07:07 AM by Drocona.

04-24-2008 07:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
get
Dark terminal user
***


Posts: 162
Group: Registered
Joined: Oct 2005
Status: Offline
Post: #6
RE: need good tutorial to make a srcds plugin

i need a source plugin that updated the banned ids, like steambans, but using this cfg:
http://liquidsnake.homelinux.net/~get/banned.cfg
this one is updated every 5min, and generated by a ruby script wich parses the spanish dod:s scene main website and takes the ids from there


04-24-2008 10:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Drocona
Forum admin
*******


Posts: 3,981
Group: Administrators
Joined: Mar 2005
Status: Offline
Post: #7
RE: need good tutorial to make a srcds plugin

Hook the ban command, then make a function that writes the ban command to that file, then broadcast it back to the server. (basically you are adding a step)
I think you should be able to use the hook I used for the say commands but I'm not 100% sure (I'm far from good with C++ lol).


Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
http://srcdsgroup.black-sky.nl
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
04-25-2008 08:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: