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

Help

Status
Not open for further replies.
Level 28
Joined
Jan 26, 2007
Messages
4,789
About "Codeless Save/Load":
Implement the system in your map.
If you do that, you've got a save/load-system that creates text-files on the player's PC with their save-code.

If you don't know how, there's a massive amount of documentation on that page and in the map itself.
If you still don't know how to set it up after reading through that, then maybe you shouldn't be doing this?

IW0G9AI.jpg


The other systems I've linked can be used to modify another save/load system so it creates a file with the save-code.
If you don't want to do that, don't pay any attention to those systems.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Please use hidden-tags when you post images.
[hidden=Image] (image goes here) [/hidden]​
Also, delete your second post (edit --> delete).

That error might mean you do not have the required library in your map (all required libraries are in the map, though).
Do you have a trigger called "BitInt" in your map (enabled)?
The error and the line it gives don't seem to match up.


Anyway, let's get back to basic here.
Do you just want to create a text-file for the player, containing the code?
Or do you also want the map to automatically read that text-file and be able to load (without saying "-load XXXX")?
There are simpler ways to achieve this (yet not as good as Nes' system).
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
So it's still not working?

Well, I just edited an already existing GUI save/load-system so it creates a text file.
This one should be easy to implement in your map.

Don't forget to copy the map header!
h4T8fjW.jpg

Change the folder name as well (I don't know what your map's name is).

The file looks like this:
Folder: "Warcraft III\MapName"
File name: "Paladin - 105.txt"
Content:
Code:
function PreloadFiles takes nothing returns nothing
	call Preload( "
		                Hero: Paladin
				Level: 105		
				Code: -load  GGGG GGg6 xPOw iV
		    " )
	call PreloadEnd( 0.0 )
endfunction


Credits to Neostorm for creating the save/load system.
 

Attachments

  • Neostorms Password Save System (textfile).w3x
    54.2 KB · Views: 280
Level 28
Joined
Jan 26, 2007
Messages
4,789
You probably already had a variable named "Hero".

In the map I linked you, it's a unit array (Hero[1] is the hero for Player 1, red - Hero[2] for Player 2, blue and so on).
The variable is necessary for the save/load system. I don't know what you use it for, though.

And nah, I don't need credits.
Do give credits to Neostorm!
 
Level 8
Joined
Jul 18, 2012
Messages
136
Hey bro I got some problems ! I did every step correcly i deleted all variables for loading ! and do everythink again! and i configured my items and my heroes and everythink works just the code didin't shows when type -save . Its like : Heres your save Code
CODE : (EMPTY)
------------------------------
Please help!
 
Status
Not open for further replies.
Top