JKGDevs / JediKnightGalaxies

Jedi Knight Galaxies (JKG) is a multiplayer shooter with role playing elements, played out in the Star Wars universe. The project is a full conversion game modification for Jedi Knight: Jedi Academy.
https://www.jkgalaxies.net/
GNU General Public License v2.0
34 stars 12 forks source link

Sometimes reload doesn't duck gun down or show reload bar #90

Open ghost opened 10 years ago

ghost commented 10 years ago

These happen independently of each other and I can't figure out what exactly causes it. Just that sometimes the reload bar appears but the gun stays on screen, or the gun goes off screen but no reload bar appears. Not yet seen both happen at once.

edit: actually if you reload as soon as you can after firing the gun, it won't duck. But I can't get a reliable cause for reload bar not appearing yet.

eezstreet commented 10 years ago

I think that its due to too many entities onscreen. The signal to duck down the weapon and the bar to show is handled by an event, which is treated as an entity (reload is not the only thing that does this). I can use the GC command stuff on client to intercept the /reload command and tell us to start drawing the bar. Can't make the weapon duck down though; that will break prediction.

Sent from my Windows Phone


From: Pandemailto:notifications@github.com Sent: ‎3/‎7/‎2014 12:03 AM To: JKGDevs/JediKnightGalaxiesmailto:JediKnightGalaxies@noreply.github.com Subject: [JediKnightGalaxies] Sometimes reload doesn't duck gun down or show reload bar (#90)

These happen independently of each other and I can't figure out what exactly causes it. Just that sometimes the reload bar appears but the gun stays on screen, or the gun goes off screen but no reload bar appears. Not yet seen both happen at once.


Reply to this email directly or view it on GitHub: https://github.com/JKGDevs/JediKnightGalaxies/issues/90

ghost commented 10 years ago

The duck down problem when reloading too fast after firing feels like a timing issue, like something is requiring a value to be 0 before it will work. I dunno.

eezstreet commented 10 years ago

Might be. Probably needs investigating.

Sent from my Windows Phone


From: Pandemailto:notifications@github.com Sent: ‎3/‎7/‎2014 7:44 AM To: JKGDevs/JediKnightGalaxiesmailto:JediKnightGalaxies@noreply.github.com Cc: eezstreetmailto:eezstreet@live.com Subject: Re: [JediKnightGalaxies] Sometimes reload doesn't duck gun down or show reload bar (#90)

The duck down problem when reloading too fast after firing feels like a timing issue, like something is requiring a value to be 0 before it will work. I dunno.


Reply to this email directly or view it on GitHub: https://github.com/JKGDevs/JediKnightGalaxies/issues/90#issuecomment-37020727

eezstreet commented 8 years ago

Possibly fixed via a5a25d017944caf90ba0737a9f9669d4c669aae9 - need further testing to verify.

Silverfang22 commented 8 years ago

I haven't seen a reload without reload bar, but I am still able to get the gun to not duck down.

Silverfang22 commented 5 years ago

Futuza claims that he has seen a reload without a progress bar happen on very rare occasion, possibly when 'queueing' a lot of actions including a reload.

See issue #57 for the animation related bug.