Unusual Saving Feature glitch
And by unusual i mean it just crashes upon loading the loading feature screen.
Here are the events for that frame:
1. IF: Start of Frame
ACT: Load Array from File Apppath$+"Dark Reality Saves"
*ACT: Set Counter to ValueatXY ("Array",1, 1)
2. IF: Upon Pressing ESC
ACT: Jump to Frame 4
3. IF: ("Frame Tracker") = 9
ACT: Set alterable string to "Apartment Building - My Apartment"
4. IF: ("Frame Tracker") = 18
ACT: Set alterable string to "Warehouse - Managers Office
The Frame Tracker is a counter object which tracks which room the player is in, and upon saving at a save point it sends that value to a cell in the array, then when the player returns to playing and loads his game at the load screen it will display which room he is in by looking at the string object.
For some odd reason no matter how many time i go to that frame it just crashes, the only way it doesn't crash is if i delete all events that control the Frame Tracker counter object.
I have no idea what is going on, the code seems pretty flawless to me. :(
Re: Unusual Saving Feature glitch
What settings do the array have? Might be a problem with 1/0 base or Value/String array...
Re: Unusual Saving Feature glitch
What do you mean by settings?
Re: Unusual Saving Feature glitch
Settings under Object Properties...
Re: Unusual Saving Feature glitch
Nope nothing wrong there.
Re: Unusual Saving Feature glitch
Is Apppath$+"Dark Reality Saves" a file or a folder? And if I'm not mistaken Apppath$ needs a "\" after to work properly.
Re: Unusual Saving Feature glitch
Its a file from what i can see.
Re: Unusual Saving Feature glitch
Output the path to a string and make sure that it is correct. If that's not the problem I have no Idea what might be wrong...
Re: Unusual Saving Feature glitch
Re: Unusual Saving Feature glitch
Quote:
Originally Posted by Werbad
And if I'm not mistaken Apppath$ needs a "\" after to work properly.
This has been debated Here. And yes it probably is the problem.
EDIT: Yay! Martin_Bodger used an appropriate subject name!