MatthewClair / confogl

Automatically exported from code.google.com/p/confogl
0 stars 1 forks source link

Sniper pickup when limit is reached makes your current gun disappear #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Pick a sniper rifle when someone on your team is already carrying one

What is the expected output? What do you see instead?
It should just inform the play that he can't pick it up. Instead of that, the 
gun disappears.

What version of the product are you using? On what operating system?
2.2.2-RC windows

Original issue reported on code.google.com by shaz@netcabo.pt on 6 Nov 2010 at 8:03

GoogleCodeExporter commented 9 years ago
What type of sniper spawn is it? (Static spawn like c2m1_highway billboard, 
dynamic spawns or a dropped sniper?)

Original comment by Canada.R...@gmail.com on 7 Nov 2010 at 3:13

GoogleCodeExporter commented 9 years ago
Every single sniper spawn I encountered does that. I didn't try with dropped 
snipers though.

Original comment by shaz@netcabo.pt on 7 Nov 2010 at 3:41

GoogleCodeExporter commented 9 years ago
Did it work correctly before 2.2.2-RC? And just to be sure "the gun 
disappears", you mean the gun they were initially holding right?

Original comment by Canada.R...@gmail.com on 7 Nov 2010 at 5:21

GoogleCodeExporter commented 9 years ago
No, it happened before, at least in 2.2.1.
Yes, the guy trying to pick the sniper ends with no gun, which really sucks :P

Original comment by shaz@netcabo.pt on 7 Nov 2010 at 5:27

GoogleCodeExporter commented 9 years ago
I remember this being in issue when it was first introduced, but fixed later, 
since then you just always got your ammo filled up and a message when trying to 
pick up a sniper while someone already had one.

Weird thing is, yesterday during a regular game on the old 2.2.1 three of us 
lost our guns when trying to refill our ammo on a hunting rifle spawn... 
haven't seen that in a long time.

(I would have tested this on 2.2.2-RC now but it currently crashes my server.. 
:P)

Original comment by Dynastic...@googlemail.com on 7 Nov 2010 at 6:40

GoogleCodeExporter commented 9 years ago
I've played 50+ games on Confogl 2.2.1 on many different servers and never seen 
this happen. And in the few games that I've played or spectated on 2.2.2-RC 
this have never been a problem. So ammo replenish from HR when the limit has 
been reached have always worked correctly in those two versions for me.

If you were getting mentioned bug in 2.2.1 and now also in 2.2.2-RC then it 
sounds to me like a faulty or corrupt confogl installation is to blame. Or 
perhaps some kind of outside variable like SM/MM version or server OS is 
affecting this. 

Original comment by maroll...@gmail.com on 7 Nov 2010 at 10:59

GoogleCodeExporter commented 9 years ago
It's not the ammo replenish, it's the fact that the gun you were holding 
disappears.

Original comment by shaz@netcabo.pt on 7 Nov 2010 at 2:09

GoogleCodeExporter commented 9 years ago
I believe there are a small number of circumstances when this bug can occur. 
But it is very rare. We will look into it.

Original comment by prodigysim@gmail.com on 7 Nov 2010 at 4:02

GoogleCodeExporter commented 9 years ago
It's not rare at all from my experience, and I think it happens more often when 
holding the silenced mg. Yesterday one team ragequitted because of this bug 
saying "your server is bugged". The Parish map 2.

Original comment by shaz@netcabo.pt on 30 Nov 2010 at 10:43

GoogleCodeExporter commented 9 years ago
How about recording a .dem of the issue or posting logs with confogl_debug 1?

Original comment by prodigysim@gmail.com on 30 Nov 2010 at 4:31

GoogleCodeExporter commented 9 years ago
http://www.sendspace.com/file/ptbzri

Note that Coach got the sniper first, then Rochelle got stuck trying to get it, 
then I tried it.

It all happened after I kicked the Tank, but the log doesn't show anything 
after that, but it's still included.

Original comment by shaz@netcabo.pt on 30 Nov 2010 at 5:20

GoogleCodeExporter commented 9 years ago
Issue has confirmed to be KAC incompatibility.

Still TBD whether we should try to fix the issue... KAC just sort of spoils fun 
wherever its used for little rewards :P

Original comment by prodigysim@gmail.com on 30 Nov 2010 at 6:08

GoogleCodeExporter commented 9 years ago
lol, kac only takes away :)

Original comment by shaz@netcabo.pt on 30 Nov 2010 at 6:16

GoogleCodeExporter commented 9 years ago
This may also occur if the server has Admin Cheats running (why its running 
during Confogl is strange already!)

Original comment by Canada.R...@gmail.com on 16 Mar 2011 at 8:14

GoogleCodeExporter commented 9 years ago
Shouldn't it be possible for confogl to refill the ammo instead of actually 
using "give weapon"? That would solve it, I guess.

Original comment by shaz@netcabo.pt on 16 Mar 2011 at 9:50

GoogleCodeExporter commented 9 years ago
The problem with that is there are some situations where we can't know what 
type of ammo to give the client so the only way to give them ammo would be 
"give ammo" (or is it "givecurrentammo"? anyways...) which obviously won't 
solve the problem.

Best fix: don't use KAC or Admin Cheats with Confogl running.  We might 
eventually try to find a way to do this without changing command flags, but 
since KAC already does very little, and Admin Cheats really shouldn't even be 
run while a competitive config is running, it is not a priority.

Original comment by Canada.R...@gmail.com on 16 Mar 2011 at 10:55

GoogleCodeExporter commented 9 years ago
"givecurrentammo" works fine, since it's not checked by KAC, like "give". So I 
guess that would be the best solution. I didn't understood what do you mean 
with type of ammo, are you talking about incendiary ammo?

Another way would be to spawn an ammo stash below/near every sniper.

I still find KAC useful especially to prevent cmd spamming and logging cmds.

Original comment by shaz@netcabo.pt on 17 Mar 2011 at 5:30

GoogleCodeExporter commented 9 years ago
Should be fixed in the new weapons limit plugin: 
https://github.com/CanadaRox/sourcemod-plugins/tree/master/weapon_limits

Original comment by TheDonSanchez on 20 Nov 2011 at 7:09