Warcraft III resources & community, 2003–2006 · archived

Save/Load Integer Code II

not rated
Submitted by MrMaestroSystems224 downloads62 KB
Screenshot
Screenshot
Open the world editor to view save/load code script. The game executes the code. Your object is to kill as many enemies as possible. With each kill you get an additional point.
File Name
Save Load Integer Code II.w3x
Author
MrMaestro
Download

Comments

11
just one TINY little question......what the hell does it save? it looks like its just a code that does nothing

and OMFG i wanted to test it but the Load Trigger is not working bcuz "The trigger cannot be enabled because all of the parameters do not have values" and i fuking looked for the thing that is usually grayish-reddish when something isn't working but it's not there, why?

Edit: shit this comment is for Save/Load code III o well
http://www.wc3sear.ch/index.php?p=Spells&ID=770. Save Load Code 3 has arrived... Enjoy :). This is fully multiplayer compatable, and it is all set to go, you don't have to edit or do anything to make it multiplayer.
I changed my mind about Save/Load Integer Code 3....

Instead of saving from 0-999, it will save from 0-9999. That should allow people a little more liberty when setting values. The length of the code should not change at all.

Forewarning- If you did not understand how Save/Load Integer Code I worked... your going to have even more trouble with Save/Load Integer Code III... I am taking variable values and doing various mathmatic calculations to extract the value of the 100's place and the 1000's place (meaning there are more variables for each, but the code is still short). I'll explain it more upon release... which should be in the near future. All is going well with it (so far).
i like to make critics :roll: so here it is:
1) in save condition :(Length of (Entered chat string more or equal 6 (must be 7)
2) t "saving Variables Copy" yiu need to make a condition
(Length of (Entered chat string less or equal 6

nothing more:D of course there you may also make save\load for a dead units and unit-types of alive units, that will go to the next -load but it's not for tutorials :D

Maestro if you played at my alpha campaign than you'll saw 2 more thing:
all multi-board is saving
all CUSTOM hero spells are saving wi their levels !

thanks for that credits,i'm admired !

Best regards
Vampire[K.B.]
yes- what I meant is I don't think you can save it with multiplayer- which is what makes this a single player trigger. I am working on a Save/Load Code III, which is similar to what I described before, but it will incorperate a new save/load message interface. The code should be 16-18 characters long (possibly shorter if I am able to reduce the random save protection combinations). It will have 2 variables, and each variable can be saved from 0-999.
Game cache is not only for single player, the only thing is that you can't save game cache in multiplayer , but if you use it as a run time storage metho there is no problem with it
Yes, this is only for single player, unfortunatly. Because of security issues, blizzard only allows blizzard approved maps to use game cache (possible spread of viruses and such). Correct me if I am wrong.

This is just so people know how to transfer integers amongst singleplayer campaigns and other files that are singleplayer.
Game Cash... Isnt that only for single player maps?
Yo, dude, huge tnx for PM me. Ill sure use this code. tnx again.
Yea, it is a lot different... Thanks to VampireKB I incorperated the Game Cache feature into the map. I was actually working on what I had discussed before, but then I took a look at a tutorial Vamp had made and realized that GameCache storing had huge potential. I'm glad you like it :).

Depending on what I get for feedback, I may create a third, with a optional Hero saving feature (including level, abilities items, and type), gold/wood/food saving option, and other options too. I can create a save option for virtually anything. Any suggestions?
whoa way better than wat u projected and its so soon!
Save/Load Integer code II takes the original Save/Load Integer code and makes it smarter, sleeker, easier to understand, and more powerful. Here are a few of the features it has:

-Customizable save file names: Instead of giving you a code, it allows you to create your own re-writable code, and enables you to use it over and over again.

-3 Variables: Instead of only 1, now you can save 3 variables (or edit the triggers to add even more!)

-Unlimited integer size: The sky is the limit with this trigger! Instead of only 0-99 savable possiblities, you can now have any size you want!

-Unsharable codes: This code takes the possiblity of code-sharing... and eliminates it, completely.

How can I do this? Well, this code uses the Game Cache ability, instead of in-game code combinations to save the code directly to your computer. The game will enable you to create a re-writable "file name" so, you only have to have 1 code written down, instead of a bunch. It's the new generation of save/load codes.

------TIPS------
Unlike Save/Load Integer code I, you do not need to make any ajustments to your code to make it un-crackable. Therefore, the tips are limited.

-Experiment with the triggering a little- see what happens when you try to add more variables. This save/load feature allows you to save as many variables as you wish.

-Add more features to it- give it more options, savable data, whatever you wish, it can do just about anything you want.