• 🏆 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!

[General] PreloadFiles

Status
Not open for further replies.
Level 8
Joined
Sep 7, 2008
Messages
320
JASS:
call PreloadGenStart()
call PreloadGenClear()
call Preload( codes )  //")
call PreloadGenEnd("DataManager\\" + name +"-" + class + ".txt")

// codes = save code
// name = player name
// class = class of hero

Here's my code but i dont know how to save it to txt file correctly :vw_wtf: or take string code from txt files :vw_death:

Anyone can help me this :thumbs_up:
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
I am sorry I cant help

please do not post if you cannot help.

anyway theres nothing wrong with the code you just didnt save it in the proper format to load, if thats what your intentions were. i successfully loaded from a local code a while ago, but i had gone on hiatus from wc3 mapmaking before i had added the fail-safes to make it not desync
 
Level 8
Joined
Sep 7, 2008
Messages
320
please do not post if you cannot help.

anyway theres nothing wrong with the code you just didnt save it in the proper format to load, if thats what your intentions were. i successfully loaded from a local code a while ago, but i had gone on hiatus from wc3 mapmaking before i had added the fail-safes to make it not desync

You mean this is not full ?
JASS:
function PreloadFiles takes nothing returns nothing
	call Preload( "

Name: Spartipilo
Class: Arcanist
Level: 16
Exp: 3963
Gold: 1838

Password:
COAaI-eI0rn-7IzUL-YrvSU-LgwII-4ASYC-uDCYD-swflU-kC8IP-Zrx5n-DVDVR-NSxrW-zzWzA-0dfGH-PUosc-VLqox...

Note: Ignore the text about Preloading, that is normal.
" )
	call PreloadEnd( 0.0 )
endfunction
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
That is full, but it still uses a code system rather than loading from bank. Its not going to load from that code
 
Status
Not open for further replies.
Top