User Tag List

Results 1 to 3 of 3

Thread: Methods for saving in multiplayer?

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)

    Join Date
    Jan 2015
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Methods for saving in multiplayer?

    What method should I use for saving multiple player's position and data? I'm using lacewing and everything is working fine but when I reset the server the players' position resets too (of course). Should I use arrays or an external database or maybe INI?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Norway
    Posts
    333
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think the best way is to either use an array or an INI but name it after the player's name.
    So when player "Player1" joins for the first time, create an array or an ini and save all the data there. Next time Player1 joins just send all the positions etc from the "Player1" array file or INI file.

    Of course you should also make sure that once a Player picks an unused name, no other player should be allowed to do so. So you will need to make a username and password login screen as well.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)

    Join Date
    Jan 2015
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for the aswer. I will use INI. The client and the server are two different applications so the ini file will be on the host computer so others can't hack it

Similar Threads

  1. Game spreading methods
    By cfullerNY in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 29th March 2013, 01:33 PM
  2. Remote MYSQL methods?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 3rd August 2011, 05:38 PM
  3. Online Registration methods
    By izac in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th October 2006, 12:53 PM
  4. alternative pathfinding methods
    By integrality in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th October 2006, 08:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •