Numos59 / darkrp

Automatically exported from code.google.com/p/darkrp
0 stars 2 forks source link

Global gravity gun sound #582

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What is the problem? When you grab a prop that belongs to someone else with the 
gravity gun, (eg. something unfrozen) you can spam the mouse controls, and the 
sound plays for everyone in the server, I believe this has to do with FPP 
defaultly removing punting.

Do you have any errors? serverside or clientside? If you do, which ones? No 
errors.

Are you using the downloaded version or an SVN revision (if SVN, which
revision number)? Latest SVN, has been happening for quite a while now, on more 
than one server, everyone hears it. I'd say about, 5-6 months I believe this 
has been happening.

Thanks.

Original issue reported on code.google.com by rokro...@gmail.com on 20 Apr 2011 at 12:43

GoogleCodeExporter commented 8 years ago
Also here is a demo of what happens: http://fusionrp.net/testforfalco.dem

Original comment by rokro...@gmail.com on 21 Apr 2011 at 6:01

GoogleCodeExporter commented 8 years ago
._.

I don't have the issue, I tried the exact same thing as you did in the video. I 
think your FPP is out of date, you probably have FPP in addons. The older 
version of FPP overrides the newer version that might be in the latest version 
of DarkRP you have.

Tested on my dedicated server with a bot, I tried it while I was allowed to 
touch his props and while I was not. Neither of those situations led to the 
spamming.

Original comment by fpeijnen...@gmail.com on 11 May 2011 at 3:24

GoogleCodeExporter commented 8 years ago
Hmm this happens on quite a few servers, I don't have FPP in addons, it's 
latest SVN with darkrp.

Original comment by coolfel...@live.com on 11 May 2011 at 8:11

GoogleCodeExporter commented 8 years ago
Also, this is played to others, is what I mean. You may not nessacarily hear 
it, but it sends to the other clients, they can hear the spam, I also think it 
has something to do with the radius in darkrp. Try these settings.

rp_3dvoice 1
rp_voiceradius_dynamic 0
rp_voiceradius 1
rp_alltalk 1

I think you will need a human to use to test this, as they will have to hear 
the sound to know you're spamming your gravity gun on an object.

Also, grab object, spam mouse1, is what I did in the demo. 

Original comment by rokro...@gmail.com on 16 May 2011 at 2:54

GoogleCodeExporter commented 8 years ago
( That third comment is on my other account, I just noticed it was posted from 
it not rokrox@fusionrp.net, sorry. )

Also I think you can turn off punting, and it will stop the sound from spamming 
others.

Original comment by rokro...@gmail.com on 16 May 2011 at 2:58

GoogleCodeExporter commented 8 years ago
What I find weird, is that in the latest version of FPP, you drop the object 
when you try to punt it while you can't.

So you pick up an object, you punt it and it will drop to the floor in front of 
you.

I remember changing this just to fix this spam sound issue. When I try it on my 
server it immediately drops the prop, which means I'm not holding it anymore. I 
can't spam punt on a prop that I'm not holding.

Original comment by fpeijnen...@gmail.com on 16 May 2011 at 5:39

GoogleCodeExporter commented 8 years ago
Are you positive you pushed that revision? I re-svn'd Darkrp on my server 
yesterday, with some very small edits, like a couple addchatcommands(thank you 
for this). And unless I have a variable set different I can't understand why 
our servers would differ. 

Original comment by rokro...@gmail.com on 16 May 2011 at 5:43

GoogleCodeExporter commented 8 years ago
Yeah it's in the code.

Original comment by fpeijnen...@gmail.com on 17 May 2011 at 7:29

GoogleCodeExporter commented 8 years ago
--Gravgun punting
function FPP.Protect.GravGunPunt(ply, ent)
    if tobool(FPP.Settings.FPP_GRAVGUN.noshooting) then DropEntityIfHeld(ent) return false end
...

Original comment by fpeijnen...@gmail.com on 17 May 2011 at 7:29

GoogleCodeExporter commented 8 years ago
Is gravgun protection even enabled?

Original comment by fpeijnen...@gmail.com on 17 May 2011 at 7:30

GoogleCodeExporter commented 8 years ago
It is indeed.

Original comment by rokro...@gmail.com on 17 May 2011 at 10:12

GoogleCodeExporter commented 8 years ago
I just unchecked "check constrained entities" and it is working like you said 
it should. 

Original comment by rokro...@gmail.com on 17 May 2011 at 10:16

GoogleCodeExporter commented 8 years ago
But when I check it again, you still can't spam it again? that's random as 
hell..

Original comment by rokro...@gmail.com on 17 May 2011 at 10:24

GoogleCodeExporter commented 8 years ago
I have noticed that with this, it doesn't happen with your own props, or 
entities like shipments and durgz. 

However it is spammable with others props, and if you pick up a shipment and 
move it, with the gravity gun ofcourse, it does display globally, at least on 
my server. 

I can't think of any addons that would conflict, besides darkrp we have PHX3, 
Wire, Money Detector, ULX, pretty much it.

My FPP gravity gun settings are:
http://fusionrp.net/gravsetting.png

Original comment by rokro...@gmail.com on 4 Jun 2011 at 11:06

GoogleCodeExporter commented 8 years ago
I was just able to reproduce this on a vanilla install of darkrp, with the 
gravity gun and an entity.

Original comment by coolfel...@live.com on 15 Jun 2011 at 3:14

GoogleCodeExporter commented 8 years ago
It's either fixed now or it's not FPP.

Original comment by fpeijnen...@gmail.com on 21 Jun 2011 at 5:01