SRCDS Steam group


need good tutorial to make a srcds plugin
#1
any one knows a nice tutorial or howto compile a srcds serverplugin?

thx
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply
#2
What kind of plugin?
Reply
#3
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)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#4
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 ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
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.
Reply
#5
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 Files
.zip   Black-Sky - Log plugin including to be fixed socket.zip (Size: 249.27 KB / Downloads: 19)
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#6
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
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply
#7
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)
Free to join, Live support! (When available)

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


Forum Jump:


Users browsing this thread: 1 Guest(s)