• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] -save -load function

Status
Not open for further replies.
Level 2
Joined
Jun 5, 2005
Messages
15
Can someone give me a tutorial on how to make a save load feature for my RPG if someone could do this it would be a very big help.
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,192
How to make a save / load feture in 5 easy steps!

1. Learn jass that makes it loads easier
2. Understand maths and values well
3. Understand how values can represent objects like heroes.
4. Use your head and plan a system before even atempting to start.
5. Structure your S/L sytem's triggering carefully making sure it is as complex and ununderstandale and bug free as possiable.

Incase you do not have a clue how to start to think of how to make one this is a brief discription.

Firstly get your primary vales (hero, lvl, money ect)and convert them into a string form while reducing length.
Secondly Write a check sum by using a mathimatical formular that fetures player name so the codes are name locked.
Finaly run an encrypter that mixes up the values and changes them so that it is hard to interprite but of couse your load generator can.

Or you could try dling and using one of the save/load systems in the spell section ofcourse :?

But I recomend writing your own since all the ones on this site are easily hacked using JASS EXTRACTORS.
 
Status
Not open for further replies.
Top