Warcraft III resources & community, 2003–2006 · archived

Final Version Of My Game-Cache Based Save/Load Script

11 posts
#1

Final Version Of My Game-Cache Based Save/Load Script

OK, I think I got it fully working right now.

It's a script that stores the hero (-> level, class, items), his map position and the current amount of money in a game-cache refering to the players name (in b.net the account-name, which is not that easy to hack, eh?) on the players compi. I'll upload a testmap with description in the WE and in a txt-file so everyone can use it. Expect the testmap to be uploaded in a week (beta-testing it).

Plz, give credit if you use the information, this one was hard work!!!
#2
Don't know why, but it's not working if you play LAN, end the game, start a new one and wanna load your character. I'll upload my map under "misc". Someone help, plz.

To the guys that already had an older version of my script: As far as I know the old version was working, wasn't it?

Edit: Here the quicklink: http://www.wc3sear.ch/index.php?p=Maps&ID=692&sid=dd2ba053c8ec6c30f5df086c006c28b6
#3
If you havent already got your answer the answer is that game cache only works single player not multi player
#4
i still say u should figure out a way where it just generates random letters for all your stats... like if your strength is 20 it adds gao somewhere in the code... but hell i dont know :)
#5
Radi still say u should figure out a way where it just generates random letters for all your stats... like if your strength is 20 it adds gao somewhere in the code... but hell i dont know :)


Rad you're a mega noob just be quiet ! and stop showing off, you dont know shit about triggering its not a nOOBer trigger!.

DarkShadow ill download your map and see how you done it, im still busy on my map,,well if i have time i will check for u.
#6
Game-cache only work in single player, i had test long time ago, with 2 computers.

I hope Blizzard make it so it also work in multiplayer, it cut be cool :D
#7
-=Emergenzy=-Game-cache only work in single player, i had test long time ago, with 2 computers.

I hope Blizzard make it so it also work in multiplayer, it cut be cool :D


Ya i just check his save load script and its seem weird, i was askin in his map section, is the save script for single player or campaign map,

DarkShadow
for Multi Online bnet game, you need to set Heroes + Items + Levels + Gold or Abilities to the list, and then set them to Varibles then Run randomize code ETC for example,, in the Loading trigger its not that hard to do,,like a player enter an equal code then run the randomize again,,if codes equal to saved hero + items + level then creat that hero + creat saved items then set saved level ,,,Blah blah,, man its very headache and complicated, i tried like a month and asked a friend to helped also to make my own Save Code work :) to me, Save Load is the hardest triggers in war3 , its not eazy as 1, 2, 3 its the most complicated triggers ever.
#8
1: think first plz, like they said you cant use cache for multiplayer
2: know when you know it try something else
#9
LOL, guys, did you even see when I posted last? Yup, Holy rabbit, I realized that b.net/LAN-game caches only work during the game and are deleted automatically after leaving.

I didn't know that before and a guy was asking if it's possible to create a save/load-code using game-caches (that was the idea behind this, not creating a letter-code like every other online save/load-code :roll: ), so I tried and created this one :wink:

I don't think I need to explain this more, I didn't remove my testmap because perhaps someone could need it.
#10
randym4a1...man its very headache and complicated, i tried like a month and asked a friend to helped also to make my own Save Code work :) to me, Save Load is the hardest triggers in war3 , its not eazy as 1, 2, 3 its the most complicated triggers ever.


Um, save/load code-systems are trivial to create. Adding protection methods to the code-system to try to prevent cheating makes it a little more complicated, but even then I'd say the task is pretty easy overall.

And yeah, just to chime in, cache can't be saved in LAN/BNet games. In fact, I don't think it works in single either unless you're in campaign mode, but I'll admit it's been awhile since I tested that, and I never tested that aspect very thoroughly after I discovered it was useless for multiplayer.
#11
redscullIn fact, I don't think it works in single either unless you're in campaign mode, but I'll admit it's been awhile since I tested that, and I never tested that aspect very thoroughly after I discovered it was useless for multiplayer.


OK, only to clarify it. It works on normal singleplayer-mode, no matter if it's a campaign or not.