• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

GameCache help

Status
Not open for further replies.
Level 13
Joined
Sep 14, 2012
Messages
437
I'm working on a RPG map, and on the map, as usual, I want to have save/load commands. So far, I came up with something like this (attached map), and it works in single player, but not in multiplayer. I tested it out a few times with my friend, but they data dose not save. Please help.

Also if your interested in how I want to make save/load commands in my RPG map, i would want to make it something like this:
Player type "-save (number)" and saves the slot as a hero, and when player types "-load (number)" it loads up the hero, and ofc, it checks the player name if hes the rightfull owner of the hero. If there is a way to create this trigger w/o JASS scripts, would be very helpfull.
 

Attachments

  • GameChaeTest.w3x
    28.6 KB · Views: 52
GameCache does not last between game sessions in multiplayer. Traditionally for save/load systems you would convert all the values to you need to save into a series of integers which can be encoded to a string and re-entered to load. There are many available systems which do most of the work for you.

Recently it became possible to load without a code, so you can have your -load <slot> system. You will have to use something like this:

Codeless Save and Load (Multiplayer) - v1.3.6

Or your own save system and use Sync.

However loading without a code is currently broken on 1.28c because the Preloader native is broken.
 
Status
Not open for further replies.
Top