save and loading

Status
Not open for further replies.
use da secret search button :O it might help you out or jsut go through pages or try the JASS trigger palce cuz the best saves are in JASS since they detect the player's name and can make a special code out of it
 
use da secret search button :O it might help you out or jsut go through pages or try the JASS trigger palce cuz the best saves are in JASS since they detect the player's name and can make a special code out of it
GUI can do the same thing..
A save/load code is basically like an algorithm.

It takes certain data (like hero level, gold, hero type, etc.) and scrambles it into a code. Different things will stand for certain things, say A is 1 and B is 2, and you have a level 12 hero it would be:
AB

Make sense (hopefully :D)?
So after you get your save trigger to scramble and store the data, you make a load data to do the opposite: Unscramble and create the hero (of that certain type), set his level, and gold.

Hopefully this helps make the save/load thing make more sense.
 
GUI can do the same thing..
A save/load code is basically like an algorithm.

It takes certain data (like hero level, gold, hero type, etc.) and scrambles it into a code. Different things will stand for certain things, say A is 1 and B is 2, and you have a level 12 hero it would be:
AB

Make sense (hopefully :D)?
So after you get your save trigger to scramble and store the data, you make a load data to do the opposite: Unscramble and create the hero (of that certain type), set his level, and gold.

Hopefully this helps make the save/load thing make more sense.

it does but i thaught that it was best to use JASS since its almsot unpredictable u can make it unpredictable
 
Well, although you're coding it in JASS, you're still coding an algorithm, so it will always be able to be cracked.

If you're good at scrambling things like that, you can make a great code that not many people could crack, but if there's someone who wants to crack your code, at least one person will be able to do it.
 
Well, although you're coding it in JASS, you're still coding an algorithm, so it will always be able to be cracked.

If you're good at scrambling things like that, you can make a great code that not many people could crack, but if there's someone who wants to crack your code, at least one person will be able to do it.

yeah i saw ppl cracking a code it takes longer to crack it then to make it XD
 
Status
Not open for further replies.
Back
Top