case Jumps.Dancify: { Vector2 centre = (lastPosition + targetPosition) / 2f; float cursor; double rotate = 180.0; float num = (float)Cursor.Position.X; float num2 = (float)Cursor.Position.Y; num = (num + 170f) / 512f; num2 = (num2 + 55f) / 384f; double num9 = Math.Abs(Math.Sqrt(Math.Pow((double)(num), 2.0) + Math.Pow((double)(num2), 2.0)) / 2.0); float chrnum2 = 1f; int chrnum1 = (int)num + (int)(num) / 2; int num14 = (int)num2 + (int)(num2) / 2; double num15 = (Math.Atan2((double)num2, 0.0) - Math.Atan2((double)(num2), (double)(num))) * 180.0 / 3.1415926535897931 + 90.0; double idk = Math.Abs((float)Math.Sqrt(Math.Pow((double)(num), 2.0) + Math.Pow((double)(num2), 2.0)) / 2.0); cursor = (num13 + ((float)num9 * Math.Cos((rotate * chrnum2 - num15) / 180.0 * (float)3.1415926535897931)), num14 - ((float)num9 * Math.Sin((rotate * num12 - num15 + 180.0) / 180.0 * (float)3.1415926535897931))); for (float num16 = lastFrame.time + frameDelay; num16 < h.StartTime; num16 += frameDelay) { Vector2 vector6 = flag ? OsuMathHelper.CirclePoint(centre, cursor, OsuMathHelper.CircleTAt(lastPosition, centre) + ((num12 - num16) / (num13 / 3.14159274f))) : OsuMathHelper.CirclePoint(centre, cursor, OsuMathHelper.CircleTAt(lastPosition, centre) + (double)((num16 - num12) / (num13 / 3.14159274f))); RulesetOsu.AddFrameToReplay(replay, new bReplayFrame((int)num16, vector6.X, vector6.Y, lastFrame.buttonState)); } } break; 
  • | This line gives an error | cursor = (num13 + ((float) num9 * Math.Cos ((rotate * chrnum2 - num15) / 180.0 * (float) 3.1415926535897931))), num14 - ((float) num9 * Math.Sin ((rotate * num12 - num15 + 180.0) / 180.0 * (float) 3.1415926535897931))); - Cherry
  • what happens in this line? - Grundy
  • cursor movement, I just don't understand exactly where the error is - Cherry
  • What do you understand by this? - Grundy
  • 2
    the main problem is that in this line you get the expression a = (b,c) , but it should have been a = b . - Grundy

0