• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Systems] SaveLoad

Status
Not open for further replies.
JASS:
/**************************************
* I worked 6 hours today on SaveLoad system.
*
* How it works:
* - Save
* (will save progress data into game cache, just like campaign progress is saved)
* - Load
* (will load progress data from game cache, your player name must be the same)
* - Flush
* (will delete your progress data from game cache)
*
* Errors:
* - Game must be restarted, not just map itself to properly load data.
*
* Data handled so far:
* - Hero Class
* - Hero Attributes
* - Hero Experience
* - Hero Items
* - Hero Custom Stats (crit...)
* - Pet Class
* - Pet Attributes
* - Pet Experience
* - Pet Abilities
* - Pet Skill points
* - Pet Custom Stats (crit...)
* - Custom Inventory Data
* - Environment
* - Quests
* 
**************************************/
 
Last edited:
Because there is no need for it.
Also it's worth to mention that when using both load and later save in game, you run 100% of code created for this.
That isn't the case with public resources, because as usually there is over 50% useless and unneeded stuff that you don't need for specific problem.

Nes system is awesome indeed, but this here works just fine, it's much easier to code, and it's allowed only in Single Player mode.

I was sharing screen with Remixer last night and he saw how system works, with two simple commands "-save" and "-load" you do all the job. There is no need for any kind of code or anything.

I will add custom inventory stuff into SaveLoad today, and maybe finish it all before new week starts.

Custom Inventory Data added into Save Load system.
- System will save/load unequipped items.
- System will save/load equipped items.
- System will save/load ability items.

Multiboard Data added into Save Load system.
- Custom attributes will save/load.
 
Last edited:
Yeah, only bad thing right now is that if you want few different characters to play at same time, you need to change player name :)

But I may use key id in future.
So for example you could just write: -Save 1000 and then -Load 1000
With another character just -Save -40001 and then -Load -40001 and it will work.
Same for flush -Flush 1000, -Flush -40001 or even -Flush ALL
 
Level 13
Joined
Aug 4, 2012
Messages
1,022
I would like use my self made JASS, that was -Kobas- mean....
I like it, so every update we will not restarted the game....
And also, what you will do if we has going to chapter 2 and you edited completly chapter 1??
I mean:
QuestZ:
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
Quest completed:
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
Quest that you edited when the next update ( You edited the old quest that has we completed ):
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
What will you do??
 
Status
Not open for further replies.
Top