Done Blood Magic

Discussion in 'Infinity' started by HlgPlayer, Mar 3, 2015.

  1. HlgPlayer

    HlgPlayer Well-Known Member

    Messages:
    79
    Likes Received:
    2
    Local Time:
    12:57 PM
    Is it possible to get our LP networks to transfer between the nodes? I know that some other mods such as thaumcraft transfer between the nodes.
     
  2. SirWill

    SirWill Founder

    Messages:
    12,284
    Likes Received:
    3,708
    Local Time:
    8:57 PM
    We would need to transfer the files in world/data/<player>.dat and I think there are too many other files in it or @Slind?
     
  3. Slind

    Slind Founder

    Messages:
    8,332
    Likes Received:
    3,018
    Local Time:
    8:57 PM
    there is no real indication of what are blood magic player files and what not. This directory contains all sorts of stuff including things related to the world which shouldn't be shared.
     
  4. BookerTheGeek

    BookerTheGeek Patron Tier 3

    Messages:
    3,257
    Likes Received:
    1,097
    Local Time:
    1:57 PM
    The life network is stored in the world data.
     
  5. SirWill

    SirWill Founder

    Messages:
    12,284
    Likes Received:
    3,708
    Local Time:
    8:57 PM
    I don't think so.

    That's the .dat in data from @HlgPlayer:
    [​IMG]
     
  6. BookerTheGeek

    BookerTheGeek Patron Tier 3

    Messages:
    3,257
    Likes Received:
    1,097
    Local Time:
    1:57 PM
    Odd.... I've been told multiple time by WayOfTime that it is stored in the world data.

    It was this way so rituals would work even if the player is offline.
     
  7. HlgPlayer

    HlgPlayer Well-Known Member

    Messages:
    79
    Likes Received:
    2
    Local Time:
    12:57 PM
    If you're able to see my current essence in a file, can't you save that file to all 3 nodes? During the periodic saves, go through the essence of players online, save them to the 3 nodes, then move on. I'm not sure how intensive that'd be though.
     
  8. BookerTheGeek

    BookerTheGeek Patron Tier 3

    Messages:
    3,257
    Likes Received:
    1,097
    Local Time:
    1:57 PM
    By hand? That would be very intensive.
     
  9. HlgPlayer

    HlgPlayer Well-Known Member

    Messages:
    79
    Likes Received:
    2
    Local Time:
    12:57 PM
    No, setup a system to do it. During the autosave, detect the players online, save their data, then copy their data to the other 2 nodes.
     
  10. BookerTheGeek

    BookerTheGeek Patron Tier 3

    Messages:
    3,257
    Likes Received:
    1,097
    Local Time:
    1:57 PM
    Are you going to do so? This does not sound easy to do...

    And as the servers are separate for a reason. Why not just build an alter on the secondary server?
     
  11. HlgPlayer

    HlgPlayer Well-Known Member

    Messages:
    79
    Likes Received:
    2
    Local Time:
    12:57 PM
    I have no idea how to do that. I was just trying to give ideas on how it could be done. But I'll end up making alters on the other nodes.
    But if I were to guess on how to code it roughly It'd go like this. I realize I'm not good at coding, don't judge.
    While autosaving==true
    detect (online players); Find the number of online players
    x = length(online players); assign it a variable
    For i = 1 to x; go through each player 1 at a time and save their data to the three nodes.
    Save blood magic data for player i to Current node
    Copy data
    Save data to other 2 nodes.
    end
    end
     
  12. Slind

    Slind Founder

    Messages:
    8,332
    Likes Received:
    3,018
    Local Time:
    8:57 PM
    Trello

    it is, within the world/data dir which also contains stuff from other mods and worldgen features.
     

Share This Page