• Vac ban system.
    64 replies, posted
Ok guys, So I'd like to make a system that detects if someone has a vac ban, then disconnects them on initialize. [code] function GM:Initialize() If player has a vac ban --I know, not real code. print("Go away, you failed.") RunConsoleCommand("disconnect") then Print ("Account Verified.") end [/code] I know this might be dumb, but please if anyone knows a way, let me know, thanks!
Don't run this stuff clientside, they can cheat this. The general rule is "never trust clients". You should make this script serverside; and use playerauth or playerconnect hook, instead.
Just because someone has a vac ban, doesn't mean they should not be allowed in your server. What if someone got banned falsely? I know, they may have hacked in the past but they'd be stupid to do it again.
Can I ask why? Being banned for cheating in different games (and probably a long time ago) shouldn't affect how they play GMod. I know it doesn't reflect well but the last ban could've been six years ago.
I'm in total agreement with everyone else who posted in this thread, but it's not a reason to deny him access to the information. Using [URL="http://facepunch.com/showthread.php?t=1400043"]GSAPI[/URL] you can get most of the information about a player from Steam servers, including Community bans and VAC Bans. Like everyone else has said though, there's [URL="https://support.steampowered.com/kb_article.php?ref=7849-RADZ-6869#vacgames"]a reason VAC works the way it does[/URL].
[QUOTE=Banana Lord.;45751904]Can I ask why? Being banned for cheating in different games (and probably a long time ago) shouldn't affect how they play GMod. I know it doesn't reflect well but the last ban could've been six years ago.[/QUOTE] A hacker is a hacker, I don't care if it was their older brother or their account was hacked. The account has been used for malicous activity, VAC bans should be permanent, for 1. you hacked 2. you're friend did, or 3. You're stupid enough to make your password "password" They should go get a life after they get banned for using garrysmod.org hacks, every hacker on my server has been vac banned.
VAC is permanent. I know few people who are older than 13 year olds, who cheated about a 5 years ago when they were young. Now, they absolutely hate hacking. Stop generalizing those kids that joined your server with an aimbot, and get a decent anti cheat instead.
[QUOTE=Frozendairy;45751999]A hacker is a hacker, I don't care if it was their older brother or their account was hacked. The account has been used for malicous activity, VAC bans should be permanent, for 1. you hacked 2. you're friend did, or 3. You're stupid enough to make your password "password" They should go get a life after they get banned for using garrysmod.org hacks, every hacker on my server has been vac banned.[/QUOTE] Except, you know, for the fact that VAC doesn't detect Lua scripts. It's been disputed if VAC is even "enabled" on Garry's mod.
[QUOTE=Lolcats;45752042]Except, you know, for the fact that VAC doesn't detect Lua scripts. It's been disputed if VAC is even "enabled" on Garry's mod.[/QUOTE] I didn't say VAC banned, "They should go get a life after they get banned for using garrysmod.org hacks" I meant off of a server, but then they go to rust and hack or some other shit game. I do have Anti Hacks, but every ten days a new hack comes out for these little skids to go on servers (with their vac ban ) and aim/speed hack, so I would like for them to be eliminated from the server before they turn on their hacks.
I won't drag this conversation out any longer since you're pretty dead set on generalizing all people who have VAC bans, but if you do plan on implementing a system like this, at least check the days since their last ban. There are some people who have [URL="http://steamcommunity.com/id/nickthehorse"]over two and a half years[/URL] since their last VAC ban, and you'd be blindly denying them access to the server.
[QUOTE=Frozendairy;45751999]A hacker is a hacker, I don't care if it was their older brother or their account was hacked. The account has been used for malicous activity, VAC bans should be permanent, for 1. you hacked 2. you're friend did, or 3. You're stupid enough to make your password "password" They should go get a life after they get banned for using garrysmod.org hacks, every hacker on my server has been vac banned.[/QUOTE] this solves nothing because most people who actually like to cheat just make alts and do it that way, so you'd be putting up a barrier of false trust.
[QUOTE=Lolcats;45752125]I won't drag this conversation out any longer since you're pretty dead set on generalizing all people who have VAC bans, but if you do plan on implementing a system like this, at least check the days since their last ban. There are some people who have [URL="http://steamcommunity.com/id/nickthehorse"]over two and a half years[/URL] since their last VAC ban, and you'd be blindly denying them access to the server.[/QUOTE] As I've stated, on this topic: A hacker is a hacker. It doesn't matter if it was 2 years ago, they still did it. "Yes judge, I murdered this man, but, but it was 15 years ago! Come onnnnnnn."
You just compared hacking with murder. :v: I think that says everything that needs to be said. The coding resources have been provided to you. Do what you must.
[QUOTE=elixwhitetail;45752187]You just compared hacking with murder. :v: I think that says everything that needs to be said. The coding resources have been provided to you. Do what you must.[/QUOTE] Metaphorical situations make for a good eye opener for narrow minded people as yourselves.
[QUOTE=Frozendairy;45752176]As I've stated, on this topic: A hacker is a hacker. It doesn't matter if it was 2 years ago, they still did it. "Yes judge, I murdered this man, but, but it was 15 years ago! Come onnnnnnn."[/QUOTE] I don't know where you get that hacking is comparable to murder.
[QUOTE=StonedPenguin;45752214]I don't know where you get that hacking is comparable to murder.[/QUOTE] Metaphorical situations make for a good eye opener for narrow minded people as yourselves.
[QUOTE=Frozendairy;45752243]Metaphorical situations make for a good eye opener for narrow minded people as yourselves.[/QUOTE] Here's a metaphor for you: You're treating people with VAC bans like Hitler treated the jews. I hope that was an eye-opening look at wildly-inappropriate comparisons.
[QUOTE=Frozendairy;45752243]Metaphorical situations make for a good eye opener for narrow minded people as yourselves.[/QUOTE] I have two vac bans. Please tell me how much of a bad person I am.
[QUOTE=elixwhitetail;45752252]Here's a metaphor for you: You're treating people with VAC bans like Hitler treated the jews. I hope that was an eye-opening look at wildly-inappropriate comparisons.[/QUOTE] That's a simile.
-that's me in the spotlight, losing my religion-
[QUOTE=elixwhitetail;45752314]Okay, let me rephrase, since I didn't realize I was dealing with someone who made it to high school, because you are correct. The way you're treating VAC-banned users is the very embodiment of the ideals of the Third Reich. Have some hyperbole while you're at it.[/QUOTE] Embodiment and Ideals? That's a bit redundent, since Embodiment is the form of ideas and ideals is the principle and priciple is the basis (formed of the ideas) So what you are saying is: The way you're treating VAC-banned users is the very idea of the ideas of the Third Reich. Rate dumb if you're an idiot.
Does anyone remember that one Coderhire job by a guy who had a VAC ban and also wanted a script to stop people with VAC bans from joining because people don't change apart from THIS ONE GUY I really hope OP is the same person
[QUOTE=Frozendairy;45752204]narrow minded people as yourselves.[/QUOTE] There needs to be an "ironic" rating.
You really don't know everything that goes on behind a VAC ban. I'm 90% sure you once tried to use some hack or cheat on a game, whatever game it may be, even if it was 10 years ago. That doesn't give us the right to kick you off our server automatically for no reason even though it was a different game, ages ago, no backstory behind it, and because we are just assholes
I laughed my ass off reading Frozendairys posts, thank you for that. But on the more serious side, I still don't think all people that have been VAC banned years ago will hack again.
[QUOTE=Chimpanzee;45753910]You really don't know everything that goes on behind a VAC ban. I'm 90% sure you once tried to use some hack or cheat on a game, whatever game it may be, even if it was 10 years ago. That doesn't give us the right to kick you off our server automatically for no reason even though it was a different game, ages ago, no backstory behind it, and because we are just assholes[/QUOTE] I've covered this. A hacker is a hacker. That's it. You're logic is flawed if you believe that someone can change because they want to join a server. They should automatically be kicked off of a server and have all of their keys unbinded. [code] RunConsoleCommand("unbindall") print("Go away, you failed.") RunConsoleCommand("disconnect") [/code]
[QUOTE=Frozendairy;45753940]I've covered this. A hacker is a hacker. That's it. You're logic is flawed if you believe that someone can change because they want to join a server. They should automatically be kicked off of a server and have all of their keys unbinded. [code] RunConsoleCommand("unbindall") print("Go away, you failed.") RunConsoleCommand("disconnect") [/code][/QUOTE] Your* Your logic is flawed. Not all VAC bans are even hacking. Look into what a VAC ban is first before you flip shit. Irony of it all is, you're abusing your privilege as a server owner to unbind all of their keys just because they want to play a game? If anything, you're the one who shouldn't be allowed on any servers
You're logic is even more flawed. Oh, and, yeah, unbindall is a blocked console command. So good luck with that.
[QUOTE=Frozendairy;45753940]I've covered this. A hacker is a hacker. That's it. You're logic is flawed if you believe that someone can change because they want to join a server. They should automatically be kicked off of a server and have all of their keys unbinded. [code] RunConsoleCommand("unbindall") print("Go away, you failed.") RunConsoleCommand("disconnect") [/code][/QUOTE] Unfortunately for you using unbindall on a player no longer works, thanks Robotboy.
[QUOTE=Jeezy;45754005]Unfortunately for you using unbindall on a player no longer works, thanks Robotboy.[/QUOTE] I'm sorry that you cannot comprehend a joke, what type of autism do you have? [highlight](User was banned for this post ("rude" - postal))[/highlight]
Sorry, you need to Log In to post a reply to this thread.