MaBiWeb :: View topic - Debug Code ?
View previous topic :: View next topic
Author
Message
Elminster Joined: Mar 26, 2007 Posts: 12 Location: Belgium
Posted: Wed Jun 06, 2007 6:39 pm Post subject: Debug Code ?
I play a culture tile. I can add 12 token but only have 10 (so I have to choose where to put them).
As soon as I click 'culture', i get on top of the screen :
Quote: distrib_tiles: Array ( [Elminster] => Array ( [0] => Array ( [coords] => Array ( [0] => 3 [1] => 2 ) [num_tokens] => 2 ) [1] => Array ( [coords] => Array ( [0] => 3 [1] => 1 ) [num_tokens] => 1 ) [2] => Array ( [coords] => Array ( [0] => 2 [1] => 2 ) [num_tokens] => 1 ) [3] => Array ( [coords] => Array ( [0] => 4 [1] => 2 ) [num_tokens] => 2 ) [4] => Array ( [coords] => Array ( [0] => 4 [1] => 1 ) [num_tokens] => 2 ) [5] => Array ( [coords] => Array ( [0] => 5 [1] => 2 ) [num_tokens] => 2 ) [6] => Array ( [coords] => Array ( [0] => 5 [1] => 0 ) [num_tokens] => 1 ) [7] => Array ( [coords] => Array ( [0] => 5 [1] => 1 ) [num_tokens] => 1 ) ) )
distrib_players: Array ( [0] => Elminster )
and so on 10 times ... here is the last just in case :
Quote: distrib_tiles: Array ( [Elminster] => Array ( [4] => Array ( [coords] => Array ( [0] => 4 [1] => 1 ) [num_tokens] => 1 ) [6] => Array ( [coords] => Array ( [0] => 5 [1] => 0 ) [num_tokens] => 1 ) [7] => Array ( [coords] => Array ( [0] => 5 [1] => 1 ) [num_tokens] => 1 ) ) )
distrib_players: Array ( [0] => Elminster )
shifting distrib_players:
Array ( )
resetting out_of_turn
I imagine it is only a verbose to debug ... but anyway, it has to be removed some day ;-)
Otherwise, everything has worked perfectly on this turn.
Back to top
MaBi Site Admin Joined: Jan 01, 2006 Posts: 971 Location: Italy
Posted: Wed Jun 06, 2007 8:35 pm Post subject:
Oh yes, I had forgot to remove it, should be ok now, thanks!
Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Powered by phpBB © 2001, 2005 phpBB Group