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

Load codes

Status
Not open for further replies.
Level 3
Joined
Nov 12, 2009
Messages
50
Hi i have a suggestion that can make life realy easy for the regular players of gaia.In another rpg i like and play there is implimented a system or something that put your save code in a file in wc3 folder.You dont need to wait for others to stop righting so you can see clearly your code, you dont have to make screenshots and then right the not so short code.I am not sure if you like the idea or this wont take too much space of the map size or something else but i think it is realy convinient.Maybe you should check for your self the map and how the save works if my explination is not so good :))
 
Level 6
Joined
Jun 5, 2010
Messages
206
I dont know if is possible, but would be nice if i write -save the code automatically copied in the players clipboard
 
Level 3
Joined
Nov 12, 2009
Messages
50
the load code is saved in a text file and you just copy from there :)
 
Level 13
Joined
Oct 9, 2011
Messages
1,433
GoH is a terrible RPG but this is a nice feature, having it save a copy of your code to a txt file in the WC3 folder. If this could be implemented that would be nice.
 
Hmm, if someone can find a thread or something that explains how to do that, I would love to add it.
It's just that I think there is no way to do that, as WC3 doesn't allow writing files on your hard drive ... then again, if GoH has it, it has to be possible.
Maybe someone can investigate that and report to me?
 
Level 3
Joined
Nov 12, 2009
Messages
50
function PreloadFiles takes nothing returns nothing

call Preload( "" ) -load ?zt3+-O&93t-emRfn-K$t5)-F8FN?-1IjJ0-4 //" )
call PreloadEnd( 0.0 )

endfunction

this is what it is ritten in my text file in a folder inside my wc3 folder.Every time i save the code changes.Thats all for now i can give as info.I asked robbe to explain it and if i get answer will post it
 
Level 3
Joined
Nov 12, 2009
Messages
50
well it is working atm.Why dont you download the map and try it? + in the link he gave there was some explanations about when it can work
 
Thanks ... nice find. This snipped seems to be much more simple than the previous one.
I'll test it as soon as I got the time and if it works, you guys can expect a 1.1k version with this little baby inside and the new light/environment system that improves the graphics of Gaias, such as a fix of all reported bugs.
 
Let's say I implement this and it works ...

I think will implement an optional toggle command to activate this instead of the "classic" save code - so in default settings, Gaias will not write the code on your hard disc - only if you wish so ... in case people got trouble with virus software and such.

I will also add an "autosave" toggle that writes a code once every 30 seconds and a "change directory" command.

What file directory you guys would suggest as a default? As most of you guys would be too lazy to customize the path in every game, don't ya?

My suggestion:
C:\\users\\
 
Level 3
Joined
Nov 12, 2009
Messages
50
well in goh it is in the wc3 folder of the game and it is D:\Games\Warcraft III\Savegames\GoH RPG\v1.25\r-net-veno(this is the name of my account) i think this is good choise but ofc you can put wherever you think it is good..
 
Level 3
Joined
Nov 12, 2009
Messages
50
also in the folder there is a text file for each hero class(in this case it should be mage tief squire hunter and priest) maybe you should think about second class name too or just something in general.
 
Level 12
Joined
Dec 20, 2011
Messages
885
T-up.

If you do implement this, add a limit for saving. I've tried GoH which has this system; If you save, it lags for a second, so adding a limit like three -save's per 5-10 minutes would be good. So that players wouldn't abuse this system, by causing lag or even fatal error.
 
Level 3
Joined
Nov 12, 2009
Messages
50
there is no such a thing like lag when you save in goh... maybe is your net or your pc.+ i am sure that zwieb is gona test it and all and if it lags it wont add it :)
 
Level 3
Joined
Jul 16, 2011
Messages
78
Well ... Sounds good to me. Let's see what other people suggest.

If this takes up a decent amount of space, I still recommend people to use GameCaptureX, which will work for any RPG played.

However, if this ends up with a 1.1k release... hell, go for it. lol
 
Level 14
Joined
Jun 27, 2008
Messages
1,325
This wont take a noticable amount of space.

I guess if there is a lag in GoH, it is caused by the SaveLoad System itself, not by the code that stores it into a file. The Saveload System in Gaias has a very high performance while other systems indeed tend to cause a short lag while saving/loading.
 
