[IMG]http://dl.dropboxusercontent.com/u/16737046/nosurf_banner.jpg[/IMG]
[quote=Steam Workshop]
This is a simple script that will kill people who try to propsurf.
Here's the simple config. Run these commands in the server console or set them in the server.cfg file.
nosurf_enabled (default 1) - Should we reprimand players for trying to propsurf?
nosurf_admins (default 1) - Should we also reprimand admins?
nosurf_speedtolerance (default 128) - How fast should they have to be travelling upwards to be killed?
[/quote]
I wrote this script a couple of days ago as a joke - but it's actually pretty useful.
[video=youtube;iwzfOFAA1XI]http://www.youtube.com/watch?v=iwzfOFAA1XI[/video]
[video=youtube;oxe9HbJTf4Y]http://www.youtube.com/watch?v=oxe9HbJTf4Y[/video]
[URL="http://steamcommunity.com/sharedfiles/filedetails/?id=351893130"]Steam Workshop[/URL]
[URL="https://github.com/TylerBundy/nosurf"]GitHub[/URL]
All comments are appreciated. (error reports are too)
Mind posting a github link? I'd love to take a look at the code but I'm on mobile atm.
Sure hold on.
[editline]6th December 2014[/editline]
[url]https://github.com/TylerBundy/nosurf[/url]
[t]http://i.imgur.com/C5vgCeF.png[/t][t]http://comforttour.ca/wp-content/uploads/2013/06/photodune-3712450-big-ben-m.jpg[/t]
Also, the script barely works.
[media]http://www.youtube.com/watch?v=2gW2lOb--O8[/media]
I edited the script to print a message on the screen when the script decides to kill the player.
The ONLY time when it kills the player is when you stand on the prop, pick it up and scroll back (shown at the beginning of the video).
the expert minge has spoken
[QUOTE=FPtje;46652167][t]http://i.imgur.com/C5vgCeF.png[/t][t]http://comforttour.ca/wp-content/uploads/2013/06/photodune-3712450-big-ben-m.jpg[/t]
Also, the script barely works.
[media]http://www.youtube.com/watch?v=2gW2lOb--O8[/media]
I edited the script to print a message on the screen when the script decides to kill the player.
The ONLY time when it kills the player is when you stand on the prop, pick it up and scroll back (shown at the beginning of the video).[/QUOTE]
Should be relatively easy to fix, give me a few minutes.
[editline]6th December 2014[/editline]
There, it now uses your total speed rather than the speed upward.
[editline]6th December 2014[/editline]
[video=youtube;oxe9HbJTf4Y]http://www.youtube.com/watch?v=oxe9HbJTf4Y[/video]
The code still looks like the Big Ben.
[media]http://www.youtube.com/watch?v=m3YElwwsD_A[/media]
Lowering the nosurf_speedtolerance convar will not solve the problems inherent to this script. Lowering it might also cause really bad false positives, making the script not just useless, but also really annoying.
[editline]6th December 2014[/editline]
Also, I love your voice.
I don't think there's really a way to stop professional surfing like that, it's mainly geared to servers like mine where hordes of little children join and surf.
[editline]6th December 2014[/editline]
and uh.. thanks?
[editline]6th December 2014[/editline]
Well, actually, I take that back, I'm going to try something else.
[QUOTE=TylerB;46655292]I don't think there's really a way to stop professional surfing like that, it's mainly geared to servers like mine where hordes of little children join and surf.
[editline]6th December 2014[/editline]
and uh.. thanks?
[editline]6th December 2014[/editline]
Well, actually, I take that back, I'm going to try something else.[/QUOTE]
Everyone who tries to make an anti prop surf/prop kill script always ends up with something that either doesn't really work, is really annoying for the genuine player or both.
You can forget about ghosting the prop, that's the usual approach which also doesn't work. Ghosting is also a really good example for an attempt that's really annoying for genuine players.
[editline]6th December 2014[/editline]
The quote above is one that I keep mentioning over and over again (the doesn't work/annoying/both one). It's the main reason why I hate these scripts with a passion.
The best approach at these things is not to try to prevent it, nor to punish for it in hindsight. The best solution is for admins to have good tools to see it with their own eyes.
Well, I've just made a version that I can't get to kill me without actually surfing.
If you're willing to try it out and see if it works, go for it.
Yeah Falco release a script so admins can see props through walls lmao. Putting a prop wallhack lua file in the server then running it on clients is annoying and I wouldn't allow my admins to do it as.
while true do print("rekt") end
[QUOTE=kodithegreat;46657131]Yeah Falco release a script so admins can see props through walls lmao. Putting a prop wallhack lua file in the server then running it on clients is annoying and I wouldn't allow my admins to do it as.
while true do print("rekt") end[/QUOTE]
Are you fucking real right now
[media]http://www.youtube.com/watch?v=DOJf39cCHmM[/media]
It catches some more cases, but it also stopped detecting fast surfs. Also, it's ridden with false positives. The first death was actually accidental. I meant to do the thing I did immediately after that.
The boxes thing shows a typical building scenario, where one is naively trying to fit a prop in a place where it really doesn't fit. This often results in accidental self pushes, which will kill the player when this script is installed.
Yeah, you're right about it being riddled with false positives, I'll try and tweak it more later.
The boxes thing was greatly exaggerated.
Could just make players impervious to movement by props physguns are holding by creating a barrier entity to wrap the player entity
[QUOTE=Ott;46661663]The boxes thing was greatly exaggerated.[/QUOTE]
I had to overtry it in the video. When I tried it before the recording I got killed in a second. People accidentally push themselves during building, that's what the video shows.
I've also noticed that singleplayer performs differently than multiplayer for some reason - the script worked better when there is a little bit latency.
[editline]7th December 2014[/editline]
also, rofl: [url]http://steamcommunity.com/groups/mluminge#comments[/url]
Why don't you just disable collisions between the player and the prop while it's physgunned, instead of all this tweaking? :v:
[QUOTE=Leystryku;46662318]Why don't you just disable collisions between the player and the prop while it's physgunned, instead of all this tweaking? :v:[/QUOTE]
[QUOTE=FPtje;46655337]Everyone who tries to make an anti prop surf/prop kill script always ends up with something that either doesn't really work, is really annoying for the genuine player or both.
You can forget about ghosting the prop, that's the usual approach which also doesn't work. Ghosting is also a really good example for an attempt that's really annoying for genuine players.
[editline]6th December 2014[/editline]
The quote above is one that I keep mentioning over and over again (the doesn't work/annoying/both one). It's the main reason why I hate these scripts with a passion.
The best approach at these things is not to try to prevent it, nor to punish for it in hindsight. The best solution is for admins to have good tools to see it with their own eyes.[/QUOTE]
Also, I don't see how nocolliding props when people are holding them can be annoying.
i played on a server that had prop ghosting for months and never had an issue building bases etc
[editline]7th December 2014[/editline]
[QUOTE=TylerB;46662183]
[editline]7th December 2014[/editline]
also, rofl: [url]http://steamcommunity.com/groups/mluminge#comments[/url][/QUOTE]
that group makes me cringe
[QUOTE=circuitbawx;46658492]Are you fucking real right now[/QUOTE]
No I don't even remember writing this I was probably high.
I've seen prop ghosting servers where the prop doesn't un-ghost until it has zero velocity again, in order to prevent prop killing as well as prop surfing. This is terribly annoying in trying to do things, such as rest unfrozen items on other items or to carry items.
[editline]8th December 2014[/editline]
the cancer of this game are the swarms of immature server operators and admins
if you can't afford to pay the typical server bill without donations, you shouldn't be running a server
once you're older and have some money that is actually your own, you won't want to dump 15-40$ in servers a month when you could spend it differently, but at that age you shouldn't have much trouble setting up a VPS for 10$ to run your typical servers on
[editline]8th December 2014[/editline]
that's a bit of a rant, but it came to mind because a proper server will have proper administration
[QUOTE=bitches;46665935]I've seen prop ghosting servers where the prop doesn't un-ghost until it has zero velocity again, in order to prevent prop killing as well as prop surfing. This is terribly annoying in trying to do things, such as rest unfrozen items on other items or to carry items.
[editline]8th December 2014[/editline]
the cancer of this game are the swarms of immature server operators and admins
if you can't afford to pay the typical server bill without donations, you shouldn't be running a server
once you're older and have some money that is actually your own, you won't want to dump 15-40$ in servers a month when you could spend it differently, but at that age you shouldn't have much trouble setting up a VPS for 10$ to run your typical servers on
[editline]8th December 2014[/editline]
that's a bit of a rant, but it came to mind because a proper server will have proper administration[/QUOTE]
I like to have a server survive on donations, it'll basically gracefully end when everyone is done playing on it. What I don't like however is being able to buy ranks in power
Why not just disable collisions between players and entities while the prop is being moved? :V
[QUOTE=Commander11;46679100]Why not just disable collisions between players and entities while the prop is being moved? :V[/QUOTE]
You just broke the whole addon
[QUOTE=nettsam;46663985]i played on a server that had prop ghosting for months and never had an issue building bases etc
[editline]7th December 2014[/editline]
that group makes me cringe[/QUOTE]
I beg to differ, I've played on numerous servers that have prop ghosting and I spent hours upon hours building just one base to make it perfect + OP , I find prop ghosting to be one of the most annoying piece of fucking shits made for DarkRP.
If I made the props not collide, it would be with the owner only, and not other props.
[QUOTE=TylerB;46708743]If I made the props not collide, it would be with the owner only, and not other props.[/QUOTE]
Most ghosting mods I know can be circumvented by having a prop on a prop, standing on the top prop and picking up the bottom prop.
Sorry, you need to Log In to post a reply to this thread.