Changeset 439f7bc in network-game for client/Client/main.cpp
- Timestamp:
- Nov 29, 2012, 7:17:44 PM (12 years ago)
- Branches:
- master
- Children:
- 87b3ee2
- Parents:
- 371ce29
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client/Client/main.cpp
r371ce29 r439f7bc 207 207 case STATE_START: 208 208 { 209 msgTo.type = MSG_TYPE_LOGIN;210 209 username = input; 210 strcpy(msgTo.buffer+input.size()+1, "MyPassword"); 211 msgTo.type = MSG_TYPE_REGISTER; 212 //msgTo.type = MSG_TYPE_LOGIN; 211 213 212 214 sendMessage(&msgTo, sock, &server); … … 370 372 chatConsole.addLine(response); 371 373 374 /* 372 375 if (response.compare("Player has already logged in.") == 0) 373 376 { … … 380 383 state = STATE_LOGIN; 381 384 } 385 */ 382 386 383 387 break;
Note:
See TracChangeset
for help on using the changeset viewer.