Injecting into CSS / Gmod and running console commands
18 replies, posted
I want to create a program that automatically starts a demo each time any source game is ran and then it will enter a console command to record the demo. Is there a way (without getting VAC banned) to achieve this? Like a library or something (must be compatible with C#)
Thank you.
Just stick your console commands into autoexec.cfg
That's how HLDJ does it.
[QUOTE=turb_;22938745]Just stick your console commands into autoexec.cfg
That's how HLDJ does it.[/QUOTE]
in autoexec.cfg - Does this execute every time a server is connected to, or what? Because I don't want to have demos that are the same name as each other. (well, you can't) so I'd need a way to change it.
No, it executes when you load up the game.
I believe someone's already made a script and a program that autorecords and names new demos. Anyone remember the name?
I'm interested in the method OP suggested, anyone done this?
I know that GBPS has messed around with injections, but I too believe you could do this with a simple autoexec.
But this is alot cooler.
There's this plugin for TF2 which automatically records a demo, name it according to the date and time whenever tournament mode is started. It's a .vdf file, let me get it.
[editline]05:42PM[/editline]
Here it is. Totally not VAC-Bannable.
Version 1.5.
[url]http://orangad.com.ua/?page_id=4[/url]
[QUOTE=Poodle;22938548]Is there a way (without getting VAC banned) to achieve this?.[/QUOTE]
VAC only bans for files know to be used for cheating, so it should be safe.
Also, VAC does not ban .vdf Source plugins, which can be created using the Source SDK.
[QUOTE=Neo Kabuto;22954404]VAC only bans for files know to be used for cheating, so it should be safe.[/QUOTE]
wrong
[QUOTE=Neo Kabuto;22954404]VAC only bans for files know to be used for cheating, so it should be safe.[/QUOTE]
Very wrong.
Here's a hint: VAC also checks for certain injection methods.
[editline]03:11PM[/editline]
And that's not the only type of detection method it checks for.
I have also posted a thread on the Steam forums, I think that maybe one of the Steam developers will be able to help me.
Further research brings me to a dead end.
You know what would be cool? A library that took care of using stupid autoexec tricks like HLDJ does to let an external program talk to the console.
[sp]Ferb, I know what we're gonna do today![/sp]
Relevant:
[url]http://www.facepunch.com/showpost.php?p=22632100&postcount=480[/url]
You should ask him nicely, he might help you.
You need to say please.
But yeah, I've got all console command libraries wrapped up in C#. Feel free to contact meh.
[editline]11:13PM[/editline]
Actually, everything in this thread is solved by the not-so-ready-for-beta-release-project Source#.
Source# will be awesome.... Btw is it made as a general source plugin or a garrysmod only?
[QUOTE=Nisd;23001554]Source# will be awesome.... Btw is it made as a general source plugin or a garrysmod only?[/QUOTE]
It's not a plugin...
It's a seperate application.
Yeah, it's injected. There will be a plugin version later on...
Sorry, you need to Log In to post a reply to this thread.