Level 13
Joined
Oct 9, 2011
Messages
1,433
Just wanted to add a note in for the autosave, when carrying items for other players this could end up being a problem, saving the items to your hero accidentally and such. If the autosave could have a toggle that would be fine, but if the actual -save command set a hard copy that won't take up much space if you clear it out and put an info thing about the save system in the menu. They're only txt files.
 
Level 4
Joined
Jul 29, 2010
Messages
125
Desktop. I want my autosave file in desktop.. A lot easier to find and use o_O
Or anyway i can make a shortcut for it in desktop.
And save/load lags bc of code, not cuz of autosave in GoH.
 
Level 12
Joined
Dec 20, 2011
Messages
885
there is no such a thing like lag when you save in goh... maybe is your net or your pc.+ i am sure that zwieb is gona test it and all and if it lags it wont add it :)

There is. But it was on a fix-save version which isn't the real map. That's probably why it has some lags, because it wasn't Robbepop himself who added the save system. So it isn't my pc or my internet that's the problem, it's how the editors made the system.
 
I'd go with a desktop save too, but i think that is not possible, as the desktop folder is stored inside the users folder of windows. I think I would need to know the user name on your machine to access the desktop folder.
I could try with the default user, though. I think I'll just need to experiment a little.

In case it doesn't work, I'm going to put it into D:\Games\WarcraftIII\... as this seems to be the most common used folder.
 
Level 3
Joined
Nov 12, 2009
Messages
50
well i am not sure about D: i meean some guys install their wc3 in C: as it is for default install...Guess there is some way(connection or program or dunno) that forward the incoming changes( patches, maps) in the folder where the wc3 is located atm.I am a bit noobish about these things and am not so sure if explained it right but i think you got the idea and probably can think of a solution :)
 
Level 14
Joined
Jun 27, 2008
Messages
1,325
In case it doesn't work, I'm going to put it into D:\Games\WarcraftIII\... as this seems to be the most common used folder.

You can just use
JASS:
call PreloadGenEnd(".\\filename.txt")
and the file will be saved in Warcraft 3 root directory.
(For example: C:\games\whatever\foo\bar\warcraft iii\filename.txt)


JASS:
call PreloadGenEnd(".\\GaiasCodes\\filename.txt")
will store the file in C:\...\warcraft iii\GaiasCodes\filename.txt

Wasnt able to find a way to save to the desktop though, wc3 doesnt accept stuff like %USERPROFILE%.
 
Thanks mate, that really helped.

I think the file structure will be like this:

'WC3Directory'\\GaiasRetaliation\\'Username'\\'Class'-'Level'.txt

You can edit the saving directoy ingame by using a "-setpath" command. By default, this will be in your Warcraft III directory.
This is the amount of "seperation" you get. If the level and class of your hero is the same, it will overwrite the old file. If the level is different, it will instead create a new txt so that you can have multiple heroes of the same class (though I don't really see a reason you would want that...).

Thanks for the comment about the auto save option. I haven't thought about this and you are totally right: auto saving should not be there due to the item binding.
 
Level 13
Joined
Oct 9, 2011
Messages
1,433
People might tend to want different heroes of the same level for different builds, i.e setting up a str build crusader for possible changes/build variations in 1.2 along with their maxed out int crusader which functions better in d3/shade, so for 1.1j. I suppose if they really feel the need they can take their saves and copy it elsewhere, tbh that's what I would do so I could keep track of information about the hero. Plus two backed up saves never hurt anyone.
 
Level 12
Joined
Dec 20, 2011
Messages
885
People might tend to want different heroes of the same level for different builds, i.e setting up a str build crusader for possible changes/build variations in 1.2 along with their maxed out int crusader which functions better in d3/shade, so for 1.1j. I suppose if they really feel the need they can take their saves and copy it elsewhere, tbh that's what I would do so I could keep track of information about the hero. Plus two backed up saves never hurt anyone.

That would be nice, but doing that would be hard to do.
 
Level 3
Joined
Nov 12, 2009
Messages
50
well guys you can always make screenshot of your save and type it down yourself like you did till now :)
 
I really wonder when Blizzard is going to fix this ... I mean ... it can easily be used to infect your system with viruses :/
In fact I almost feel guilty abusing something like this just to save players some time capturing a code ... ^^'

...

... haha, no! :D


... but I think it will be fun to make you guys download gayporn when playing Gaias. ;P
 
Status
Not open for further replies.
Top