Scores in database are update sometimes with same function

Get help using Construct 2

Post » Thu Oct 08, 2015 8:38 pm

Hi!
I have a game that work with a database saving scores. I use AJAX to send request and update the scores to database, but i have a problem. The score only update sometimes, not all times in same conditions (same function).

Whats happens, server problem?, construct 2 problem?, ajax problem?.
I save the scores (send ajax request) when construct 2 sum a value a global variable score.

Any idea?


Image

Image

thanks
B
4
Posts: 50
Reputation: 290

Post » Fri Oct 09, 2015 7:44 am

seems only update when the game run for first time, bus when i lose and restart layour to new game, nos save score.
How can fix that?
B
4
Posts: 50
Reputation: 290


Return to How do I....?

Who is online

Users browsing this forum: ditocruz, uzumiapps and 31 guests