Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AemStones, AndrewAMD, gamers, Kingware), 1,679 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Saving my game #330950
07/01/10 07:36
07/01/10 07:36
Joined: Mar 2009
Posts: 88
Walori Offline OP
Junior Member
Walori  Offline OP
Junior Member

Joined: Mar 2009
Posts: 88
Good day, I encountered a somewhat a serious problem few days ago while developing my project called "Save game - Load game". Didn't see any problem till I tried to load a game from different instance of the application and this gave me "few" error messages.

So, how can I save my defined structs so that when I load my game they don't give error messages (note, there are both global structs and structs inside structs)? If this can be done with Pvars please enlighten me about it, manual didn't make me any smarter...

regards

Re: Saving my game [Re: Walori] #330952
07/01/10 07:47
07/01/10 07:47
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
game_save/game_load needs you to make sure, that all Entities, Panels, Objects.. are the same at the loading state, and at the saved state..

That´s not possible in a normal game ( cause the entities and objects changes from map to map..)..

So.. i think you need to create your own Save/Load System..
perhaps with file_open_write/file_open_read ^^


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1