You cant make an illegal move.
rules about illegal moves


If they didn't notice until multiple moves after, then you go with the illegal move. There was a GM game where one player castled twice, they discovered afterwards so it was just a part of the game. It's up to the players to notice in time, if they don't the illegal move doesn't get reversed they play on. Depending on the situation, that's generally what happens.

Was it blitz or classical? Was it a FIDE event or run by the local Chess Federation?


If I remember right, by USCF rules you have 10 moves to catch a mistake in play and can correct it. The game resumes at the move where the mistake was corrected. If it is not caught with in 10 moves then the move stands and the game is completed. FIDE rules are more strict. If a mistake is noticed on any move during the continuing of the game. It must be corrected and replayed from that point forward.

What if: i promote pawn into queen in the wrong square so it will not be captured but my opponent captures it anyways. So it makes my opponent move illegal.
Then i call the arbiter for complaint.
wrong square as in?
I don't exactly get you

What if: i promote pawn into queen in the wrong square so it will not be captured but my opponent captures it anyways. So it makes my opponent move illegal.
Then i call the arbiter for complaint.
wrong square as in?
I don't exactly get you
Visualize this. White has queen and pawn, Black has pawn about to promote. Black to move. Let's say: 1....d8=Q 2. QxQ this is legal moves and white will win because of extra pawn about to promote queen also. But in the game, black intentionally promote to wrong square, e8=Q so it will not be captured. But white captures it anyways and placing queen to d8. Then black calls arbiter for illegal move. White reasons black makes illegal move first.
What if: i promote pawn into queen in the wrong square so it will not be captured but my opponent captures it anyways. So it makes my opponent move illegal.
Then i call the arbiter for complaint.