Fake data for "Get Best Scores"

General questions regarding the basic gameplaying software that don't fit elsewhere in this subforum

Fake data for "Get Best Scores"

Postby Diego Cerdán » Sun Aug 04, 2013 4:39 am

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.
User avatar
Diego Cerdán
 
Posts: 19
Joined: Sat May 04, 2013 2:57 am
Location: Freiburg, Germany

Re: Fake data for "Get Best Scores"

Postby Mike » Sun Aug 04, 2013 5:01 am

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
User avatar
Mike
 
Posts: 3
Joined: Sat Aug 03, 2013 4:20 am

Re: Fake data for "Get Best Scores"

Postby Jochen » Sun Aug 04, 2013 1:59 pm

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
User avatar
Jochen
 
Posts: 86
Joined: Tue Mar 19, 2013 10:36 pm
Location: Canberra, Australia

Re: Fake data for "Get Best Scores"

Postby Diego Cerdán » Sun Aug 04, 2013 2:46 pm

Thanks for the test server. :-)
User avatar
Diego Cerdán
 
Posts: 19
Joined: Sat May 04, 2013 2:57 am
Location: Freiburg, Germany

Re: Fake data for "Get Best Scores"

Postby Diego Cerdán » Mon Aug 05, 2013 12:59 am

Thanks again for the test server. Using it I found that my code was broken.

Long life to bug-driven development! :P
User avatar
Diego Cerdán
 
Posts: 19
Joined: Sat May 04, 2013 2:57 am
Location: Freiburg, Germany


Return to Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron