Page 1 of 1

Fake data for "Get Best Scores"

PostPosted: Sun Aug 04, 2013 4:39 am
by Diego Cerdán
Is there any way I can make the server provide fake data for the command "Get Best Scores"?

Would be good to test everything works fine.

Re: Fake data for "Get Best Scores"

PostPosted: Sun Aug 04, 2013 5:01 am
by Mike
Hello,

I think it's enough to manually set the values in the array you receive from the server, something like bestScores[0] = 30000;

I hope this helps you, good luck with the competition !

Mike

Re: Fake data for "Get Best Scores"

PostPosted: Sun Aug 04, 2013 1:59 pm
by Jochen
Hi Diego,

Gary added this and I just uploaded a test server that allows you to set the round and also to upload a high score file.
You can download it from https://aibirds.org/Software/AngryBirds/TestServer.zip

I hope this is what you were looking for.

Jochen

Re: Fake data for "Get Best Scores"

PostPosted: Sun Aug 04, 2013 2:46 pm
by Diego Cerdán
Thanks for the test server. :-)

Re: Fake data for "Get Best Scores"

PostPosted: Mon Aug 05, 2013 12:59 am
by Diego Cerdán
Thanks again for the test server. Using it I found that my code was broken.

Long life to bug-driven development! :P