Main Menu

News:

LINKS: Website | Steam | Wiki

[Alpha 1] Hit chance 539%

Started by infectedm, May 28, 2015, 03:50:56 PM

Previous topic - Next topic

infectedm


Kyzrati

Huh, this is the first reported bug I've seen that I can't immediately put my finger on the cause...

But now that I think of it, the only explanation must be that the UI somehow didn't update properly and the real chance is 53%. I believe the '9' was probably printed as part of something else. The reason being is that no matter how good you are, your hit chance is capped at 95% to account for random flukes. You know, like a d20 roll of 1 ;). So 539% is literally impossible in the mechanics.

I'll look at the UI code again. It did undergo a couple changes not long before release...

Thanks for the screenshot!
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

biomatter

Now wait a second, I've definitely seen my hit chance go over 100% before. I think I've peaked at like 105%. I don't remember checking the % next to the weapons, though. Just the pop-up.

Kyzrati

Hm, okay, maybe the pop-up values aren't capped at 95% in order to show the full extent of all your bonuses. I'll see if there's something weird going on there. Thanks!
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

infectedm

#4
I think I remember that when I targeted that same informer a few turns later, the hit chance was still around ~530. All other enemies had normal hit chance values. So if it really is a UI bug, it seemed to stick with that particular unit.

Kyzrati

Okay, thanks for the extra info!
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

infectedm


Kyzrati

Well, then, it's certainly not just in the scan window UI code. It's probably still just a visual thing though, rather than an actual miscalculation in the hit chance. (In other words, even with 567% you probably still missed, right? :P)
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

infectedm

Actually I killed both guys with single shots... But that was only luck I guess. I did miss the one from the first screenshot, though.

Kyzrati

I haven't searched yet but this could be one bug that might be difficult to track down. If it's repeatable via a save, exit, and continue, I'd appreciate if you could upload the /user/save.bin file. That way I could find it much more quickly.

Not necessary, but you seem to be encountering these a lot and I've never seen them before :)
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

biomatter

I've got a screenshot to throw on the pile too. Took this one earlier today. Next time I'll try to save/exit for you.

Kyzrati

No need for more data on this issue--this and all other reported bugs have already been solved for the next release. Turns out this was a case of the map popups and scan window neglecting to cap the displayed percentage as they should. Weapon-specific values and internal calculations are both capped as intended, and in the next release all values are correctly shown.

So technically you really did have a calculated hit% of 539%, infectedm :P
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

infectedm

Wow :D Just out of interest: what can cause such an influence on the hit chance?


Kyzrati

It was probably a confluence of factors, since when you stack all the potential benefits that are rolled into the hit chance (as listed in the manual and here), it can get pretty high.

However, the calculations for something like biomatter's screenshot add up better, while in your case it seems like it could only be caused by an uncapped modifier, the only one being defender heat. So somehow that target was massively overheating? It does look kinda suspect and could use further exploration...
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon