|
|
|
|
Joined: Jan 2001
Posts: 4
Junior Member
|
|
Junior Member
Joined: Jan 2001
Posts: 4 |
i have a who want to be a millionaire script on my site. a file is created with it called IP which writes the IP number of everyone who plays so they cant play twice. The problem is that the scores keep resetting and i think it has something to do with the IP file. Is there any ch mod thing i can do to maybe prevent the resetting of the scores? The guy who made the script says it a problem and is trying to fix it but i wanted to experiment with trying to fix it. The reason i thought it may have to do with the IP file is because for everyone who plays it writes their ip then score and somehow the list keep resetting every once in a while. The guy who made it said that it had something to do with people playing at the same time and trying to write data to it. Well if anyone has any suggestions please tell me
|
|
|
|
|
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
|
|
P.I.T.A. / Programmer
Joined: Sep 2000
Posts: 755 |
Sounds like the file may be corrupting. Make sure you're locking the file when writing to it.
Also, if you are storing multiple IP's, make sure you are appending the file, not writing over it, as that will erase the previous data.
--mark
"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
|
|
|
|
|
Joined: Jan 2001
Posts: 4
Junior Member
|
|
Junior Member
Joined: Jan 2001
Posts: 4 |
|
|
|
|
|
Joined: Jan 2001
Posts: 4
Junior Member
|
|
Junior Member
Joined: Jan 2001
Posts: 4 |
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 253
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,957
Members13,826
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 1447
Topics Created 0
Posts Made 1
Users Online 2
Birthdays 27
|
|
|
|
|
|