1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Rubbed the right way, the genie is out of its lamp! The 12th Concept Art Contest Results have been announced.
    Dismiss Notice
  4. The Lich King has a new champion. The results for the 19th Icon Contest are here!
    Dismiss Notice
  5. Race against the odds and Reforge, Don't Refund. The 14th Techtree Contest has begun!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Loading local data from each PC into a multiplayer game?

Discussion in 'Triggers & Scripts' started by Unelith, Dec 26, 2014.

  1. Unelith

    Unelith

    Joined:
    Aug 15, 2012
    Messages:
    135
    Resources:
    0
    Resources:
    0
    Is it possible?

    Person X runs the character creator map, a seperate one, and creates hero A, person Y does the same and creates hero B, then they both play together on one map, that contains the arena, and that map would load hero A from X's PC and hero B from Y's machine?

    I guess game cache would not really work, but is there a different solution?
     
  2. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,717
    Resources:
    18
    Maps:
    1
    Spells:
    11
    Tutorials:
    6
    Resources:
    18
    Highly possible. Creating txt files is rather simple. You might need to use file I/O for reading the file unless there is another system.
     
  3. Unelith

    Unelith

    Joined:
    Aug 15, 2012
    Messages:
    135
    Resources:
    0
    Resources:
    0
    I guess those things are written in JASS, so it would be a problem. Could you recommend me any relatively easy to use I/O system?

    Or is there a simple way, in case i just wanted to save a single line? I even don't want letters and special symbols, integers would have been enough.
     
  4. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,717
    Resources:
    18
    Maps:
    1
    Spells:
    11
    Tutorials:
    6
    Resources:
    18
  5. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,926
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    Local I/O is very slow (couple of bytes per second) due to synchronization.