-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Green Lifter (Claw Guys) Faster in DOS than in Rebirth #247
Comments
Was this correct in |
Yes, it was correct. |
I've realized this is also true of other robots as well. Either the ship is moving faster, or the robots are moving slower. (This seems to be the case across all difficulty levels, but is the most apparent on Hotshot and above). |
This happened sometime after commit 93888b4 (A build made at that commit is still correct). The more I compare, the more I don't think it's so much a max speed issue as much as a behavior issue. In older builds (and the original) they bots would constantly chase you, whereas now they seem to randomly slow down or become...disinterested. |
That is good news. That commit is only 1230 commits back from tip. Since our history is mostly linear, |
According to |
That is probably not the first bad commit. It should have no effect on the generated code, since it is just the choice between passing a pointer and a reference. However, that gives a good starting point for further analysis. |
I tried to do another git bisect, but I got a commit that was over 1,000 commits away from the one I posted above (e40172f). This seems like it's going to be tough to debug... :/ |
For completeness sake, here's how I'm testing: I fly into the main room on level 4 of D1 on insane. I then get a claw guy a ship length or so away from me where I can see him and fly backwards using only reverse, while turning in a circle and keeping away from the walls (this is about as difficult as it sounds :P ). In 0.58.1 I can do this as long as I want...I'll very VERY slowly creep further away from him, but he'll constantly chase me. In the latest code he'll randomly break to the inside of the circle and stop chasing me for a moment, making it much easier to escape. Also on Hotshot it seems as if their max speed is less in the current build than in 0.58.1. |
Haha! I found the commit: 2a19da8 I discovered it was MUCH easier to see the bug on Hotshot rather than on Insane, and this is the commit I got. It's actually from the same batch of commits as my first bisect (which was done with a much less reliable way of determining it), so I'm confident this is it. |
That fits. That commit accidentally changed the order of operations. Difficulty levels below Insane are affected more severely. |
Confirmed fixed. Closing. |
Based on how the values were handled, Ace (difficulty=3) would work correctly. Insane would be close, but not right. Lower difficulties would be more wrong, with Hotshot being the most affected. In the good build, we compute For Hotshot (difficulty=2): For Ace (difficulty=3): For Insane (difficulty=4): That is why it seemed more difficult to spot when using Insane. |
I tested this on D1 level 4 on Hotshot. In the original DOS flying backwards away from one of these bots without any sliding is BARELY enough to get away from them. In Rebirth, it's very easy to pull away while only using reverse with no sliding.
The text was updated successfully, but these errors were encountered: