OK, I solved my problem with the score list not working when going to another frame then coming back. It turned out to be a wonderfully easy fix. All I had to do was add one event:
END OF FRAME: Set Global String-- server_status to "offline"
OK, I solved my problem with the score list not working when going to another frame then coming back. It turned out to be a wonderfully easy fix. All I had to do was add one event:
END OF FRAME: Set Global String-- server_status to "offline"
Is there any way to remove duplicates in the list? I don't want the same user populating the board, I just want to display the highest score for that particular user name.
Is there any way to get rid of duplicates? Say "Player 1" uploads 5 scores, can I just show his highest score without having to show all of the others?
Yes the easiest place to do that would be in the PHP scripts.
Check when a user submit a score if a score with that name already exists.
If it does and the new score is lower -- Do nothing
If it exists and the new score is higher -- Update record with new score value
If it doesn't exists enter the new score record
Thanks a bunch for this Sparckman! This is fantastic! If you care to see how I implemented this in my game, feel free to jump over to it Here:
https://www.mediafire.com/?zmz9od7v1bv8d5c
Control or Left mouse button Flaps the plane!
Hi Spärck,
I am about to launch my game these days and with so many tests I have database with junk ratings, is there any way to delete the data without creating a new database?
You could log into PHP myadmin and delete the records.
or just delete the database... it should auto create it for you..
(At least mine does... but not sure if that's in the original code.. since I modified it a lot)
Thanks Jeff!![]()