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

Save/load code merging gui

Status
Not open for further replies.
Level 9
Joined
Feb 16, 2011
Messages
595
if anyone needs that save/load code come here i found it at last
 

Attachments

  • Save Load Integer Code III.w3x
    72.7 KB · Views: 109
Level 9
Joined
Feb 16, 2011
Messages
595
okay i have the 3 generation save/load code vut the problem is it only saves units i need it to save/load units and heroes please help
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
1) Share the system you're using. There are a lot out there, and all of them work differently one from each other.

2) Heroes are units...

3) If it's so advanced you should be able to add the information you want to save.
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Yeah... I think it's better for you to ask a more experienced map maker for assistance about this subject... or make a deep read of Nestharus Save/load code with Snippets... or wait for Bribe to publish his work :)
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Maybe adding some more documentation to your snippets could make the life of all of us, the noobs, easier. Maybe you understand, but most users just tries to find 'Waldo' within all the codes :p
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Nah, not teach JASS but... yeah, that, teach JASS xD haha, don't worry... those whom live in the undergrounds must find the light by themself through studying and acquiring the ancient knowledge of Jom'Alt Sun Shalah = JASS.
 
Level 9
Joined
Apr 26, 2011
Messages
403
Level 9
Joined
Apr 26, 2011
Messages
403
It uses StringHash, so it's fine.

Thank,

just searched and learn something new.

this StringHash() will solved my problem about player name in difference language :)


do you have any information about how many digit do StringHash() give ? eg, how many digits I will get for 5, letters string, 10 letters, 20 letters or 30 letters.... and do it ever out of range for integer ?
 
It's always the same and u'll want to do absolute value of StringHash as it does overflow (into negatives).


It's the same number of digits as like 2^31. Try StringHash("a") and StringHash("aaaaaaaa") to see what I mean : p


Now, good encryption does not store any of the player name data. Good encryption bases its encryption key off of the player name + a private map key.


If you look at my Encryption chapter, I discuss various ways of protecting the code and I state that you should never store any value to do with the player name into the code. The only values you should have in the code at max is a checksum and a CRC.
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
btw, that tutorial is amazing. I followed it for about two hours :p... Stil never got into the system creation, but loved the 50 lessons :p
 
Level 9
Joined
Feb 16, 2011
Messages
595
But you don't use MUI dude... you can never use it...

We don't use MUI, we create MUI things...

and you better check out the tutorial first... saying that its jass before even seeing it is just bad...

i have seen the tutorial before and i know he only uses jass and this code still needs to be edited to save heroes will anyone
 
Last edited:
Status
Not open for further replies.
Top