HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Game cache

01-24-2004, 06:48 PM#1
Drake Eternal
sorry if this is the wrong forum

do u know why i cant get them to work

this is how i do it

let's say the name of my map is (stupid.w3x)
Events:
Conditions:
Actions:


Game Cache- Create Game Cache from (blahblahblah.w3v)

Game Cache- Store (Blah 000) as (1) of (2) in (last created game cache)

Game Cache- Save (last created Game Cache)


and in the next map i do

Events: Map Initiazation
Conditions:
Actions:


Game Cache- Create Game Cache from (blahblahblah.w3v)

Game Cache- Restore (1) of (2) from last creatd game cache in (stupid region) facing (0)


does anyone know why its not working
01-26-2004, 08:18 PM#2
Super Vegeta
Maybe you wrong writed some thing? I also had problem with cache. The only bug was... In first map unit was stored as <name> of sKRYtka - in second - <name> of sKYtka :D
01-26-2004, 08:54 PM#3
Captain Griffen
Won't work on B.net.
01-27-2004, 06:19 AM#4
Super Vegeta
Why?
01-27-2004, 12:45 PM#5
Ligature
The game caching triggers were originally intended as just a way to save information from mission to mission in a one player campaign - the Orc campaign in TFT was the first to use them as a way to make a "multimap mission." B.net is only set up to use one map per game; Blizzard won't let multiplayer maps use game cache at all, because there are security issues. Meanwhile, since game cache was never planned to work on the net, there are no actions to manage cache for multiplayer games, like "save game cache for player." So we have to make do with what we got.
01-27-2004, 07:35 PM#6
Drake Eternal
accually it would work if you were good enough with triggers

but

thats not why i posted:nono:

if i can figure out was wrong with what i have then ill be fine

remember.... this is what i need fixed



let's say the name of my map is (stupid.w3x)

Events: yes i know there is nothing here

Conditions:
Actions:


Game Cache- Create Game Cache from (blahblahblah.w3v)

Game Cache- Store (Blah 000) as (1) of (2) in (last created game cache)

Game Cache- Save (last created Game Cache)


and in the next map i do

Events: Map Initiazation
Conditions:
Actions:


Game Cache- Create Game Cache from (blahblahblah.w3v)

Game Cache- Restore (1) of (2) from last creatd game cache in (stupid region) facing (0)


does anyone know why its not working
01-28-2004, 07:51 AM#7
Super Vegeta
Ligature, U're wrong. I'm creating a game where is something like store cache for player. It's easy - you just do Create Game cache from ((Name of Player(Player1))+.w3v). ^__^

.....

Drake, you MUST put something in events to the saving trigger! If there are no events, trigger DOESN'T turn on!
01-28-2004, 01:48 PM#8
xxxSpikexxx
while mapping i found out that se3veral functions do not work right if trigered with map ini ... dialog buttons for example ... mayby this is the same problem ...

no way to use game caches on b.net ... that would overload the servers if they have to save so many files ...

in the legacies map for example you can load your charakter but its not a game cache but made with complycated codes that are in the map ... he doesnt realy "save" anything ...
01-29-2004, 03:01 AM#9
Maegus
No, you can use them.

I remember in Hero Team Fortress CTF i used Game Caching as an easy way to store heroes and units and recreate them quickly (however some odd bug occured that messed up the storage of heroes. had nothing to do with multiplayer play since it occured in singleplayer too. storing units was fine though).

I don't think that the game caches are stored on B.net, though

they work fine and are a great way to remove a unit from play while still keeping all of its statistics and variables and such attached to it for when you want to put back in, not just for transportation between maps.
01-31-2004, 06:07 AM#10
Super Vegeta
Yeah, cache can be used to create a hero saving system, not only to transfer them beetween maps. You can store there tons of other stuff: does hero completed a quest, does he have a unicate item (if he has, that item won't appear again if monster which carry it has been killed), player gold, value in kill counter - almost everything.