![]() |
|
[C#] CS:GO events - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C#] CS:GO events (/showthread.php?tid=5130036) |
CS:GO events - HVNCSP - Jan 11, 2016 Hey. Is there any way to handle cs:go events with C#? By events I mean player kills another player, player dies, round starts, round ends. This kind of stuff. I want to make a statistics program to myself but I don't know if this is even possible. Any toughts? And, if there is a way, can it be VAC Banned? * - sdk - Jan 11, 2016 Game State Integration. Valve Link: https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Game_State_Integration C# Wrapper: https://github.com/rakijah/CSGSI/ Mode: EZ * - mapleanton - Jan 11, 2016 I know this isn't waht you ment, but take this as an alternative: You can search for kills pointer, add a loop and raise your own c# event when the number of kills changes Code int kills;Note that infinite loops use lots of CPU * - HVNCSP - Jan 11, 2016 (Jan 11, 2016 09:53 AM)sdk Wrote: Game State Integration. Hmm, that works in every server? The server should not have some config in there for that to work? (Jan 11, 2016 10:11 AM)mapleanton Wrote: I know this isn't waht you ment, but take this as an alternative: That is not what I meant. Like you said it will consume a lot or resources, and I don't want that :/ Thanks for the answers. * - 8miles - Jan 11, 2016 this? http://public.ebot.wedeho.be/ i think it shows how many kills etc after the game and esl uses this. Pm me if you need help with any stuff * - HVNCSP - Jan 11, 2016 (Jan 11, 2016 11:07 AM)MrScrubLord Wrote: this? Something like that but that works with the CLIENT and not with the SERVER. I want to somehow connect the C# program to the game so it can count kills, deaths, headshots, etc. * - sdk - Jan 11, 2016 (Jan 11, 2016 11:11 AM)kr3nks Wrote: Something like that but that works with the CLIENT and not with the SERVER. I want to somehow connect the C# program to the game so it can count kills, deaths, headshots, etc. Do what I said. You can join any server, the config is client sided, you can paste it to the dir programmatically in the beginning. Then Just as long as the players in game it will start a server and you can connect, I havent done too much testing around but I just recently got one to work. You can actually get quite a bit of info off that, Kills/Assits/Deaths/MVPs/Ammo/Guns(loadout) etc. * - HVNCSP - Jan 11, 2016 (Jan 11, 2016 11:15 AM)sdk Wrote: Do what I said. You can join any server, the config is client sided, you can paste it to the dir programmatically in the beginning. Then Just as long as the players in game it will start a server and you can connect, I havent done too much testing around but I just recently got one to work. You can actually get quite a bit of info off that, Kills/Assits/Deaths/MVPs/Ammo/Guns(loadout) etc. Yeah, now I got it! 🤗 Just ran the test program in the github readme and it worked. This shit is awesome! :D Thanks 👍 |