1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Music Contest #10 - Results are finally published! Drop by to check some retro songs and congratulate the winners!
    Dismiss Notice
  3. Join Terraining Contest #19 and witness the aftermath!
    Dismiss Notice
  4. The 3rd Melee Mapping Contest is ON! Join in on a ride of a 4v4 melee experience!
    Dismiss Notice

Codeless Save and Load (Multiplayer) - v2.0.0

Submitted by TriggerHappy
This bundle is marked as approved. It works and satisfies the submission rules.
Information

If you've ever wanted to transfer progress between multiplayer maps, you probably needed to type in a long code.

That is no longer needed with this system. This will allow you to read save data from your WC3 folder and sync it to all other players in the map.

The demo map features:
  1. Load without typing anything
  2. Save Hero
    • Level/XP
    • Items
    • Abilities
    • Hero Name

  3. 5 Save Slots
* Everything is customizable and you can make the system save & load anything you want.

* There are GUI and JASS examples.

* You can find more information on how the system works by looking at the core library Sync or it's documentation.

Installation

To import the system, all you have to do is copy the trigger folders over to your map and save it.

Screenshots


[​IMG]
[​IMG]
[​IMG]
[​IMG]


Credits

Pipedream (optimal save system), nestharus (file i/o)
Previews
Contents

Codeless Save & Load v1.3.9 (Map)

Codeless Save & Load v2.0.0 (Map)

Reviews
Moderator
Awaiting further review
  1. Awaiting further review
     
    Last edited by a moderator: Jun 29, 2016
  2. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,511
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    The previous versions had a few issues in multiplayer but I've fixed those now make sure everyone has the latest download.
     
  3. Almia

    Almia

    Joined:
    Apr 24, 2012
    Messages:
    4,830
    Resources:
    35
    Spells:
    30
    Tutorials:
    4
    JASS:
    1
    Resources:
    35
    Subbing :3

    So, how does this save data in the disk?
     
  4. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,511
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    Using the Preload natives. The demo map is using Nestharus' I/O library but I will be replacing that eventually.

    The main showcase of this is to show that you can sync data in multiplayer.
     
  5. userid907

    userid907

    Joined:
    Jun 17, 2014
    Messages:
    205
    Resources:
    1
    Spells:
    1
    Resources:
    1
    seems interesting :)
     
  6. Zwiebelchen

    Zwiebelchen

    Joined:
    Sep 17, 2009
    Messages:
    6,775
    Resources:
    11
    Models:
    4
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    JASS:
    4
    Resources:
    11
    It still requires Local Files enabled, though; which means that any map that uses this still requires a "classic" chat-based load.
     
  7. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,511
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    Well just for loading. Anyone can save meaning whenever they enable it they can use their save (or type it in with a command).

    Still it allows for maps to have a (longer) save stored on disk and it's a nice option for some players who are capable of running a .bat file.

    Like even if only you have local files enabled you can still load from disk and everyone will still see it.

    Yes having local files enabled sucks but this is still amazing IMO.
     
    Last edited: May 1, 2016
  8. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,391
    Resources:
    17
    Maps:
    1
    Spells:
    10
    Tutorials:
    6
    Resources:
    17
    Wasn't there a way to force this?
     
  9. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,511
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    Updated. Fixed a few more desyncing issues in multi-player among some other things.
     
    Last edited: May 2, 2016
  10. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,511
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    Updated the core libraries in the demo map and improved some code.
     
  11. Bajdziu

    Bajdziu

    Joined:
    May 7, 2016
    Messages:
    1
    Resources:
    0
    Resources:
    0
    Hi, Im trying to implement it in my RPG but i got a lot of errors with code. Can you help me how to fix it? it happens n New gen WE and standard WE. Thanks
     
  12. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,511
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    what errors

    make sure everything is up to date

    http://www.wc3c.net/showthread.php?t=88142
     
  13. Doomguy80

    Doomguy80

    Joined:
    Apr 4, 2013
    Messages:
    359
    Resources:
    0
    Resources:
    0
    Hey is there a way to allow for a message to appear when they try to quit, for example to remind them to save?

    Still though, this is awesome.
     
  14. Santacruz

    Santacruz

    Joined:
    Oct 31, 2011
    Messages:
    26
    Resources:
    0
    Resources:
    0
    What needs to be imported this system?
    What I need to configure when I import this system on my map?
     
  15. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,511
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    You just need the copy the "vJass libraries" trigger folder into your map.

    You can optionally copy the save system triggers over too, or implement your own save system with this.

    I will be making the demo map more simple soon.

    Don't think so
     
  16. Santacruz

    Santacruz

    Joined:
    Oct 31, 2011
    Messages:
    26
    Resources:
    0
    Resources:
    0
    Thank, I look forward to demo

    You have Facebook?

    You could make the system easier to be imported into any map.

    You can also can modify the variables and Triggrer not to conflict with others.
     
    Last edited by a moderator: Nov 8, 2016
  17. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,511
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    Updated. Added support for GUI users.

    Importing into your map is very easy.

    Code (Text):

    v1.0.7

    - GUI Triggers for Saving & Loading
    - Demo map clean up
     
     
  18. Santacruz

    Santacruz

    Joined:
    Oct 31, 2011
    Messages:
    26
    Resources:
    0
    Resources:
    0
    thank you, I'll test

    I imported the system to my map saved a character, but can not load

    Shows the message to load the character, but he is not created
     
    Last edited by a moderator: Nov 8, 2016
  19. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,511
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    Updated to 1.0.8

    Send me your map