When your game starts the player pointer is not valid and hence accessing player.skill4 will give you the crash. Change your panels to work with global variables instead.


Always learn from history, to be sure you make the same mistakes again...