Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Variable problems
From: Robbert - Jan
Date: Sat, 29 Apr 2000 17:55:41 +0100

Set the highscore variables to nothing after the player submitted his/her
highscore and before the upodated variables are being loaded.

set variable "highscore1" = " "
set variable "highscore2" = " "
etc.

maybe this will work,
Robbert-Jan

----- Original Message -----
From: "Paul Steven" <p [dot] stevenatbtinternet [dot] com>
To: "Flasher" <flasheratchinwag [dot] com>
Sent: Saturday, April 29, 2000 5:05 PM
Subject: FLASH: Variable problems


> Hi all
>
> I am having problems updating variables!
>
> Basically I have a game that displays the top ten high scores at the
> beginning of the game - it reads these from a text file on a server
>
> i.e Load Variables "http://www.clubinlondon.co.uk/cgi/fscores.txt"
>
> This works fine and loads the correct variables in at the start of the
game.
>
> After playing the user submits their score and if it is high enough it
> becomes one of the top ten scores - i use a simple perl script to write
the
> new set of ten scores to the text file on the server. This also works
fine.
>
> After submitting your score you are returned to the highscore table - the
> problem is here - even though it is now supposed to be reading in the high
> scores (updated) again it still just displays the original top ten scores
> that appeared before playing the game and hasn't been updated with the new
> score. It is almost as if it has cached the variable values.
>
> If I close down the browser and open up the game again - the new set of
high
> scores appears.
>
> If any of this makes sense and anyone can help - it would be much
> appreciated.
>
> Thanks
>
> Paul Steven
>
> http://www.clubinlondon.co.uk
>
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Get the last 100 messages from the flasher list NOW
> http://www.chinwag.com/flasher/last100.shtml
>
> Flash books http://www.chinwag.com/flasher/books.shtml
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
>


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Variable problems, Paul Steven

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]