Project

General

Profile

Revision 763

Added by Greg Tress over 12 years ago

Testing changes in colonet

View differences:

trunk/code/projects/colonet/server/Command.cpp
178 178
int Command::parse_send_to_robot(int number_int_tokens, char tokens[MAX_TOKENS][MAX_TOKEN_SIZE], int pool_index) {
179 179
  unsigned char int_tokens[MAX_TOKENS], arguments[PACKET_DATA_LEN];
180 180

  
181
  /* GREG'S FILTHY HACK */
182
  /*   PLEASE REMOVE    */
183

  
184
  printf("Index 3 token: %s\n", tokens[3]);
185

  
186

  
187
  /* END OF HACK */
188

  
181 189
  memset(arguments, 1, PACKET_DATA_LEN);
182 190

  
183 191
  // Convert tokens to ints
trunk/code/projects/colonet/client/ColonetServerInterface.java
380 380
	*/
381 381
	public void sendRecharge (int id) {
382 382
	  sendData(RECHARGE + "", id + "");
383
	  System.out.println("Sent recharge command to ID " + id);
383 384
	}
384 385

  
385 386
    /**

Also available in: Unified diff