I found the problem. I was copying a char* to another char*, so it was copying the pointer to another pointer. Therefore the pointer changed to that players name when he tried to join.
XD
fix...
Type: Posts; User: tvwenger
I found the problem. I was copying a char* to another char*, so it was copying the pointer to another pointer. Therefore the pointer changed to that players name when he tried to join.
XD
fix...
Right, I figured that and tried it also. I cleaned up the code a bit, but I don't know how much more I can change since I'm using Winsocks. I changed the == to strcmp() and still have the same...
Hey, so I'm writing a bot for IRC that plays blackjack. The first command is ?join which adds the player to the game. The problem is that, after (player 1) joins the game and (player 2) tries to...