Cannot open 'players\mattzz.sav': file is in use.
Could that be something on my computer or in game?
ID:170611
Jan 3 2005, 11:17 am
|
|
At certain random times, if people try to load or save their game in my game it gives me a runtime error about the save file being in use and it fails to load or save. An example of one is simple...
Cannot open 'players\mattzz.sav': file is in use. Could that be something on my computer or in game? |
Jan 3 2005, 11:41 am
|
|
its some coding in the game somewhere... dont know exactly what it is or why it does it but it did it on a game i used to host as well.
|
Is that message produced with any other information? If so, showing it may help with your problem. Also make sure you are not trying to edit it, or access it with any other program when you are saving. If you have anything open to link to the .sav files (Folders,Dream Maker) close that before trying and see if that works. Basically, its IN use somewhere so its being accessed somehow else.
|
In response to XxDohxX
|
|
It pointed to a the first line of my login proc, usr.invisibility=0 for awhile then stopped. I closed out of Dream Maker when I host now and it hasn't come back but it's too early to know it won't for sure.
|
You might find savefile.Lock() and Unlock() useful for escaping this dilemma. With them you can control exactly when a file can be accessed.
Lummox JR |
In response to Lummox JR
|
|
After reading about it in the BYOND help thing, I'm a little confused on how to use Lock() and Unlock(). Can you explain it a little?
|