-
ini++
i can not get the load global values to work no mater ****ing what.
i have seen all tutorials and none of them has helped me.
i have had this problem ever since January.
I have used the example from nivrhams website.
it works for his.
i do the EXACT same code but replace the condions with Start of frame
and it wont work
-
Re: ini++
That sounds interesting. Could you please upload the mfa file?
-
Re: ini++
i would love to.
here it is
http://www.mediafire.com/?sharekey=fc56faa2f558a16667cd7f7bd65f7eefe04e75f6 e8ebb871
All other loading works perfectly.
-
Re: ini++
Basically this is what i am trying to do
1.Player clicks on load file. Frame jumps to "Campsite", and loads the ini
2.Put all global values that were saved in ini++ into mmf2's global values
3.If user saves, save data.
4.If user wants to load something, load data
The problem is step 2
It always crashes.
If the user exits out of the application, i want to be able to retrieve values from the ini
-
Re: ini++
I'm pretty sure I read somewhere not to use data from Ini's on start of frames... I really don't remember but I had some problems with the ini using start of frames to save/load for sure... try instead having the start of frame do something and the next event test for that thing to be done and then save/load or something. I don't have time right now to test...
-
Re: ini++
ok i will give that a try.
also when i do load ini, it doesnt seem to work
-
Re: ini++
didnt work.
apparently, it only happens when it is my ini
-
Re: ini++
I know why it crashes when you close it.
Under saving and loading where you have:
Load = "Yes"
OR
New_File="No"
It is continually running this action every mmf loop. Every mmf loop you are telling the program to load data from the ini. When you close the app it is still trying to load and therefore crashes.
Add "Only one action when event loops" to the top of this condition. It would also be a good idea to add the action: "Set Load to "blank"" and "Set New_File to "blank"".
Are there any other problems?
-
Re: ini++
still doesnt work!!!
also it is not just crashing when i load it, it crashes whenever i load the global values
even if i add the code
upon pressing enter
save global values from group "global values"
it is URGENT that i fix this problem
the must be completed of wednsday of next week, and i cant go any further until i can save!!!
-
Re: ini++
The only thing I had to do to load the global values was to retrieve them from the group "Global Values" instead of "gv". Then of course, it's a good idea to not load the file on every frame, but it works even if you do not fix that.
Make sure you have the latest version of Ini++