Done Blood Magic

Dieses Thema im Forum "Infinity" wurde erstellt von HlgPlayer, 3. März 2015.

  1. HlgPlayer

    HlgPlayer Well-Known Member

    Beiträge:
    79
    Zustimmungen:
    2
    Ortszeit:
    22:19
    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

    Beiträge:
    12.285
    Zustimmungen:
    3.709
    Ortszeit:
    06:19
    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

    Beiträge:
    8.332
    Zustimmungen:
    3.018
    Ortszeit:
    06:19
    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

    Beiträge:
    3.257
    Zustimmungen:
    1.097
    Ortszeit:
    23:19
    The life network is stored in the world data.
     
  5. SirWill

    SirWill Founder

    Beiträge:
    12.285
    Zustimmungen:
    3.709
    Ortszeit:
    06:19
    I don't think so.

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

    BookerTheGeek Patron Tier 3

    Beiträge:
    3.257
    Zustimmungen:
    1.097
    Ortszeit:
    23:19
    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

    Beiträge:
    79
    Zustimmungen:
    2
    Ortszeit:
    22:19
    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

    Beiträge:
    3.257
    Zustimmungen:
    1.097
    Ortszeit:
    23:19
    By hand? That would be very intensive.
     
  9. HlgPlayer

    HlgPlayer Well-Known Member

    Beiträge:
    79
    Zustimmungen:
    2
    Ortszeit:
    22:19
    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

    Beiträge:
    3.257
    Zustimmungen:
    1.097
    Ortszeit:
    23:19
    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

    Beiträge:
    79
    Zustimmungen:
    2
    Ortszeit:
    22:19
    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

    Beiträge:
    8.332
    Zustimmungen:
    3.018
    Ortszeit:
    06:19
    Trello

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

Diese Seite empfehlen