| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		aaronsbw
 
 
  Joined: 27 May 04 Posts: 1
 
 
  | 
		
			
				 Posted: Fri Jun 05, 2009 12:16 pm    Post subject: Santiago bug. -1 Escudos = 65,000 escudos! | 
				     | 
			 
			
				
  | 
			 
			
				Please look at
 
www.spielbyweb.com/game.php?games_id=67791&action=auth
 
 
A player has over 65,000 escudos, which is obviously a bug.
 
 
I believe what happened on Round 9, is the Canal Overseer had 3 escudos, but was able to spend 4 escudos on building a canal of his choice.  He should not have been able to select this, and the game appears to have interpreted a value lower than 0 as the highest number it can conceive of. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Dobinator
 
 
  Joined: 18 Jul 07 Posts: 383
  Location: North Carolina, USA
  | 
		
			
				 Posted: Fri Jun 05, 2009 11:36 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| You know, we could get out of this recession a lot more quickly if our deficit were an unsigned int. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		JimF
 
 
  Joined: 02 Jun 05 Posts: 39
  Location: Banstead, Surrey
  | 
		
			
				 Posted: Wed Jun 17, 2009 6:37 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| this just happenned in our game too.  The CO had no money left but still managed to spend 4 escudos on a canal and now shows up as having 65,000 money !! | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		ats2630
 
  
  Joined: 05 Dec 06 Posts: 83
  Location: Grand Rapids MI USA
  | 
		
			
				 Posted: Wed Jun 17, 2009 7:31 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				An integer counter went negative. This shows up as a large positive number.
 
The code needs needs to have a test for negative numbers to prevent the strange notation. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		BalanceBlind
 
 
  Joined: 04 Oct 20 Posts: 16
 
 
  | 
		
			
				 Posted: Sun Oct 04, 2020 7:42 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| Yeah, it is a bug | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |