Secure High Scores...impossible?
So ive been wanting to take some of my online flash games and create high score lists but im starting to think its impossible to have it be reasonably secure.
using php GET stuff is obviously ridiculous.
conversly, id like to know if POST variables to a script on my server are easily spoofed. If so, is there anyway to validate that these variables are indeed coming from my site and flash file?
Any advice? Thanks!
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 02-24-2006, 08:44 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Secure Hi-Scores
Is there any way to make highscores coming from a flash game to php secure?
What i've learned so far is that is totally impossible.
High-scores
Has anybody got an actionscript and cgi-script I can use to keep track of high-scores? I made a shooting-game, but like to add a hall of fame.
High Scores
Could someone please send me a tutorial on how to make a high score list that doesn't use PHP? thanks!
High Scores
Hi i have found this GAME on flashkit and have edited it to my specifications etc. but i want to know how i can add an online high score tabele for the game. I want the table to show the top 50 high scores at the game, how can i do this?
High Scores Help
I need serious help with a high scores list. I know I may need to use PHP scripting and stuff involving MySQL, and as much as possible I don't want to pay for anything at all. (I think http://www.hostultra.com is free and supports PHP) I also don't get how MySQL is involved with high scores. I did found this tutorial on Flash Kit (Glen Rhodes) for the PHP scripting, but I don't know how to do all of this. I have totally no clue whatsoever. Do I have to install Apache or whatever to do this high scores board? Thanks for any help in advance.
(I'll post again tomorrow if no one replies. Lol.)
High Scores Help
Hi.
It would put a big smile on my face if someone could direct me towards an As3 tutorial that explains how to make a simple High-Scores function for a flash game.
a BIG smile.
thanks,
-kenny
High Scores
can anyone point me to a nice simple highscore board script?
High Scores
can anyone help me with high scores?
i just wanted to know if it was possible to make a high score list in my game (e.g top ten scores) just using just flash program.
so.......
is that possible???
thanks a bunch.
-- kate
Offline High Scores
Can anybody help me? I'm not sure if it can be done, but I have a flash game that creates a high-score via a PHP script sent to the server, where the high scores are displayed on a HTML document. However the game is going to be displayed on a standalone computer with no internet access. As the game will be played all day and not shut down at all, is it possible to create a high score table within the flash game itself? I would want to display the players score, email, name and company, which i dont think is difficult. Where I come undone is in the creation of the array to hold the scores in, where its location should be, and how it is updated to show new high scores. If anybody can help, or give me any clues as to how to go about this, I would be extremely grateful and have already removed my right kidney to donate. Cheers!!
Refresh High Scores?
I wrote some ASP that reads info from a database and prints a string of variables that Flash can import.
So I can now use loadVariables and point it to the ASP page and it returns variables (high scores) that I can display in Flash.
Problem is, though, the only way I can see any changes I make to the database is by actually going to the ASP page in my browser and pressing Refresh. Otherwise it just displays the last scores (because of Cache, I'm assuming).
Does anyone have any ideas of how I could force the ASP to get the new ones every time instead of being cached? Either some code I could put into the ASP page itself, JavaScript in the page that contains my game, or in ActionScript?
Any help is greatly appreciated.
-- Brad
SharedObject And High Scores
I have a game that i want to use SharedObject(s) to save high scores.
What is the easiest way to test to see if there is any scores saved on the computer, and load them accordingly, and save over them and all that neat stuff?
I also need it to be such that if there is no saved object on the computer, it has to tell if there is or isnt, and if there isnt it has to fill in some text boxes, but not refill them in everytime
Thanx Much
[F8] PHP High Scores List
I want to make a high scores list, somewhat like this one, (You might get a pop-up) using php and/or MySQL. In other words, allowing flash to give and recieve variables on the high-score list.
I serched Flashkit, and I used google, but I couldn't find a decent tutorial. If you cannot answer the question, then at least please point me to a good tutorial.
Internal High Scores (without PHP/SQL/XML), How To?
Hello people, I've searched all over internet and this forum to find a piece of code that creates a high score list of say, the 10 best scores for a Flash game, and stores it inside the .fla. (Is this even possible?)
All I found was the following file:
http://www.nettrek.de/download/highscoreMitFlash.html
(source fla http://www.nettrek.de/download/highscoreMitFlash.zip)
But when I try to ctrl-enter it from Flash 8, the program hangs and the swf just won't open...
I'm aware of the fact it'd be much handier via PHP and a MySQL database, but I'm making a game for a contest in which it isn't allowed to use any additional files (also no txt files) next to the main game swf Hopefully someone can help me out!
Cont HIGH SCORES Help
okay okay.. here's the prob I'm faced with really..
I have a game.. and then I have a website in geocities.. if I use PHP to host my high scores how do I go about it??? How does it work that when somebody plays it the high scores get retrieved from my geocities site? My server can host PHP.. can somebody explain to me in layman's terms how it works exactly???
Would appreciate it.. it seems dumb to say this but I'm up to my neck on this trying to understand this..
Thanks again.
-- Kate
Saving High Scores To Server
hey
does anyone know how to save highscores to a mySQL database?
i'm specificlaly looking for a php script to save the score to the mySQL database
anyone know how?
How To Create A File Of High Scores
Hi,
How can i create a file with high scores using flash.
For example : thre is some text filed in a movie where the user will inter his name , how can i write this data to external file ( open an existing one or create a new one ) ?
Thank you.
eldar52
Creating A High Scores Screen... Uh-oh
I think I have, officially, entered the "way, WAY over my head" section of Flash programming with my current absurd goal: I want to create an interactive high scores screen for my game.
I don't even need to know the code right now, I want to try to get that myself, all I want to know is if what I'm planning is even POSSIBLE with Flash.
Basically, I "plan" to do it like so:
1. There is a "theScore" variable that keeps score during the game.
2. Then, there is a .txt file on my website that contains the five highest scores, and the names of the people who got them.
3. When the game ends, Flash checks if "theScore" is greater than any of the top five scores in the .txt file.
4. If theScore is greater, then Flash compares it to the others, ranks it 1,2,3,4, or 5 depending on how much better it is, and then removes the obsolete scores and rearranges the numbers so they are in the correct order.
5. If Flash discovered that the user got a high score, the user is then prompted to type in their name, which is written to the .txt file also.
6. There is then a separate screen where the results of this .txt-Flash intercourse are displayed in a nice high score screen with fancy happy fonts that please the viewer.
Okay, now be very blunt:
1. Is this a fantasy that would require way, way too much complex code and/or programming experience for me to handle? (I think from my other posts you have an idea of my AS skills )
2. Is this even feasible with Flash? Would I need to start messing with PHP? How do I even mesh Flash and PHP? Ahhhhh!
feeling overwhelmed,
- wobbly
How To Keep Track Of High Scores In Games?
I created some weak games: http://mattr0x.com/games/ and was wondering how i could insert a high scores table that people could enter their names into to show the top 10 scores. Someone said i should use an actionscript to link the sprite im using that keeps track of the scores. How do i do this? Thanks. (I use SWiSH).
High Scores Made Easy
Hi,
does anyone know where I can find an open source file for a high score board.
I need to add one to a pacman style game that I have set up.
I also need to add some extra fields to enter data into aswell as the name and score to be displayed.
Can anyone point me in the right direction please?
Diggz
Neave Pacman & High Scores
Hi all,
I recently bought the "Designing Games with Flash MX" book by Mr. Neave and it came with a Pacman game. I'm trying to get it to save high scores and have been unsuccessful. www.neave.com addresses this but it seems to be for a newer version .fla of the Pacman game and not the one that came with the book. What's more, it can't be downloaded from www.neave.com for some reason.
So, I'm wondering if anyone has implemented the high score functionality with the book version of his Pacman or if they have the newer .fla that he refers to on his site.
My server runs asp.net and PHP. The book version came with a PHP script. If anyone can help me out I would appreciate it. Thanks!
[MX04] Flash High Scores.
so i want to save the highscores in the flash document so anyone can view them. (like a normal game) Is there an easy way to do it? Do i need PHP? My website actully has php suport..if i knew how to use it.
Help Make High Scores On My Game?
Hi, i have seen flash games that saves .sol files for flash containing a high score or a saved game.
Can someone add a high score to this game that i made and explain how you did it please ?
High Scores On My Internet Game
I've been scouring the web for days now trying to locate an answer to this question. Is there a way for a meager beginner like myself to put a High Score onto my flash game on my web site so that it would save to a text file? I'm quite familiar with variables, so I'd like two variables to be saved. The high scorer's 3 letter initials (I'll have them pick the three initials from the on screen alphabet, just like the old games) and their score, a variable generated by my game.
Then obviously the next time they log onto the game, they'd see their initials until someone took their top ten spot.
Any help on this would be appreciated and I apologize in advance for being such a novice.
SHORT High Scores List Question
I have a game that saves the high scores to the local host. When i put this on to a server and on the web where will it save? OR will it even work
Storing High Scores With MySQL Database In AS2
I'm creating a game in Flash 8 and I want to store the 10 highest scores in a MySQL database, and make the queries with PHP. Does anyone know of a tutorial that exists or can anyone at least point me in the right direction? Thanks!
Loading High Scores From An ASP File (refresh Problem)
I am finishing up a game where high scores are recorded into a database. I have everything working (the reading, displaying, and recording of the scores), except I'm running into a refresh problem with the scores..
When you first enter the game, the high scores are displayed (top 10). Then you enter your name and begin playing.. after your game is over, your score is recorded to the database, and then the scores are shown again (theoretically, so you can see where you ranked with your score that game).
However, the scores do not refresh. Even if you get a high score, the scores shown after your game are not recent, they are the ones that you saw at the beginning of the game. This happens forever (every time you retry playing) until you refresh the whole movie.
I'm loading the variables from the ASP file (which formats them correctly into pairs using = and &) using the following command:
LoadVariablesNum ("http://www.myserver.com/getScores.asp?game=GameName", 0);
I have 2 dynamic text boxes for each score (10) - one for the player's name, and one for their corresponding score. So, as soon as the LoadVariablesNum command gets the values, it is automatically displayed in the input boxes.
Hopefully I explained this well.. if not lemme know
Urgent How To Secure High Score
hi
i m woundering if someone could help me. I need to secure the high score system so people can't send new high scores by themself without playing to the MySQL table on the server.
cause people have just to put an url with this form: www.lotsofgame.com/scores.php/game= score=.......
i need to block that problem as soon as possible
thanks
Preventing Hackers Adding High Scores To Flash Game
Hey everyone,
Here's a question which has been bugging me. I've written a simple Flash game, available via my website which anyone can play just by going to the page - without having to log in or anything.
The game has a simple "top 10" high scores, which functions very simply: when finishing a game, the score is sent to a PHP script which returns a "yay" or "nay" to determine whether it should be on the high score board. If so, itadds the score.
My question is: is there *any* way to make this process secure?? I can't think of a solution that would prevent someone like me just spoofing the HTTP request, saying the "referrer" script was the same URL and thus hacking into it to get a high score. I've seen a number of Flash games out there that have ridiculously high scores - which have been clearly hacked.
Anyone know of any solutions...? 'cause I'm sure stumped.
Super Secure Flash Container Secure U'r Artwork
so what are suggestions to secure an artwork inside the flash clip?!
I know there are several programs that can retrieve fla out of .swf files, is there cure for that?
suppose I have a web page, selling artwork...the way to get max protection?
1) I think it would be good to disable print screen button!
2) A way to "blind" print screen programs...
3) Protect against import
4) disable ctrl+p keys
...
other suggestions? if any post here please, and yeh if u have any cure for the staff written above, please tell us!
Downloading Non-secure Content From A Secure We...
Okay, my new question is, I use SSL on my personal website. Apparently, my Flash 7 files generate a prompt in Microsoft Internet Explorer that asks if someone wants to download the non-secure items. To my knowledge, HTML isn't any more secure than Flash 7 stuff, but the problem doesn't happen when viewing simple HTML files. Can anyone tell me what might be causing Microsoft Internet Explorer to generate this dialog box with my Flash 7 files when viewing them over SSL?
No, I have not tried any other Internet browsers yet.
Thanks!
Flash Causing "page Contains Secure And Non-secure Items..."
Hi All,
I have a flash menu on my web store .php pages and am getting a "this page contains secure and non-secure items..." in IE7 in Vista. I think this is because of the Flash menus, but thought I had taken care of this by making the codebase embedding to "https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
Any suggestions on how to deal with this?
Thanks, Scott
Secure Vs Non-Secure Items
I have an .swf file as part of a template for a secure page. It seems to be working fine, however, I always get an error that secure and non-secure itmes are contained on the page. All file references for the .swf and external images are referenced from the secure folder - that's how I know it works. Am I missing something in the OBJECT or EMBED tags that the .swf is looking for?? I'm clueless on this ...
thanks
Scores
I'm currently makin a game where you can shoot the baddies and they die (well, duh), but i don't know how to have a score at the end that tells you how many poeople you've killed in the game.
TOP 10 Scores
Howdy!
'Fraid what I'm trying to do is quite difficult, was wondering if someone would be so kind to help me, look at this:
http://www.vetdesigner.it/501-Darts.swf
Is it possible (having the FLA of course) to add a top 10 scores list at the end? Matching each score with a name the user entered?
Hope this makes sense, sorry people, English is not my first language. Anyway if you think that is actually possible and you know how to make it will you please PM me? You'll get full credits for that. Cheers! Silvia
About Scores
Hi, I'm very new to actionscript but i still know a few things.
I'm having problem with my scoring. Everytime my creature contacts the apple, the score goes up. But as it is eating the apple, i made the apple _visible = false upon contact. And since the apple is actually still there, what can I do to avoid adding more points once the apple has disappeared?
onClipEvent(enterFrame)
{
if ( this.hitTest(_root.poring) )
{
_root.apple._visible = false;
_root.myscore = _root.myscore + 1;
}
}
HI-SCORES - How To Refresh ?
Ok ! here's the problem :
I have on my site some online games - the users of the site are playing quiet often and i have decided to put an hi-score keeper ...
Basicly, it gets the "score" variable from a TXT file, compare them to the new score, and if the new score is better, send the "score" variable to a php page that will re-write the txt file !
in a different frame, i have a hi-score reader that "reads" the hi-score txt file, and refresh it ( reading a refresh txt file with dummies values in it ) and then read the "hiscores" and so on ..
All of this works fine ( the writing of the new score...) except that my Flash file doesn't refresh the TXT file : it keeps loading the values the txt file had when it first loaded it, even if those values had been modified !?!?!? I have to erase the internet temporary files and reload the page for it to read the new values !!!! which is not that great for an hi-score system !!!
Does someone have the solution ??? ( i tried calling the TXT with the ?+number trick but it's not working ! )
Please !!! Help !!!
Thanks !
Dragging And Scores
hi there,
i'm working on a game and it's pretty simple but i can't get it to work... it's basically matching things. the drag and dropping is working so far. the next step is to check if the dragged item is correct or not, and that would add or take points from a score.
i've tried with hitTest but all i get is frustration... please help!!
thanks!
risita
Continuing With Scores
Hi there,
I'm using flash mx and created a multi level shooting game. I understand the scripts to generate points per kill with the "bad guys", but how do I set it so the point total continues with each new level instead of reseting back to 0? Thanks.
Send Scores
Could anyone tell me how to send two variables (username/score) from flash to php without it opening up a browser and having the variables visibly appear,
so they can't keep sending the score.
i don't need it like ultra secure but just enough so most people wouldn't know how to change their score.
i might send neopets an email and ask them how they do it
Increasing Scores
Hi everyone,
I'm currently trying to develop a pong style game in which when the ball hits the net the score increases by one in a dynamic text field. I have managed to get the score to increase but it is increasing as soon as the frame in entered opposed to when the ball actually hits the goal.
This is the code i am currently using:
Code:
if(Pong_Game_Ball, hitTest(goal1)){
trace("message");
score +=1;
}
Can anyone offer me any advice on this
Thanks
Adding Scores
hi guys,
I am buillding a small quiz which has a score. When the user selects the correct button it shoud add 1 to the score, however, this only seems to work on the first frame! Could someone kindly have a look and advise where I'm going wrong! I'm sure it's something simple but I am not that advanced with AS!
Many thanks in advance!
Email Scores
Hi all... I hope someone can help me!!
I have created an Xmas invitation which has a small game in it!! Bit of a promotional thing to get people interested. The gimmick behind it is that whoever scores the highest score we will give a prize to in our xmas party!! Kinda fun.
What I want to do is one of 2 things...
1. Send a screenshot of the page as an email attachment - I can' t see any way to do this, it would be good, but I have no idea how I could do this ... If anyone knows how to do it can they PLEASE HELP??
or
2. Send an email wth the score in the subject line. This I have done, and it works fine on some PC's, however on some other pc's the subject line is blank...
For the second option all I have used is the following function:
getURL("mailto:emailaddress@domain.com?subject=High Score: "+_root.score+"&body=GOOD LUCK! To submit your high score, please click Send button from within this email window. We look forward to seeing you at the Christmas Breakfast.","_blank");
Like I said the email works on lots of PC's, however lots of PC's it will not work.
I have also encountered issues with LotusNotes, not allowing any emails to be launched from IE (or any other web browser).
If anyone can help and suggest any other methods to send a score back to an email address without using server technology that would be great!!
I am about to tear my hair clean from my head!! PLEASE HELP!!
Regards,
Duncan
Game Scores?
hey everyone!
I'm trying to make a flash game, but I want to get a little counter that keeps track of your score, and I've never tried scores before. I've got a dynamic text box for it but I'm not really sure how to do the actual score-keeping. also, I have replaced the mouse pointer with a cross-hair, so i don't want the bleeding text input mouse icon to come up on top of it. how can I stop that happening?
Collision Detection And Scores
I'm making a game that has collision detection, and also calculates a score. When the two objects meet, it increases the score by 10 points. But if the objects miss, then I want it to subtract 5. Heres the code that I have for adding 10 points. If someone could help, it would be greatly appriciated! I can't seem to get it to subtract 5 when it misses.
onClipEvent (enterFrame) {
if (this.hitTest(_root.gaston)) {
_root.score += 10;
}
}
Scores, Scoring And Highscore
First and foremost, this was posted for a friend that needs helps
I have a big problem. I'm making a skateboarding game and the score code that im using is not working. So far i've been doing this:
First frame, i have this:
code:
-------------------------------------------------------
score = 0;
------------------------------------------------------------
Button script:
code:
-------------------------------------------------------
on (release) {
score += 100;
}
------------------------------------------------------------
This works perfectly for when the button is on the main timeline. I can
set the button on release and with the press of enter. ALTHOUGH, this is
where i have trouble:
For my game, I make it so there is an action on the skater mc (SPACE key makes
him ollie). In the olling animation, his skateboard is an mc with several different buttons
on it. Each button is set to make him do a different trick with the press of a different
button. In other words, the key for doing a kickflip is only active when the skater
is in the air ollieing. This is perfect for doing different tricks but not for score. For some
reason, when a put the above action for scoring on the kickflip button, it does nothing to the score
text when you click the key. I don't know if this is because the kickflip button is inside several
mc's or what. I really badly want to make it so everytime the skater kickflips, the score goes up a bit.
Please help.
If you have any idea what im talking about and might have an idea of how to fix it, please help me,
it's very important. If you figure it out, ill put your name in the credits.
thanks
Jason
PS. If anybody know about how to make a highscore list. Please tell me also
Scores, Scoring And Highscore
First and foremost, this was posted for a friend that needs helps
I have a big problem. I'm making a skateboarding game and the score code that im using is not working. So far i've been doing this:
First frame, i have this:
code:-------------------------------------------------------
score = 0;
------------------------------------------------------------
Button script:
code:-------------------------------------------------------
on (release) {
score += 100;
}
------------------------------------------------------------
This works perfectly for when the button is on the main timeline. I can
set the button on release and with the press of enter. ALTHOUGH, this is
where i have trouble:
For my game, I make it so there is an action on the skater mc (SPACE key makes
him ollie). In the olling animation, his skateboard is an mc with several different buttons
on it. Each button is set to make him do a different trick with the press of a different
button. In other words, the key for doing a kickflip is only active when the skater
is in the air ollieing. This is perfect for doing different tricks but not for score. For some
reason, when a put the above action for scoring on the kickflip button, it does nothing to the score
text when you click the key. I don't know if this is because the kickflip button is inside several
mc's or what. I really badly want to make it so everytime the skater kickflips, the score goes up a bit.
Please help.
If you have any idea what im talking about and might have an idea of how to fix it, please help me,
it's very important. If you figure it out, ill put your name in the credits.
thanks
Jason
PS. If anybody know about how to make a highscore list. Please tell me also
How Do I Count The Scores Using Actionscript
anyone can help me in actionscript?
how do i count the score in a quiz?
For every multiple choice question, how do i use the actionscript such that at the end of the quiz, the scores are shown.
Urgent
|