Gun sprite bug

fix pls
Locked
User avatar
ZDashe
Registered user
Posts: 629
Joined: 02 Dec 2015, 23:28

Gun sprite bug

Post by ZDashe » 31 Mar 2017, 08:42

Bug Description: You can change the icon sprite for a M41A rifle or SMG into a different looking sprite due to lag. This might be possible with other guns as well, but are untested.
gun sprite.png
Steps to reproduce:
1. Hold a M41A Mk2 Rifle in one hand, and any compatible magazine in the other hand.
2. Attempt to insert magazine into the unloaded M41A Rifle.
3. Restock said magazine into vendor before 2. is completed, due to lag?
4. Attempt to eject the loaded (???) rifle, and see that "You cock the M41A pulse rifle MK2, clearing a armor-piercing rifle bullet from its chamber."
5. Repeat step 2. on the unloaded (???) M41A Rifle and insert another fresh mag.
6. Watch as the M41A Rifle morphs into something else...
You do not have the required permissions to view the files attached to this post.
Image

User avatar
xeno366
Registered user
Posts: 173
Joined: 02 Mar 2017, 08:48
Location: Homeless
Byond: Xeno366

Re: Gun sprite bug

Post by xeno366 » 31 Mar 2017, 09:10

I saw a revolver with red dot supresor and a nade launcher
im robust (not really)
Confirmed Queen kills: 5.

Confirmed Predator kills 2.

User avatar
SecretStamos (Joshuu)
Registered user
Posts: 1291
Joined: 15 Oct 2014, 12:32
Location: Stars & Stripes

Re: Gun sprite bug

Post by SecretStamos (Joshuu) » 31 Mar 2017, 10:39

That revolver sprite is used when a gun has an unknown sprite path.

You're doing some weird stuff that somehow ends up in the icon_state ending up where it should not be

User avatar
Nicboone
Registered user
Posts: 295
Joined: 15 Dec 2016, 00:20
Byond: Nicboone

Re: Gun sprite bug

Post by Nicboone » 31 Mar 2017, 11:13

SecretStamos (Joshuu) wrote:That revolver sprite is used when a gun has an unknown sprite path.

You're doing some weird stuff that somehow ends up in the icon_state ending up where it should not be
ive encountered this before too- had some attachments on it, and changed the firing rate by right clicking. Later, while in combat, I think between loading cycles the sprite changed.
Relax like Redax. "The fucking stupidest thing ever said by an SL"
Image

User avatar
forwardslashN
Community Contributor
Community Contributor
Posts: 2495
Joined: 14 Dec 2015, 23:12
Byond: forwardslashN

Re: Gun sprite bug

Post by forwardslashN » 31 Mar 2017, 22:16

If someone can provide a reliable way to duplicate this, I would appreciate it.
Image
The ambivalent giant white baldie in a jungle near you.

User avatar
ZDashe
Registered user
Posts: 629
Joined: 02 Dec 2015, 23:28

Re: Gun sprite bug

Post by ZDashe » 31 Mar 2017, 23:21

Well I can consistently duplicate this if you catch me online. I can show you how to do it as long as i'm lagging =P
Image

User avatar
Renomaki
Registered user
Posts: 1777
Joined: 22 Jul 2016, 18:26

Re: Gun sprite bug

Post by Renomaki » 01 Apr 2017, 00:31

I know one way, I think..

1: Get an empty Pulse rifle, be sure there is no round loaded in.

2: Find a magazine with only 1 bullet in it

3: insert the magazine into the empty rifle

When I did this, it caused the rifle to turn into a really wonky revolver with floating attachments. I believe it has to be a bug due to the fact that a mag with one bullet is loaded into the rifle, which causes it to get confused because it isn't sure which sprite to load due to the magazine being emptied the second it gets cocked in.

I'm not sure if it'll do it again, but that is how I did it once, and I bet it would do it again.
Sometimes, bravery comes from the most unlikely sources.

An inspirational song for when ye be feeling blue:
https://www.youtube.com/watch?v=R5_zvuPw8xU

Locked