The problem is find_player() doesn't find a match because the argument you send to it is not actually a userid.
The whole vote count needs a rewrite. I can't really understand how the code works as it is. Try looking at some other plugins.
I can do a rewrite of the plugin this weekend if you want.