• 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.

[General] Save/load

Status
Not open for further replies.

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,219
There is. And it's annoyingly complicated. Basically you create a text file with a code, and when a player enters the code he/she gets the level/unit/items that is contained within the code. Normally it's encrypted to avoid abuse though.

Example:
-load yu6p 845jf 9980 jdu5 kfdi kd89 skid

The encryption is the hardest part in my opinion though.

edit: If you scroll down you'll find info on how to create a text file in this tutorial. http://www.hiveworkshop.com/forums/tutorial-submission-283/faq-wehz-228993/
 
The most popular one on this site for GUI users is the following -> http://www.hiveworkshop.com/forums/...0-2-a-177395/?prev=d=list&r=20&u=TriggerHappy

If you want to use something that produces even smaller code, you gotta go to vJASS =).

There is also a 100-part interactive tutorial on writing your own save/load systems.

There are also 2 codeless save/load systems. The good one needs to have the Network library be updated for much faster synchronization though. The codeless one also supports GUI : P, but once again, the Network library is way too slow in its current form, so it can't be used.

For security, the codeless ones use MD5 and AES-128. The non-codeless vJASS one uses Scrambler (dated, needs to be on AES-128) and Knuth Checksum. The GUI one I linked doesn't use any of that fancy stuff =).

A lot of people on the site know a lot about save/load, so if you're curious about improving the way your data is stored, let everyone know and we can show you the most awesome techniques ever to minimize the size of your code ; D.
 
Level 8
Joined
Nov 9, 2011
Messages
326
There is. And it's annoyingly complicated. Basically you create a text file with a code, and when a player enters the code he/she gets the level/unit/items that is contained within the code. Normally it's encrypted to avoid abuse though.

Example:
-load yu6p 845jf 9980 jdu5 kfdi kd89 skid

The encryption is the hardest part in my opinion though.

edit: If you scroll down you'll find info on how to create a text file in this tutorial. http://www.hiveworkshop.com/forums/tutorial-submission-283/faq-wehz-228993/

Thanks for the reply


The most popular one on this site for GUI users is the following -> http://www.hiveworkshop.com/forums/...0-2-a-177395/?prev=d=list&r=20&u=TriggerHappy

If you want to use something that produces even smaller code, you gotta go
to vJASS =).

There is also a 100-part interactive tutorial on writing your own save/load systems.

There are also 2 codeless save/load systems. The good one needs to have the Network library be updated for much faster synchronization though. The codeless one also supports GUI : P, but once again, the Network library is way too slow in its current form, so it can't be used.

For security, the codeless ones use MD5 and AES-128. The non-codeless vJASS one uses Scrambler (dated, needs to be on AES-128) and Knuth Checksum. The GUI one I linked doesn't use any of that fancy stuff =).

A lot of people on the site know a lot about save/load, so if you're curious about improving the way your data is stored, let everyone know and we can show you the most awesome techniques ever to minimize the size of your code ; D.

WEll i only need for level(also the amount of exp), items, spells, Type of hero, Talents(in my case researches of sort, ofc their lvl) and gold/skillpoints(lumber).
 
Status
Not open for further replies.
Top