Add project files.
This commit is contained in:
parent
f7069a830d
commit
dadae23393
31
EDPlayerJournal.sln
Normal file
31
EDPlayerJournal.sln
Normal file
@ -0,0 +1,31 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.3.32901.215
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EDPlayerJournal", "EDPlayerJournal\EDPlayerJournal.csproj", "{8148BB04-148E-41E4-A344-8E735E188BEE}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EDPlayerJournalTests", "EDPlayerJournalTests\EDPlayerJournalTests.csproj", "{63F80451-B9DC-4B80-8DAD-03C7D587D54A}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8148BB04-148E-41E4-A344-8E735E188BEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8148BB04-148E-41E4-A344-8E735E188BEE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8148BB04-148E-41E4-A344-8E735E188BEE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8148BB04-148E-41E4-A344-8E735E188BEE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{63F80451-B9DC-4B80-8DAD-03C7D587D54A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{63F80451-B9DC-4B80-8DAD-03C7D587D54A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{63F80451-B9DC-4B80-8DAD-03C7D587D54A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{63F80451-B9DC-4B80-8DAD-03C7D587D54A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {2407512C-CFEE-432B-B322-54EDF5B803C3}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
70
EDPlayerJournal/BGS/BuyCargo.cs
Normal file
70
EDPlayerJournal/BGS/BuyCargo.cs
Normal file
@ -0,0 +1,70 @@
|
||||
using System.Text;
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
|
||||
public class BuyCargo : Transaction {
|
||||
public BuyCargo() { }
|
||||
|
||||
public BuyCargo(MarketBuyEntry e) {
|
||||
Entries.Add(e);
|
||||
}
|
||||
|
||||
public string? Cargo {
|
||||
get {
|
||||
string? cargo;
|
||||
var sell = Entries.OfType<MarketBuyEntry>().First();
|
||||
|
||||
if (!string.IsNullOrEmpty(sell.TypeLocalised)) {
|
||||
cargo = sell.TypeLocalised;
|
||||
} else {
|
||||
cargo = sell.Type;
|
||||
if (cargo != null && cargo.Length >= 2) {
|
||||
cargo = cargo[0].ToString().ToUpper() + cargo.Substring(1);
|
||||
}
|
||||
}
|
||||
|
||||
return cargo;
|
||||
}
|
||||
}
|
||||
|
||||
public long Amount {
|
||||
get { return Entries.OfType<MarketBuyEntry>().Sum(x => x.Count); }
|
||||
}
|
||||
|
||||
public override int CompareTo(Transaction? other) {
|
||||
if (other == null || other.GetType() != typeof(BuyCargo)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
BuyCargo? buycargo = other as BuyCargo;
|
||||
if (buycargo != null &&
|
||||
buycargo.Cargo == Cargo &&
|
||||
buycargo.System == System &&
|
||||
buycargo.Faction == Faction) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
public override string ToString() {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
||||
if (Entries.Count <= 0) {
|
||||
return builder.ToString();
|
||||
}
|
||||
|
||||
builder.AppendFormat("Bought {0} {1} at the Commodity Market",
|
||||
Amount,
|
||||
Cargo
|
||||
);
|
||||
|
||||
return builder.ToString().Trim();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Selling resources to a market only helps the controlling faction
|
||||
/// </summary>
|
||||
public override bool OnlyControllingFaction => true;
|
||||
}
|
56
EDPlayerJournal/BGS/Cartographics.cs
Normal file
56
EDPlayerJournal/BGS/Cartographics.cs
Normal file
@ -0,0 +1,56 @@
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
|
||||
public class Cartographics : Transaction {
|
||||
public Cartographics(MultiSellExplorationDataEntry e) {
|
||||
Entries.Add(e);
|
||||
}
|
||||
|
||||
public Cartographics(SellExplorationDataEntry e) {
|
||||
Entries.Add(e);
|
||||
}
|
||||
|
||||
public override int CompareTo(Transaction? other) {
|
||||
if (other == null || other.GetType() != typeof(Cartographics)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
Cartographics? b = other as Cartographics;
|
||||
if (b != null &&
|
||||
b.System == System &&
|
||||
b.Faction == Faction &&
|
||||
b.Station == Station) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
public long TotalSum {
|
||||
get {
|
||||
/* add multi sell and normal ones together */
|
||||
long total =
|
||||
Entries.OfType<MultiSellExplorationDataEntry>()
|
||||
.Sum(x => x.TotalEarnings)
|
||||
+
|
||||
Entries.OfType<SellExplorationDataEntry>()
|
||||
.Sum(x => x.TotalEarnings)
|
||||
;
|
||||
return total;
|
||||
}
|
||||
}
|
||||
|
||||
public override string ToString() {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.AppendFormat("Sold {0} worth of Cartographics Data", Credits.FormatCredits(TotalSum));
|
||||
return builder.ToString();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cartographics only help the controlling faction.
|
||||
/// </summary>
|
||||
public override bool OnlyControllingFaction => true;
|
||||
}
|
42
EDPlayerJournal/BGS/CombatZone.cs
Normal file
42
EDPlayerJournal/BGS/CombatZone.cs
Normal file
@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
public class CombatZone : Transaction {
|
||||
public string Type { get; set; } = "";
|
||||
public string Grade { get; set; } = "";
|
||||
public int Amount { get; set; } = 0;
|
||||
public DateTime Completed { get; set; } = DateTime.UtcNow;
|
||||
|
||||
public override string CompletedAt {
|
||||
get {
|
||||
return Completed.ToString("dd.MM.yyyy HH:mm UTC");
|
||||
}
|
||||
}
|
||||
|
||||
public override int CompareTo(Transaction? obj) {
|
||||
if (obj == null || obj.GetType() != typeof(CombatZone)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
CombatZone? b = obj as CombatZone;
|
||||
if (b == null) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (b.Faction != Faction || b.System != System) {
|
||||
return -1; // System and faction don't match
|
||||
}
|
||||
|
||||
if (b.Type != b.Type || b.Grade != b.Grade) {
|
||||
return -1; // grade and type don't match
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public override string ToString() {
|
||||
return string.Format("Won {0} x {1} {2} Combat Zone(s) for {3}",
|
||||
Amount, Grade, Type, Faction);
|
||||
}
|
||||
}
|
42
EDPlayerJournal/BGS/FactionKillBonds.cs
Normal file
42
EDPlayerJournal/BGS/FactionKillBonds.cs
Normal file
@ -0,0 +1,42 @@
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
public class FactionKillBonds : Transaction {
|
||||
public int TotalSum {
|
||||
get {
|
||||
return Entries
|
||||
.OfType<FactionKillBondEntry>()
|
||||
.Sum(x => x.Reward)
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
public string? VictimFaction {
|
||||
get {
|
||||
return Entries
|
||||
.OfType<FactionKillBondEntry>()
|
||||
.First()
|
||||
.VictimFaction
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
public override int CompareTo(Transaction? other) {
|
||||
if (other == null || other.GetType() != typeof(FactionKillBonds)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
FactionKillBonds? b = other as FactionKillBonds;
|
||||
if (b == null || b.VictimFaction == VictimFaction) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
public override string ToString() {
|
||||
return string.Format("Faction Kill Bonds: {0} against {1}",
|
||||
Credits.FormatCredits(TotalSum),
|
||||
VictimFaction);
|
||||
}
|
||||
}
|
66
EDPlayerJournal/BGS/FoulMurder.cs
Normal file
66
EDPlayerJournal/BGS/FoulMurder.cs
Normal file
@ -0,0 +1,66 @@
|
||||
using System.Text;
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
|
||||
/// <summary>
|
||||
/// 36 Lessons of Vivec, Sermon Thirty Six
|
||||
/// </summary>
|
||||
public class FoulMurder : Transaction {
|
||||
public FoulMurder() { }
|
||||
public FoulMurder (CommitCrimeEntry e) {
|
||||
Entries.Add(e);
|
||||
}
|
||||
|
||||
public string? CrimeType {
|
||||
get { return Entries.OfType<CommitCrimeEntry>().First().CrimeType; }
|
||||
}
|
||||
|
||||
public long Bounties => Entries.OfType<CommitCrimeEntry>().Sum(x => x.Bounty);
|
||||
|
||||
public long Fines => Entries.OfType<CommitCrimeEntry>().Sum(x => x.Fine);
|
||||
|
||||
public override int CompareTo(Transaction? other) {
|
||||
if (other == null || other.GetType() != typeof(FoulMurder)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
FoulMurder? hortator = other as FoulMurder;
|
||||
if (hortator != null &&
|
||||
Faction == hortator.Faction &&
|
||||
CrimeType == hortator.CrimeType) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
public override string ToString() {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
string type;
|
||||
|
||||
if (CrimeType == CrimeTypes.Murder) {
|
||||
if (Entries.Count > 1) {
|
||||
type = "ships";
|
||||
} else {
|
||||
type = "ship";
|
||||
}
|
||||
} else {
|
||||
if (Entries.Count > 1) {
|
||||
type = "people";
|
||||
} else {
|
||||
type = "person";
|
||||
}
|
||||
}
|
||||
|
||||
builder.AppendFormat("Murdered {0} {1} of {2} (Bounties: {3}, Fines: {4})",
|
||||
Entries.Count,
|
||||
type,
|
||||
Faction,
|
||||
Credits.FormatCredits(Bounties),
|
||||
Credits.FormatCredits(Fines)
|
||||
);
|
||||
|
||||
return builder.ToString();
|
||||
}
|
||||
}
|
12
EDPlayerJournal/BGS/IncompleteTransaction.cs
Normal file
12
EDPlayerJournal/BGS/IncompleteTransaction.cs
Normal file
@ -0,0 +1,12 @@
|
||||
namespace EDPlayerJournal.BGS;
|
||||
internal class IncompleteTransaction : Transaction {
|
||||
public Transaction? UnderlyingTransaction { get; set; } = null;
|
||||
public string Reason { get; set; } = "";
|
||||
|
||||
public IncompleteTransaction() { }
|
||||
|
||||
public IncompleteTransaction(Transaction? underlying, string reason) {
|
||||
UnderlyingTransaction = underlying;
|
||||
Reason = reason;
|
||||
}
|
||||
}
|
45
EDPlayerJournal/BGS/InfluenceSupport.cs
Normal file
45
EDPlayerJournal/BGS/InfluenceSupport.cs
Normal file
@ -0,0 +1,45 @@
|
||||
using System.Text;
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
|
||||
/// <summary>
|
||||
/// This class is used when a completed mission gives influence to another
|
||||
/// faction as well. This happens, for example, when you deliver cargo from one
|
||||
/// faction to another. Both sometimes gain influence.
|
||||
/// </summary>
|
||||
public class InfluenceSupport : Transaction {
|
||||
public string Influence { get; set; } = "";
|
||||
public MissionCompletedEntry? RelevantMission { get; set; }
|
||||
|
||||
public override string CompletedAt {
|
||||
get {
|
||||
if (RelevantMission == null) {
|
||||
return "";
|
||||
}
|
||||
return RelevantMission.Timestamp.ToString("dd.MM.yyyy hh:mm UTC");
|
||||
}
|
||||
}
|
||||
|
||||
public override string ToString() {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
string? missionname;
|
||||
|
||||
if (RelevantMission != null) {
|
||||
missionname = RelevantMission.HumanReadableName;
|
||||
} else {
|
||||
missionname = "UNKNOWN MISSION";
|
||||
}
|
||||
|
||||
if (missionname == null) {
|
||||
return "";
|
||||
}
|
||||
|
||||
builder.AppendFormat("Influence gained from \"{0}\": \"{1}\"",
|
||||
missionname,
|
||||
string.IsNullOrEmpty(Influence) ? "NONE" : Influence
|
||||
);
|
||||
|
||||
return builder.ToString();
|
||||
}
|
||||
}
|
64
EDPlayerJournal/BGS/MissionCompleted.cs
Normal file
64
EDPlayerJournal/BGS/MissionCompleted.cs
Normal file
@ -0,0 +1,64 @@
|
||||
using System.Text;
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
|
||||
public class MissionCompleted : Transaction {
|
||||
public MissionCompleted() { }
|
||||
public MissionCompleted(MissionCompletedEntry e) {
|
||||
Entries.Add(e);
|
||||
}
|
||||
|
||||
public string MissionName {
|
||||
get {
|
||||
MissionCompletedEntry? c = Entries[0] as MissionCompletedEntry;
|
||||
if (c == null) {
|
||||
return "";
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(c.HumanReadableName)) {
|
||||
return (c.Name ?? "");
|
||||
} else {
|
||||
return c.HumanReadableName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string Influence {
|
||||
get {
|
||||
MissionCompletedEntry? e = (Entries[0] as MissionCompletedEntry);
|
||||
|
||||
if (e == null || Faction == null) {
|
||||
return "";
|
||||
}
|
||||
|
||||
if (SystemAddress == 0) {
|
||||
return (e.GetInfluenceForFaction(Faction) ?? "");
|
||||
} else {
|
||||
return (e.GetInfluenceForFaction(Faction, SystemAddress) ?? "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override string ToString() {
|
||||
if (Faction == null || Entries.Count <= 0) {
|
||||
return "";
|
||||
}
|
||||
|
||||
StringBuilder builder = new StringBuilder();
|
||||
var entry = Entries[0] as MissionCompletedEntry;
|
||||
|
||||
if (entry == null) {
|
||||
return "";
|
||||
}
|
||||
|
||||
var influence = entry.GetInfluenceForFaction(Faction, SystemAddress);
|
||||
|
||||
builder.AppendFormat("{0}", MissionName);
|
||||
if (influence != "") {
|
||||
builder.AppendFormat(", Influence: {0}", influence);
|
||||
}
|
||||
|
||||
return builder.ToString();
|
||||
}
|
||||
}
|
55
EDPlayerJournal/BGS/MissionFailed.cs
Normal file
55
EDPlayerJournal/BGS/MissionFailed.cs
Normal file
@ -0,0 +1,55 @@
|
||||
using System.Text;
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
public class MissionFailed : Transaction {
|
||||
public MissionFailedEntry? Failed { get; set; }
|
||||
public MissionAcceptedEntry? Accepted { get; set; }
|
||||
|
||||
public MissionFailed() { }
|
||||
|
||||
public MissionFailed(MissionAcceptedEntry accepted) {
|
||||
Accepted = accepted;
|
||||
Faction = accepted.Faction;
|
||||
}
|
||||
|
||||
public override int CompareTo(Transaction? other) {
|
||||
if (other == null || other.GetType() != typeof(MissionFailed)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
MissionFailed? failed = other as MissionFailed;
|
||||
|
||||
if (failed == null) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* if it is the same mission name, the same faction and the same system,
|
||||
* collate mission failures together */
|
||||
if (failed.Failed?.HumanReadableName == Failed?.HumanReadableName &&
|
||||
failed.Faction == Faction &&
|
||||
failed.System == System) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
// +1 since the other entries are just copies of the one we have in our properties
|
||||
public int Amount => Entries.Count + 1;
|
||||
|
||||
public override string ToString() {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
||||
if (Failed == null || Accepted == null) {
|
||||
return "";
|
||||
}
|
||||
|
||||
builder.AppendFormat("{0}x Mission failed: \"{1}\"",
|
||||
Amount,
|
||||
Failed.HumanReadableName != null ? Failed.HumanReadableName : Failed.Name
|
||||
);
|
||||
|
||||
return builder.ToString();
|
||||
}
|
||||
}
|
126
EDPlayerJournal/BGS/Objective.cs
Normal file
126
EDPlayerJournal/BGS/Objective.cs
Normal file
@ -0,0 +1,126 @@
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Text;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
|
||||
public class Objective : IComparable<Objective> {
|
||||
private List<Transaction> entries = new List<Transaction>();
|
||||
|
||||
[JsonIgnore]
|
||||
public bool IsEnabled { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public List<Transaction> Children {
|
||||
get => entries;
|
||||
}
|
||||
|
||||
[JsonIgnore]
|
||||
public string Name => this.ToString();
|
||||
|
||||
[JsonIgnore]
|
||||
public bool IsExpanded { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public List<Transaction> LogEntries {
|
||||
get => entries;
|
||||
set => entries = value;
|
||||
}
|
||||
|
||||
public void Clear() {
|
||||
if (entries == null) {
|
||||
return;
|
||||
}
|
||||
entries.Clear();
|
||||
}
|
||||
|
||||
public int Matches(Transaction e) {
|
||||
int match_count = 0;
|
||||
|
||||
if (e.OnlyControllingFaction) {
|
||||
if (Faction == null || (e.Faction != Faction)) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (e.Faction != null && Faction != null) {
|
||||
if (string.Compare(e.Faction, Faction, true) != 0) {
|
||||
/* if we have a faction, and it doesn't match we don't care.
|
||||
* faction is the most important comparision, so if it doesn't match
|
||||
* it is not the right objective
|
||||
*/
|
||||
return 0;
|
||||
} else {
|
||||
++match_count;
|
||||
}
|
||||
}
|
||||
|
||||
/* system and station only add to the match strength though */
|
||||
if (e.System != null && System != null) {
|
||||
if (string.Compare(e.System, System, true) == 0) {
|
||||
++match_count;
|
||||
}
|
||||
}
|
||||
|
||||
/* if system and faction already match, station is not so important */
|
||||
if (e.Station != null && Station != null) {
|
||||
if (string.Compare(e.Station, Station, true) == 0) {
|
||||
++match_count;
|
||||
}
|
||||
}
|
||||
|
||||
return match_count;
|
||||
}
|
||||
|
||||
public int CompareTo(Objective? other) {
|
||||
if (other == null) {
|
||||
return 0;
|
||||
}
|
||||
return (other.System == System &&
|
||||
other.Station == Station &&
|
||||
other.Faction == Faction) ? 0 : -1;
|
||||
}
|
||||
|
||||
public bool IsValid => (!string.IsNullOrEmpty(System) && !string.IsNullOrEmpty(Faction));
|
||||
|
||||
public string System { get; set; } = "";
|
||||
|
||||
public string Station { get; set; } = "";
|
||||
|
||||
public string Faction { get; set; } = "";
|
||||
|
||||
public override string ToString() {
|
||||
StringBuilder str = new StringBuilder();
|
||||
if (System != null && System.Length > 0) {
|
||||
str.AppendFormat("System: {0}", System);
|
||||
}
|
||||
if (Station != null && Station.Length > 0) {
|
||||
if (str.Length > 0) {
|
||||
str.Append(", ");
|
||||
}
|
||||
str.AppendFormat("Station: {0}", Station);
|
||||
}
|
||||
if (Faction != null && Faction.Length > 0) {
|
||||
if (str.Length > 0) {
|
||||
str.Append(", ");
|
||||
}
|
||||
str.AppendFormat("Faction: {0}", Faction);
|
||||
}
|
||||
return str.ToString();
|
||||
}
|
||||
|
||||
public string ToShortString() {
|
||||
StringBuilder str = new StringBuilder();
|
||||
if (System != null && System.Length > 0) {
|
||||
str.AppendFormat("{0}", System);
|
||||
}
|
||||
if (Station != null && Station.Length > 0) {
|
||||
if (str.Length > 0) {
|
||||
str.Append(", ");
|
||||
}
|
||||
str.AppendFormat("{0}", Station);
|
||||
}
|
||||
return str.ToString();
|
||||
}
|
||||
}
|
41
EDPlayerJournal/BGS/OrganicData.cs
Normal file
41
EDPlayerJournal/BGS/OrganicData.cs
Normal file
@ -0,0 +1,41 @@
|
||||
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
|
||||
public class OrganicData : Transaction {
|
||||
public OrganicData(SellOrganicDataEntry e) {
|
||||
Entries.Add(e);
|
||||
}
|
||||
|
||||
public long TotalValue {
|
||||
get {
|
||||
return Entries.OfType<SellOrganicDataEntry>().Sum(x => x.TotalValue);
|
||||
}
|
||||
}
|
||||
|
||||
public override int CompareTo(Transaction? other) {
|
||||
if (other == null || other.GetType() != typeof(OrganicData)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (other?.Faction == Faction &&
|
||||
other?.System == System &&
|
||||
other?.Station == Station) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
public override string ToString() {
|
||||
return string.Format("Sold {0} worth of organic data to Vista Genomics",
|
||||
Credits.FormatCredits(TotalValue)
|
||||
);
|
||||
}
|
||||
|
||||
/* Selling organic data only helps the controlling faction, just like
|
||||
* selling cartographic data.
|
||||
*/
|
||||
public override bool OnlyControllingFaction => true;
|
||||
}
|
672
EDPlayerJournal/BGS/Report.cs
Normal file
672
EDPlayerJournal/BGS/Report.cs
Normal file
@ -0,0 +1,672 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
|
||||
public class Report {
|
||||
private List<Objective> objectives = new List<Objective>();
|
||||
|
||||
public delegate void OnLogDelegate(string log);
|
||||
|
||||
public event OnLogDelegate? OnLog;
|
||||
|
||||
public List<Objective> Objectives {
|
||||
get { return objectives; }
|
||||
set { objectives = value; }
|
||||
}
|
||||
|
||||
public bool AddObjective(Objective objective) {
|
||||
var found = objectives.Find(x => x.CompareTo(objective) == 0);
|
||||
bool added = false;
|
||||
|
||||
if (found == null) {
|
||||
objectives.Add(objective);
|
||||
added = true;
|
||||
}
|
||||
|
||||
return added;
|
||||
}
|
||||
|
||||
public static bool IsRelevant(Entry e) {
|
||||
return e.Is(Events.CommitCrime) ||
|
||||
e.Is(Events.Docked) ||
|
||||
e.Is(Events.FactionKillBond) ||
|
||||
e.Is(Events.FSDJump) ||
|
||||
e.Is(Events.Location) ||
|
||||
e.Is(Events.MarketBuy) ||
|
||||
e.Is(Events.MarketSell) ||
|
||||
e.Is(Events.MissionAccepted) ||
|
||||
e.Is(Events.MissionFailed) ||
|
||||
e.Is(Events.MultiSellExplorationData) ||
|
||||
e.Is(Events.RedeemVoucher) ||
|
||||
e.Is(Events.SearchAndRescue) ||
|
||||
e.Is(Events.SellExplorationData) ||
|
||||
e.Is(Events.SellMicroResources) ||
|
||||
e.Is(Events.SellOrganicData) ||
|
||||
e.Is(Events.ShipTargeted) ||
|
||||
e.Is(Events.MissionCompleted)
|
||||
;
|
||||
}
|
||||
|
||||
public void Scan(PlayerJournal journal, DateTime start, DateTime end) {
|
||||
/* Log files only get rotated if you restart the game client. This means that there might
|
||||
* be - say - entries from the 4th of May in the file with a timestamp of 3rd of May. This
|
||||
* happens if you happen to play a session late into the night.
|
||||
* At first I tried extracting the first and last line of a file to see the date range, but
|
||||
* if you have a lot of files this becomes quite slow, and quite the memory hog (as journal
|
||||
* files have to be read in their entirety to check this). So we assume that you can't play
|
||||
* three days straight, and keep the code fast.
|
||||
*/
|
||||
DateTime actualstart = start.AddDays(-3);
|
||||
List<Entry> entries = journal.Files
|
||||
.Where(f => f.NormalisedDateTime >= actualstart && f.NormalisedDateTime <= end)
|
||||
.SelectMany(e => e.Entries)
|
||||
.ToList()
|
||||
;
|
||||
// Now further sort the list down to entries that are actually within the given datetime
|
||||
// Note that entry datetimes are not normalised, so we have to sort until end + 1 day
|
||||
DateTime actualend = end.AddDays(1);
|
||||
|
||||
entries = entries
|
||||
.Where(e => e.Timestamp >= start && e.Timestamp < actualend)
|
||||
.ToList()
|
||||
;
|
||||
Scan(entries);
|
||||
}
|
||||
|
||||
public void Scan(List<Entry> entries) {
|
||||
if (entries.Count <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
List<Entry> relevant = entries
|
||||
.Where(x => IsRelevant(x))
|
||||
.ToList()
|
||||
;
|
||||
|
||||
Dictionary<ulong, MissionAcceptedEntry> acceptedMissions = new Dictionary<ulong, MissionAcceptedEntry>();
|
||||
Dictionary<string, long> buyCost = new Dictionary<string, long>();
|
||||
Dictionary<ulong, string> systems = new Dictionary<ulong, string>();
|
||||
Dictionary<string, string> npcfactions = new Dictionary<string, string>();
|
||||
Dictionary<string, List<Faction>> system_factions = new Dictionary<string, List<Faction>>();
|
||||
|
||||
// A dictionary resolving to a station at which each mission was accepted
|
||||
Dictionary<ulong, string> acceptedStations = new Dictionary<ulong, string>();
|
||||
// A dictionary resolving to a system at which each mission was accepted
|
||||
Dictionary<ulong, ulong> acceptedSystems = new Dictionary<ulong, ulong>();
|
||||
|
||||
string? current_system = null;
|
||||
ulong? current_system_address = null;
|
||||
string? current_station = null;
|
||||
string? controlling_faction = null;
|
||||
|
||||
objectives.ForEach(x => x.Clear());
|
||||
|
||||
foreach (Entry e in relevant) {
|
||||
List<Transaction> results = new List<Transaction>();
|
||||
bool collate = false;
|
||||
|
||||
if (e.Is(Events.Docked)) {
|
||||
DockedEntry? docked = e as DockedEntry;
|
||||
if (docked == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/* gleem the current station from this message
|
||||
*/
|
||||
current_station = docked.StationName;
|
||||
current_system = docked.StarSystem;
|
||||
controlling_faction = docked.StationFaction;
|
||||
current_system_address = docked.SystemAddress;
|
||||
|
||||
if (current_system_address != null && current_system != null) {
|
||||
if (!systems.ContainsKey(current_system_address.Value)) {
|
||||
systems.Add(current_system_address.Value, current_system);
|
||||
}
|
||||
}
|
||||
} else if (e.Is(Events.FSDJump)) {
|
||||
/* Gleem current system and controlling faction from this message.
|
||||
*/
|
||||
FSDJumpEntry? fsd = e as FSDJumpEntry;
|
||||
|
||||
if (fsd == null || fsd.StarSystem == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
current_system_address = fsd.SystemAddress;
|
||||
current_system = fsd.StarSystem;
|
||||
controlling_faction = fsd.SystemFaction;
|
||||
|
||||
if (!systems.ContainsKey(fsd.SystemAddress)) {
|
||||
systems.Add(fsd.SystemAddress, fsd.StarSystem);
|
||||
}
|
||||
|
||||
if (!system_factions.ContainsKey(fsd.StarSystem) &&
|
||||
fsd.SystemFactions.Count > 0) {
|
||||
system_factions[fsd.StarSystem] = fsd.SystemFactions;
|
||||
}
|
||||
} else if (e.Is(Events.Location)) {
|
||||
/* Get current system, faction name and station from Location message
|
||||
*/
|
||||
LocationEntry? location = e as LocationEntry;
|
||||
|
||||
if (location == null || location.StarSystem == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
current_system = location.StarSystem;
|
||||
current_system_address = location.SystemAddress;
|
||||
|
||||
if (!systems.ContainsKey(location.SystemAddress)) {
|
||||
systems.Add(location.SystemAddress, location.StarSystem);
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(location.SystemFaction)) {
|
||||
controlling_faction = location.SystemFaction;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(location.StationName)) {
|
||||
current_station = location.StationName;
|
||||
}
|
||||
|
||||
if (!system_factions.ContainsKey(location.StarSystem) &&
|
||||
location.SystemFactions.Count > 0) {
|
||||
system_factions[location.StarSystem] = location.SystemFactions;
|
||||
}
|
||||
} else if (e.Is(Events.ShipTargeted)) {
|
||||
ShipTargetedEntry? targeted = e as ShipTargetedEntry;
|
||||
|
||||
if (targeted == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(targeted.PilotNameLocalised) ||
|
||||
string.IsNullOrEmpty(targeted.Faction)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
npcfactions[targeted.PilotNameLocalised] = targeted.Faction;
|
||||
} else if (e.Is(Events.CommitCrime)) {
|
||||
CommitCrimeEntry? crime = e as CommitCrimeEntry;
|
||||
if (crime == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
string? faction = crime.Faction;
|
||||
|
||||
if (faction == null || !crime.IsMurder) {
|
||||
/* we don't care about anything but murder for now */
|
||||
continue;
|
||||
}
|
||||
|
||||
/* use localised victim name if we have it, otherwise use normal name */
|
||||
string? victim = crime.VictimLocalised;
|
||||
if (string.IsNullOrEmpty(victim)) {
|
||||
victim = crime.Victim;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(victim)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!npcfactions.ContainsKey(victim)) {
|
||||
/* The faction in the crime report is the faction that issues the bounty,
|
||||
* and not the faction of the victim.
|
||||
*/
|
||||
OnLog?.Invoke(string.Format(
|
||||
"No faction found for victim \"{0}\", using faction that issued the bounty instead.",
|
||||
victim, crime.Faction
|
||||
));
|
||||
} else {
|
||||
faction = npcfactions[victim];
|
||||
}
|
||||
|
||||
results.Add(new FoulMurder(crime) {
|
||||
System = current_system,
|
||||
Faction = faction,
|
||||
});
|
||||
collate = true;
|
||||
} else if (e.Is(Events.MissionCompleted)) {
|
||||
MissionCompletedEntry? completed = e as MissionCompletedEntry;
|
||||
|
||||
if (completed == null ||
|
||||
completed.MissionID == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
MissionAcceptedEntry? accepted = null;
|
||||
MissionCompleted? main_mission = null;
|
||||
ulong accepted_address;
|
||||
string? accepted_system;
|
||||
|
||||
string? target_faction_name = completed.TargetFaction;
|
||||
string? source_faction_name = completed.Faction;
|
||||
|
||||
if (!acceptedMissions.TryGetValue(completed.MissionID.Value, out accepted)) {
|
||||
OnLog?.Invoke(string.Format(
|
||||
"Unable to find mission acceptance for mission \"{0}\". " +
|
||||
"Please extend range to include the mission acceptance.", completed.HumanReadableName
|
||||
));
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!acceptedSystems.TryGetValue(completed.MissionID.Value, out accepted_address)) {
|
||||
OnLog?.Invoke(string.Format(
|
||||
"Unable to figure out in which system mission \"{0}\" was accepted.", completed.HumanReadableName
|
||||
));
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!systems.TryGetValue(accepted_address, out accepted_system)) {
|
||||
OnLog?.Invoke(string.Format(
|
||||
"Unable to figure out in which system mission \"{0}\" was accepted.", completed.HumanReadableName
|
||||
));
|
||||
continue;
|
||||
}
|
||||
|
||||
if (completed.HumanReadableNameWasGenerated) {
|
||||
/* If the human readable name was generated, we send a log message. Because the
|
||||
* generated names all sort of suck, we should have more human readable names in
|
||||
* in the lookup dictionary.
|
||||
*/
|
||||
OnLog?.Invoke("Human readable name for mission \"" +
|
||||
completed.Name +
|
||||
"\" was generated, please report this.");
|
||||
}
|
||||
|
||||
foreach (var other in completed.Influences) {
|
||||
string faction = other.Key;
|
||||
if (string.IsNullOrEmpty(faction)) {
|
||||
OnLog?.Invoke(string.Format(
|
||||
"Mission \"{0}\" has empty faction name in influence block, "+
|
||||
"so this influence support was ignored. " +
|
||||
"Please check the README on why this happens.", completed.HumanReadableName)
|
||||
);
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Now comes the fun part. Sometimes the influence list is empty for a faction.
|
||||
* This happens if the faction in question
|
||||
*/
|
||||
if (other.Value.Count() == 0) {
|
||||
OnLog?.Invoke(string.Format(
|
||||
"Mission \"{0}\" gave no influence to \"{1}\", so we assume this is because the " +
|
||||
"faction is in a conflict and cannot gain influence right now. " +
|
||||
"If this assessment is wrong, just remove the entry from the objective list.",
|
||||
completed.HumanReadableName, faction
|
||||
));
|
||||
|
||||
if (string.Compare(target_faction_name, faction, true) == 0) {
|
||||
/* here we assume that if the faction in question is the target faction,
|
||||
* that we gave said target faction no influence in the target system, aka
|
||||
* current system
|
||||
*/
|
||||
if (current_system_address == null) {
|
||||
continue;
|
||||
}
|
||||
other.Value.Add(current_system_address.Value, "");
|
||||
OnLog?.Invoke(string.Format(
|
||||
"Mission \"{0}\" gave no influence to \"{1}\". Since \"{1}\" is the target faction " +
|
||||
"of the mission, we assume the influence was gained in \"{2}\". " +
|
||||
"Please remove the entry if this assumption is wrong.",
|
||||
completed.HumanReadableName, faction, current_system
|
||||
));
|
||||
} else if (string.Compare(source_faction_name, faction, true) == 0) {
|
||||
/* source faction of the mission is not getting any influence. This could be because
|
||||
* the source faction is in an election state in its home system and cannot gain any
|
||||
* influence. It may also very well be that the source and target faction are the same
|
||||
* since the faction is present in both target and source system. In which case we add
|
||||
* both and hope for the best.
|
||||
*/
|
||||
other.Value.Add(accepted_address, "");
|
||||
OnLog?.Invoke(string.Format(
|
||||
"Mission \"{0}\" gave no influence to \"{1}\". Since \"{1}\" is the source faction " +
|
||||
"of the mission, we assume the influence was gained in \"{2}\". " +
|
||||
"Please remove the entry if this assumption is wrong.",
|
||||
completed.HumanReadableName, faction, accepted_system
|
||||
));
|
||||
|
||||
/* check if source/target faction are equal, in which case we also need an entry
|
||||
* for the target system. As said factions can be present in two systems, and can
|
||||
* give missions that target each other.
|
||||
*/
|
||||
if (string.Compare(source_faction_name, target_faction_name, true) == 0 &&
|
||||
current_system_address != null) {
|
||||
other.Value.Add(current_system_address.Value, "");
|
||||
OnLog?.Invoke(string.Format(
|
||||
"Mission \"{0}\" gave no influence to \"{1}\". Since \"{1}\" is the source and target faction " +
|
||||
"of the mission, we assume the influence was also gained in target system \"{2}\". " +
|
||||
"Please remove the entry if this assumption is wrong.",
|
||||
completed.HumanReadableName, faction, current_system
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach (var influences in other.Value) {
|
||||
ulong system_address = influences.Key;
|
||||
string? system;
|
||||
string? accepted_station;
|
||||
|
||||
if (completed.MissionID == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!systems.TryGetValue(system_address, out system)) {
|
||||
OnLog?.Invoke(string.Format(
|
||||
"Unknown system \"{0}\" unable to assign that mission a target.", system_address
|
||||
));
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!acceptedStations.TryGetValue(completed.MissionID.Value, out accepted_station)) {
|
||||
OnLog?.Invoke(string.Format(
|
||||
"Unable to figure out in which station mission \"{0}\" was accepted.", completed.HumanReadableName
|
||||
));
|
||||
continue;
|
||||
}
|
||||
|
||||
if (faction.Equals(source_faction_name) && system_address == accepted_address) {
|
||||
/* This is the influence block for the origin of the mission.
|
||||
*/
|
||||
main_mission = new MissionCompleted(completed) {
|
||||
System = accepted_system,
|
||||
Faction = source_faction_name,
|
||||
SystemAddress = accepted_address,
|
||||
Station = accepted_station,
|
||||
};
|
||||
results.Add(main_mission);
|
||||
} else if (!faction.Equals(source_faction_name) ||
|
||||
(faction.Equals(source_faction_name) && system_address != accepted_address)) {
|
||||
/* This block is for secondary factions (first if), or if the secondary faction
|
||||
* is the same as the mission giver, but in another system (second if).
|
||||
*/
|
||||
results.Add(new InfluenceSupport() {
|
||||
Faction = faction,
|
||||
Influence = influences.Value,
|
||||
System = system,
|
||||
SystemAddress = system_address,
|
||||
RelevantMission = completed
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (e.Is(Events.MissionAccepted)) {
|
||||
MissionAcceptedEntry? accepted = e as MissionAcceptedEntry;
|
||||
|
||||
if (accepted == null ||
|
||||
current_station == null ||
|
||||
current_system_address == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
ulong id = accepted.MissionID;
|
||||
|
||||
if (!acceptedMissions.ContainsKey(id)) {
|
||||
acceptedMissions[id] = accepted;
|
||||
}
|
||||
if (!acceptedStations.ContainsKey(id)) {
|
||||
acceptedStations[id] = current_station;
|
||||
}
|
||||
if (!acceptedSystems.ContainsKey(id)) {
|
||||
acceptedSystems[id] = current_system_address.Value;
|
||||
}
|
||||
} else if (e.Is(Events.MissionFailed)) {
|
||||
MissionFailedEntry? failed = e as MissionFailedEntry;
|
||||
MissionAcceptedEntry? accepted = null;
|
||||
ulong accepted_address = 0;
|
||||
string? accepted_system;
|
||||
string? accepted_station;
|
||||
|
||||
if (failed == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!acceptedMissions.TryGetValue(failed.MissionID, out accepted)) {
|
||||
OnLog?.Invoke("A mission failed which wasn't accepted in the given time frame. " +
|
||||
"Please adjust start date to when the mission was accepted to include it in the list.");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!acceptedSystems.TryGetValue(failed.MissionID, out accepted_address)) {
|
||||
OnLog?.Invoke(string.Format(
|
||||
"Unable to figure out in which system mission \"{0}\" was accepted.", accepted.Name
|
||||
));
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!systems.TryGetValue(accepted_address, out accepted_system)) {
|
||||
OnLog?.Invoke(string.Format(
|
||||
"Unable to figure out in which system mission \"{0}\" was accepted.", accepted.Name
|
||||
));
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!acceptedStations.TryGetValue(failed.MissionID, out accepted_station)) {
|
||||
OnLog?.Invoke(string.Format(
|
||||
"Unable to figure out in which station mission \"{0}\" was accepted.", accepted.Name
|
||||
));
|
||||
continue;
|
||||
}
|
||||
|
||||
results.Add(new MissionFailed(accepted) {
|
||||
Failed = failed,
|
||||
System = accepted_system,
|
||||
Station = accepted_station,
|
||||
Faction = accepted.Faction,
|
||||
SystemAddress = accepted_address,
|
||||
});
|
||||
|
||||
if (failed.HumanReadableName == null) {
|
||||
OnLog?.Invoke("Human readable name for mission \"" +
|
||||
failed.Name +
|
||||
"\" was not recognised");
|
||||
}
|
||||
|
||||
/* Mission failed should be collated if they are in the same system/station
|
||||
*/
|
||||
collate = true;
|
||||
} else if (e.Is(Events.SellExplorationData)) {
|
||||
SellExplorationDataEntry? explo = e as SellExplorationDataEntry;
|
||||
|
||||
if (explo == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
results.Add(new Cartographics(explo) {
|
||||
System = current_system,
|
||||
Station = current_station,
|
||||
Faction = controlling_faction,
|
||||
});
|
||||
|
||||
/* colate single cartographic selling into one */
|
||||
collate = true;
|
||||
} else if (e.Is(Events.SellOrganicData)) {
|
||||
SellOrganicDataEntry? organic = e as SellOrganicDataEntry;
|
||||
|
||||
if (organic == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* organic data sold to Vista Genomics */
|
||||
results.Add(new OrganicData(organic) {
|
||||
System = current_system,
|
||||
Station = current_station,
|
||||
Faction = controlling_faction,
|
||||
});
|
||||
|
||||
collate = true;
|
||||
} else if (e.Is(Events.MultiSellExplorationData)) {
|
||||
MultiSellExplorationDataEntry? explo = e as MultiSellExplorationDataEntry;
|
||||
|
||||
if (explo == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/* For multi-sell-exploraton-data only the controlling faction of the station sold to matters.
|
||||
*/
|
||||
results.Add(new Cartographics(explo) {
|
||||
System = current_system,
|
||||
Station = current_station,
|
||||
Faction = controlling_faction
|
||||
});
|
||||
|
||||
collate = true;
|
||||
} else if (e.Is(Events.RedeemVoucher)) {
|
||||
RedeemVoucherEntry? voucher = e as RedeemVoucherEntry;
|
||||
List<Faction> current_factions = new List<Faction>();
|
||||
|
||||
if (voucher == null || current_system == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (system_factions.ContainsKey(current_system)) {
|
||||
current_factions = system_factions[current_system];
|
||||
} else {
|
||||
OnLog?.Invoke("There are no current system factions, so turned in vouchers were ignored.");
|
||||
continue;
|
||||
}
|
||||
|
||||
foreach (string faction in voucher.Factions) {
|
||||
if (current_factions.Find(x => x.Name == faction) == null) {
|
||||
OnLog?.Invoke(
|
||||
string.Format("Vouchers for \"{0}\" were ignored in \"{1}\" since said " +
|
||||
"faction is not present there.", faction, current_system)
|
||||
);
|
||||
continue; /* faction is not present, so it is ignored */
|
||||
}
|
||||
|
||||
/* Same for selling combat vouchers. Only the current controlling faction matters here.
|
||||
*/
|
||||
results.Add(new Vouchers(voucher) {
|
||||
System = current_system,
|
||||
Station = current_station,
|
||||
Faction = faction,
|
||||
ControllingFaction = controlling_faction,
|
||||
});
|
||||
}
|
||||
|
||||
collate = true;
|
||||
} else if (e.Is(Events.SellMicroResources)) {
|
||||
SellMicroResourcesEntry? smr = e as SellMicroResourcesEntry;
|
||||
|
||||
if (smr == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
results.Add(new SellMicroResources(smr) {
|
||||
Faction = controlling_faction,
|
||||
Station = current_station,
|
||||
System = current_system
|
||||
});
|
||||
} else if (e.Is(Events.MarketBuy)) {
|
||||
MarketBuyEntry? buy = e as MarketBuyEntry;
|
||||
|
||||
if (buy == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(buy.Type) || buy.BuyPrice == 0) {
|
||||
continue;
|
||||
}
|
||||
buyCost[buy.Type] = buy.BuyPrice;
|
||||
|
||||
results.Add(new BuyCargo(buy) {
|
||||
Faction = controlling_faction,
|
||||
Station = current_station,
|
||||
System = current_system,
|
||||
});
|
||||
|
||||
collate = true;
|
||||
} else if (e.Is(Events.SearchAndRescue)) {
|
||||
SearchAndRescueEntry? sar = e as SearchAndRescueEntry;
|
||||
|
||||
if (sar == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
results.Add(new SearchAndRescue(sar) {
|
||||
Faction = controlling_faction,
|
||||
Station = current_station,
|
||||
System = current_system,
|
||||
});
|
||||
|
||||
collate = true;
|
||||
} else if (e.Is(Events.MarketSell)) {
|
||||
MarketSellEntry? sell = e as MarketSellEntry;
|
||||
long profit = 0;
|
||||
|
||||
if (sell == null || sell.Type == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!buyCost.ContainsKey(sell.Type)) {
|
||||
OnLog?.Invoke("Could not find buy order for the given commodity. Please adjust profit manually.");
|
||||
} else {
|
||||
long avg = buyCost[sell.Type];
|
||||
profit = (long)sell.TotalSale - (avg * sell.Count);
|
||||
}
|
||||
|
||||
results.Add(new SellCargo(sell) {
|
||||
Faction = controlling_faction,
|
||||
Station = current_station,
|
||||
System = current_system,
|
||||
Profit = profit
|
||||
});
|
||||
}
|
||||
|
||||
if (results == null || results.Count <= 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
foreach (Transaction entry in results) {
|
||||
/* Find all objectives that generally match.
|
||||
*/
|
||||
var matches = objectives
|
||||
.Where(x => x.Matches(entry) >= 2)
|
||||
.OrderBy(x => x.Matches(entry))
|
||||
;
|
||||
|
||||
Objective? objective = null;
|
||||
if (matches != null && matches.Count() > 0) {
|
||||
/* Then select the one that matches the most.
|
||||
*/
|
||||
objective = matches
|
||||
.OrderBy(x => x.Matches(entry))
|
||||
.Reverse()
|
||||
.First()
|
||||
;
|
||||
} else {
|
||||
/* create a new objective if we don't have one */
|
||||
objective = new Objective() {
|
||||
Station = (entry.Station ?? ""),
|
||||
Faction = (entry.Faction ?? ""),
|
||||
System = (entry.System ?? ""),
|
||||
};
|
||||
objectives.Add(objective);
|
||||
}
|
||||
|
||||
Transaction? existing = null;
|
||||
|
||||
existing = objective.LogEntries.Find(x => {
|
||||
try {
|
||||
return x.CompareTo(entry) == 0;
|
||||
} catch (NotImplementedException) {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
if (collate && existing != null) {
|
||||
existing.Entries.Add(e);
|
||||
} else if (!collate || existing == null) {
|
||||
objective.LogEntries.Add(entry);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void Scan(PlayerJournal journal) {
|
||||
Scan(journal, DateTime.Now, DateTime.Now);
|
||||
}
|
||||
}
|
53
EDPlayerJournal/BGS/SearchAndRescue.cs
Normal file
53
EDPlayerJournal/BGS/SearchAndRescue.cs
Normal file
@ -0,0 +1,53 @@
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
public class SearchAndRescue : Transaction {
|
||||
public SearchAndRescue (SearchAndRescueEntry e) {
|
||||
Entries.Add(e);
|
||||
}
|
||||
|
||||
public long Count {
|
||||
get {
|
||||
return Entries.OfType<SearchAndRescueEntry>().Sum(x => x.Count);
|
||||
}
|
||||
}
|
||||
|
||||
public long Reward {
|
||||
get {
|
||||
return Entries.OfType<SearchAndRescueEntry>().Sum(x => x.Reward);
|
||||
}
|
||||
}
|
||||
|
||||
public string? NameLocalised {
|
||||
get {
|
||||
return Entries.OfType<SearchAndRescueEntry>().First().NameLocalised;
|
||||
}
|
||||
}
|
||||
|
||||
public override int CompareTo(Transaction? o) {
|
||||
if (o == null || o.GetType() != typeof(SearchAndRescue)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
SearchAndRescue? other = o as SearchAndRescue;
|
||||
|
||||
if (other?.System == System &&
|
||||
other?.Station == Station &&
|
||||
other?.Faction == Faction &&
|
||||
other?.NameLocalised == NameLocalised) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
public override string ToString() {
|
||||
return string.Format("Contributed {0} {1} to Search and Rescue ({2})",
|
||||
Count,
|
||||
NameLocalised,
|
||||
Credits.FormatCredits(Reward)
|
||||
);
|
||||
}
|
||||
|
||||
public override bool OnlyControllingFaction => true;
|
||||
}
|
73
EDPlayerJournal/BGS/SellCargo.cs
Normal file
73
EDPlayerJournal/BGS/SellCargo.cs
Normal file
@ -0,0 +1,73 @@
|
||||
using System.Text;
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
public class SellCargo : Transaction {
|
||||
public long Profit { get; set; }
|
||||
|
||||
public SellCargo() { }
|
||||
|
||||
public SellCargo(MarketSellEntry e) {
|
||||
Entries.Add(e);
|
||||
}
|
||||
|
||||
public string? Cargo {
|
||||
get {
|
||||
string? cargo;
|
||||
var sell = Entries.OfType<MarketSellEntry>().First();
|
||||
|
||||
if (!string.IsNullOrEmpty(sell.TypeLocalised)) {
|
||||
cargo = sell.TypeLocalised;
|
||||
} else {
|
||||
cargo = sell.Type;
|
||||
if (cargo != null && cargo.Length >= 2) {
|
||||
cargo = cargo[0].ToString().ToUpper() + cargo.Substring(1);
|
||||
}
|
||||
}
|
||||
|
||||
return cargo;
|
||||
}
|
||||
}
|
||||
|
||||
public string Market {
|
||||
get {
|
||||
var sell = Entries.OfType<MarketSellEntry>().First();
|
||||
return sell.BlackMarket ? "Black Market" : "Commodity Market";
|
||||
}
|
||||
}
|
||||
|
||||
public long Amount {
|
||||
get { return Entries.OfType<MarketSellEntry>().Sum(x => x.Count); }
|
||||
}
|
||||
|
||||
public override string ToString() {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
var sold = Entries.OfType<MarketSellEntry>().ToArray();
|
||||
|
||||
if (sold == null || sold.Length == 0) {
|
||||
return builder.ToString();
|
||||
}
|
||||
|
||||
foreach (MarketSellEntry sell in sold) {
|
||||
builder.AppendFormat("Sold {0} {1} to the {2}",
|
||||
sell.Count,
|
||||
Cargo,
|
||||
Market
|
||||
);
|
||||
|
||||
if (Profit != 0) {
|
||||
builder.AppendFormat(" ({0} {1})",
|
||||
Credits.FormatCredits(Profit),
|
||||
Profit < 0 ? "loss" : "profit"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
return builder.ToString().Trim();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Selling resources to a market only helps the controlling faction
|
||||
/// </summary>
|
||||
public override bool OnlyControllingFaction => true;
|
||||
}
|
26
EDPlayerJournal/BGS/SellMicroResources.cs
Normal file
26
EDPlayerJournal/BGS/SellMicroResources.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using System.Linq;
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
public class SellMicroResources : Transaction {
|
||||
public int TotalSum {
|
||||
get {
|
||||
return Entries
|
||||
.OfType<SellMicroResourcesEntry>()
|
||||
.Sum(x => x.Price)
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
public SellMicroResources() { }
|
||||
|
||||
public SellMicroResources(SellMicroResourcesEntry e) {
|
||||
Entries.Add(e);
|
||||
}
|
||||
|
||||
public override string ToString() {
|
||||
return string.Format("Sell Micro Resources: {0}", Credits.FormatCredits(TotalSum));
|
||||
}
|
||||
|
||||
public override bool OnlyControllingFaction => true;
|
||||
}
|
44
EDPlayerJournal/BGS/Transaction.cs
Normal file
44
EDPlayerJournal/BGS/Transaction.cs
Normal file
@ -0,0 +1,44 @@
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
|
||||
public class Transaction : IComparable<Transaction> {
|
||||
public List<Entry> Entries { get; } = new List<Entry>();
|
||||
|
||||
public virtual string CompletedAt {
|
||||
get {
|
||||
var items = Entries
|
||||
.OrderBy(x => x.Timestamp)
|
||||
.ToArray()
|
||||
;
|
||||
if (items == null || items.Length == 0) {
|
||||
return "Unknown";
|
||||
}
|
||||
|
||||
Entry last = items.Last();
|
||||
return last.Timestamp.ToString("dd.MM.yyyy HH:mm UTC");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Controlling faction of the station this entry was made/turned into.
|
||||
/// </summary>
|
||||
public string? ControllingFaction { get; set; }
|
||||
public string? Station { get; set; }
|
||||
public string? System { get; set; }
|
||||
public ulong SystemAddress { get; set; }
|
||||
public string? Faction { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether this transaction type only benefits the controlling faction or not, default: no
|
||||
/// </summary>
|
||||
public virtual bool OnlyControllingFaction {
|
||||
get { return false; }
|
||||
}
|
||||
|
||||
public virtual int CompareTo(Transaction? other) {
|
||||
throw new NotImplementedException("not implemented");
|
||||
}
|
||||
|
||||
public string? Name => ToString();
|
||||
}
|
619
EDPlayerJournal/BGS/TransactionParser.cs
Normal file
619
EDPlayerJournal/BGS/TransactionParser.cs
Normal file
@ -0,0 +1,619 @@
|
||||
using EDPlayerJournal.Entries;
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection.Metadata.Ecma335;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
|
||||
internal class TransactionParserContext {
|
||||
public string? CurrentSystem { get; set; }
|
||||
public ulong? CurrentSystemAddress { get; set; }
|
||||
public string? CurrentStation { get; set; }
|
||||
public string? ControllingFaction { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A list of accepted missions index by their mission ID
|
||||
/// </summary>
|
||||
public Dictionary<ulong, MissionAcceptedEntry> AcceptedMissions { get; } = new();
|
||||
public Dictionary<ulong, Location> AcceptedMissionLocation { get; } = new();
|
||||
/// <summary>
|
||||
/// A way to lookup a system by its system id
|
||||
/// </summary>
|
||||
public Dictionary<ulong, string> SystemsByID { get; } = new();
|
||||
/// <summary>
|
||||
/// A list of factions present in the given star system
|
||||
/// </summary>
|
||||
public Dictionary<string, List<Faction>> SystemFactions { get; } = new();
|
||||
/// <summary>
|
||||
/// To which faction a given named NPC belonged to.
|
||||
/// </summary>
|
||||
public Dictionary<string, string> NPCFaction { get; } = new();
|
||||
/// <summary>
|
||||
/// Buy costs for a given commodity
|
||||
/// </summary>
|
||||
public Dictionary<string, long> BuyCost = new();
|
||||
|
||||
public void BoughtCargo(string? cargo, long? cost) {
|
||||
if (cargo == null || cost == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
BuyCost[cargo] = cost.Value;
|
||||
}
|
||||
|
||||
public List<Faction>? GetFactions(string? system) {
|
||||
if (system == null || !SystemFactions.ContainsKey(system)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return SystemFactions[system];
|
||||
}
|
||||
|
||||
public void MissionAccepted(MissionAcceptedEntry accepted) {
|
||||
if (CurrentSystem == null || CurrentSystemAddress == null) {
|
||||
throw new Exception("Mission accepted without knowing where.");
|
||||
}
|
||||
|
||||
AcceptedMissions.TryAdd(accepted.MissionID, accepted);
|
||||
|
||||
Location location = new() {
|
||||
StarSystem = CurrentSystem,
|
||||
SystemAddress = CurrentSystemAddress.Value,
|
||||
Station = (CurrentStation ?? ""),
|
||||
};
|
||||
|
||||
AcceptedMissionLocation.TryAdd(accepted.MissionID, location);
|
||||
}
|
||||
}
|
||||
|
||||
public class TransactionList : List<Transaction> {
|
||||
public void AddIncomplete(Transaction underlying, string reason) {
|
||||
Add(new IncompleteTransaction(underlying, reason));
|
||||
}
|
||||
}
|
||||
|
||||
internal interface TransactionParserPart{
|
||||
/// <summary>
|
||||
/// Parse a given entry of the entry type specified when declaring to implement this
|
||||
/// interface. You must add your transaction to the passed list in case you did have
|
||||
/// enough information to parse one or more. You may update the parser context
|
||||
/// with new information in case the entry yielded new information.
|
||||
/// Throw an exception if there was an error or a malformed entry. If you have an
|
||||
/// incomplete entry, i.e. not enough information to complete one, add an
|
||||
/// IncompleteTransaction to the list
|
||||
/// </summary>
|
||||
/// <param name="entry">The entry to parse</param>
|
||||
/// <param name="context">Parsing context that may contain useful information</param>
|
||||
/// <param name="transactions">List of parsed transactions</param>
|
||||
public void Parse(Entry entry, TransactionParserContext context, TransactionList transactions);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The location parser only updates the context with useful information, and does not
|
||||
/// by itself generate any transactions. Location is the best information gatherer here
|
||||
/// as we are getting controlling faction, system factions, address and station name.
|
||||
/// </summary>
|
||||
internal class LocationParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
LocationEntry? entry = e as LocationEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
if (entry.StarSystem == null) {
|
||||
throw new InvalidJournalEntryException();
|
||||
}
|
||||
|
||||
context.CurrentSystem = entry.StarSystem;
|
||||
context.CurrentSystemAddress = entry.SystemAddress;
|
||||
|
||||
context.SystemsByID.TryAdd(entry.SystemAddress, entry.StarSystem);
|
||||
|
||||
if (!string.IsNullOrEmpty(entry.SystemFaction)) {
|
||||
context.ControllingFaction = entry.SystemFaction;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(entry.StationName)) {
|
||||
context.CurrentStation = entry.StationName;
|
||||
}
|
||||
|
||||
if (!context.SystemFactions.ContainsKey(entry.StarSystem) &&
|
||||
entry.SystemFactions != null && entry.SystemFactions.Count > 0) {
|
||||
context.SystemFactions[entry.StarSystem] = entry.SystemFactions;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal class FSDJumpParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
FSDJumpEntry? entry = e as FSDJumpEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
if (entry.StarSystem == null) {
|
||||
throw new InvalidJournalEntryException();
|
||||
}
|
||||
|
||||
context.CurrentSystem = entry.StarSystem;
|
||||
context.CurrentSystemAddress = entry.SystemAddress;
|
||||
|
||||
context.SystemsByID.TryAdd(entry.SystemAddress, entry.StarSystem);
|
||||
|
||||
if (!string.IsNullOrEmpty(entry.SystemFaction)) {
|
||||
context.ControllingFaction = entry.SystemFaction;
|
||||
}
|
||||
|
||||
if (!context.SystemFactions.ContainsKey(entry.StarSystem) &&
|
||||
entry.SystemFactions != null && entry.SystemFactions.Count > 0) {
|
||||
context.SystemFactions[entry.StarSystem] = entry.SystemFactions;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal class DockedParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
DockedEntry? entry = e as DockedEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
if (entry.StarSystem == null || entry.SystemAddress == null) {
|
||||
throw new InvalidJournalEntryException();
|
||||
}
|
||||
|
||||
context.CurrentSystem = entry.StarSystem;
|
||||
context.CurrentSystemAddress = entry.SystemAddress;
|
||||
|
||||
context.SystemsByID.TryAdd(entry.SystemAddress.Value, entry.StarSystem);
|
||||
|
||||
if (!string.IsNullOrEmpty(entry.StationFaction)) {
|
||||
context.ControllingFaction = entry.StationFaction;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(entry.StationName)) {
|
||||
context.CurrentStation = entry.StationName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// With ship targeted we might find out to which faction a given NPC belonged. This is
|
||||
/// useful later when said NPC gets killed or murdered.
|
||||
/// </summary>
|
||||
internal class ShipTargetedParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
ShipTargetedEntry? entry = e as ShipTargetedEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
// Scan happens in stages, and sometimes this information is not known
|
||||
// yet. Do now throw an error, this is expected behaviour.
|
||||
if (!string.IsNullOrEmpty(entry.PilotNameLocalised) &&
|
||||
!string.IsNullOrEmpty(entry.Faction)) {
|
||||
context.NPCFaction.TryAdd(entry.PilotNameLocalised, entry.Faction);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Commit crime can result in a transaction, especially if the crime committed is
|
||||
/// murder.
|
||||
/// </summary>
|
||||
internal class CommitCrimeParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
CommitCrimeEntry? entry = e as CommitCrimeEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
// Right now we only care for murder
|
||||
if (!entry.IsMurder) {
|
||||
return;
|
||||
}
|
||||
|
||||
string? victim = entry.Victim;
|
||||
|
||||
if (victim == null) {
|
||||
victim = entry.VictimLocalised;
|
||||
}
|
||||
|
||||
// If they were not properly scanned prior to the murder we do not have
|
||||
// This information. But in the end the name of the NPC does not matter.
|
||||
if (victim == null) {
|
||||
victim = "Unknown";
|
||||
}
|
||||
|
||||
if (!context.NPCFaction.ContainsKey(victim)) {
|
||||
transactions.AddIncomplete(
|
||||
new FoulMurder(),
|
||||
"Crime victim was not properly scanned."
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
string faction = context.NPCFaction[victim];
|
||||
|
||||
transactions.Add(new FoulMurder(entry) {
|
||||
System = context.CurrentSystem,
|
||||
Faction = faction,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
internal class MissionAcceptedParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
MissionAcceptedEntry? entry = e as MissionAcceptedEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
if (context.CurrentSystem == null || context.CurrentSystemAddress == null) {
|
||||
transactions.AddIncomplete(new MissionCompleted(),
|
||||
"Could not determine current location on mission acceptance."
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
context.MissionAccepted(entry);
|
||||
} catch (Exception exception) {
|
||||
transactions.AddIncomplete(new MissionCompleted(),
|
||||
exception.Message
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal class MissionCompletedParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
MissionCompletedEntry? entry = e as MissionCompletedEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
if (entry.MissionID == null) {
|
||||
throw new InvalidJournalEntryException("mission completed has no mission ID");
|
||||
}
|
||||
|
||||
MissionAcceptedEntry? accepted = null;
|
||||
Location? accepted_location = null;
|
||||
string? target_faction_name = entry.TargetFaction;
|
||||
string? source_faction_name = entry.Faction;
|
||||
|
||||
// We did not find when the mission was accepted.
|
||||
if (!context.AcceptedMissions.TryGetValue(entry.MissionID.Value, out accepted)) {
|
||||
transactions.AddIncomplete(new MissionCompleted(),
|
||||
String.Format("Mission acceptance for mission id {0} was not found",
|
||||
entry.MissionID.Value));
|
||||
return;
|
||||
}
|
||||
|
||||
if (!context.AcceptedMissionLocation.TryGetValue(entry.MissionID.Value, out accepted_location)) {
|
||||
transactions.AddIncomplete(new MissionCompleted(),
|
||||
String.Format("Location for acceptance for mission id {0} was not found",
|
||||
entry.MissionID.Value));
|
||||
return;
|
||||
}
|
||||
|
||||
// This block does some preliminary "repairs" on the influences block of a completed
|
||||
// mission. Sometimes these entries are broken, or are missing information for later
|
||||
// parsing.
|
||||
foreach (var other in entry.Influences) {
|
||||
string faction = other.Key;
|
||||
if (string.IsNullOrEmpty(faction)) {
|
||||
// Target faction might be empty string, in special cases. For example if you
|
||||
// scan a surface installation, and the target faction of the surface installation
|
||||
// gets negative REP, but the surface installation is not owned by anyone.
|
||||
continue;
|
||||
}
|
||||
|
||||
// Fun ahead: sometimes the influence list is empty for a faction entry. Here
|
||||
// we try to repair it.
|
||||
if (other.Value.Count == 0) {
|
||||
if (string.Compare(target_faction_name, faction, true) == 0) {
|
||||
if (context.CurrentSystemAddress == null) {
|
||||
continue;
|
||||
}
|
||||
other.Value.Add(context.CurrentSystemAddress.Value, "");
|
||||
// Mission gave no influence to the target faction, so we assume
|
||||
// the target faction was in the same system.
|
||||
} else if (string.Compare(source_faction_name, faction, true) == 0) {
|
||||
// This happens if the source faction is not getting any influence
|
||||
// This could be if the source faction is in a conflict, and thus does
|
||||
// not gain any influence at all.
|
||||
other.Value.Add(accepted_location.SystemAddress, "");
|
||||
|
||||
// Just check if the target/source faction are the same, in which case
|
||||
// we also have to make an additional entry
|
||||
if (string.Compare(source_faction_name, target_faction_name, true) == 0 &&
|
||||
context.CurrentSystemAddress != null) {
|
||||
other.Value.Add(context.CurrentSystemAddress.Value, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Now actually parse completed mission
|
||||
foreach (var influences in other.Value) {
|
||||
ulong system_address = influences.Key;
|
||||
string? system;
|
||||
|
||||
if (!context.SystemsByID.TryGetValue(system_address, out system)) {
|
||||
transactions.AddIncomplete(new MissionCompleted(),
|
||||
string.Format("Unknown system {0}, unable to assign that mission a target", system_address)
|
||||
);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (string.Compare(faction, source_faction_name, true) == 0 &&
|
||||
system_address == accepted_location.SystemAddress) {
|
||||
// Source and target faction are the same, and this is the block
|
||||
// for the source system. So we make a full mission completed entry.
|
||||
transactions.Add(new MissionCompleted(entry) {
|
||||
System = accepted_location.StarSystem,
|
||||
Faction = source_faction_name,
|
||||
SystemAddress = accepted_location.SystemAddress,
|
||||
Station = accepted_location.Station,
|
||||
});
|
||||
} else if (string.Compare(faction, source_faction_name, true) != 0 ||
|
||||
(string.Compare(faction, source_faction_name) == 0 &&
|
||||
system_address != accepted_location.SystemAddress)) {
|
||||
// Source or target faction are different, and/or the system
|
||||
// differs. Sometimes missions go to different systems but to
|
||||
// the same faction.
|
||||
transactions.Add(new InfluenceSupport() {
|
||||
Faction = faction,
|
||||
Influence = influences.Value,
|
||||
System = system,
|
||||
SystemAddress = system_address,
|
||||
RelevantMission = entry,
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal class MissionFailedParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
MissionAcceptedEntry? accepted = null;
|
||||
Location? accepted_location = null;
|
||||
string? accepted_system = null;
|
||||
|
||||
MissionFailedEntry? entry = e as MissionFailedEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
if (!context.AcceptedMissions.TryGetValue(entry.MissionID, out accepted)) {
|
||||
transactions.AddIncomplete(new MissionFailed(),
|
||||
"Mission acceptance was not found"
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!context.AcceptedMissionLocation.TryGetValue(entry.MissionID, out accepted_location)) {
|
||||
transactions.AddIncomplete(new MissionFailed(),
|
||||
"Unable to figure out where failed mission was accepted"
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!context.SystemsByID.TryGetValue(accepted_location.SystemAddress, out accepted_system)) {
|
||||
transactions.AddIncomplete(new MissionFailed(),
|
||||
"Unable to figure out in which system failed mission was accepted"
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
transactions.Add(new MissionFailed() {
|
||||
Accepted = accepted,
|
||||
Faction = accepted.Faction,
|
||||
Failed = entry,
|
||||
Station = accepted_location.Station,
|
||||
System = accepted_location.StarSystem,
|
||||
SystemAddress = accepted_location.SystemAddress,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
internal class SellExplorationDataParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
SellExplorationDataEntry? entry = e as SellExplorationDataEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
transactions.Add(new Cartographics(entry) {
|
||||
System = context.CurrentSystem,
|
||||
Station = context.CurrentStation,
|
||||
Faction = context.ControllingFaction,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
internal class SellOrganicDataParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
SellOrganicDataEntry? entry = e as SellOrganicDataEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
transactions.Add(new OrganicData(entry) {
|
||||
System = context.CurrentSystem,
|
||||
Station = context.CurrentStation,
|
||||
Faction = context.ControllingFaction,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
internal class MultiSellExplorationDataParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
MultiSellExplorationDataEntry? entry = e as MultiSellExplorationDataEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
transactions.Add(new Cartographics(entry) {
|
||||
System = context.CurrentSystem,
|
||||
Station = context.CurrentStation,
|
||||
Faction = context.ControllingFaction,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
internal class RedeemVoucherParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
RedeemVoucherEntry? entry = e as RedeemVoucherEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
if (context.CurrentSystem == null) {
|
||||
transactions.AddIncomplete(new Vouchers(),
|
||||
"Could not find out where the vouchers were redeemed"
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
List<Faction>? current_factions = context.GetFactions(context.CurrentSystem);
|
||||
if (current_factions == null) {
|
||||
transactions.AddIncomplete(new Vouchers(),
|
||||
"Current system factions are unknown, so vouchers were ineffective");
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (string faction in entry.Factions) {
|
||||
if (current_factions.Find(x => string.Compare(x.Name, faction, true) == 0) == null) {
|
||||
transactions.AddIncomplete(new Vouchers(),
|
||||
string.Format("Vouchers for {0} were ignored in {1} since said " +
|
||||
"faction is not present here", faction, context.CurrentSystem)
|
||||
);
|
||||
continue;
|
||||
}
|
||||
|
||||
transactions.Add(new Vouchers(entry) {
|
||||
System = context.CurrentSystem,
|
||||
Station = context.CurrentStation,
|
||||
Faction = faction,
|
||||
ControllingFaction = context.ControllingFaction,
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal class SellMicroResourcesParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
SellMicroResourcesEntry? entry = e as SellMicroResourcesEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
transactions.Add(new SellMicroResources(entry) {
|
||||
System = context.CurrentSystem,
|
||||
Station = context.CurrentStation,
|
||||
Faction = context.ControllingFaction,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
internal class SearchAndRescueParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
SearchAndRescueEntry? entry = e as SearchAndRescueEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
transactions.Add(new SearchAndRescue(entry) {
|
||||
Faction = context.ControllingFaction,
|
||||
Station = context.CurrentStation,
|
||||
System = context.CurrentSystem,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
internal class MarketBuyParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
MarketBuyEntry? entry = e as MarketBuyEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
context.BoughtCargo(entry.Type, entry.BuyPrice);
|
||||
|
||||
transactions.Add(new BuyCargo(entry) {
|
||||
Faction = context.ControllingFaction,
|
||||
Station = context.CurrentStation,
|
||||
System = context.CurrentSystem,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
internal class MarketSellParser : TransactionParserPart {
|
||||
public void Parse(Entry e, TransactionParserContext context, TransactionList transactions) {
|
||||
long profit = 0;
|
||||
|
||||
MarketSellEntry? entry = e as MarketSellEntry;
|
||||
if (entry == null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
if (entry.Type == null) {
|
||||
throw new InvalidJournalEntryException("market sell contains no cargo type");
|
||||
}
|
||||
|
||||
if (context.BuyCost.ContainsKey(entry.Type)) {
|
||||
long avg = context.BuyCost[entry.Type];
|
||||
profit = (long)entry.TotalSale - (avg * entry.Count);
|
||||
}
|
||||
|
||||
transactions.Add(new SellCargo(entry) {
|
||||
Faction = context.ControllingFaction,
|
||||
Station = context.CurrentStation,
|
||||
System = context.CurrentSystem,
|
||||
Profit = profit,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public class TransactionParser {
|
||||
private static Dictionary<string, TransactionParserPart> ParserParts { get; } = new()
|
||||
{
|
||||
{ Events.CommitCrime, new CommitCrimeParser() },
|
||||
{ Events.Docked, new DockedParser() },
|
||||
{ Events.FSDJump, new FSDJumpParser() },
|
||||
{ Events.Location, new LocationParser() },
|
||||
{ Events.MarketBuy, new MarketBuyParser() },
|
||||
{ Events.MarketSell, new MarketSellParser() },
|
||||
{ Events.MissionAccepted, new MissionAcceptedParser() },
|
||||
{ Events.MissionCompleted, new MissionCompletedParser() },
|
||||
{ Events.MissionFailed, new MissionFailedParser() },
|
||||
{ Events.MultiSellExplorationData, new MultiSellExplorationDataParser() },
|
||||
{ Events.RedeemVoucher, new RedeemVoucherParser() },
|
||||
{ Events.SearchAndRescue, new SearchAndRescueParser() },
|
||||
{ Events.SellExplorationData, new SellExplorationDataParser() },
|
||||
{ Events.SellMicroResources, new SellMicroResourcesParser() },
|
||||
{ Events.SellOrganicData, new SellOrganicDataParser() },
|
||||
{ Events.ShipTargeted, new ShipTargetedParser() },
|
||||
};
|
||||
|
||||
public List<Transaction>? Parse(IEnumerable<Entry> entries) {
|
||||
TransactionList transactions = new();
|
||||
TransactionParserContext context = new();
|
||||
|
||||
foreach (Entry entry in entries) {
|
||||
if (entry.Event == null) {
|
||||
throw new InvalidJournalEntryException();
|
||||
}
|
||||
|
||||
if (!ParserParts.ContainsKey(entry.Event)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
TransactionParserPart transactionParserPart = ParserParts[entry.Event];
|
||||
transactionParserPart.Parse(entry, context, transactions);
|
||||
}
|
||||
|
||||
return transactions.ToList();
|
||||
}
|
||||
}
|
74
EDPlayerJournal/BGS/Vouchers.cs
Normal file
74
EDPlayerJournal/BGS/Vouchers.cs
Normal file
@ -0,0 +1,74 @@
|
||||
using System.Globalization;
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal.BGS;
|
||||
|
||||
public class Vouchers : Transaction {
|
||||
private string? type = null;
|
||||
|
||||
public Vouchers() {
|
||||
}
|
||||
|
||||
public Vouchers(RedeemVoucherEntry e) {
|
||||
Entries.Add(e);
|
||||
}
|
||||
|
||||
public long TotalSum {
|
||||
get {
|
||||
if (Faction == null) {
|
||||
return 0;
|
||||
}
|
||||
return Entries
|
||||
.OfType<RedeemVoucherEntry>()
|
||||
.Where(x => x.FactionBounties.ContainsKey(Faction))
|
||||
.Sum(x => x.FactionBounties[Faction])
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
public string? Type {
|
||||
get {
|
||||
if (Entries == null) {
|
||||
return null;
|
||||
}
|
||||
if (type == null) {
|
||||
string? v = Entries
|
||||
.OfType<RedeemVoucherEntry>()
|
||||
.GroupBy(x => x.Type)
|
||||
.Select(x => x.Key)
|
||||
.First();
|
||||
if (v == null) {
|
||||
return null;
|
||||
} else if (v == "CombatBond") {
|
||||
type = "Combat Bond";
|
||||
} else if (v == "bounty") {
|
||||
type = "Bounty";
|
||||
} else {
|
||||
type = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(v);
|
||||
}
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
}
|
||||
|
||||
public override int CompareTo(Transaction? other) {
|
||||
if (other == null || other.GetType() != typeof(Vouchers)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
Vouchers? b = other as Vouchers;
|
||||
if (b?.Type == Type &&
|
||||
b?.Faction == Faction &&
|
||||
b?.System == System &&
|
||||
b?.Station == Station) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
public override string ToString() {
|
||||
return string.Format("{0} Vouchers: {1}", Type, Credits.FormatCredits(TotalSum));
|
||||
}
|
||||
}
|
33
EDPlayerJournal/Credits.cs
Normal file
33
EDPlayerJournal/Credits.cs
Normal file
@ -0,0 +1,33 @@
|
||||
using System.Globalization;
|
||||
|
||||
namespace EDPlayerJournal;
|
||||
|
||||
public class Credits {
|
||||
public static string FormatCredits(int amount) {
|
||||
return FormatCredits((long)amount);
|
||||
}
|
||||
|
||||
public static string FormatCredits(long amount) {
|
||||
var format = new CultureInfo(CultureInfo.CurrentCulture.Name, true).NumberFormat;
|
||||
format.NumberGroupSeparator = ",";
|
||||
format.NumberDecimalSeparator = ".";
|
||||
format.NumberGroupSizes = new int[1] { 3 };
|
||||
format.NumberDecimalDigits = 0;
|
||||
if (amount > 0 && (amount % 1000000000) == 0) {
|
||||
amount /= 1000000000;
|
||||
return string.Format("{0}M CR", amount.ToString("N", format));
|
||||
} else if (amount > 0 && (amount % 1000000) == 0) {
|
||||
amount /= 1000000;
|
||||
return string.Format("{0}M CR", amount.ToString("N", format));
|
||||
} else if (amount > 0 && (amount % 100000) == 0) {
|
||||
double am = ((double)amount) / 1000000;
|
||||
format.NumberDecimalDigits = 1;
|
||||
return string.Format("{0}M CR", am.ToString("N", format));
|
||||
} else if (amount > 0 && (amount % 1000) == 0) {
|
||||
amount /= 1000;
|
||||
return string.Format("{0}K CR", amount.ToString("N", format));
|
||||
}
|
||||
|
||||
return string.Format("{0} CR", amount.ToString("N", format));
|
||||
}
|
||||
}
|
10
EDPlayerJournal/CrimeTypes.cs
Normal file
10
EDPlayerJournal/CrimeTypes.cs
Normal file
@ -0,0 +1,10 @@
|
||||
namespace EDPlayerJournal;
|
||||
public class CrimeTypes {
|
||||
public static readonly string Assault = "assault";
|
||||
public static readonly string Murder = "murder";
|
||||
public static readonly string OnFootArcCutterUse = "onFoot_arcCutterUse";
|
||||
public static readonly string OnFootDataTransfer = "onFoot_dataTransfer";
|
||||
public static readonly string OnFootIdentityTheft = "onFoot_identityTheft";
|
||||
public static readonly string OnFootMurder = "onFoot_murder";
|
||||
public static readonly string Piracy = "piracy";
|
||||
}
|
19
EDPlayerJournal/EDPlayerJournal.csproj
Normal file
19
EDPlayerJournal/EDPlayerJournal.csproj
Normal file
@ -0,0 +1,19 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="MissionNames.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
8
EDPlayerJournal/EliteDangerous.cs
Normal file
8
EDPlayerJournal/EliteDangerous.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace EDPlayerJournal;
|
||||
public class EliteDangerous {
|
||||
/// <summary>
|
||||
/// The ingame universe is 1286 years in the future. This is needed to convert dates
|
||||
/// and times to ingame dates and times
|
||||
/// </summary>
|
||||
public static readonly int YearOffset = 1286;
|
||||
}
|
25
EDPlayerJournal/Entries/BountyEntry.cs
Normal file
25
EDPlayerJournal/Entries/BountyEntry.cs
Normal file
@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
/**
|
||||
* This entry appears whenever a bounty is awarded.
|
||||
*/
|
||||
public class BountyEntry : Entry {
|
||||
private string? victimfaction = null;
|
||||
private string? target = null;
|
||||
private int rewards = 0;
|
||||
|
||||
protected override void Initialise() {
|
||||
rewards = JSON.Value<int?>("TotalReward") ?? 0;
|
||||
victimfaction = JSON.Value<string>("VictimFaction") ?? "";
|
||||
target = JSON.Value<string>("Target_Localised") ?? "";
|
||||
}
|
||||
|
||||
public string? VictimFaction => victimfaction;
|
||||
public string? Target => target;
|
||||
public int Rewards => rewards;
|
||||
}
|
15
EDPlayerJournal/Entries/CommanderEntry.cs
Normal file
15
EDPlayerJournal/Entries/CommanderEntry.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class CommanderEntry : Entry {
|
||||
public string? Name { get; set; }
|
||||
public string? FID { get; set; }
|
||||
protected override void Initialise() {
|
||||
Name = JSON.Value<string>("Name") ?? "";
|
||||
FID = JSON.Value<string>("FID") ?? "";
|
||||
}
|
||||
}
|
22
EDPlayerJournal/Entries/CommitCrimeEntry.cs
Normal file
22
EDPlayerJournal/Entries/CommitCrimeEntry.cs
Normal file
@ -0,0 +1,22 @@
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class CommitCrimeEntry : Entry {
|
||||
public string? CrimeType { get; set; }
|
||||
public string? Faction { get; set; }
|
||||
public string? Victim { get; set; }
|
||||
public string? VictimLocalised { get; set; }
|
||||
public long Bounty { get; set; }
|
||||
public long Fine { get; set; }
|
||||
|
||||
protected override void Initialise() {
|
||||
CrimeType = JSON.Value<string>("CrimeType") ?? "assault";
|
||||
Faction = JSON.Value<string>("Faction") ?? "";
|
||||
Victim = JSON.Value<string>("Victim") ?? "";
|
||||
VictimLocalised = JSON.Value<string>("Victim_Localised") ?? "";
|
||||
Bounty = JSON.Value<long?>("Bounty") ?? 0;
|
||||
Fine = JSON.Value<long?>("Fine") ?? 0;
|
||||
}
|
||||
|
||||
public bool IsMurder {
|
||||
get { return CrimeType?.CompareTo(CrimeTypes.Murder) == 0 || CrimeType?.CompareTo(CrimeTypes.OnFootMurder) == 0; }
|
||||
}
|
||||
}
|
39
EDPlayerJournal/Entries/DiedEntry.cs
Normal file
39
EDPlayerJournal/Entries/DiedEntry.cs
Normal file
@ -0,0 +1,39 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class Killer {
|
||||
public string? Name { get; set; }
|
||||
public string? Rank { get; set; }
|
||||
public string? Ship { get; set; }
|
||||
}
|
||||
|
||||
public class DiedEntry : Entry {
|
||||
private readonly List<Killer> killers = new List<Killer>();
|
||||
|
||||
public List<Killer> Killers => killers;
|
||||
public Killer? Killer => killers.Count > 0 ? killers[0] : null;
|
||||
public bool WasWing => killers.Count > 1;
|
||||
|
||||
protected override void Initialise() {
|
||||
var wing = JSON.Value<JArray>("Killers");
|
||||
if (wing != null) {
|
||||
/* a wing killed us */
|
||||
foreach (JObject child in wing.Children<JObject>()) {
|
||||
Killer killer = new Killer {
|
||||
Name = child.Value<string>("Name"),
|
||||
Rank = child.Value<string>("Rank"),
|
||||
Ship = child.Value<string>("Ship")
|
||||
};
|
||||
killers.Add(killer);
|
||||
}
|
||||
} else {
|
||||
/* a single ship killed us */
|
||||
Killer killer = new Killer {
|
||||
Name = JSON.Value<string>("KillerName"),
|
||||
Rank = JSON.Value<string>("KillerRank"),
|
||||
Ship = JSON.Value<string>("KillerShip")
|
||||
};
|
||||
killers.Add(killer);
|
||||
}
|
||||
}
|
||||
}
|
19
EDPlayerJournal/Entries/DockedEntry.cs
Normal file
19
EDPlayerJournal/Entries/DockedEntry.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class DockedEntry : Entry {
|
||||
public string? StationName { get; set; }
|
||||
public string? StarSystem { get; set; }
|
||||
public ulong? SystemAddress { get; set; }
|
||||
public string? StationFaction { get; set; }
|
||||
|
||||
protected override void Initialise() {
|
||||
StationName = JSON.Value<string>("StationName");
|
||||
StarSystem = JSON.Value<string>("StarSystem");
|
||||
SystemAddress = JSON.Value<ulong?>("SystemAddress");
|
||||
JObject? faction = JSON.Value<JObject>("StationFaction");
|
||||
if (faction != null) {
|
||||
StationFaction = faction.Value<string>("Name") ?? "";
|
||||
}
|
||||
}
|
||||
}
|
130
EDPlayerJournal/Entries/Entry.cs
Normal file
130
EDPlayerJournal/Entries/Entry.cs
Normal file
@ -0,0 +1,130 @@
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
|
||||
public class InvalidJournalEntryException : Exception {
|
||||
public InvalidJournalEntryException() { }
|
||||
public InvalidJournalEntryException(string message) : base(message) { }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Base class for a single entry within the player journal. If no specific sub class is available
|
||||
/// this class gives basic information, such as EventType or date when it happened. It also allows
|
||||
/// base classes access to the underlying JSON object. Base classes should be named after the event
|
||||
/// type that they map + Entry. So "FSDJump" event is handled by FSDJumpEntry.
|
||||
/// </summary>
|
||||
public class Entry {
|
||||
private static readonly Dictionary<string, Type> classes = new Dictionary<string, Type> {
|
||||
{ Events.Bounty, typeof(BountyEntry) },
|
||||
{ Events.Commander, typeof(CommanderEntry) },
|
||||
{ Events.CommitCrime, typeof(CommitCrimeEntry) },
|
||||
{ Events.Died, typeof(DiedEntry) },
|
||||
{ Events.Docked, typeof(DockedEntry) },
|
||||
{ Events.FactionKillBond, typeof(FactionKillBondEntry) },
|
||||
{ Events.FSDJump, typeof(FSDJumpEntry) },
|
||||
{ Events.HullDamage, typeof(HullDamageEntry) },
|
||||
{ Events.LoadGame, typeof(LoadGameEntry) },
|
||||
{ Events.Location, typeof(LocationEntry) },
|
||||
{ Events.MarketBuy, typeof(MarketBuyEntry) },
|
||||
{ Events.MarketSell, typeof(MarketSellEntry) },
|
||||
{ Events.MissionAbandoned, typeof(MissionAbandonedEntry) },
|
||||
{ Events.MissionAccepted, typeof(MissionAcceptedEntry) },
|
||||
{ Events.MissionCompleted, typeof(MissionCompletedEntry) },
|
||||
{ Events.MissionFailed, typeof(MissionFailedEntry) },
|
||||
{ Events.MissionRedirected, typeof(MissionRedirectedEntry) },
|
||||
{ Events.MultiSellExplorationData, typeof(MultiSellExplorationDataEntry) },
|
||||
{ Events.RedeemVoucher, typeof(RedeemVoucherEntry) },
|
||||
{ Events.SearchAndRescue, typeof(SearchAndRescueEntry) },
|
||||
{ Events.SellExplorationData, typeof(SellExplorationDataEntry) },
|
||||
{ Events.SellMicroResources, typeof(SellMicroResourcesEntry) },
|
||||
{ Events.SellOrganicData, typeof(SellOrganicDataEntry) },
|
||||
{ Events.ShieldState, typeof(ShieldStateEntry) },
|
||||
{ Events.ShipTargeted, typeof(ShipTargetedEntry) },
|
||||
{ Events.UnderAttack, typeof(UnderAttackEntry) },
|
||||
};
|
||||
|
||||
private string? eventtype = null;
|
||||
private string? datetime = null;
|
||||
private DateTime timestamp;
|
||||
|
||||
private string? jsonstr = null;
|
||||
protected JObject? json = null;
|
||||
|
||||
public Entry() {
|
||||
}
|
||||
|
||||
public static Entry? Parse(string journalline) {
|
||||
var json = JObject.Parse(journalline);
|
||||
if (json == null) {
|
||||
return null;
|
||||
}
|
||||
return Parse(json);
|
||||
}
|
||||
|
||||
public static Entry? Parse(JObject json) {
|
||||
string? event_name = json.Value<string?>("event");
|
||||
|
||||
if (event_name == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
classes.TryGetValue(event_name, out Type? classhandler);
|
||||
if (classhandler == null) {
|
||||
// No specific handler available so use base class
|
||||
classhandler = typeof(Entry);
|
||||
}
|
||||
|
||||
Entry? obj = (Entry?)Activator.CreateInstance(classhandler);
|
||||
if (obj == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
obj.InternalInitialise(json);
|
||||
obj.Initialise();
|
||||
|
||||
return obj;
|
||||
}
|
||||
|
||||
private void InternalInitialise(JObject jobject) {
|
||||
this.json = jobject;
|
||||
this.jsonstr = json.ToString(formatting: Formatting.None);
|
||||
|
||||
this.eventtype = json.Value<string>("event");
|
||||
// Do not change this or JSON parser will conver the string to
|
||||
// datetime object and call .ToString() on it which changes the
|
||||
// date and time format
|
||||
this.datetime = json.GetValue("timestamp")?.ToString();
|
||||
|
||||
if (!string.IsNullOrEmpty(this.datetime)) {
|
||||
this.timestamp = DateTime.Parse(this.datetime);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Initialise() {
|
||||
}
|
||||
|
||||
public bool Is(string eventtype) {
|
||||
if (eventtype == null || this.eventtype == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return String.Equals(this.eventtype, eventtype, StringComparison.OrdinalIgnoreCase);
|
||||
}
|
||||
|
||||
public string? Event {
|
||||
get { return eventtype; }
|
||||
}
|
||||
|
||||
public DateTime Timestamp {
|
||||
get { return timestamp; }
|
||||
}
|
||||
|
||||
public JObject JSON {
|
||||
get { return this.json ?? new JObject(); }
|
||||
}
|
||||
|
||||
public override string ToString() {
|
||||
return jsonstr ?? "";
|
||||
}
|
||||
}
|
31
EDPlayerJournal/Entries/Events.cs
Normal file
31
EDPlayerJournal/Entries/Events.cs
Normal file
@ -0,0 +1,31 @@
|
||||
namespace EDPlayerJournal.Entries;
|
||||
|
||||
public class Events {
|
||||
public static readonly string Bounty = "Bounty";
|
||||
public static readonly string Commander = "Commander";
|
||||
public static readonly string CommitCrime = "CommitCrime";
|
||||
public static readonly string Died = "Died";
|
||||
public static readonly string Docked = "Docked";
|
||||
public static readonly string FactionKillBond = "FactionKillBond";
|
||||
public static readonly string FighterDestroyed = "FighterDestroyed";
|
||||
public static readonly string FSDJump = "FSDJump";
|
||||
public static readonly string HullDamage = "HullDamage";
|
||||
public static readonly string LoadGame = "LoadGame";
|
||||
public static readonly string Location = "Location";
|
||||
public static readonly string MarketBuy = "MarketBuy";
|
||||
public static readonly string MarketSell = "MarketSell";
|
||||
public static readonly string MissionAbandoned = "MissionAbandoned";
|
||||
public static readonly string MissionAccepted = "MissionAccepted";
|
||||
public static readonly string MissionCompleted = "MissionCompleted";
|
||||
public static readonly string MissionFailed = "MissionFailed";
|
||||
public static readonly string MissionRedirected = "MissionRedirected";
|
||||
public static readonly string MultiSellExplorationData = "MultiSellExplorationData";
|
||||
public static readonly string RedeemVoucher = "RedeemVoucher";
|
||||
public static readonly string SearchAndRescue = "SearchAndRescue";
|
||||
public static readonly string SellExplorationData = "SellExplorationData";
|
||||
public static readonly string SellMicroResources = "SellMicroResources";
|
||||
public static readonly string SellOrganicData = "SellOrganicData";
|
||||
public static readonly string ShieldState = "ShieldState";
|
||||
public static readonly string ShipTargeted = "ShipTargeted";
|
||||
public static readonly string UnderAttack = "UnderAttack";
|
||||
}
|
35
EDPlayerJournal/Entries/FSDJumpEntry.cs
Normal file
35
EDPlayerJournal/Entries/FSDJumpEntry.cs
Normal file
@ -0,0 +1,35 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class FSDJumpEntry : Entry {
|
||||
protected override void Initialise() {
|
||||
SystemAddress = JSON.Value<ulong?>("SystemAddress") ?? 0;
|
||||
StarSystem = JSON.Value<string>("StarSystem");
|
||||
|
||||
var pos = JSON.Value<JArray>("SarPos");
|
||||
if (pos != null) {
|
||||
StarPos = pos.ToObject<long[]>();
|
||||
}
|
||||
|
||||
var faction = JSON.Value<JObject>("SystemFaction");
|
||||
if (faction != null) {
|
||||
SystemFaction = faction.Value<string>("Name");
|
||||
}
|
||||
|
||||
var factions = JSON.Value<JArray>("Factions");
|
||||
if (factions != null) {
|
||||
foreach (JObject system_faction in factions) {
|
||||
Faction? f = Faction.FromJSON(system_faction);
|
||||
if (f != null) {
|
||||
SystemFactions.Add(f);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
public long[]? StarPos { get; set; }
|
||||
public string? StarSystem { get; set; }
|
||||
public string? SystemFaction { get; set; }
|
||||
public ulong SystemAddress { get; set; }
|
||||
public List<Faction> SystemFactions { get; set; } = new List<Faction>();
|
||||
}
|
13
EDPlayerJournal/Entries/FactionKillBondEntry.cs
Normal file
13
EDPlayerJournal/Entries/FactionKillBondEntry.cs
Normal file
@ -0,0 +1,13 @@
|
||||
namespace EDPlayerJournal.Entries;
|
||||
|
||||
public class FactionKillBondEntry : Entry {
|
||||
public int Reward { get; set; }
|
||||
public string? AwardingFaction { get; set; }
|
||||
public string? VictimFaction { get; set; }
|
||||
|
||||
protected override void Initialise() {
|
||||
Reward = JSON.Value<int?>("Reward") ?? 0;
|
||||
AwardingFaction = JSON.Value<string>("AwardingFaction");
|
||||
VictimFaction = JSON.Value<string>("VictimFaction");
|
||||
}
|
||||
}
|
16
EDPlayerJournal/Entries/HullDamageEntry.cs
Normal file
16
EDPlayerJournal/Entries/HullDamageEntry.cs
Normal file
@ -0,0 +1,16 @@
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class HullDamageEntry : Entry {
|
||||
private double health = 0;
|
||||
private bool playerpilot = false;
|
||||
private bool fighter = false;
|
||||
|
||||
public double Health => health;
|
||||
public bool PlayerPilot => playerpilot;
|
||||
public bool Fighter => fighter;
|
||||
|
||||
protected override void Initialise() {
|
||||
health = JSON.Value<double?>("Health") ?? 100.0;
|
||||
playerpilot = JSON.Value<bool?>("PlayerPilot") ?? true;
|
||||
fighter = JSON.Value<bool?>("Fighter") ?? false;
|
||||
}
|
||||
}
|
51
EDPlayerJournal/Entries/LoadGameEntry.cs
Normal file
51
EDPlayerJournal/Entries/LoadGameEntry.cs
Normal file
@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class LoadGameEntry : Entry {
|
||||
public string? Commander { get; set; }
|
||||
public string? FID { get; set; }
|
||||
public bool Horizons { get; set; }
|
||||
public bool Odyssey { get; set; }
|
||||
public string? Ship { get; set; }
|
||||
public long ShipID { get; set; }
|
||||
public bool StartLanded { get; set; }
|
||||
public bool StartDead { get; set; }
|
||||
public string? GameMode { get; set; }
|
||||
public string? Group { get; set; }
|
||||
public long Credits { get; set; }
|
||||
public long Loan { get; set; }
|
||||
public string? ShipName { get; set; }
|
||||
public string? ShipIdent { get; set; }
|
||||
public double FuelLevel { get; set; }
|
||||
public double FuelCapacity { get; set; }
|
||||
|
||||
protected override void Initialise() {
|
||||
Commander = JSON.Value<string>("Commander");
|
||||
FID = JSON.Value<string>("FID");
|
||||
// Game
|
||||
Horizons = JSON.Value<bool?>("Horizons") ?? false;
|
||||
Odyssey = JSON.Value<bool?>("Odyssey") ?? false;
|
||||
// Ships
|
||||
Ship = JSON.Value<string>("Ship");
|
||||
ShipID = JSON.Value<long?>("ShipID") ?? 0;
|
||||
ShipName = JSON.Value<string>("ShipName");
|
||||
ShipIdent = JSON.Value<string>("ShipIdent");
|
||||
// Fuel
|
||||
FuelLevel = JSON.Value<double?>("FuelLevel") ?? 0.0;
|
||||
FuelCapacity = JSON.Value<double?>("FuelCapacity") ?? 0.0;
|
||||
// Landed/Dead
|
||||
StartLanded = JSON.Value<bool?>("StartLanded") ?? false;
|
||||
StartDead = JSON.Value<bool?>("StartDead") ?? false;
|
||||
// GameMode
|
||||
GameMode = JSON.Value<string>("GameMode");
|
||||
// Group
|
||||
Group = JSON.Value<string>("Group");
|
||||
// Wealth
|
||||
Credits = JSON.Value<long?>("Credits") ?? 0;
|
||||
Loan = JSON.Value<long?>("Loan") ?? 0;
|
||||
}
|
||||
}
|
46
EDPlayerJournal/Entries/LocationEntry.cs
Normal file
46
EDPlayerJournal/Entries/LocationEntry.cs
Normal file
@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class LocationEntry : Entry {
|
||||
public string? StarSystem { get; set; }
|
||||
public string? SystemFaction { get; set; }
|
||||
public string? StationName { get; set; }
|
||||
public ulong SystemAddress { get; set; }
|
||||
public string? Body { get; set; }
|
||||
public bool Docked { get; set; }
|
||||
public long[]? StarPos { get; set; }
|
||||
|
||||
public List<Faction> SystemFactions { get; set; } = new List<Faction>();
|
||||
|
||||
protected override void Initialise() {
|
||||
StarSystem = JSON.Value<string>("StarSystem") ?? "";
|
||||
SystemAddress = JSON.Value<ulong?>("SystemAddress") ?? 0;
|
||||
Docked = JSON.Value<bool?>("Docked") ?? false;
|
||||
StationName = JSON.Value<string>("StationName") ?? "";
|
||||
|
||||
var pos = JSON.Value<JArray>("StarPos");
|
||||
if (pos != null) {
|
||||
StarPos = pos.ToObject<long[]>();
|
||||
}
|
||||
|
||||
JObject? systemfaction = JSON.Value<JObject>("SystemFaction");
|
||||
if (systemfaction != null) {
|
||||
SystemFaction = systemfaction.Value<string>("Name") ?? "";
|
||||
}
|
||||
|
||||
JArray? factions = JSON.Value<JArray>("Factions");
|
||||
if (factions != null) {
|
||||
foreach (JObject system_faction in factions) {
|
||||
Faction? f = Faction.FromJSON(system_faction);
|
||||
if (f != null) {
|
||||
SystemFactions.Add(f);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
22
EDPlayerJournal/Entries/MarketBuyEntry.cs
Normal file
22
EDPlayerJournal/Entries/MarketBuyEntry.cs
Normal file
@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class MarketBuyEntry : Entry {
|
||||
public string? Type { get; set; }
|
||||
public string? TypeLocalised { get; set; }
|
||||
public long Count { get; set; }
|
||||
public long BuyPrice { get; set; }
|
||||
public long TotalCost { get; set; }
|
||||
|
||||
protected override void Initialise() {
|
||||
Type = JSON.Value<string>("Type");
|
||||
TypeLocalised = JSON.Value<string>("Type_Localised");
|
||||
Count = JSON.Value<long?>("Count") ?? 0;
|
||||
BuyPrice = JSON.Value<long?>("BuyPrice") ?? 0;
|
||||
TotalCost = JSON.Value<long?>("TotalCost") ?? 0;
|
||||
}
|
||||
}
|
50
EDPlayerJournal/Entries/MarketSellEntry.cs
Normal file
50
EDPlayerJournal/Entries/MarketSellEntry.cs
Normal file
@ -0,0 +1,50 @@
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class MarketSellEntry : Entry {
|
||||
/// <summary>
|
||||
/// Total value
|
||||
/// </summary>
|
||||
public int TotalSale { get; set; }
|
||||
/// <summary>
|
||||
/// How many.
|
||||
/// </summary>
|
||||
public int Count { get; set; }
|
||||
/// <summary>
|
||||
/// Average price paid
|
||||
/// </summary>
|
||||
public int AvgPricePaid { get; set; }
|
||||
/// <summary>
|
||||
/// Cargo type
|
||||
/// </summary>
|
||||
public string? Type { get; set; }
|
||||
/// <summary>
|
||||
/// Localised name of the cargo sold, may be null.
|
||||
/// </summary>
|
||||
public string? TypeLocalised { get; set; }
|
||||
/// <summary>
|
||||
/// Price per unit
|
||||
/// </summary>
|
||||
public int SellPrice { get; set; }
|
||||
/// <summary>
|
||||
/// Whether the goods were illegal in the target system.
|
||||
/// </summary>
|
||||
public bool IllegalGoods { get; set; }
|
||||
/// <summary>
|
||||
/// Whether the goods were stolen
|
||||
/// </summary>
|
||||
public bool StolenGoods { get; set; }
|
||||
/// <summary>
|
||||
/// Whether the goods were sold to the black market
|
||||
/// </summary>
|
||||
public bool BlackMarket { get; set; }
|
||||
|
||||
protected override void Initialise() {
|
||||
Type = JSON.Value<string>("Type");
|
||||
TypeLocalised = JSON.Value<string>("Type_Localised");
|
||||
TotalSale = JSON.Value<int?>("TotalSale") ?? 0;
|
||||
Count = JSON.Value<int?>("Count") ?? 0;
|
||||
AvgPricePaid = JSON.Value<int?>("AvgPricePaid") ?? 0;
|
||||
IllegalGoods = JSON.Value<bool?>("IllegalGoods") ?? false;
|
||||
StolenGoods = JSON.Value<bool?>("StolenGoods") ?? false;
|
||||
BlackMarket = JSON.Value<bool?>("BlackMarket") ?? false;
|
||||
}
|
||||
}
|
7
EDPlayerJournal/Entries/MissionAbandonedEntry.cs
Normal file
7
EDPlayerJournal/Entries/MissionAbandonedEntry.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class MissionAbandonedEntry : Entry {
|
||||
public ulong MissionID { get; set; }
|
||||
protected override void Initialise() {
|
||||
MissionID = JSON.Value<ulong?>("MissionID") ?? 0;
|
||||
}
|
||||
}
|
22
EDPlayerJournal/Entries/MissionAcceptedEntry.cs
Normal file
22
EDPlayerJournal/Entries/MissionAcceptedEntry.cs
Normal file
@ -0,0 +1,22 @@
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class MissionAcceptedEntry : Entry {
|
||||
public string? Faction { get; set; }
|
||||
public string? TargetFaction { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public string? LocalisedName { get; set; }
|
||||
public string? LocalisedTargetType { get; set; }
|
||||
public int KillCount { get; set; }
|
||||
public ulong MissionID { get; set; }
|
||||
public long Reward { get; set; }
|
||||
|
||||
protected override void Initialise() {
|
||||
Faction = JSON.Value<string>("Faction");
|
||||
TargetFaction = JSON.Value<string>("TargetFaction");
|
||||
Name = JSON.Value<string>("Name");
|
||||
LocalisedName = JSON.Value<string>("LocalisedName");
|
||||
LocalisedTargetType = JSON.Value<string>("TargetType_Localised");
|
||||
KillCount = JSON.Value<int?>("KillCount") ?? 0;
|
||||
MissionID = JSON.Value<ulong?>("MissionID") ?? 0;
|
||||
Reward = JSON.Value<long?>("Reward") ?? 0;
|
||||
}
|
||||
}
|
159
EDPlayerJournal/Entries/MissionCompletedEntry.cs
Normal file
159
EDPlayerJournal/Entries/MissionCompletedEntry.cs
Normal file
@ -0,0 +1,159 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class MissionCompletedEntry : Entry {
|
||||
public Dictionary<string, Dictionary<ulong, string>> Influences { get; set; } = new Dictionary<string, Dictionary<ulong, string>>();
|
||||
private List<string> Affected { get; set; } = new List<string>();
|
||||
|
||||
private string? readable_name = null;
|
||||
private bool readable_name_generated = false;
|
||||
|
||||
protected override void Initialise() {
|
||||
MissionID = JSON.Value<ulong?>("MissionID") ?? 0;
|
||||
Name = JSON.Value<string>("Name");
|
||||
Faction = JSON.Value<string>("Faction") ?? "";
|
||||
TargetFaction = JSON.Value<string>("TargetFaction") ?? "";
|
||||
if (JSON.ContainsKey("Commodity_Localised")) {
|
||||
Commodity = JSON.Value<string>("Commodity_Localised");
|
||||
}
|
||||
if (JSON.ContainsKey("Count")) {
|
||||
Count = JSON.Value<int>("Count");
|
||||
}
|
||||
if (JSON.ContainsKey("Donated")) {
|
||||
Donated = JSON.Value<int>("Donated");
|
||||
}
|
||||
|
||||
MakeHumanReadableName();
|
||||
BuildInfluenceList();
|
||||
}
|
||||
|
||||
private void BuildInfluenceList() {
|
||||
Influences.Clear();
|
||||
Affected.Clear();
|
||||
|
||||
var effects = JSON.Value<JArray>("FactionEffects");
|
||||
if (effects == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (var effect in effects.Children<JObject>()) {
|
||||
string? faction = effect.Value<string>("Faction");
|
||||
|
||||
if (faction == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Affected.Add(faction);
|
||||
|
||||
var influence = effect.Value<JArray>("Influence");
|
||||
if (influence == null || influence.Count == 0) {
|
||||
// No influence reward, happens sometimes, but we have to accept it
|
||||
Influences.Add(faction, new Dictionary<ulong, string>());
|
||||
} else {
|
||||
foreach (var infl in influence.Children<JObject>()) {
|
||||
infl.TryGetValue("Influence", out JToken? result);
|
||||
infl.TryGetValue("SystemAddress", out JToken? systemaddr);
|
||||
|
||||
if (result != null && result.Type == JTokenType.String &&
|
||||
systemaddr != null && systemaddr.Type == JTokenType.Integer) {
|
||||
ulong system = systemaddr.ToObject<ulong?>() ?? 0;
|
||||
string inf = result.ToString();
|
||||
|
||||
if (!Influences.ContainsKey(faction)) {
|
||||
Influences.Add(faction, new Dictionary<ulong, string>());
|
||||
}
|
||||
|
||||
if (!Influences[faction].ContainsKey(system)) {
|
||||
Influences[faction].Add(system, inf);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string? Name { get; set; }
|
||||
public string? Commodity { get; set; }
|
||||
public int? Count { get; set; }
|
||||
public int? Donated { get; set; }
|
||||
public ulong? MissionID { get; set; }
|
||||
public string? Faction { get; set; }
|
||||
public string? TargetFaction { get; set; }
|
||||
|
||||
private void MakeHumanReadableName() {
|
||||
if (readable_name != null || Name == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
string? readable = HumanReadableMissionName.MakeHumanReadableName(Name);
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
||||
if (readable == null) {
|
||||
builder = new StringBuilder(Name);
|
||||
builder.Replace("Mission_", "");
|
||||
builder.Replace("_name", "");
|
||||
builder.Replace("_MB", "");
|
||||
builder.Replace('_', ' ');
|
||||
builder.Replace("Illegal", " (Illegal)");
|
||||
builder.Replace("OnFoot", "On Foot");
|
||||
builder.Replace(" BS", "");
|
||||
builder.Replace("HackMegaship", "Hack Megaship");
|
||||
builder.Replace("Boom", "");
|
||||
builder.Replace("RebootRestore", "Reboot/Restore");
|
||||
builder.Replace("CivilLiberty", "");
|
||||
readable_name_generated = true;
|
||||
} else {
|
||||
builder.Append(readable);
|
||||
}
|
||||
|
||||
if (Count > 0 && Commodity != null) {
|
||||
builder.AppendFormat(" ({0} {1})", Count, Commodity);
|
||||
}
|
||||
|
||||
if (Donated != null || Donated > 0) {
|
||||
builder.AppendFormat(" ({0})", Credits.FormatCredits(Donated ?? 0));
|
||||
}
|
||||
|
||||
readable_name = builder.ToString().Trim();
|
||||
}
|
||||
|
||||
public string? HumanReadableName {
|
||||
get {
|
||||
MakeHumanReadableName();
|
||||
return readable_name;
|
||||
}
|
||||
}
|
||||
|
||||
public bool HumanReadableNameWasGenerated {
|
||||
get {
|
||||
MakeHumanReadableName();
|
||||
return readable_name_generated;
|
||||
}
|
||||
}
|
||||
|
||||
public string[] AffectedFactions => Affected.ToArray();
|
||||
|
||||
public string? GetInfluenceForFaction(string faction) {
|
||||
if (Influences == null || !Influences.ContainsKey(faction)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
var inf = Influences[faction];
|
||||
return string.Join("", inf.Values);
|
||||
}
|
||||
|
||||
public string? GetInfluenceForFaction(string faction, ulong systemaddr) {
|
||||
if (!Influences.ContainsKey(faction)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!Influences[faction].ContainsKey(systemaddr)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return Influences[faction][systemaddr];
|
||||
}
|
||||
}
|
19
EDPlayerJournal/Entries/MissionFailedEntry.cs
Normal file
19
EDPlayerJournal/Entries/MissionFailedEntry.cs
Normal file
@ -0,0 +1,19 @@
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class MissionFailedEntry : Entry {
|
||||
public string? Name { get; set; }
|
||||
public ulong MissionID { get; set; }
|
||||
public int Fine { get; set; }
|
||||
|
||||
public string? HumanReadableName {
|
||||
get {
|
||||
if (Name == null) return null;
|
||||
return HumanReadableMissionName.MakeHumanReadableName(Name);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void Initialise() {
|
||||
Name = JSON.Value<string>("Name");
|
||||
MissionID = JSON.Value<ulong?>("MissionID") ?? 0;
|
||||
Fine = JSON.Value<int?>("Fine") ?? 0;
|
||||
}
|
||||
}
|
16
EDPlayerJournal/Entries/MissionRedirectedEntry.cs
Normal file
16
EDPlayerJournal/Entries/MissionRedirectedEntry.cs
Normal file
@ -0,0 +1,16 @@
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class MissionRedirectedEntry : Entry {
|
||||
public int MissionID { get; set; } = 0;
|
||||
public string? Name { get; set; }
|
||||
public string? NewDestinationStation { get; set; }
|
||||
public string? NewDestinationSystem { get; set; }
|
||||
public string? OldDestinationSystem { get; set; }
|
||||
|
||||
protected override void Initialise() {
|
||||
MissionID = (JSON.Value<int?>("MissionID") ?? 0);
|
||||
Name = JSON.Value<string>("Name");
|
||||
NewDestinationStation = JSON.Value<string>("NewDestinationStation");
|
||||
NewDestinationSystem = JSON.Value<string>("NewDestinationSystem");
|
||||
OldDestinationSystem = JSON.Value<string>("OldDestinationSystem");
|
||||
}
|
||||
}
|
8
EDPlayerJournal/Entries/MultiSellExplorationDataEntry.cs
Normal file
8
EDPlayerJournal/Entries/MultiSellExplorationDataEntry.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class MultiSellExplorationDataEntry : Entry {
|
||||
protected override void Initialise() {
|
||||
TotalEarnings = (JSON.Value<int?>("TotalEarnings") ?? 0);
|
||||
}
|
||||
|
||||
public int TotalEarnings { get; set; } = 0;
|
||||
}
|
42
EDPlayerJournal/Entries/RedeemVoucherEntry.cs
Normal file
42
EDPlayerJournal/Entries/RedeemVoucherEntry.cs
Normal file
@ -0,0 +1,42 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class RedeemVoucherEntry : Entry {
|
||||
protected override void Initialise() {
|
||||
Amount = (JSON.Value<int?>("Amount") ?? 0);
|
||||
Type = JSON.Value<string>("Type");
|
||||
|
||||
/* according to API, there should be a Factions structure */
|
||||
JToken? factions = JSON.GetValue("Factions");
|
||||
if (factions != null) {
|
||||
foreach (JObject faction in factions.Children<JObject>()) {
|
||||
string? faction_name = faction.Value<string>("Faction");
|
||||
long? faction_bounty = faction.Value<long?>("Amount");
|
||||
if (faction_name == null || faction_name.Length <= 0 || faction_bounty == null) {
|
||||
continue;
|
||||
}
|
||||
Factions.Add(faction_name);
|
||||
if (!FactionBounties.ContainsKey(faction_name)) {
|
||||
FactionBounties[faction_name] = 0;
|
||||
}
|
||||
FactionBounties[faction_name] += (faction_bounty ?? 0);
|
||||
}
|
||||
}
|
||||
|
||||
/* but there also might be just a Faction entry */
|
||||
string? single_faction = JSON.Value<string>("Faction");
|
||||
if (single_faction != null) {
|
||||
Factions.Add(single_faction);
|
||||
if (!FactionBounties.ContainsKey(single_faction)) {
|
||||
FactionBounties[single_faction] = 0;
|
||||
}
|
||||
FactionBounties[single_faction] += Amount;
|
||||
}
|
||||
}
|
||||
|
||||
public int Amount { get; set; } = 0;
|
||||
public string? Type { get; set; } = "Bounty";
|
||||
public List<string> Factions { get; set; } = new List<string>();
|
||||
public Dictionary<string, long> FactionBounties { get; set; } = new Dictionary<string, long>();
|
||||
}
|
18
EDPlayerJournal/Entries/SearchAndRescueEntry.cs
Normal file
18
EDPlayerJournal/Entries/SearchAndRescueEntry.cs
Normal file
@ -0,0 +1,18 @@
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class SearchAndRescueEntry : Entry {
|
||||
public long MarketID { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public string? NameLocalised { get; set; }
|
||||
public long Count { get; set; }
|
||||
public long Reward { get; set; }
|
||||
|
||||
protected override void Initialise() {
|
||||
MarketID = JSON.Value<long?>("MarketID") ?? 0;
|
||||
Name = JSON.Value<string>("Name") ?? "";
|
||||
NameLocalised = JSON.Value<string>("Name_Localised");
|
||||
Count = JSON.Value<long?>("Count") ?? 0;
|
||||
Reward = JSON.Value<long?>("Reward") ?? 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
29
EDPlayerJournal/Entries/SellExplorationDataEntry.cs
Normal file
29
EDPlayerJournal/Entries/SellExplorationDataEntry.cs
Normal file
@ -0,0 +1,29 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Linq;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class SellExplorationDataEntry : Entry {
|
||||
public long BaseValue { get; set; }
|
||||
public long Bonus { get; set; }
|
||||
public long TotalEarnings { get; set; }
|
||||
|
||||
public List<string> Systems { get; set; } = new List<string>();
|
||||
public List<string> Discovered { get; set; } = new List<string>();
|
||||
|
||||
protected override void Initialise() {
|
||||
BaseValue = JSON.Value<long?>("BaseValue") ?? 0;
|
||||
Bonus = JSON.Value<long?>("Bonus") ?? 0;
|
||||
TotalEarnings = JSON.Value<long?>("TotalEarnings") ?? 0;
|
||||
|
||||
var sys = JSON.Value<JArray>("Systems");
|
||||
if (sys != null) {
|
||||
Systems = sys.Select(x => x.ToString()).ToList<string>();
|
||||
}
|
||||
|
||||
var dis = JSON.Value<JArray>("Discovered");
|
||||
if (dis != null) {
|
||||
Discovered = dis.Select(x => x.ToString()).ToList<string>();
|
||||
}
|
||||
}
|
||||
}
|
8
EDPlayerJournal/Entries/SellMicroResourcesEntry.cs
Normal file
8
EDPlayerJournal/Entries/SellMicroResourcesEntry.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class SellMicroResourcesEntry : Entry {
|
||||
protected override void Initialise() {
|
||||
Price = JSON.Value<int>("Price");
|
||||
}
|
||||
|
||||
public int Price { get; set; }
|
||||
}
|
42
EDPlayerJournal/Entries/SellOrganicDataEntry.cs
Normal file
42
EDPlayerJournal/Entries/SellOrganicDataEntry.cs
Normal file
@ -0,0 +1,42 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class BioData {
|
||||
public string? Genus { get; set; }
|
||||
public string? GenusLocalised { get; set; }
|
||||
public string? Species { get; set; }
|
||||
public string? SpeciesLocalised { get; set; }
|
||||
public long Value { get; set; } = 0;
|
||||
public long Bonus { get; set; } = 0;
|
||||
public long TotalValue => Value + Bonus;
|
||||
}
|
||||
public class SellOrganicDataEntry : Entry {
|
||||
public long MarketID { get; set; }
|
||||
public List<BioData> BioData => new List<BioData>();
|
||||
|
||||
protected override void Initialise() {
|
||||
MarketID = JSON.Value<long?>("MarketID") ?? 0;
|
||||
|
||||
var biodata = JSON.Value<JArray>("BioData");
|
||||
if (biodata == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (JObject item in biodata) {
|
||||
BioData data = new BioData {
|
||||
Bonus = item.Value<long?>("Bonus") ?? 0,
|
||||
Value = item.Value<long?>("Value") ?? 0,
|
||||
Species = item.Value<string>("Species"),
|
||||
Genus = item.Value<string>("Genus"),
|
||||
GenusLocalised = item.Value<string>("Genus_Localised"),
|
||||
SpeciesLocalised = item.Value<string>("Species_Localised")
|
||||
};
|
||||
|
||||
BioData.Add(data);
|
||||
}
|
||||
}
|
||||
|
||||
public long TotalValue {
|
||||
get { return BioData.Sum(x => x.TotalValue); }
|
||||
}
|
||||
}
|
7
EDPlayerJournal/Entries/ShieldStateEntry.cs
Normal file
7
EDPlayerJournal/Entries/ShieldStateEntry.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class ShieldStateEntry : Entry {
|
||||
public bool ShieldsUp { get; set; } = false;
|
||||
protected override void Initialise() {
|
||||
ShieldsUp = JSON.Value<bool?>("ShieldsUp") ?? true;
|
||||
}
|
||||
}
|
31
EDPlayerJournal/Entries/ShipTargetedEntry.cs
Normal file
31
EDPlayerJournal/Entries/ShipTargetedEntry.cs
Normal file
@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class ShipTargetedEntry : Entry {
|
||||
public string? Ship { get; set; }
|
||||
public long ScanStage { get; set; }
|
||||
public string? PilotName { get; set; }
|
||||
public string? PilotNameLocalised { get; set; }
|
||||
public string? PilotRank { get; set; }
|
||||
public double ShieldHealth { get; set; }
|
||||
public double HullHealth { get; set; }
|
||||
public long Bounty { get; set; }
|
||||
public string? LegalStatus { get; set; }
|
||||
public string? Faction { get; set; }
|
||||
public string? Power { get; set; }
|
||||
|
||||
protected override void Initialise() {
|
||||
ScanStage = JSON.Value<long?>("ScanStage") ?? 0;
|
||||
Ship = JSON.Value<string>("Ship_Localised");
|
||||
PilotName = JSON.Value<string>("PilotName");
|
||||
PilotNameLocalised = JSON.Value<string>("PilotName_Localised");
|
||||
PilotRank = JSON.Value<string>("PilotRank");
|
||||
ShieldHealth = JSON.Value<double?>("ShieldHealth") ?? 0.0;
|
||||
HullHealth = JSON.Value<double?>("HullHealth") ?? 0.0;
|
||||
Bounty = JSON.Value<long?>("Bounty") ?? 0;
|
||||
LegalStatus = JSON.Value<string>("LegalStatus") ?? "Clean";
|
||||
Faction = JSON.Value<string>("Faction");
|
||||
Power = JSON.Value<string>("Power");
|
||||
}
|
||||
}
|
7
EDPlayerJournal/Entries/UnderAttackEntry.cs
Normal file
7
EDPlayerJournal/Entries/UnderAttackEntry.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace EDPlayerJournal.Entries;
|
||||
public class UnderAttackEntry : Entry {
|
||||
public string? Target { get; set; }
|
||||
protected override void Initialise() {
|
||||
Target = JSON.Value<string>("Target");
|
||||
}
|
||||
}
|
101
EDPlayerJournal/Faction.cs
Normal file
101
EDPlayerJournal/Faction.cs
Normal file
@ -0,0 +1,101 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace EDPlayerJournal;
|
||||
public class FactionState {
|
||||
public string? State { get; set; }
|
||||
public long? Trend { get; set; }
|
||||
|
||||
public static FactionState? FromJSON(JObject j) {
|
||||
if (j == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
FactionState s = new FactionState() {
|
||||
State = j.Value<string>("State"),
|
||||
Trend = j.Value<long?>("Trend"),
|
||||
};
|
||||
|
||||
if (string.IsNullOrEmpty(s.State)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return s;
|
||||
}
|
||||
}
|
||||
|
||||
public class Faction {
|
||||
public string? Name { get; set; }
|
||||
public string? FactionState { get; set; }
|
||||
public string? Government { get; set; }
|
||||
public double Influence { get; set; }
|
||||
public string? Allegiance { get; set; }
|
||||
public string? Happiness { get; set; }
|
||||
public string? HappinessLocalised { get; set; }
|
||||
public double MyReputation { get; set; }
|
||||
public bool SquadronFaction { get; set; } = false;
|
||||
public bool HomeSystem { get; set; } = false;
|
||||
|
||||
public List<FactionState> RecoveringStates { get; set; } = new List<FactionState>();
|
||||
public List<FactionState> ActiveStates { get; set; } = new List<FactionState>();
|
||||
public List<FactionState> PendingStates { get; set; } = new List<FactionState>();
|
||||
|
||||
public static Faction? FromJSON(JObject j) {
|
||||
if (j == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Faction f = new Faction() {
|
||||
Name = j.Value<string>("Name") ?? "",
|
||||
FactionState = j.Value<string>("FactionState") ?? "",
|
||||
Government = j.Value<string>("Government") ?? "",
|
||||
Influence = j.Value<double?>("Influence") ?? 1.0,
|
||||
Allegiance = j.Value<string>("Allegiance") ?? "",
|
||||
Happiness = j.Value<string>("Happiness") ?? "",
|
||||
HappinessLocalised = j.Value<string>("Happiness_Localised") ?? "",
|
||||
MyReputation = j.Value<double?>("MyReputation") ?? 1.0,
|
||||
SquadronFaction = (j.Value<bool?>("SquadronFaction") ?? false),
|
||||
HomeSystem = (j.Value<bool?>("HomeSystem") ?? false),
|
||||
};
|
||||
|
||||
if (string.IsNullOrEmpty(f.Name)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
JArray? recovering_states = j.Value<JArray>("RecoveringStates");
|
||||
if (recovering_states != null) {
|
||||
foreach (JObject s in recovering_states) {
|
||||
FactionState? state = EDPlayerJournal.FactionState.FromJSON(s);
|
||||
if (state != null) {
|
||||
f.RecoveringStates.Add(state);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
JArray? active_states = j.Value<JArray>("ActiveStates");
|
||||
if (active_states != null) {
|
||||
foreach (JObject s in active_states) {
|
||||
FactionState? state = EDPlayerJournal.FactionState.FromJSON(s);
|
||||
if (state != null) {
|
||||
f.ActiveStates.Add(state);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
JArray? pending_states = j.Value<JArray>("PendingStates");
|
||||
if (pending_states != null) {
|
||||
foreach (JObject s in pending_states) {
|
||||
FactionState? state = EDPlayerJournal.FactionState.FromJSON(s);
|
||||
if (state != null) {
|
||||
f.PendingStates.Add(state);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return f;
|
||||
}
|
||||
}
|
63
EDPlayerJournal/HumanReadableMissionName.cs
Normal file
63
EDPlayerJournal/HumanReadableMissionName.cs
Normal file
@ -0,0 +1,63 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
|
||||
namespace EDPlayerJournal;
|
||||
|
||||
public class HumanReadableMissionName {
|
||||
private static Dictionary<string, string>? humanreadable = null;
|
||||
|
||||
private static void LoadMissions() {
|
||||
try {
|
||||
string dir = AppDomain.CurrentDomain.BaseDirectory;
|
||||
string file = Path.Combine(dir, "MissionNames.xml");
|
||||
|
||||
XmlDocument document = new XmlDocument();
|
||||
|
||||
using (FileStream stream = new FileStream(file, FileMode.Open)) {
|
||||
document.Load(stream);
|
||||
XmlNode? missions = document.DocumentElement;
|
||||
|
||||
if (missions == null ||
|
||||
missions.Name != "Missions" ||
|
||||
missions.ChildNodes == null) {
|
||||
throw new ApplicationException("Invalid XML");
|
||||
}
|
||||
|
||||
humanreadable = new Dictionary<string, string>();
|
||||
|
||||
foreach (XmlNode mission in missions.ChildNodes) {
|
||||
if (mission.Attributes == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
string? mission_key = mission.Attributes["Name"]?.Value;
|
||||
string? mission_name = mission.InnerText;
|
||||
|
||||
if (mission_key == null || mission_name == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
humanreadable.Add(mission_key, mission_name);
|
||||
}
|
||||
}
|
||||
} catch (Exception) {
|
||||
humanreadable = null;
|
||||
}
|
||||
}
|
||||
|
||||
public static string? MakeHumanReadableName(string name) {
|
||||
LoadMissions();
|
||||
|
||||
if (humanreadable == null || name == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (humanreadable.ContainsKey(name)) {
|
||||
return humanreadable[name];
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
7
EDPlayerJournal/JournalException.cs
Normal file
7
EDPlayerJournal/JournalException.cs
Normal file
@ -0,0 +1,7 @@
|
||||
using System;
|
||||
|
||||
namespace EDPlayerJournal;
|
||||
public class JournalException : Exception {
|
||||
public JournalException(string message) : base(message) {
|
||||
}
|
||||
}
|
139
EDPlayerJournal/JournalFile.cs
Normal file
139
EDPlayerJournal/JournalFile.cs
Normal file
@ -0,0 +1,139 @@
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Globalization;
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal;
|
||||
public class JournalFile : IComparable<JournalFile>
|
||||
{
|
||||
public string FullPath { get; set; }
|
||||
public int Part { get; set; }
|
||||
public DateTime? DateTime { get; set; }
|
||||
public DateTime? NormalisedDateTime { get; set; }
|
||||
|
||||
public List<Entry> entries = new List<Entry>();
|
||||
|
||||
private static Regex fileregex = new Regex("Journal\\.(\\d+)\\.(\\d+)\\.log");
|
||||
private static Regex update11regex = new Regex("Journal\\.([^\\.]+)\\.(\\d+).log");
|
||||
private static string iso8601 = "yyyyMMddTHHmmss";
|
||||
|
||||
public static bool VerifyFile(string path) {
|
||||
string filename = Path.GetFileName(path);
|
||||
|
||||
var matches = fileregex.Matches(filename);
|
||||
if (matches.Count != 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
matches = update11regex.Matches(filename);
|
||||
if (matches.Count != 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private void SetFilename(string path) {
|
||||
string filename = Path.GetFileName(path);
|
||||
if (!File.Exists(path) || filename == null) {
|
||||
throw new JournalException(string.Format("Invalid journal file: {0}", filename));
|
||||
}
|
||||
|
||||
var matches = fileregex.Matches(filename);
|
||||
if (matches.Count == 0) {
|
||||
matches = update11regex.Matches(filename);
|
||||
if (matches.Count == 0) {
|
||||
throw new JournalException(string.Format("invalid file format: {0}", filename));
|
||||
}
|
||||
}
|
||||
|
||||
FullPath = path;
|
||||
var groups = matches[0].Groups;
|
||||
string part = groups[2].ToString();
|
||||
string timestamp = groups[1].ToString();
|
||||
|
||||
if (!timestamp.Contains("T")) {
|
||||
/* pre update 11 file
|
||||
*/
|
||||
|
||||
// The ISO is not quite correct on journal filenames, so build
|
||||
// a proper ISO 8601 date time stamp out of it.
|
||||
var date = new StringBuilder();
|
||||
date.Append("20"); // Add the missing century in front.
|
||||
date.Append(timestamp);
|
||||
date.Insert(8, "T"); // Add the "T" separating date and time
|
||||
|
||||
timestamp = date.ToString();
|
||||
} else {
|
||||
/* post update 11 file, remove dashes
|
||||
*/
|
||||
timestamp = timestamp.Replace("-", "");
|
||||
}
|
||||
|
||||
this.DateTime = System.DateTime.ParseExact(timestamp, iso8601, CultureInfo.InvariantCulture);
|
||||
this.Part = int.Parse(part);
|
||||
this.NormalisedDateTime = System.DateTime.Parse(DateTime.Value.ToShortDateString());
|
||||
}
|
||||
|
||||
public int CompareTo(JournalFile? other) {
|
||||
if (other == null || DateTime == null || other.DateTime == null) {
|
||||
return 0;
|
||||
}
|
||||
var comp = System.DateTime.Compare(DateTime.Value, other.DateTime.Value);
|
||||
if (comp == 0) {
|
||||
/* If we have the exact same datetime we compare by parts.
|
||||
*/
|
||||
return Part - other.Part;
|
||||
} else {
|
||||
return comp;
|
||||
}
|
||||
}
|
||||
|
||||
public JournalFile(string path) {
|
||||
FullPath = "";
|
||||
SetFilename(path);
|
||||
}
|
||||
|
||||
public IEnumerable<Entry> Entries {
|
||||
get {
|
||||
if (entries == null || entries.Count == 0) {
|
||||
try {
|
||||
LoadEntries();
|
||||
} catch (IOException) {
|
||||
}
|
||||
if (entries == null) {
|
||||
entries = new List<Entry>();
|
||||
}
|
||||
}
|
||||
return entries;
|
||||
}
|
||||
}
|
||||
|
||||
public void LoadEntries() {
|
||||
List<string> lines = new List<string>();
|
||||
|
||||
/* This needs to be done this way, otherwise, if the game is still running the journal files cannot
|
||||
* be accessed. And it is very much convenient to generate logs while the game is still running.
|
||||
*/
|
||||
using (var fs = new FileStream(FullPath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) {
|
||||
using (var sr = new StreamReader(fs, Encoding.UTF8)) {
|
||||
string? line;
|
||||
while ((line = sr.ReadLine()) != null) {
|
||||
lines.Add(line);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
entries.Clear();
|
||||
foreach(var line in lines) {
|
||||
// Skip empty lines
|
||||
if (line.Trim().Length == 0) {
|
||||
continue;
|
||||
}
|
||||
Entry? entry = Entry.Parse(line);
|
||||
if (entry != null) {
|
||||
entries.Add(entry);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
94
EDPlayerJournal/JournalStream.cs
Normal file
94
EDPlayerJournal/JournalStream.cs
Normal file
@ -0,0 +1,94 @@
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal;
|
||||
public class JournalStream {
|
||||
private FileSystemWatcher? watcher = null;
|
||||
|
||||
private Dictionary<string, StreamReader> streams = new Dictionary<string, StreamReader>();
|
||||
|
||||
public delegate void NewJournalEntryDelegate(Entry entry);
|
||||
|
||||
public event NewJournalEntryDelegate? NewJournalEntry;
|
||||
|
||||
public PlayerJournal? Journal;
|
||||
|
||||
public JournalStream() {
|
||||
}
|
||||
|
||||
public JournalStream(PlayerJournal journal) {
|
||||
Journal = journal;
|
||||
Open();
|
||||
}
|
||||
|
||||
private void AddFileToStreams(string path, bool seekend = false) {
|
||||
if (!streams.ContainsKey(path) && JournalFile.VerifyFile(path)) {
|
||||
var filestream = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
|
||||
streams[path] = new StreamReader(filestream);
|
||||
|
||||
if (seekend) {
|
||||
streams[path].BaseStream.Seek(0, SeekOrigin.End);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void Open() {
|
||||
if (watcher != null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Journal == null || Journal.Location == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Journal.Files.Count > 0) {
|
||||
JournalFile lastfile = Journal.GetLastFile();
|
||||
/* add last file to stream */
|
||||
AddFileToStreams(lastfile.FullPath, true);
|
||||
}
|
||||
|
||||
watcher = new FileSystemWatcher(Journal.Location);
|
||||
|
||||
watcher.NotifyFilter = NotifyFilters.FileName |
|
||||
NotifyFilters.LastWrite |
|
||||
NotifyFilters.Size;
|
||||
|
||||
watcher.Changed += Watcher_Changed;
|
||||
watcher.Created += Watcher_Created;
|
||||
|
||||
watcher.Filter = "*.log";
|
||||
watcher.EnableRaisingEvents = true;
|
||||
}
|
||||
|
||||
public void Close() {
|
||||
if (watcher != null) {
|
||||
watcher.EnableRaisingEvents = false;
|
||||
}
|
||||
watcher = null;
|
||||
streams.Clear();
|
||||
}
|
||||
|
||||
private void Watcher_Created(object sender, FileSystemEventArgs e) {
|
||||
AddFileToStreams(e.FullPath);
|
||||
}
|
||||
|
||||
private void Watcher_Changed(object sender, FileSystemEventArgs e) {
|
||||
AddFileToStreams(e.FullPath);
|
||||
|
||||
var stream = streams[e.FullPath];
|
||||
if (stream == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
string? line;
|
||||
|
||||
while ((line = stream.ReadLine()) != null) {
|
||||
try {
|
||||
Entry? entry = Entry.Parse(line);
|
||||
if (entry != null) {
|
||||
NewJournalEntry?.Invoke(entry);
|
||||
}
|
||||
} catch (Exception) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
674
EDPlayerJournal/LICENCE.txt
Normal file
674
EDPlayerJournal/LICENCE.txt
Normal file
@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
7
EDPlayerJournal/Location.cs
Normal file
7
EDPlayerJournal/Location.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace EDPlayerJournal;
|
||||
public class Location {
|
||||
public string StarSystem { get; set; } = "";
|
||||
public ulong SystemAddress { get; set; } = 0;
|
||||
public string Station { get; set; } = "";
|
||||
public ulong[]? StarPos { get; set; }
|
||||
}
|
84
EDPlayerJournal/MissionNames.xml
Normal file
84
EDPlayerJournal/MissionNames.xml
Normal file
@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Missions>
|
||||
<Mission Name="Chain_FindThePirateLord_name">Assassination (Pirate Lord) (Chain)</Mission>
|
||||
<Mission Name="Chain_RegainFooting_name">Regain Footing (Chain)</Mission>
|
||||
<Mission Name="Chain_SalvageJustice_name">Assassination (Legal) (Chain)</Mission>
|
||||
<Mission Name="Mission_Altruism_name">Donate</Mission>
|
||||
<Mission Name="Mission_AltruismCredits_Bust_name">Donate Credits (Bust)</Mission>
|
||||
<Mission Name="Mission_AltruismCredits_Famine_name">Donate Credits (Famine)</Mission>
|
||||
<Mission Name="Mission_AltruismCredits_name">Donate Credits</Mission>
|
||||
<Mission Name="Mission_Assassinate_Illegal_BLOPS_name">Assassination (Illegal)</Mission>
|
||||
<Mission Name="Mission_Assassinate_Legal_Corporate_name">Corporate Assassination (Legal)</Mission>
|
||||
<Mission Name="Mission_Assassinate_name">Assassination</Mission>
|
||||
<Mission Name="Mission_Assassinate_Planetary_name">Assassination (Planetary Scan)</Mission>
|
||||
<Mission Name="Mission_Collect_Bust_name">Provide (Bust)</Mission>
|
||||
<Mission Name="Mission_Collect_CivilLiberty_name">Provide (Civil Liberty)</Mission>
|
||||
<Mission Name="Mission_Collect_CivilUnrest_name">Provide (Civil Unrest)</Mission>
|
||||
<Mission Name="Mission_Collect_Famine_name">Provide (Famine)</Mission>
|
||||
<Mission Name="Mission_Collect_Industrial_name">Provide (Industrial)</Mission>
|
||||
<Mission Name="Mission_Collect_name">Provide</Mission>
|
||||
<Mission Name="Mission_Collect_RankEmp_name">Provide (Imperial Navy)</Mission>
|
||||
<Mission Name="Mission_Collect_Retreat_name">Provide (Retreat)</Mission>
|
||||
<Mission Name="Mission_Courier_Democracy_name">Courier (Democracy)</Mission>
|
||||
<Mission Name="Mission_Courier_Elections_name">Courier (Elections)</Mission>
|
||||
<Mission Name="Mission_Courier_Expansion_name">Courier (Expansion)</Mission>
|
||||
<Mission Name="Mission_Courier_Famine_name">Courier (Famine)</Mission>
|
||||
<Mission Name="Mission_Courier_Lockdown_name">Courier (Lockdown)</Mission>
|
||||
<Mission Name="Mission_Courier_name">Courier</Mission>
|
||||
<Mission Name="Mission_Courier_RankEmp_name">Courier (Imperial Navy)</Mission>
|
||||
<Mission Name="Mission_Delivery_Agriculture_name">Delivery (Agriculture)</Mission>
|
||||
<Mission Name="Mission_Delivery_Boom_name">Delivery (Boom)</Mission>
|
||||
<Mission Name="Mission_Delivery_Democracy_name">Delivery (Democracy)</Mission>
|
||||
<Mission Name="Mission_Delivery_Investment_name">Delivery (Investment)</Mission>
|
||||
<Mission Name="Mission_Delivery_name">Delivery</Mission>
|
||||
<Mission Name="Mission_Delivery_RankEmp_name">Delivery (Imperial Navy)</Mission>
|
||||
<Mission Name="Mission_Delivery_Retreat_name">Delivery (Retreat)</Mission>
|
||||
<Mission Name="Mission_DeliveryWing_name">Delivery (Wing)</Mission>
|
||||
<Mission Name="Mission_DeliveryWing_War_name">Delivery (Wing) (War)</Mission>
|
||||
<Mission Name="Mission_Hack_BLOPS_Boom_name">Hack Surface Installation (Boom)</Mission>
|
||||
<Mission Name="Mission_Hack_BLOPS_Elections_name">Hack Surface Installation (Elections)</Mission>
|
||||
<Mission Name="Mission_Hack_BLOPS_Expansion_name">Hack Surface Installation (Expansion)</Mission>
|
||||
<Mission Name="MISSION_Hack_BLOPS_name">Hack Surface Installation</Mission>
|
||||
<Mission Name="Mission_HackMegaship_name">Hack Megaship</Mission>
|
||||
<Mission Name="Mission_LongDistanceExpedition_Explorer_Boom_name">Long Distance Expedition (Boom)</Mission>
|
||||
<Mission Name="Mission_LongDistanceExpedition_name">Long Distance Expedition</Mission>
|
||||
<Mission Name="Mission_Massacre_Conflict_CivilWar_name">Massacre (Civil War)</Mission>
|
||||
<Mission Name="Mission_Massacre_name">Massacre</Mission>
|
||||
<Mission Name="Mission_Massacre_RankEmp_name">Massacre (Imperial Navy)</Mission>
|
||||
<Mission Name="Mission_MassacreWing_Legal_Bust_name">Massacre (Wing) (Bust)</Mission>
|
||||
<Mission Name="Mission_MassacreWing_name">Massacre (Wing)</Mission>
|
||||
<Mission Name="Mission_OnFoot_Assassination_MB_name">On Foot Assassination</Mission>
|
||||
<Mission Name="Mission_OnFoot_AssassinationIllegal_MB_name">On Foot Assassination (Illegal)</Mission>
|
||||
<Mission Name="Mission_OnFoot_Collect_Contact_MB_name">On Foot Collect</Mission>
|
||||
<Mission Name="Mission_OnFoot_Collect_MB_name">On Foot Collection</Mission>
|
||||
<Mission Name="Mission_OnFoot_Delivery_Contact_MB_name">On Foot Delivery (Contact)</Mission>
|
||||
<Mission Name="Mission_OnFoot_Hack_Upload_Covert_MB_name">On Foot Hack (Covert Upload)</Mission>
|
||||
<Mission Name="Mission_OnFoot_Hack_Upload_MB_name">On Foot Hack (Upload)</Mission>
|
||||
<Mission Name="Mission_OnFoot_Heist_POI_MB_name">On Foot Heist (POI)</Mission>
|
||||
<Mission Name="Mission_OnFoot_Onslaught_MB_name">On Foot Onslaught</Mission>
|
||||
<Mission Name="Mission_OnFoot_Onslaught_Offline_MB_name">On Foot Onslaught (Offline)</Mission>
|
||||
<Mission Name="Mission_OnFoot_ProductionHeist_Covert_MB_name">On Foot Production Heist (Covert)</Mission>
|
||||
<Mission Name="Mission_OnFoot_ProductionHeist_MB_name">On Foot Production Heist</Mission>
|
||||
<Mission Name="Mission_OnFoot_Reboot_MB_name">On Foot Reboot</Mission>
|
||||
<Mission Name="Mission_OnFoot_RebootRestore_MB_name">On Foot Reboot/Restore</Mission>
|
||||
<Mission Name="Mission_OnFoot_Sabotage_Production_Covert_MB_name">On Foot Sabotage Production (Covert)</Mission>
|
||||
<Mission Name="Mission_OnFoot_Salvage_MB_name">On Foot Salvage</Mission>
|
||||
<Mission Name="Mission_OnFoot_SalvageIllegal_MB_name">On Foot Salvage (Illegal)</Mission>
|
||||
<Mission Name="Mission_PassengerBulk_AIDWORKER_ARRIVING">Aid Workers Seeking Transport</Mission>
|
||||
<Mission Name="Mission_PassengerVIP">Passenger (VIP)</Mission>
|
||||
<Mission Name="Mission_PassengerVIP_Criminal_BOOM_name">Passenger Criminal (VIP) (Boom)</Mission>
|
||||
<Mission Name="Mission_PassengerVIP_name">Passenger (VIP)</Mission>
|
||||
<Mission Name="Mission_PassengerVIP_Scientist_FAMINE_name">Passenger Scientist (VIP) (Famine)</Mission>
|
||||
<Mission Name="Mission_PassengerVIP_Tourist_BOOM_name">Passenger Tourist (VIP) (Boom)</Mission>
|
||||
<Mission Name="Mission_Rescue_Planet_name">Planet Rescue</Mission>
|
||||
<Mission Name="MISSION_Salvage_CivilUnrest_name">Salvage (Civil Unrest)</Mission>
|
||||
<Mission Name="MISSION_Salvage_Expansion_name">Salvage (Expansion)</Mission>
|
||||
<Mission Name="MISSION_Salvage_Illegal_name">Salvage (Illegal)</Mission>
|
||||
<Mission Name="Mission_Salvage_name">Salvage</Mission>
|
||||
<Mission Name="Mission_Salvage_RankEmp_name">Salvage (Imperial Navy)</Mission>
|
||||
<Mission Name="MISSION_Salvage_Refinery_name">Salvage (Refinery)</Mission>
|
||||
<Mission Name="MISSION_Salvage_Retreat_name">Salvage (Retreat)</Mission>
|
||||
<Mission Name="MISSION_Scan_name">Scan</Mission>
|
||||
<Mission Name="Mission_Sightseeing_Criminal_FAMINE_name">Sightseeing (Criminal) (Famine)</Mission>
|
||||
<Mission Name="Mission_Sightseeing_name">Sightseeing</Mission>
|
||||
</Missions>
|
89
EDPlayerJournal/PlayerJournal.cs
Normal file
89
EDPlayerJournal/PlayerJournal.cs
Normal file
@ -0,0 +1,89 @@
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournal;
|
||||
public class PlayerJournal {
|
||||
public static string DefaultPath = "%UserProfile%\\Saved Games\\Frontier Developments\\Elite Dangerous";
|
||||
|
||||
private List<JournalFile> journalfiles = new List<JournalFile>();
|
||||
private string? basepath = null;
|
||||
|
||||
public string? Location => basepath;
|
||||
|
||||
public PlayerJournal() {
|
||||
Initialise(DefaultPath);
|
||||
}
|
||||
|
||||
public PlayerJournal(string path) {
|
||||
Initialise(path);
|
||||
}
|
||||
|
||||
private void Initialise(string path) {
|
||||
basepath = Environment.ExpandEnvironmentVariables(path);
|
||||
ScanFiles();
|
||||
}
|
||||
|
||||
public List<JournalFile> Files {
|
||||
get { return journalfiles; }
|
||||
}
|
||||
|
||||
public void Open() {
|
||||
if (!Directory.Exists(basepath)) {
|
||||
throw new JournalException("Invalid base path, path could not be found");
|
||||
}
|
||||
this.ScanFiles();
|
||||
}
|
||||
|
||||
public JournalFile GetLastFile() {
|
||||
var lastfile = Files
|
||||
.OrderBy(x => x.DateTime)
|
||||
.Last()
|
||||
;
|
||||
return lastfile;
|
||||
}
|
||||
|
||||
public void ScanFiles() {
|
||||
if (basepath == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
var files = Directory.EnumerateFiles(basepath);
|
||||
|
||||
journalfiles.Clear();
|
||||
|
||||
foreach (var file in files) {
|
||||
string full = Path.Combine(basepath, file);
|
||||
try {
|
||||
JournalFile journalfile = new JournalFile(full);
|
||||
journalfiles.Add(journalfile);
|
||||
} catch (JournalException) {
|
||||
/* invalid journal file, or one of the other json files in there */
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
journalfiles.Sort();
|
||||
}
|
||||
|
||||
public Entry? FindMostRecent(string entry) {
|
||||
var entries = journalfiles
|
||||
.OrderByDescending(x => x.DateTime)
|
||||
.ToArray()
|
||||
;
|
||||
|
||||
if (entries == null || entries.Length == 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
foreach(JournalFile file in entries) {
|
||||
Entry found = file.Entries
|
||||
.OrderByDescending(x => x.Timestamp)
|
||||
.First(x => x.Event == entry)
|
||||
;
|
||||
if (found != null) {
|
||||
return found;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
49
EDPlayerJournalTests/EDPlayerJournalTests.csproj
Normal file
49
EDPlayerJournalTests/EDPlayerJournalTests.csproj
Normal file
@ -0,0 +1,49 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
|
||||
<PackageReference Include="MSTest.TestAdapter" Version="2.2.8" />
|
||||
<PackageReference Include="MSTest.TestFramework" Version="2.2.8" />
|
||||
<PackageReference Include="coverlet.collector" Version="3.1.2" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\EDPlayerJournal\EDPlayerJournal.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="double-five-inf.txt">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="double-support.txt">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="mission-failed.txt">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="mission-noinfforsourceortarget.txt">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="murder.txt">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="nofactionname-andnoinfluence.txt">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="SameInfTwice.txt">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="SellOrganicData.txt">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
1439
EDPlayerJournalTests/SameInfTwice-Log.txt
Normal file
1439
EDPlayerJournalTests/SameInfTwice-Log.txt
Normal file
File diff suppressed because one or more lines are too long
47
EDPlayerJournalTests/SameInfTwice.txt
Normal file
47
EDPlayerJournalTests/SameInfTwice.txt
Normal file
@ -0,0 +1,47 @@
|
||||
This happens when target and source faction are the same faction
|
||||
|
||||
{ "timestamp":"2022-01-26T23:14:26Z", "event":"MissionAccepted", "Faction":"Peraesii Empire Consulate", "Name":"Mission_Courier_Famine", "LocalisedName":"Famine Data Transportation", "TargetFaction":"Peraesii Empire Consulate", "DestinationSystem":"Madngela", "DestinationStation":"Napier Dock", "Expiry":"2022-01-27T23:10:47Z", "Wing":false, "Influence":"++", "Reputation":"+", "Reward":94062, "MissionID":840783745 }
|
||||
{ "timestamp":"2022-01-26T23:42:37Z", "event":"MissionCompleted", "Faction":"Peraesii Empire Consulate", "Name":"Mission_Courier_Famine_name", "MissionID":840783745, "TargetFaction":"Peraesii Empire Consulate", "DestinationSystem":"Madngela", "DestinationStation":"Napier Dock", "Reward":11002, "FactionEffects":[ { "Faction":"Peraesii Empire Consulate", "Effects":[ { "Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;", "Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.", "Trend":"UpGood" }, { "Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;", "Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.", "Trend":"UpGood" } ], "Influence":[ { "SystemAddress":7269097350585, "Trend":"UpGood", "Influence":"+++" }, { "SystemAddress":2557887746778, "Trend":"UpGood", "Influence":"+++" } ], "ReputationTrend":"UpGood", "Reputation":"++" } ] }
|
||||
|
||||
{
|
||||
"timestamp": "2022-01-26T23:42:37Z",
|
||||
"event": "MissionCompleted",
|
||||
"Faction": "Peraesii Empire Consulate",
|
||||
"Name": "Mission_Courier_Famine_name",
|
||||
"MissionID": 840783745,
|
||||
"TargetFaction": "Peraesii Empire Consulate",
|
||||
"DestinationSystem": "Madngela",
|
||||
"DestinationStation": "Napier Dock",
|
||||
"Reward": 11002,
|
||||
"FactionEffects": [
|
||||
{
|
||||
"Faction": "Peraesii Empire Consulate",
|
||||
"Effects": [
|
||||
{
|
||||
"Effect": "$MISSIONUTIL_Interaction_Summary_EP_up;",
|
||||
"Effect_Localised": "The economic status of $#MinorFaction; has improved in the $#System; system.",
|
||||
"Trend": "UpGood"
|
||||
},
|
||||
{
|
||||
"Effect": "$MISSIONUTIL_Interaction_Summary_EP_up;",
|
||||
"Effect_Localised": "The economic status of $#MinorFaction; has improved in the $#System; system.",
|
||||
"Trend": "UpGood"
|
||||
}
|
||||
],
|
||||
"Influence": [
|
||||
{
|
||||
"SystemAddress": 7269097350585,
|
||||
"Trend": "UpGood",
|
||||
"Influence": "+++"
|
||||
},
|
||||
{
|
||||
"SystemAddress": 2557887746778,
|
||||
"Trend": "UpGood",
|
||||
"Influence": "+++"
|
||||
}
|
||||
],
|
||||
"ReputationTrend": "UpGood",
|
||||
"Reputation": "++"
|
||||
}
|
||||
]
|
||||
}
|
25
EDPlayerJournalTests/SellOrganicData.txt
Normal file
25
EDPlayerJournalTests/SellOrganicData.txt
Normal file
@ -0,0 +1,25 @@
|
||||
{ "timestamp":"2022-02-06T16:36:53Z", "event":"Fileheader", "part":1, "language":"English/UK", "Odyssey":true, "gameversion":"4.0.0.1102", "build":"r280672/r0 " }
|
||||
{ "timestamp":"2022-02-06T18:10:13Z", "event":"Music", "MusicTrack":"NoTrack" }
|
||||
{ "timestamp":"2022-02-06T18:10:26Z", "event":"ReceiveText", "From":"", "Message":"$COMMS_entered:#name=Akualanu;", "Message_Localised":"Entered Channel: Akualanu", "Channel":"npc" }
|
||||
{ "timestamp":"2022-02-06T18:10:26Z", "event":"FSDJump", "Taxi":false, "Multicrew":false, "StarSystem":"Akualanu", "SystemAddress":5069805856169, "StarPos":[63.78125,-128.50000,3.00000], "SystemAllegiance":"Empire", "SystemEconomy":"$economy_Tourism;", "SystemEconomy_Localised":"Tourism", "SystemSecondEconomy":"$economy_HighTech;", "SystemSecondEconomy_Localised":"High Tech", "SystemGovernment":"$government_Patronage;", "SystemGovernment_Localised":"Patronage", "SystemSecurity":"$SYSTEM_SECURITY_low;", "SystemSecurity_Localised":"Low Security", "Population":787019, "Body":"Akualanu A", "BodyID":1, "BodyType":"Star", "Powers":[ "A. Lavigny-Duval" ], "PowerplayState":"Exploited", "JumpDist":40.001, "FuelUsed":4.849240, "FuelLevel":22.573641, "Factions":[ { "Name":"Akualanu United & Co", "FactionState":"War", "Government":"Corporate", "Influence":0.158000, "Allegiance":"Empire", "Happiness":"$Faction_HappinessBand3;", "Happiness_Localised":"Discontented", "MyReputation":100.000000, "RecoveringStates":[ { "State":"InfrastructureFailure", "Trend":0 } ], "ActiveStates":[ { "State":"Lockdown" }, { "State":"Famine" }, { "State":"War" } ] }, { "Name":"Alacagui Holdings", "FactionState":"War", "Government":"Corporate", "Influence":0.086000, "Allegiance":"Empire", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":55.000000, "RecoveringStates":[ { "State":"PirateAttack", "Trend":0 } ], "ActiveStates":[ { "State":"War" } ] }, { "Name":"Left Party of Akualanu", "FactionState":"War", "Government":"Communism", "Influence":0.086000, "Allegiance":"Independent", "Happiness":"$Faction_HappinessBand3;", "Happiness_Localised":"Discontented", "MyReputation":95.899399, "RecoveringStates":[ { "State":"InfrastructureFailure", "Trend":0 } ], "ActiveStates":[ { "State":"Lockdown" }, { "State":"Famine" }, { "State":"War" } ] }, { "Name":"Cartel of Akualanu", "FactionState":"Famine", "Government":"Anarchy", "Influence":0.028000, "Allegiance":"Independent", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":29.040001, "RecoveringStates":[ { "State":"InfrastructureFailure", "Trend":0 } ], "ActiveStates":[ { "State":"Famine" } ] }, { "Name":"Revolutionary Akualanu Liberals", "FactionState":"Bust", "Government":"Democracy", "Influence":0.085000, "Allegiance":"Independent", "Happiness":"$Faction_HappinessBand3;", "Happiness_Localised":"Discontented", "MyReputation":43.093700, "PendingStates":[ { "State":"Lockdown", "Trend":0 } ], "ActiveStates":[ { "State":"InfrastructureFailure" }, { "State":"Bust" } ] }, { "Name":"Conservatives of Cockaigne", "FactionState":"War", "Government":"Dictatorship", "Influence":0.138000, "Allegiance":"Empire", "Happiness":"$Faction_HappinessBand3;", "Happiness_Localised":"Discontented", "MyReputation":70.000000, "ActiveStates":[ { "State":"CivilUnrest" }, { "State":"InfrastructureFailure" }, { "State":"War" } ] }, { "Name":"Nova Paresa", "FactionState":"Investment", "Government":"Patronage", "Influence":0.419000, "Allegiance":"Empire", "Happiness":"$Faction_HappinessBand1;", "Happiness_Localised":"Elated", "SquadronFaction":true, "MyReputation":100.000000, "ActiveStates":[ { "State":"Investment" }, { "State":"CivilLiberty" } ] } ], "SystemFaction":{ "Name":"Nova Paresa", "FactionState":"Investment" }, "Conflicts":[ { "WarType":"war", "Status":"active", "Faction1":{ "Name":"Akualanu United & Co", "Stake":"Konig Institution", "WonDays":0 }, "Faction2":{ "Name":"Conservatives of Cockaigne", "Stake":"", "WonDays":1 } }, { "WarType":"war", "Status":"active", "Faction1":{ "Name":"Alacagui Holdings", "Stake":"Ware Cultivation Facility", "WonDays":2 }, "Faction2":{ "Name":"Left Party of Akualanu", "Stake":"", "WonDays":2 } } ] }
|
||||
{ "timestamp":"2022-02-06T18:10:26Z", "event":"Music", "MusicTrack":"DestinationFromHyperspace" }
|
||||
{ "timestamp":"2022-02-06T18:10:31Z", "event":"Music", "MusicTrack":"Supercruise" }
|
||||
{ "timestamp":"2022-02-06T18:12:18Z", "event":"FSSSignalDiscovered", "SystemAddress":5069805856169, "SignalName":"P.T.N. RACKMOBILE H0H-W6T", "IsStation":true }
|
||||
{ "timestamp":"2022-02-06T18:12:18Z", "event":"FSSSignalDiscovered", "SystemAddress":5069805856169, "SignalName":"BARON VON ZOOMSKI K8L-04G", "IsStation":true }
|
||||
{ "timestamp":"2022-02-06T18:12:18Z", "event":"FSSSignalDiscovered", "SystemAddress":5069805856169, "SignalName":"Hughes Vista", "IsStation":true }
|
||||
{ "timestamp":"2022-02-06T18:12:18Z", "event":"FSSSignalDiscovered", "SystemAddress":5069805856169, "SignalName":"GOTHAM CITY J8T-1VM", "IsStation":true }
|
||||
{ "timestamp":"2022-02-06T18:12:18Z", "event":"FSSSignalDiscovered", "SystemAddress":5069805856169, "SignalName":"NAUVOO JNB-BHF", "IsStation":true }
|
||||
{ "timestamp":"2022-02-06T18:12:18Z", "event":"SupercruiseExit", "Taxi":false, "Multicrew":false, "StarSystem":"Akualanu", "SystemAddress":5069805856169, "Body":"Hughes Vista", "BodyID":29, "BodyType":"Station" }
|
||||
{ "timestamp":"2022-02-06T18:12:18Z", "event":"Music", "MusicTrack":"DestinationFromSupercruise" }
|
||||
{ "timestamp":"2022-02-06T18:12:23Z", "event":"Music", "MusicTrack":"NoTrack" }
|
||||
{ "timestamp":"2022-02-06T18:12:23Z", "event":"ReceiveText", "From":"Hughes Vista", "Message":"$STATION_NoFireZone_entered;", "Message_Localised":"No fire zone entered.", "Channel":"npc" }
|
||||
{ "timestamp":"2022-02-06T18:12:23Z", "event":"DockingRequested", "MarketID":3222969088, "StationName":"Hughes Vista", "StationType":"Coriolis", "LandingPads":{ "Small":13, "Medium":16, "Large":8 } }
|
||||
{ "timestamp":"2022-02-06T18:12:24Z", "event":"ReceiveText", "From":"Hughes Vista", "Message":"$DockingChatter_Allied;", "Message_Localised":"An ally like you is always welcome here.", "Channel":"npc" }
|
||||
{ "timestamp":"2022-02-06T18:12:24Z", "event":"ReceiveText", "From":"Hughes Vista", "Message":"$STATION_docking_granted;", "Message_Localised":"Docking request granted.", "Channel":"npc" }
|
||||
{ "timestamp":"2022-02-06T18:12:24Z", "event":"DockingGranted", "LandingPad":37, "MarketID":3222969088, "StationName":"Hughes Vista", "StationType":"Coriolis" }
|
||||
{ "timestamp":"2022-02-06T18:12:26Z", "event":"Music", "MusicTrack":"DockingComputer" }
|
||||
{ "timestamp":"2022-02-06T18:13:30Z", "event":"Docked", "StationName":"Hughes Vista", "StationType":"Coriolis", "Taxi":false, "Multicrew":false, "StarSystem":"Akualanu", "SystemAddress":5069805856169, "MarketID":3222969088, "StationFaction":{ "Name":"Nova Paresa", "FactionState":"Investment" }, "StationGovernment":"$government_Patronage;", "StationGovernment_Localised":"Patronage", "StationAllegiance":"Empire", "StationServices":[ "dock", "autodock", "commodities", "contacts", "exploration", "missions", "outfitting", "crewlounge", "rearm", "refuel", "repair", "shipyard", "tuning", "engineer", "missionsgenerated", "facilitator", "flightcontroller", "stationoperations", "powerplay", "searchrescue", "stationMenu", "shop", "livery", "socialspace", "bartender", "vistagenomics", "pioneersupplies", "apexinterstellar", "frontlinesolutions" ], "StationEconomy":"$economy_Tourism;", "StationEconomy_Localised":"Tourism", "StationEconomies":[ { "Name":"$economy_Tourism;", "Name_Localised":"Tourism", "Proportion":1.000000 } ], "DistFromStarLS":78.917615, "LandingPads":{ "Small":13, "Medium":16, "Large":8 } }
|
||||
{ "timestamp":"2022-02-06T18:16:08Z", "event":"Disembark", "SRV":false, "Taxi":false, "Multicrew":false, "ID":65, "StarSystem":"Akualanu", "SystemAddress":5069805856169, "Body":"Hughes Vista", "BodyID":29, "OnStation":true, "OnPlanet":false, "StationName":"Hughes Vista", "StationType":"Coriolis", "MarketID":3222969088 }
|
||||
{ "timestamp":"2022-02-06T18:16:12Z", "event":"ReceiveText", "From":"Hughes Vista", "Message":"$STATION_NoFireZone_entered;", "Message_Localised":"No fire zone entered.", "Channel":"npc" }
|
||||
{ "timestamp":"2022-02-06T18:17:44Z", "event":"Promotion", "Exobiologist":1 }
|
||||
{ "timestamp":"2022-02-06T18:17:44Z", "event":"SellOrganicData", "MarketID":3222969088, "BioData":[ { "Genus":"$Codex_Ent_Stratum_Genus_Name;", "Genus_Localised":"Stratum", "Species":"$Codex_Ent_Stratum_07_Name;", "Species_Localised":"Stratum Tectonicas", "Value":806300, "Bonus":0 }, { "Genus":"$Codex_Ent_Aleoids_Genus_Name;", "Genus_Localised":"Aleoida", "Species":"$Codex_Ent_Aleoids_05_Name;", "Species_Localised":"Aleoida Gravis", "Value":596500, "Bonus":0 } ] }
|
636
EDPlayerJournalTests/TestMurder.txt
Normal file
636
EDPlayerJournalTests/TestMurder.txt
Normal file
File diff suppressed because one or more lines are too long
154
EDPlayerJournalTests/TestTransactionParser.cs
Normal file
154
EDPlayerJournalTests/TestTransactionParser.cs
Normal file
@ -0,0 +1,154 @@
|
||||
using EDPlayerJournal;
|
||||
using EDPlayerJournal.BGS;
|
||||
using EDPlayerJournal.Entries;
|
||||
|
||||
namespace EDPlayerJournalTests;
|
||||
|
||||
[TestClass]
|
||||
public class TestTransactionParser {
|
||||
private List<Entry>? LoadTestData(string filename) {
|
||||
try {
|
||||
string path = Path.GetFullPath("./" + filename);
|
||||
string[] lines = File.ReadAllLines(path);
|
||||
List<Entry> entries = new();
|
||||
|
||||
foreach (string line in lines) {
|
||||
line.Trim();
|
||||
if (string.IsNullOrEmpty(line)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Entry? entry = Entry.Parse(line);
|
||||
if (entry != null) {
|
||||
entries.Add(entry);
|
||||
}
|
||||
}
|
||||
|
||||
return entries;
|
||||
} catch (Exception) {
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void DoubleFiveINF() {
|
||||
TransactionParser parser = new();
|
||||
|
||||
List<Entry>? entries = LoadTestData("double-five-inf.txt");
|
||||
Assert.IsNotNull(entries, "could not load test data");
|
||||
|
||||
if (entries == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
List<Transaction>? transactions = parser.Parse(entries);
|
||||
Assert.IsNotNull(transactions, "could not parse entries");
|
||||
Assert.AreEqual(transactions.Count, 10);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void DoubleSupport() {
|
||||
TransactionParser parser = new();
|
||||
|
||||
List<Entry>? entries = LoadTestData("double-support.txt");
|
||||
Assert.IsNotNull(entries, "could not load test data");
|
||||
|
||||
if (entries == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
List<Transaction>? transactions = parser.Parse(entries);
|
||||
Assert.IsNotNull(transactions, "could not parse entries");
|
||||
Assert.AreEqual(transactions.Count, 16);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void MissionFailed() {
|
||||
TransactionParser parser = new();
|
||||
|
||||
List<Entry>? entries = LoadTestData("mission-failed.txt");
|
||||
Assert.IsNotNull(entries, "could not load test data");
|
||||
|
||||
if (entries == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
List<Transaction>? transactions = parser.Parse(entries);
|
||||
Assert.IsNotNull(transactions, "could not parse entries");
|
||||
Assert.AreEqual(transactions.Count, 18);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void MissionNoINF() {
|
||||
TransactionParser parser = new();
|
||||
|
||||
List<Entry>? entries = LoadTestData("mission-noinfforsourceortarget.txt");
|
||||
Assert.IsNotNull(entries, "could not load test data");
|
||||
|
||||
if (entries == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
List<Transaction>? transactions = parser.Parse(entries);
|
||||
Assert.IsNotNull(transactions, "could not parse entries");
|
||||
Assert.AreEqual(transactions.Count, 10);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void Murder() {
|
||||
TransactionParser parser = new();
|
||||
|
||||
List<Entry>? entries = LoadTestData("murder.txt");
|
||||
Assert.IsNotNull(entries, "could not load test data");
|
||||
|
||||
if (entries == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
List<Transaction>? transactions = parser.Parse(entries);
|
||||
Assert.IsNotNull(transactions, "could not parse entries");
|
||||
Assert.AreEqual(transactions.Count, 1);
|
||||
|
||||
if (transactions == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
FoulMurder? murder = transactions[0] as FoulMurder;
|
||||
Assert.IsNotNull(murder, "result is not a murder");
|
||||
Assert.AreEqual(murder.Faction, "Dei Muata Society");
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void NoFactionNameNoInfluence() {
|
||||
TransactionParser parser = new();
|
||||
|
||||
List<Entry>? entries = LoadTestData("nofactionname-andnoinfluence.txt");
|
||||
Assert.IsNotNull(entries, "could not load test data");
|
||||
|
||||
if (entries == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
List<Transaction>? transactions = parser.Parse(entries);
|
||||
Assert.IsNotNull(transactions, "could not parse entries");
|
||||
Assert.AreEqual(transactions.Count, 1);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void SellOrganicData() {
|
||||
TransactionParser parser = new();
|
||||
|
||||
List<Entry>? entries = LoadTestData("SellOrganicData.txt");
|
||||
Assert.IsNotNull(entries, "could not load test data");
|
||||
|
||||
if (entries == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
List<Transaction>? transactions = parser.Parse(entries);
|
||||
Assert.IsNotNull(transactions, "could not parse entries");
|
||||
Assert.AreEqual(transactions.Count, 1);
|
||||
Assert.IsInstanceOfType(transactions[0], typeof(OrganicData), "result is not of type Organic Data");
|
||||
}
|
||||
}
|
1
EDPlayerJournalTests/Usings.cs
Normal file
1
EDPlayerJournalTests/Usings.cs
Normal file
@ -0,0 +1 @@
|
||||
global using Microsoft.VisualStudio.TestTools.UnitTesting;
|
26
EDPlayerJournalTests/double-five-inf.txt
Normal file
26
EDPlayerJournalTests/double-five-inf.txt
Normal file
@ -0,0 +1,26 @@
|
||||
{"timestamp":"2022-01-28T20:27:50Z","event":"Location","DistFromStarLS":260.928606,"Docked":true,"StationName":"Dyson City","StationType":"Coriolis","MarketID":3222169600,"StationFaction":{"Name":"Nova Paresa","FactionState":"Boom"},"StationGovernment":"$government_Patronage;","StationGovernment_Localised":"Patronage","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","livery","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Agri;","StationEconomy_Localised":"Agriculture","StationEconomies":[{"Name":"$economy_Agri;","Name_Localised":"Agriculture","Proportion":1.0}],"Taxi":false,"Multicrew":false,"StarSystem":"Paresa","SystemAddress":2832765653722,"StarPos":[86.4375,-197.46875,28.78125],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Agri;","SystemEconomy_Localised":"Agriculture","SystemSecondEconomy":"$economy_Terraforming;","SystemSecondEconomy_Localised":"Terraforming","SystemGovernment":"$government_Patronage;","SystemGovernment_Localised":"Patronage","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":6019569785,"Body":"Dyson City","BodyID":40,"BodyType":"Station","Factions":[{"Name":"Paresa Patron's Principles","FactionState":"None","Government":"Patronage","Influence":0.046701,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-82.867599},{"Name":"Peraesii Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.141117,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0},{"Name":"Paresa Inc","FactionState":"None","Government":"Corporate","Influence":0.04264,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-84.131699,"RecoveringStates":[{"State":"Drought","Trend":0}]},{"Name":"Paresa Public Industries","FactionState":"None","Government":"Corporate","Influence":0.031472,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-27.370501},{"Name":"Paresa Blue Family","FactionState":"None","Government":"Anarchy","Influence":0.010152,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-9.24},{"Name":"Order of Paresa","FactionState":"None","Government":"Dictatorship","Influence":0.034518,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":4.035},{"Name":"Nova Paresa","FactionState":"Boom","Government":"Patronage","Influence":0.693401,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand1;","Happiness_Localised":"Elated","SquadronFaction":true,"HomeSystem":true,"MyReputation":100.0,"ActiveStates":[{"State":"Boom"},{"State":"CivilLiberty"}]}],"SystemFaction":{"Name":"Nova Paresa","FactionState":"Boom"}}
|
||||
{"timestamp":"2022-01-28T20:30:06Z","event":"FSDJump","Taxi":false,"Multicrew":false,"StarSystem":"Matucae","SystemAddress":3343405517163,"StarPos":[98.90625,-170.625,19.15625],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Extraction;","SystemEconomy_Localised":"Extraction","SystemSecondEconomy":"$economy_Agri;","SystemSecondEconomy_Localised":"Agriculture","SystemGovernment":"$government_Patronage;","SystemGovernment_Localised":"Patronage","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":737535,"Body":"Matucae A","BodyID":1,"BodyType":"Star","JumpDist":31.124,"FuelUsed":2.655265,"FuelLevel":29.344736,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.394841,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0},{"Name":"Kelish Citizens' Forum","FactionState":"None","Government":"Patronage","Influence":0.197421,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":25.030001},{"Name":"Blodyaks Blue Bridge Limited","FactionState":"War","Government":"Corporate","Influence":0.121032,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":1.55098,"ActiveStates":[{"State":"War"}]},{"Name":"Matucae Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.070437,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Matucae Jet General Solutions","FactionState":"None","Government":"Corporate","Influence":0.085317,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Social Matucae Liberals","FactionState":"War","Government":"Democracy","Influence":0.121032,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"War"}]},{"Name":"Matucae Crimson Partnership","FactionState":"None","Government":"Anarchy","Influence":0.009921,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0}],"SystemFaction":{"Name":"Peraesii Empire Consulate"},"Conflicts":[{"WarType":"war","Status":"active","Faction1":{"Name":"Blodyaks Blue Bridge Limited","Stake":"Sitterly Base","WonDays":0},"Faction2":{"Name":"Social Matucae Liberals","Stake":"Tian Hydroponics Estate","WonDays":0}}]}
|
||||
{"timestamp":"2022-01-28T20:32:50Z","event":"Docked","StationName":"Dumont Survey","StationType":"Outpost","Taxi":false,"Multicrew":false,"StarSystem":"Matucae","SystemAddress":3343405517163,"MarketID":3224413952,"StationFaction":{"Name":"Peraesii Empire Consulate"},"StationGovernment":"$government_Patronage;","StationGovernment_Localised":"Patronage","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","rearm","refuel","repair","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Extraction;","StationEconomy_Localised":"Extraction","StationEconomies":[{"Name":"$economy_Extraction;","Name_Localised":"Extraction","Proportion":0.87},{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":0.13}],"DistFromStarLS":99.132767,"LandingPads":{"Small":2,"Medium":1,"Large":0}}
|
||||
{"timestamp":"2022-01-28T20:33:05Z","event":"MissionAccepted","Faction":"Peraesii Empire Consulate","Name":"Mission_AltruismCredits","LocalisedName":"Donate 1,000,000 Cr to the cause","Donation":"1000000","Expiry":"2022-01-28T23:59:48Z","Wing":false,"Influence":"++","Reputation":"++","MissionID":841305704}
|
||||
{"timestamp":"2022-01-28T20:33:06Z","event":"MissionAccepted","Faction":"Peraesii Empire Consulate","Name":"Mission_AltruismCredits","LocalisedName":"Donate 1,000,000 Cr to the cause","Donation":"1000000","Expiry":"2022-01-29T00:13:47Z","Wing":false,"Influence":"++","Reputation":"++","MissionID":841305711}
|
||||
{"timestamp":"2022-01-28T20:33:23Z","event":"MissionCompleted","Faction":"Peraesii Empire Consulate","Name":"Mission_AltruismCredits_name","MissionID":841305704,"Donation":"1000000","Donated":1000000,"FactionEffects":[{"Faction":"Peraesii Empire Consulate","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":3343405517163,"Trend":"UpGood","Influence":"++"}],"ReputationTrend":"UpGood","Reputation":"++"}]}
|
||||
{"timestamp":"2022-01-28T20:33:25Z","event":"MissionCompleted","Faction":"Peraesii Empire Consulate","Name":"Mission_AltruismCredits_name","MissionID":841305711,"Donation":"1000000","Donated":1000000,"FactionEffects":[{"Faction":"Peraesii Empire Consulate","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":3343405517163,"Trend":"UpGood","Influence":"++"}],"ReputationTrend":"UpGood","Reputation":"++"}]}
|
||||
{"timestamp":"2022-01-28T21:13:48Z","event":"MissionAccepted","Faction":"Peraesii Empire Consulate","Name":"Mission_AltruismCredits","LocalisedName":"Donate 1,000,000 Cr to the cause","Donation":"1000000","Expiry":"2022-01-29T00:36:38Z","Wing":false,"Influence":"++","Reputation":"++","MissionID":841318157}
|
||||
{"timestamp":"2022-01-28T21:13:50Z","event":"MissionAccepted","Faction":"Peraesii Empire Consulate","Name":"Mission_AltruismCredits","LocalisedName":"Donate 750,000 Cr to the cause","Donation":"750000","Expiry":"2022-01-29T00:43:52Z","Wing":false,"Influence":"++","Reputation":"++","MissionID":841318164}
|
||||
{"timestamp":"2022-01-28T21:13:56Z","event":"MissionCompleted","Faction":"Peraesii Empire Consulate","Name":"Mission_AltruismCredits_name","MissionID":841318164,"Donation":"750000","Donated":750000,"FactionEffects":[{"Faction":"Peraesii Empire Consulate","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":3343405517163,"Trend":"UpGood","Influence":"++"}],"ReputationTrend":"UpGood","Reputation":"++"}]}
|
||||
{"timestamp":"2022-01-28T21:13:59Z","event":"MissionCompleted","Faction":"Peraesii Empire Consulate","Name":"Mission_AltruismCredits_name","MissionID":841318157,"Donation":"1000000","Donated":1000000,"FactionEffects":[{"Faction":"Peraesii Empire Consulate","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":3343405517163,"Trend":"UpGood","Influence":"++"}],"ReputationTrend":"UpGood","Reputation":"++"}]}
|
||||
{"timestamp":"2022-01-28T21:22:37Z","event":"MissionAccepted","Faction":"Peraesii Empire Consulate","Name":"Mission_Delivery","LocalisedName":"Deliver 196 units of Coltan","Commodity":"$Coltan_Name;","Commodity_Localised":"Coltan","Count":196,"TargetFaction":"Peraesii Empire Consulate","DestinationSystem":"Ewambutsu","DestinationStation":"Rees Hub","Expiry":"2022-01-29T21:22:28Z","Wing":false,"Influence":"++","Reputation":"++","Reward":2069163,"MissionID":841321064}
|
||||
{"timestamp":"2022-01-28T21:23:42Z","event":"FSDJump","Taxi":false,"Multicrew":false,"StarSystem":"Ewambutsu","SystemAddress":3107643593434,"StarPos":[83.28125,-165.65625,23.4375],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Refinery;","SystemEconomy_Localised":"Refinery","SystemSecondEconomy":"$economy_Extraction;","SystemSecondEconomy_Localised":"Extraction","SystemGovernment":"$government_Patronage;","SystemGovernment_Localised":"Patronage","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":342481,"Body":"Ewambutsu A","BodyID":2,"BodyType":"Star","Powers":["A. Lavigny-Duval"],"PowerplayState":"Exploited","JumpDist":16.946,"FuelUsed":0.939764,"FuelLevel":31.060236,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.44044,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0},{"Name":"Ewambutsu Federal Holdings","FactionState":"None","Government":"Corporate","Influence":0.211211,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":1.485},{"Name":"League of Ewambutsu Conservatives","FactionState":"None","Government":"Dictatorship","Influence":0.055055,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Ewambutsu Society","FactionState":"None","Government":"Anarchy","Influence":0.032032,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Ewambutsu for Equality","FactionState":"None","Government":"Democracy","Influence":0.053053,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Ewambutsu Conservatives","FactionState":"None","Government":"Dictatorship","Influence":0.113113,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":5.25415},{"Name":"Empire Consulate Ltd","FactionState":"None","Government":"Patronage","Influence":0.095095,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-64.401398}],"SystemFaction":{"Name":"Peraesii Empire Consulate"}}
|
||||
{"timestamp":"2022-01-28T21:33:10Z","event":"Docked","StationName":"Rees Hub","StationType":"Outpost","Taxi":false,"Multicrew":false,"StarSystem":"Ewambutsu","SystemAddress":3107643593434,"MarketID":3222891776,"StationFaction":{"Name":"Peraesii Empire Consulate"},"StationGovernment":"$government_Patronage;","StationGovernment_Localised":"Patronage","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","livery","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":0.69},{"Name":"$economy_Extraction;","Name_Localised":"Extraction","Proportion":0.31}],"DistFromStarLS":11259.477784,"LandingPads":{"Small":4,"Medium":1,"Large":0}}
|
||||
{"timestamp":"2022-01-28T21:33:58Z","event":"MissionCompleted","Faction":"Peraesii Empire Consulate","Name":"Mission_Delivery_name","MissionID":841321064,"Commodity":"$Coltan_Name;","Commodity_Localised":"Coltan","Count":196,"TargetFaction":"Peraesii Empire Consulate","DestinationSystem":"Ewambutsu","DestinationStation":"Rees Hub","Reward":848264,"FactionEffects":[{"Faction":"Peraesii Empire Consulate","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"},{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":3343405517163,"Trend":"UpGood","Influence":"+++++"},{"SystemAddress":3107643593434,"Trend":"UpGood","Influence":"+++++"}],"ReputationTrend":"UpGood","Reputation":"++++"}]}
|
||||
{"timestamp":"2022-01-28T21:35:15Z","event":"FSDJump","Taxi":false,"Multicrew":false,"StarSystem":"Matucae","SystemAddress":3343405517163,"StarPos":[98.90625,-170.625,19.15625],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Extraction;","SystemEconomy_Localised":"Extraction","SystemSecondEconomy":"$economy_Agri;","SystemSecondEconomy_Localised":"Agriculture","SystemGovernment":"$government_Patronage;","SystemGovernment_Localised":"Patronage","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":737535,"Body":"Matucae A","BodyID":1,"BodyType":"Star","JumpDist":16.946,"FuelUsed":0.598723,"FuelLevel":31.401278,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.394841,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0},{"Name":"Kelish Citizens' Forum","FactionState":"None","Government":"Patronage","Influence":0.197421,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":25.030001},{"Name":"Blodyaks Blue Bridge Limited","FactionState":"War","Government":"Corporate","Influence":0.121032,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":1.55098,"ActiveStates":[{"State":"War"}]},{"Name":"Matucae Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.070437,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Matucae Jet General Solutions","FactionState":"None","Government":"Corporate","Influence":0.085317,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Social Matucae Liberals","FactionState":"War","Government":"Democracy","Influence":0.121032,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"War"}]},{"Name":"Matucae Crimson Partnership","FactionState":"None","Government":"Anarchy","Influence":0.009921,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0}],"SystemFaction":{"Name":"Peraesii Empire Consulate"},"Conflicts":[{"WarType":"war","Status":"active","Faction1":{"Name":"Blodyaks Blue Bridge Limited","Stake":"Sitterly Base","WonDays":0},"Faction2":{"Name":"Social Matucae Liberals","Stake":"Tian Hydroponics Estate","WonDays":0}}]}
|
||||
{"timestamp":"2022-01-28T21:45:19Z","event":"FSDJump","Taxi":false,"Multicrew":false,"StarSystem":"Yu Hsinda","SystemAddress":7269097350585,"StarPos":[81.09375,-196.53125,40.6875],"SystemAllegiance":"Empire","SystemEconomy":"$economy_HighTech;","SystemEconomy_Localised":"High Tech","SystemSecondEconomy":"$economy_Agri;","SystemSecondEconomy_Localised":"Agriculture","SystemGovernment":"$government_Patronage;","SystemGovernment_Localised":"Patronage","SystemSecurity":"$SYSTEM_SECURITY_low;","SystemSecurity_Localised":"Low Security","Population":43085,"Body":"Yu Hsinda A","BodyID":1,"BodyType":"Star","JumpDist":38.105,"FuelUsed":4.352454,"FuelLevel":27.048824,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"Famine","Government":"Patronage","Influence":0.70303,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0,"RecoveringStates":[{"State":"Blight","Trend":0}],"ActiveStates":[{"State":"Famine"}]},{"Name":"Yu Hsinda Jet Fortune Industries","FactionState":"War","Government":"Corporate","Influence":0.123232,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand4;","Happiness_Localised":"Unhappy","MyReputation":-12.38,"ActiveStates":[{"State":"Blight"},{"State":"Famine"},{"State":"War"}]},{"Name":"Yu Hsinda Mob","FactionState":"None","Government":"Anarchy","Influence":0.010101,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-8.58},{"Name":"Empire Consulate Ltd","FactionState":"War","Government":"Patronage","Influence":0.163636,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-64.401398,"ActiveStates":[{"State":"War"}]}],"SystemFaction":{"Name":"Peraesii Empire Consulate","FactionState":"Famine"},"Conflicts":[{"WarType":"war","Status":"active","Faction1":{"Name":"Yu Hsinda Jet Fortune Industries","Stake":"Smoot Base","WonDays":1},"Faction2":{"Name":"Empire Consulate Ltd","Stake":"Sasaki Nutrition Farm","WonDays":2}}]}
|
||||
{"timestamp":"2022-01-28T21:49:18Z","event":"FSDJump","Taxi":false,"Multicrew":false,"StarSystem":"Peraesii","SystemAddress":2870782469561,"StarPos":[69.5625,-180.8125,36.59375],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Agri;","SystemEconomy_Localised":"Agriculture","SystemSecondEconomy":"$economy_Extraction;","SystemSecondEconomy_Localised":"Extraction","SystemGovernment":"$government_Patronage;","SystemGovernment_Localised":"Patronage","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":6249871671,"Body":"Peraesii","BodyID":0,"BodyType":"Star","JumpDist":19.92,"FuelUsed":0.877837,"FuelLevel":26.170988,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"Famine","Government":"Patronage","Influence":0.096096,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0},{"Name":"Peraesii Purple Bridge Systems","FactionState":"None","Government":"Corporate","Influence":0.085085,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Temurt Drug Empire","FactionState":"None","Government":"Anarchy","Influence":0.256256,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-1.98},{"Name":"Peraesii Jet Vision Company","FactionState":"None","Government":"Corporate","Influence":0.032032,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Workers of Peraesii Labour","FactionState":"None","Government":"Democracy","Influence":0.058058,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Peraesii Jet Dragons","FactionState":"None","Government":"Anarchy","Influence":0.01001,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Empire Consulate Ltd","FactionState":"War","Government":"Patronage","Influence":0.462462,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-64.401398}],"SystemFaction":{"Name":"Empire Consulate Ltd","FactionState":"War"}}
|
||||
{"timestamp":"2022-01-28T21:53:17Z","event":"FSDJump","Taxi":false,"Multicrew":false,"StarSystem":"Kelish","SystemAddress":2871319405993,"StarPos":[95.09375,-164.375,13.34375],"SystemAllegiance":"Independent","SystemEconomy":"$economy_HighTech;","SystemEconomy_Localised":"High Tech","SystemSecondEconomy":"$economy_Refinery;","SystemSecondEconomy_Localised":"Refinery","SystemGovernment":"$government_Cooperative;","SystemGovernment_Localised":"Cooperative","SystemSecurity":"$SYSTEM_SECURITY_high;","SystemSecurity_Localised":"High Security","Population":31349315,"Body":"Kelish A","BodyID":1,"BodyType":"Star","JumpDist":38.244,"FuelUsed":4.328969,"FuelLevel":21.842018,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"Famine","Government":"Patronage","Influence":0.077309,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0},{"Name":"Kelish Citizens' Forum","FactionState":"Election","Government":"Patronage","Influence":0.094378,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":25.030001,"ActiveStates":[{"State":"Election"}]},{"Name":"Kelish Limited","FactionState":"None","Government":"Corporate","Influence":0.063253,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":1.505},{"Name":"Kelish Posse","FactionState":"Bust","Government":"Anarchy","Influence":0.01004,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":2.97,"ActiveStates":[{"State":"Bust"}]},{"Name":"Kelish Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.047189,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":3.8809},{"Name":"Decimus Imperium Lex","FactionState":"Election","Government":"Feudal","Influence":0.094378,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-20.4314,"ActiveStates":[{"State":"Election"}]},{"Name":"The Order of Mobius","FactionState":"None","Government":"Cooperative","Influence":0.613454,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":29.7243}],"SystemFaction":{"Name":"The Order of Mobius"},"Conflicts":[{"WarType":"election","Status":"active","Faction1":{"Name":"Kelish Citizens' Forum","Stake":"Delaunay Orbital","WonDays":0},"Faction2":{"Name":"Decimus Imperium Lex","Stake":"Chalker Penal colony","WonDays":0}}]}
|
||||
{"timestamp":"2022-01-28T21:56:16Z","event":"Docked","StationName":"Alphonsi Orbital","StationType":"Coriolis","Taxi":false,"Multicrew":false,"StarSystem":"Kelish","SystemAddress":2871319405993,"MarketID":3224634880,"StationFaction":{"Name":"The Order of Mobius"},"StationGovernment":"$government_Cooperative;","StationGovernment_Localised":"Cooperative","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","livery","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_HighTech;","StationEconomy_Localised":"High Tech","StationEconomies":[{"Name":"$economy_HighTech;","Name_Localised":"High Tech","Proportion":0.8},{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":0.2}],"DistFromStarLS":38.894515,"LandingPads":{"Small":8,"Medium":12,"Large":7}}
|
||||
{"timestamp":"2022-01-28T21:57:49Z","event":"MarketBuy","MarketID":3224634880,"Type":"performanceenhancers","Type_Localised":"Performance Enhancers","Count":120,"BuyPrice":5849,"TotalCost":701880}
|
||||
{"timestamp":"2022-01-28T21:57:53Z","event":"MarketBuy","MarketID":3224634880,"Type":"progenitorcells","Type_Localised":"Progenitor Cells","Count":112,"BuyPrice":6330,"TotalCost":708960}
|
||||
{"timestamp":"2022-01-28T21:59:07Z","event":"FSDJump","Taxi":false,"Multicrew":false,"StarSystem":"Matucae","SystemAddress":3343405517163,"StarPos":[98.90625,-170.625,19.15625],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Extraction;","SystemEconomy_Localised":"Extraction","SystemSecondEconomy":"$economy_Agri;","SystemSecondEconomy_Localised":"Agriculture","SystemGovernment":"$government_Patronage;","SystemGovernment_Localised":"Patronage","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":737535,"Body":"Matucae A","BodyID":1,"BodyType":"Star","JumpDist":9.348,"FuelUsed":0.234295,"FuelLevel":31.765705,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"Famine","Government":"Patronage","Influence":0.394841,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0},{"Name":"Kelish Citizens' Forum","FactionState":"Election","Government":"Patronage","Influence":0.197421,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":25.030001},{"Name":"Blodyaks Blue Bridge Limited","FactionState":"War","Government":"Corporate","Influence":0.121032,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":1.55098,"ActiveStates":[{"State":"War"}]},{"Name":"Matucae Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.070437,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Matucae Jet General Solutions","FactionState":"None","Government":"Corporate","Influence":0.085317,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Social Matucae Liberals","FactionState":"War","Government":"Democracy","Influence":0.121032,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"War"}]},{"Name":"Matucae Crimson Partnership","FactionState":"None","Government":"Anarchy","Influence":0.009921,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0}],"SystemFaction":{"Name":"Peraesii Empire Consulate","FactionState":"Famine"},"Conflicts":[{"WarType":"war","Status":"active","Faction1":{"Name":"Blodyaks Blue Bridge Limited","Stake":"Sitterly Base","WonDays":0},"Faction2":{"Name":"Social Matucae Liberals","Stake":"Tian Hydroponics Estate","WonDays":0}}]}
|
||||
{"timestamp":"2022-01-28T22:02:00Z","event":"Docked","StationName":"Dumont Survey","StationType":"Outpost","Taxi":false,"Multicrew":false,"StarSystem":"Matucae","SystemAddress":3343405517163,"MarketID":3224413952,"StationFaction":{"Name":"Peraesii Empire Consulate","FactionState":"Famine"},"StationGovernment":"$government_Patronage;","StationGovernment_Localised":"Patronage","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","rearm","refuel","repair","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Extraction;","StationEconomy_Localised":"Extraction","StationEconomies":[{"Name":"$economy_Extraction;","Name_Localised":"Extraction","Proportion":0.87},{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":0.13}],"DistFromStarLS":99.164326,"LandingPads":{"Small":2,"Medium":1,"Large":0}}
|
||||
{"timestamp":"2022-01-28T22:02:30Z","event":"MarketSell","MarketID":3224413952,"Type":"performanceenhancers","Type_Localised":"Performance Enhancers","Count":120,"SellPrice":7616,"TotalSale":913920,"AvgPricePaid":5849}
|
||||
{"timestamp":"2022-01-28T22:02:32Z","event":"MarketSell","MarketID":3224413952,"Type":"progenitorcells","Type_Localised":"Progenitor Cells","Count":112,"SellPrice":6840,"TotalSale":766080,"AvgPricePaid":6330}
|
109
EDPlayerJournalTests/double-support.txt
Normal file
109
EDPlayerJournalTests/double-support.txt
Normal file
@ -0,0 +1,109 @@
|
||||
{"timestamp":"2022-02-11T14:03:05Z","event":"Location","Docked":true,"StationName":"Wyeth Platform","StationType":"Outpost","MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"StarSystem":"Dewikum","SystemAddress":9467315955081,"StarPos":[19.375,-0.28125,-68.9375],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Refinery;","SystemEconomy_Localised":"Refinery","SystemSecondEconomy":"$economy_Extraction;","SystemSecondEconomy_Localised":"Extraction","SystemGovernment":"$government_Democracy;","SystemGovernment_Localised":"Democracy","SystemSecurity":"$SYSTEM_SECURITY_low;","SystemSecurity_Localised":"Low Security","Population":83688,"Body":"Wyeth Platform","BodyID":48,"BodyType":"Station","Powers":["Zachary Hudson"],"PowerplayState":"Exploited","Factions":[{"Name":"LHS 1857 Jet Galactic Systems","FactionState":"War","Government":"Corporate","Influence":0.113095,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"War"}]},{"Name":"Social LHS 6103 Confederation","FactionState":"None","Government":"Confederacy","Influence":0.18254,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":57.18,"PendingStates":[{"State":"Boom","Trend":0}]},{"Name":"Susanoo Jet Fortune Corporation","FactionState":"None","Government":"Corporate","Influence":0.061508,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Dewikum League","FactionState":"War","Government":"Confederacy","Influence":0.113095,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":28.57,"ActiveStates":[{"State":"War"}]},{"Name":"Dewikum Blue Ring","FactionState":"Bust","Government":"Anarchy","Influence":0.012897,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"RecoveringStates":[{"State":"Outbreak","Trend":0}],"ActiveStates":[{"State":"Bust"}]},{"Name":"Silver Dynamic Limited","FactionState":"None","Government":"Corporate","Influence":0.054563,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Flotta Stellare","FactionState":"None","Government":"Democracy","Influence":0.462302,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-15.0,"PendingStates":[{"State":"Expansion","Trend":0}]}],"SystemFaction":{"Name":"Flotta Stellare"},"Conflicts":[{"WarType":"war","Status":"active","Faction1":{"Name":"LHS 1857 Jet Galactic Systems","Stake":"Barnett Dredging Complex","WonDays":0},"Faction2":{"Name":"Dewikum League","Stake":"Singh Nutrition Site","WonDays":0}}]}
|
||||
{"timestamp":"2022-02-11T14:03:06Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222534.506189}
|
||||
{"timestamp":"2022-02-11T14:03:40Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"MISSION_Salvage_Refinery","LocalisedName":"Black Box Salvage Contract for Refinery","Commodity":"$USSCargoBlackBox_Name;","Commodity_Localised":"Black Box","Count":3,"DestinationSystem":"Breksta","DestinationStation":"Popper Dock","Expiry":"2022-02-15T19:22:16Z","Wing":false,"Influence":"++","Reputation":"++","Reward":1444937,"MissionID":845707326}
|
||||
{"timestamp":"2022-02-11T14:06:01Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":222534.47697}
|
||||
{"timestamp":"2022-02-11T14:09:10Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222534.447441}
|
||||
{"timestamp":"2022-02-11T14:10:12Z","event":"ShipTargeted","TargetLocked":true,"Ship":"eagle","ScanStage":0}
|
||||
{"timestamp":"2022-02-11T14:10:13Z","event":"ShipTargeted","TargetLocked":false}
|
||||
{"timestamp":"2022-02-11T14:10:27Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222534.434948}
|
||||
{"timestamp":"2022-02-11T14:13:13Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":222534.40825}
|
||||
{"timestamp":"2022-02-11T14:24:32Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Matucae","SystemAddress":3343405517163,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":99.450287}
|
||||
{"timestamp":"2022-02-11T14:43:35Z","event":"Docked","StationName":"Dumont Survey","StationType":"Outpost","StarSystem":"Matucae","SystemAddress":3343405517163,"MarketID":3224413952,"StationFaction":{"Name":"Peraesii Empire Consulate","FactionState":"Expansion"},"StationGovernment":"$government_Patronage;","StationGovernment_Localised":"Patronage","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","rearm","refuel","repair","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Extraction;","StationEconomy_Localised":"Extraction","StationEconomies":[{"Name":"$economy_Extraction;","Name_Localised":"Extraction","Proportion":0.87},{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":0.13}],"DistFromStarLS":99.362961}
|
||||
{"timestamp":"2022-02-11T14:44:03Z","event":"MissionAccepted","Faction":"Peraesii Empire Consulate","Name":"MISSION_Salvage_Expansion","LocalisedName":"Rare Artwork Salvage for Expansion Effort","Commodity":"$USSCargoRareArtwork_Name;","Commodity_Localised":"Rare Artwork","Count":4,"DestinationSystem":"HIP 10694","DestinationStation":"Bayer Orbital","Expiry":"2022-02-17T10:17:47Z","Wing":false,"Influence":"++","Reputation":"++","Reward":1662874,"MissionID":845715730}
|
||||
{"timestamp":"2022-02-11T14:44:10Z","event":"MissionAccepted","Faction":"Peraesii Empire Consulate","Name":"Mission_Assassinate","LocalisedName":"Assassinate Known Pirate: Graham Ethan Dean II","TargetType":"$MissionUtil_FactionTag_PirateLord;","TargetType_Localised":"Known Pirate","TargetFaction":"HIP 11263 Silver Mafia","DestinationSystem":"HIP 11263","DestinationStation":"Froud Station","Target":"Graham Ethan Dean II","Expiry":"2022-02-12T14:43:53Z","Wing":true,"Influence":"++","Reputation":"++","Reward":4653914,"MissionID":845715773}
|
||||
{"timestamp":"2022-02-11T14:44:14Z","event":"MissionAccepted","Faction":"Peraesii Empire Consulate","Name":"MISSION_Salvage_Expansion","LocalisedName":"Rare Artwork Salvage for Expansion Effort","Commodity":"$USSCargoRareArtwork_Name;","Commodity_Localised":"Rare Artwork","Count":4,"DestinationSystem":"Blodyaks","DestinationStation":"Leonard Port","Expiry":"2022-02-14T05:17:39Z","Wing":false,"Influence":"++","Reputation":"++","Reward":829065,"MissionID":845715789}
|
||||
{"timestamp":"2022-02-12T18:23:13Z","event":"Location","Docked":true,"StationName":"J9F-G0M","StationType":"FleetCarrier","MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"StarSystem":"Dewikum","SystemAddress":9467315955081,"StarPos":[19.375,-0.28125,-68.9375],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Refinery;","SystemEconomy_Localised":"Refinery","SystemSecondEconomy":"$economy_Extraction;","SystemSecondEconomy_Localised":"Extraction","SystemGovernment":"$government_Democracy;","SystemGovernment_Localised":"Democracy","SystemSecurity":"$SYSTEM_SECURITY_low;","SystemSecurity_Localised":"Low Security","Population":83688,"Body":"Dewikum B 1","BodyID":19,"BodyType":"Planet","Powers":["Zachary Hudson"],"PowerplayState":"Exploited","Factions":[{"Name":"LHS 1857 Jet Galactic Systems","FactionState":"War","Government":"Corporate","Influence":0.112983,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"War"}]},{"Name":"Social LHS 6103 Confederation","FactionState":"Boom","Government":"Confederacy","Influence":0.194252,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":53.220001,"ActiveStates":[{"State":"Boom"}]},{"Name":"Susanoo Jet Fortune Corporation","FactionState":"None","Government":"Corporate","Influence":0.068385,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Dewikum League","FactionState":"War","Government":"Confederacy","Influence":0.112983,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":28.57,"ActiveStates":[{"State":"War"}]},{"Name":"Dewikum Blue Ring","FactionState":"Bust","Government":"Anarchy","Influence":0.013875,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"RecoveringStates":[{"State":"Outbreak","Trend":0}],"ActiveStates":[{"State":"Bust"}]},{"Name":"Silver Dynamic Limited","FactionState":"None","Government":"Corporate","Influence":0.060456,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Flotta Stellare","FactionState":"None","Government":"Democracy","Influence":0.437066,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-15.0,"PendingStates":[{"State":"Expansion","Trend":0}]}],"SystemFaction":{"Name":"Flotta Stellare"},"Conflicts":[{"WarType":"war","Status":"active","Faction1":{"Name":"LHS 1857 Jet Galactic Systems","Stake":"Barnett Dredging Complex","WonDays":0},"Faction2":{"Name":"Dewikum League","Stake":"Singh Nutrition Site","WonDays":0}}]}
|
||||
{"timestamp":"2022-02-12T18:23:14Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":222517.703693}
|
||||
{"timestamp":"2022-02-12T18:25:43Z","event":"ShipTargeted","TargetLocked":true,"Ship":"eagle","ScanStage":1,"PilotName":"$ShipName_Police_Independent;","PilotName_Localised":"System Authority Vessel","PilotRank":"Master"}
|
||||
{"timestamp":"2022-02-12T18:25:43Z","event":"ShipTargeted","TargetLocked":false}
|
||||
{"timestamp":"2022-02-12T18:26:32Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":222517.672751}
|
||||
{"timestamp":"2022-02-12T18:33:41Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222517.599345}
|
||||
{"timestamp":"2022-02-12T18:36:13Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Delivery_Boom","LocalisedName":"Boom time delivery of 147 units of Aluminium","Commodity":"$Aluminium_Name;","Commodity_Localised":"Aluminium","Count":147,"TargetFaction":"Silver Dynamic Limited","DestinationSystem":"BD+08 1303","DestinationStation":"Wescott Terminal","Expiry":"2022-02-13T18:34:42Z","Wing":false,"Influence":"++","Reputation":"++","Reward":634054,"MissionID":846168214}
|
||||
{"timestamp":"2022-02-12T18:36:18Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Delivery_Boom","LocalisedName":"Boom time delivery of 147 units of Tritium","Commodity":"$Tritium_Name;","Commodity_Localised":"Tritium","Count":147,"TargetFaction":"Traditional Nihursaga Dominion","DestinationSystem":"Nihursaga","DestinationStation":"Hardwick Hub","Expiry":"2022-02-13T18:34:42Z","Wing":false,"Influence":"++","Reputation":"++","Reward":5304324,"MissionID":846168240}
|
||||
{"timestamp":"2022-02-12T19:21:10Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222517.162798}
|
||||
{"timestamp":"2022-02-12T19:26:10Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"MISSION_Salvage_Illegal_name","MissionID":845534002,"Commodity":"$USSCargoBlackBox_Name;","Commodity_Localised":"Black Box","Count":3,"NewDestinationSystem":"Dewikum","DestinationSystem":"Julanggarri","Reward":116651,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":9467315955081,"Trend":"UpGood","Influence":"+++++"}],"ReputationTrend":"UpGood","Reputation":"++"},{"Faction":"Flotta Stellare","Effects":[],"Influence":[{"SystemAddress":9467315955089,"Trend":"DownBad","Influence":"+"}],"ReputationTrend":"DownBad","Reputation":"+"}]}
|
||||
{"timestamp":"2022-02-12T19:26:14Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"MISSION_Salvage_Refinery_name","MissionID":845707326,"Commodity":"$USSCargoBlackBox_Name;","Commodity_Localised":"Black Box","Count":3,"NewDestinationSystem":"Dewikum","DestinationSystem":"Breksta","NewDestinationStation":"Wyeth Platform","DestinationStation":"Popper Dock","Reward":1444937,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":9467315955081,"Trend":"UpGood","Influence":"+++"}],"ReputationTrend":"UpGood","Reputation":"++"},{"Faction":"","Effects":[],"Influence":[{"SystemAddress":147933104483,"Trend":"DownBad","Influence":"+"}],"ReputationTrend":"DownBad","Reputation":"+"}]}
|
||||
{"timestamp":"2022-02-12T19:27:51Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Chain_SalvageJustice","LocalisedName":"Assassinate Known Pirate: Zuriel Z'ev","TargetType":"$MissionUtil_FactionTag_PirateLord;","TargetType_Localised":"Known Pirate","TargetFaction":"Wong Sher Jet Ring","DestinationSystem":"Wong Sher","DestinationStation":"Zudov City","Target":"Zuriel Z'ev","Expiry":"2022-02-13T19:27:00Z","Wing":false,"Influence":"++","Reputation":"++","Reward":3129026,"MissionID":846188327}
|
||||
{"timestamp":"2022-02-12T19:27:58Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Assassinate","LocalisedName":"Assassinate Known Pirate: Helders","TargetType":"$MissionUtil_FactionTag_PirateLord;","TargetType_Localised":"Known Pirate","TargetFaction":"Wong Sher Jet Ring","DestinationSystem":"Wong Sher","DestinationStation":"Zudov City","Target":"Helders","Expiry":"2022-02-13T19:26:02Z","Wing":true,"Influence":"++","Reputation":"++","Reward":3578406,"MissionID":846188378}
|
||||
{"timestamp":"2022-02-12T19:29:44Z","event":"FSDJump","StarSystem":"Nihursaga","SystemAddress":2999791389027,"StarPos":[24.0625,9.3125,-62.875],"SystemAllegiance":"Federation","SystemEconomy":"$economy_Industrial;","SystemEconomy_Localised":"Industrial","SystemSecondEconomy":"$economy_None;","SystemSecondEconomy_Localised":"None","SystemGovernment":"$government_Confederacy;","SystemGovernment_Localised":"Confederacy","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":2785745,"Body":"Nihursaga A","BodyID":3,"BodyType":"Star","Powers":["Zachary Hudson"],"PowerplayState":"Exploited","JumpDist":12.279,"FuelUsed":1.19087,"FuelLevel":30.80913,"Factions":[{"Name":"Labour of LTT 12033","FactionState":"None","Government":"Democracy","Influence":0.187375,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"LP 421-7 Systems","FactionState":"None","Government":"Corporate","Influence":0.134269,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Nihursaga Coalition","FactionState":"None","Government":"Confederacy","Influence":0.278557,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Nihursaga United Exchange","FactionState":"None","Government":"Corporate","Influence":0.103206,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Traditional Nihursaga Dominion","FactionState":"None","Government":"Dictatorship","Influence":0.089178,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"RecoveringStates":[{"State":"PublicHoliday","Trend":0}]},{"Name":"Zandu Progressive Party","FactionState":"None","Government":"Democracy","Influence":0.128257,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Nihursaga Crimson Boys","FactionState":"None","Government":"Anarchy","Influence":0.079158,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0}],"SystemFaction":{"Name":"Nihursaga Coalition"}}
|
||||
{"timestamp":"2022-02-12T19:45:36Z","event":"Docked","StationName":"Hardwick Hub","StationType":"Coriolis","StarSystem":"Nihursaga","SystemAddress":2999791389027,"MarketID":3228194304,"StationFaction":{"Name":"Nihursaga Coalition"},"StationGovernment":"$government_Confederacy;","StationGovernment_Localised":"Confederacy","StationAllegiance":"Federation","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Industrial;","StationEconomy_Localised":"Industrial","StationEconomies":[{"Name":"$economy_Industrial;","Name_Localised":"Industrial","Proportion":1.0}],"DistFromStarLS":231829.462342}
|
||||
{"timestamp":"2022-02-12T19:47:21Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Delivery_Boom_name","MissionID":846168240,"Commodity":"$Tritium_Name;","Commodity_Localised":"Tritium","Count":147,"TargetFaction":"Traditional Nihursaga Dominion","DestinationSystem":"Nihursaga","DestinationStation":"Hardwick Hub","Reward":2898324,"FactionEffects":[{"Faction":"Traditional Nihursaga Dominion","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":2999791389027,"Trend":"UpGood","Influence":"+++++"}],"ReputationTrend":"UpGood","Reputation":"++"},{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":9467315955081,"Trend":"UpGood","Influence":"+++++"}],"ReputationTrend":"UpGood","Reputation":"++"}]}
|
||||
{"timestamp":"2022-02-12T19:49:52Z","event":"FSDJump","StarSystem":"BD+08 1303","SystemAddress":1774715485,"StarPos":[25.53125,-1.875,-62.84375],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Industrial;","SystemEconomy_Localised":"Industrial","SystemSecondEconomy":"$economy_Refinery;","SystemSecondEconomy_Localised":"Refinery","SystemGovernment":"$government_Democracy;","SystemGovernment_Localised":"Democracy","SystemSecurity":"$SYSTEM_SECURITY_high;","SystemSecurity_Localised":"High Security","Population":20853922,"Body":"BD+08 1303 A","BodyID":1,"BodyType":"Star","JumpDist":11.284,"FuelUsed":0.591609,"FuelLevel":31.40839,"Factions":[{"Name":"Green Party of BD+08 1303","FactionState":"Boom","Government":"Democracy","Influence":0.093186,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"Boom"}]},{"Name":"Allied BD+08 1303 Bureau","FactionState":"None","Government":"Dictatorship","Influence":0.059118,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"BD+08 1303 Jet Legal Industries","FactionState":"None","Government":"Corporate","Influence":0.142285,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Silver Dynamic Limited","FactionState":"None","Government":"Corporate","Influence":0.078156,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"RecoveringStates":[{"State":"PublicHoliday","Trend":0}]},{"Name":"BD+08 1303 Drug Empire","FactionState":"Bust","Government":"Anarchy","Influence":0.01002,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-17.16,"ActiveStates":[{"State":"Bust"}]},{"Name":"United BD+08 1303 First","FactionState":"None","Government":"Dictatorship","Influence":0.074148,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Flotta Stellare","FactionState":"None","Government":"Democracy","Influence":0.543086,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-18.959999,"PendingStates":[{"State":"Expansion","Trend":0}]}],"SystemFaction":{"Name":"Flotta Stellare"}}
|
||||
{"timestamp":"2022-02-12T19:58:10Z","event":"Location","Docked":false,"StarSystem":"BD+08 1303","SystemAddress":1774715485,"StarPos":[25.53125,-1.875,-62.84375],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Industrial;","SystemEconomy_Localised":"Industrial","SystemSecondEconomy":"$economy_Refinery;","SystemSecondEconomy_Localised":"Refinery","SystemGovernment":"$government_Democracy;","SystemGovernment_Localised":"Democracy","SystemSecurity":"$SYSTEM_SECURITY_high;","SystemSecurity_Localised":"High Security","Population":20853922,"Body":"BD+08 1303 AB 10","BodyID":29,"BodyType":"Planet","Factions":[{"Name":"Green Party of BD+08 1303","FactionState":"Boom","Government":"Democracy","Influence":0.093186,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"Boom"}]},{"Name":"Allied BD+08 1303 Bureau","FactionState":"None","Government":"Dictatorship","Influence":0.059118,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"BD+08 1303 Jet Legal Industries","FactionState":"None","Government":"Corporate","Influence":0.142285,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Silver Dynamic Limited","FactionState":"None","Government":"Corporate","Influence":0.078156,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"RecoveringStates":[{"State":"PublicHoliday","Trend":0}]},{"Name":"BD+08 1303 Drug Empire","FactionState":"Bust","Government":"Anarchy","Influence":0.01002,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-17.16,"ActiveStates":[{"State":"Bust"}]},{"Name":"United BD+08 1303 First","FactionState":"None","Government":"Dictatorship","Influence":0.074148,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Flotta Stellare","FactionState":"None","Government":"Democracy","Influence":0.543086,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-18.959999,"PendingStates":[{"State":"Expansion","Trend":0}]}],"SystemFaction":{"Name":"Flotta Stellare"}}
|
||||
{"timestamp":"2022-02-12T20:01:09Z","event":"ShipTargeted","TargetLocked":true,"Ship":"independant_trader","Ship_Localised":"Keelback","ScanStage":0}
|
||||
{"timestamp":"2022-02-12T20:01:14Z","event":"ShipTargeted","TargetLocked":true,"Ship":"independant_trader","Ship_Localised":"Keelback","ScanStage":1,"PilotName":"$npc_name_decorate:#name=Tim Longworth;","PilotName_Localised":"Tim Longworth","PilotRank":"Harmless"}
|
||||
{"timestamp":"2022-02-12T20:01:16Z","event":"ShipTargeted","TargetLocked":true,"Ship":"independant_trader","Ship_Localised":"Keelback","ScanStage":2,"PilotName":"$npc_name_decorate:#name=Tim Longworth;","PilotName_Localised":"Tim Longworth","PilotRank":"Harmless","ShieldHealth":100.0,"HullHealth":100.0}
|
||||
{"timestamp":"2022-02-12T20:01:18Z","event":"ShipTargeted","TargetLocked":true,"Ship":"independant_trader","Ship_Localised":"Keelback","ScanStage":3,"PilotName":"$npc_name_decorate:#name=Tim Longworth;","PilotName_Localised":"Tim Longworth","PilotRank":"Harmless","ShieldHealth":100.0,"HullHealth":100.0,"Faction":"Allied BD+08 1303 Bureau","LegalStatus":"Clean"}
|
||||
{"timestamp":"2022-02-12T20:02:01Z","event":"ShipTargeted","TargetLocked":false}
|
||||
{"timestamp":"2022-02-12T20:02:45Z","event":"Docked","StationName":"Wescott Terminal","StationType":"Outpost","StarSystem":"BD+08 1303","SystemAddress":1774715485,"MarketID":3227868416,"StationFaction":{"Name":"BD+08 1303 Jet Legal Industries"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Federation","StationServices":["dock","autodock","commodities","contacts","exploration","missions","repair","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Industrial;","StationEconomy_Localised":"Industrial","StationEconomies":[{"Name":"$economy_Industrial;","Name_Localised":"Industrial","Proportion":0.67},{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":0.33}],"DistFromStarLS":6466.914589}
|
||||
{"timestamp":"2022-02-12T20:10:52Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Delivery_Boom_name","MissionID":846168214,"Commodity":"$Aluminium_Name;","Commodity_Localised":"Aluminium","Count":147,"TargetFaction":"Silver Dynamic Limited","DestinationSystem":"BD+08 1303","DestinationStation":"Wescott Terminal","Reward":114751,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":9467315955081,"Trend":"UpGood","Influence":"+++++"}],"ReputationTrend":"UpGood","Reputation":"++"},{"Faction":"Silver Dynamic Limited","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":1774715485,"Trend":"UpGood","Influence":"++++"}],"ReputationTrend":"UpGood","Reputation":"++"}]}
|
||||
{"timestamp":"2022-02-12T20:20:54Z","event":"FSDJump","StarSystem":"Wong Sher","SystemAddress":6680989405898,"StarPos":[16.46875,4.0625,-60.5],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Refinery;","SystemEconomy_Localised":"Refinery","SystemSecondEconomy":"$economy_Extraction;","SystemSecondEconomy_Localised":"Extraction","SystemGovernment":"$government_Democracy;","SystemGovernment_Localised":"Democracy","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":132659,"Body":"Wong Sher","BodyID":0,"BodyType":"Star","Powers":["Zachary Hudson"],"PowerplayState":"Exploited","JumpDist":11.085,"FuelUsed":0.304729,"FuelLevel":31.103661,"Factions":[{"Name":"Wong Sher Public Co","FactionState":"None","Government":"Corporate","Influence":0.076389,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Wong Sher Confederacy","FactionState":"None","Government":"Confederacy","Influence":0.047619,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Wong Sher Jet Ring","FactionState":"None","Government":"Anarchy","Influence":0.009921,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-5.94},{"Name":"Wong Sher Nobles","FactionState":"None","Government":"Feudal","Influence":0.049603,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Wong Sher Federal Incorporated","FactionState":"None","Government":"Corporate","Influence":0.043651,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Civitas Dei","FactionState":"Expansion","Government":"Dictatorship","Influence":0.089286,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"Expansion"}]},{"Name":"Flotta Stellare","FactionState":"Boom","Government":"Democracy","Influence":0.683532,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-18.959999,"PendingStates":[{"State":"Expansion","Trend":0}],"ActiveStates":[{"State":"Boom"}]}],"SystemFaction":{"Name":"Flotta Stellare","FactionState":"Boom"}}
|
||||
{"timestamp":"2022-02-12T20:23:49Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Wong Sher","SystemAddress":6680989405898,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":0.0}
|
||||
{"timestamp":"2022-02-12T20:25:06Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Wong Sher","SystemAddress":6680989405898,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":0.0}
|
||||
{"timestamp":"2022-02-12T20:40:59Z","event":"ShipTargeted","TargetLocked":true,"Ship":"asp","Ship_Localised":"Asp Explorer","ScanStage":0}
|
||||
{"timestamp":"2022-02-12T20:40:59Z","event":"ShipTargeted","TargetLocked":true,"Ship":"ferdelance","Ship_Localised":"Fer-de-Lance","ScanStage":0}
|
||||
{"timestamp":"2022-02-12T20:41:04Z","event":"ShipTargeted","TargetLocked":true,"Ship":"ferdelance","Ship_Localised":"Fer-de-Lance","ScanStage":1,"PilotName":"$npc_name_decorate:#name=Helders;","PilotName_Localised":"Helders","PilotRank":"Dangerous"}
|
||||
{"timestamp":"2022-02-12T20:41:06Z","event":"ShipTargeted","TargetLocked":true,"Ship":"ferdelance","Ship_Localised":"Fer-de-Lance","ScanStage":2,"PilotName":"$npc_name_decorate:#name=Helders;","PilotName_Localised":"Helders","PilotRank":"Dangerous","ShieldHealth":100.0,"HullHealth":100.0}
|
||||
{"timestamp":"2022-02-12T20:41:18Z","event":"ShipTargeted","TargetLocked":true,"Ship":"ferdelance","Ship_Localised":"Fer-de-Lance","ScanStage":3,"PilotName":"$npc_name_decorate:#name=Helders;","PilotName_Localised":"Helders","PilotRank":"Dangerous","ShieldHealth":78.305588,"HullHealth":100.0,"Faction":"Wong Sher Jet Ring","LegalStatus":"Wanted","Bounty":166260}
|
||||
{"timestamp":"2022-02-12T20:41:34Z","event":"ShipTargeted","TargetLocked":true,"Ship":"anaconda","ScanStage":0}
|
||||
{"timestamp":"2022-02-12T20:41:34Z","event":"ShipTargeted","TargetLocked":true,"Ship":"anaconda","ScanStage":1,"PilotName":"$npc_name_decorate:#name=Zuriel Z'ev;","PilotName_Localised":"Zuriel Z'ev","PilotRank":"Master"}
|
||||
{"timestamp":"2022-02-12T20:41:37Z","event":"ShipTargeted","TargetLocked":true,"Ship":"anaconda","ScanStage":2,"PilotName":"$npc_name_decorate:#name=Zuriel Z'ev;","PilotName_Localised":"Zuriel Z'ev","PilotRank":"Master","ShieldHealth":68.543312,"HullHealth":100.0}
|
||||
{"timestamp":"2022-02-12T20:41:42Z","event":"ShipTargeted","TargetLocked":true,"Ship":"anaconda","ScanStage":3,"PilotName":"$npc_name_decorate:#name=Zuriel Z'ev;","PilotName_Localised":"Zuriel Z'ev","PilotRank":"Master","ShieldHealth":28.554476,"HullHealth":100.0,"Faction":"Wong Sher Jet Ring","LegalStatus":"Wanted","Bounty":122639}
|
||||
{"timestamp":"2022-02-12T20:42:14Z","event":"ShipTargeted","TargetLocked":false}
|
||||
{"timestamp":"2022-02-12T20:42:17Z","event":"ShipTargeted","TargetLocked":true,"Ship":"ferdelance","Ship_Localised":"Fer-de-Lance","ScanStage":3,"PilotName":"$npc_name_decorate:#name=Helders;","PilotName_Localised":"Helders","PilotRank":"Dangerous","ShieldHealth":67.207306,"HullHealth":100.0,"Faction":"Wong Sher Jet Ring","LegalStatus":"Wanted","Bounty":166260}
|
||||
{"timestamp":"2022-02-12T20:44:30Z","event":"ShipTargeted","TargetLocked":false}
|
||||
{"timestamp":"2022-02-12T20:48:35Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Wong Sher","SystemAddress":6680989405898,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":0.0}
|
||||
{"timestamp":"2022-02-12T20:49:33Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Wong Sher","SystemAddress":6680989405898,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":0.0}
|
||||
{"timestamp":"2022-02-12T21:03:22Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":222516.223544}
|
||||
{"timestamp":"2022-02-12T21:08:27Z","event":"ShipTargeted","TargetLocked":true,"Ship":"independant_trader","Ship_Localised":"Keelback","ScanStage":0}
|
||||
{"timestamp":"2022-02-12T21:08:31Z","event":"ShipTargeted","TargetLocked":true,"Ship":"independant_trader","Ship_Localised":"Keelback","ScanStage":1,"PilotName":"$npc_name_decorate:#name=Finius Butterworth;","PilotName_Localised":"Finius Butterworth","PilotRank":"Harmless"}
|
||||
{"timestamp":"2022-02-12T21:08:33Z","event":"ShipTargeted","TargetLocked":true,"Ship":"independant_trader","Ship_Localised":"Keelback","ScanStage":2,"PilotName":"$npc_name_decorate:#name=Finius Butterworth;","PilotName_Localised":"Finius Butterworth","PilotRank":"Harmless","ShieldHealth":100.0,"HullHealth":100.0}
|
||||
{"timestamp":"2022-02-12T21:08:34Z","event":"ShipTargeted","TargetLocked":false}
|
||||
{"timestamp":"2022-02-12T21:08:46Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare","FactionState":"Boom"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222516.184822}
|
||||
{"timestamp":"2022-02-12T21:09:30Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Assassinate_name","MissionID":846188378,"TargetType":"$MissionUtil_FactionTag_PirateLord;","TargetType_Localised":"Known Pirate","TargetFaction":"Wong Sher Jet Ring","NewDestinationSystem":"Dewikum","DestinationSystem":"Wong Sher","NewDestinationStation":"Wyeth Platform","DestinationStation":"Zudov City","Target":"Helders","Reward":1172406,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":9467315955081,"Trend":"UpGood","Influence":"+++++"}],"ReputationTrend":"UpGood","Reputation":"++"},{"Faction":"","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_down;","Effect_Localised":"The economic status of $#MinorFaction; has declined in the $#System; system.","Trend":"DownBad"}],"Influence":[{"SystemAddress":6680989405898,"Trend":"DownBad","Influence":"+"}],"ReputationTrend":"DownBad","Reputation":"+"}]}
|
||||
{"timestamp":"2022-02-12T21:09:35Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Chain_SalvageJustice_name","MissionID":846188327,"TargetType":"$MissionUtil_FactionTag_PirateLord;","TargetType_Localised":"Known Pirate","TargetFaction":"Wong Sher Jet Ring","NewDestinationSystem":"Dewikum","DestinationSystem":"Wong Sher","NewDestinationStation":"Wyeth Platform","DestinationStation":"Zudov City","Target":"Zuriel Z'ev","Reward":1371028,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":9467315955081,"Trend":"UpGood","Influence":"+++++"}],"ReputationTrend":"UpGood","Reputation":"++"},{"Faction":"","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_down;","Effect_Localised":"The economic status of $#MinorFaction; has declined in the $#System; system.","Trend":"DownBad"}],"Influence":[{"SystemAddress":6680989405898,"Trend":"DownBad","Influence":"+"}],"ReputationTrend":"DownBad","Reputation":"+"}]}
|
||||
{"timestamp":"2022-02-12T21:13:27Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Delivery_Boom","LocalisedName":"Boom time delivery of 147 units of Titanium","Commodity":"$Titanium_Name;","Commodity_Localised":"Titanium","Count":147,"TargetFaction":"Flotta Stellare","DestinationSystem":"BD+08 1303","DestinationStation":"Chomsky Ring","Expiry":"2022-02-13T21:09:16Z","Wing":false,"Influence":"++","Reputation":"++","Reward":652891,"MissionID":846229992}
|
||||
{"timestamp":"2022-02-12T21:15:43Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":222516.111284}
|
||||
{"timestamp":"2022-02-12T21:18:43Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare","FactionState":"Boom"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222516.094689}
|
||||
{"timestamp":"2022-02-12T21:21:45Z","event":"MissionAccepted","Faction":"Susanoo Jet Fortune Corporation","Name":"Mission_AltruismCredits","LocalisedName":"Donate 1,000,000 Cr to the cause","Donation":"1000000","Expiry":"2022-02-13T00:24:24Z","Wing":false,"Influence":"++","Reputation":"++","MissionID":846233387}
|
||||
{"timestamp":"2022-02-12T21:21:46Z","event":"MissionAccepted","Faction":"Susanoo Jet Fortune Corporation","Name":"Mission_AltruismCredits","LocalisedName":"Donate 300,000 Cr to the cause","Donation":"300000","Expiry":"2022-02-13T00:31:52Z","Wing":false,"Influence":"++","Reputation":"+","MissionID":846233396}
|
||||
{"timestamp":"2022-02-12T21:21:48Z","event":"MissionCompleted","Faction":"Susanoo Jet Fortune Corporation","Name":"Mission_AltruismCredits_name","MissionID":846233387,"Donation":"1000000","Donated":1000000,"FactionEffects":[{"Faction":"Susanoo Jet Fortune Corporation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":9467315955081,"Trend":"UpGood","Influence":"+++"}],"ReputationTrend":"UpGood","Reputation":"++"}]}
|
||||
{"timestamp":"2022-02-12T21:21:50Z","event":"MissionCompleted","Faction":"Susanoo Jet Fortune Corporation","Name":"Mission_AltruismCredits_name","MissionID":846233396,"Donation":"300000","Donated":300000,"FactionEffects":[{"Faction":"Susanoo Jet Fortune Corporation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":9467315955081,"Trend":"UpGood","Influence":"++"}],"ReputationTrend":"UpGood","Reputation":"+"}]}
|
||||
{"timestamp":"2022-02-12T21:22:01Z","event":"MissionAccepted","Faction":"Flotta Stellare","Name":"Mission_AltruismCredits","LocalisedName":"Donate 300,000 Cr to the cause","Donation":"300000","Expiry":"2022-02-13T00:46:56Z","Wing":false,"Influence":"++","Reputation":"+","MissionID":846233486}
|
||||
{"timestamp":"2022-02-12T21:22:03Z","event":"MissionAccepted","Faction":"Flotta Stellare","Name":"Mission_AltruismCredits","LocalisedName":"Donate 750,000 Cr to the cause","Donation":"750000","Expiry":"2022-02-13T00:29:34Z","Wing":false,"Influence":"++","Reputation":"++","MissionID":846233498}
|
||||
{"timestamp":"2022-02-12T21:25:08Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":222516.025813}
|
||||
{"timestamp":"2022-02-12T21:28:07Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare","FactionState":"Boom"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222516.009596}
|
||||
{"timestamp":"2022-02-12T21:30:18Z","event":"Location","Docked":true,"StationName":"Wyeth Platform","StationType":"Outpost","MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare","FactionState":"Boom"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"StarSystem":"Dewikum","SystemAddress":9467315955081,"StarPos":[19.375,-0.28125,-68.9375],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Refinery;","SystemEconomy_Localised":"Refinery","SystemSecondEconomy":"$economy_Extraction;","SystemSecondEconomy_Localised":"Extraction","SystemGovernment":"$government_Democracy;","SystemGovernment_Localised":"Democracy","SystemSecurity":"$SYSTEM_SECURITY_low;","SystemSecurity_Localised":"Low Security","Population":83688,"Body":"Wyeth Platform","BodyID":48,"BodyType":"Station","Powers":["Zachary Hudson"],"PowerplayState":"Exploited","Factions":[{"Name":"LHS 1857 Jet Galactic Systems","FactionState":"War","Government":"Corporate","Influence":0.112983,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"War"}]},{"Name":"Social LHS 6103 Confederation","FactionState":"Boom","Government":"Confederacy","Influence":0.194252,"Allegiance":"Independent","Happiness":"","MyReputation":86.220001,"ActiveStates":[{"State":"Boom"}]},{"Name":"Susanoo Jet Fortune Corporation","FactionState":"None","Government":"Corporate","Influence":0.068385,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":10.2},{"Name":"Dewikum League","FactionState":"War","Government":"Confederacy","Influence":0.112983,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":28.57,"ActiveStates":[{"State":"War"}]},{"Name":"Dewikum Blue Ring","FactionState":"Bust","Government":"Anarchy","Influence":0.013875,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"RecoveringStates":[{"State":"Outbreak","Trend":0}],"ActiveStates":[{"State":"Bust"}]},{"Name":"Silver Dynamic Limited","FactionState":"None","Government":"Corporate","Influence":0.060456,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":8.91},{"Name":"Flotta Stellare","FactionState":"Boom","Government":"Democracy","Influence":0.437066,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-18.959999,"PendingStates":[{"State":"Expansion","Trend":0}]}],"SystemFaction":{"Name":"Flotta Stellare","FactionState":"Boom"},"Conflicts":[{"WarType":"war","Status":"active","Faction1":{"Name":"LHS 1857 Jet Galactic Systems","Stake":"Barnett Dredging Complex","WonDays":0},"Faction2":{"Name":"Dewikum League","Stake":"Singh Nutrition Site","WonDays":0}}]}
|
||||
{"timestamp":"2022-02-12T21:30:19Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare","FactionState":"Boom"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222515.989632}
|
||||
{"timestamp":"2022-02-12T21:33:06Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":222515.953689}
|
||||
{"timestamp":"2022-02-12T21:35:46Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare","FactionState":"Boom"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222515.940341}
|
||||
{"timestamp":"2022-02-12T21:38:29Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":222515.904959}
|
||||
{"timestamp":"2022-02-12T21:40:45Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare","FactionState":"Boom"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222515.895224}
|
||||
{"timestamp":"2022-02-12T21:44:16Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":222515.852821}
|
||||
{"timestamp":"2022-02-12T21:47:02Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare","FactionState":"Boom"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222515.838361}
|
||||
{"timestamp":"2022-02-12T21:49:35Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":222515.804817}
|
||||
{"timestamp":"2022-02-12T21:52:09Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare","FactionState":"Boom"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222515.791989}
|
||||
{"timestamp":"2022-02-12T21:53:05Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Delivery_Boom","LocalisedName":"Boom time delivery of 147 units of Hydrogen Fuel","Commodity":"$HydrogenFuel_Name;","Commodity_Localised":"Hydrogen Fuel","Count":147,"TargetFaction":"Flotta Stellare","DestinationSystem":"Cosi","DestinationStation":"Arrhenius Hub","Expiry":"2022-02-13T21:41:05Z","Wing":false,"Influence":"++","Reputation":"++","Reward":677020,"MissionID":846245533}
|
||||
{"timestamp":"2022-02-13T10:03:47Z","event":"Location","Docked":true,"StationName":"Wyeth Platform","StationType":"Outpost","MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"StarSystem":"Dewikum","SystemAddress":9467315955081,"StarPos":[19.375,-0.28125,-68.9375],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Refinery;","SystemEconomy_Localised":"Refinery","SystemSecondEconomy":"$economy_Extraction;","SystemSecondEconomy_Localised":"Extraction","SystemGovernment":"$government_Democracy;","SystemGovernment_Localised":"Democracy","SystemSecurity":"$SYSTEM_SECURITY_low;","SystemSecurity_Localised":"Low Security","Population":83688,"Body":"Wyeth Platform","BodyID":48,"BodyType":"Station","Powers":["Zachary Hudson"],"PowerplayState":"Exploited","Factions":[{"Name":"LHS 1857 Jet Galactic Systems","FactionState":"War","Government":"Corporate","Influence":0.112983,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"War"}]},{"Name":"Social LHS 6103 Confederation","FactionState":"Boom","Government":"Confederacy","Influence":0.194252,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":86.220001,"ActiveStates":[{"State":"Boom"}]},{"Name":"Susanoo Jet Fortune Corporation","FactionState":"None","Government":"Corporate","Influence":0.068385,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":10.2},{"Name":"Dewikum League","FactionState":"War","Government":"Confederacy","Influence":0.112983,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":28.57,"ActiveStates":[{"State":"War"}]},{"Name":"Dewikum Blue Ring","FactionState":"Bust","Government":"Anarchy","Influence":0.013875,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"RecoveringStates":[{"State":"Outbreak","Trend":0}],"ActiveStates":[{"State":"Bust"}]},{"Name":"Silver Dynamic Limited","FactionState":"None","Government":"Corporate","Influence":0.060456,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":8.91},{"Name":"Flotta Stellare","FactionState":"None","Government":"Democracy","Influence":0.437066,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-18.959999,"PendingStates":[{"State":"Expansion","Trend":0}]}],"SystemFaction":{"Name":"Flotta Stellare"},"Conflicts":[{"WarType":"war","Status":"active","Faction1":{"Name":"LHS 1857 Jet Galactic Systems","Stake":"Barnett Dredging Complex","WonDays":0},"Faction2":{"Name":"Dewikum League","Stake":"Singh Nutrition Site","WonDays":0}}]}
|
||||
{"timestamp":"2022-02-13T10:03:48Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222509.791427}
|
||||
{"timestamp":"2022-02-13T10:05:13Z","event":"MissionFailed","Name":"Mission_AltruismCredits_name","MissionID":846233498}
|
||||
{"timestamp":"2022-02-13T10:05:15Z","event":"MissionFailed","Name":"Mission_AltruismCredits_name","MissionID":846233486}
|
||||
{"timestamp":"2022-02-13T10:07:59Z","event":"FSDJump","StarSystem":"BD+08 1303","SystemAddress":1774715485,"StarPos":[25.53125,-1.875,-62.84375],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Industrial;","SystemEconomy_Localised":"Industrial","SystemSecondEconomy":"$economy_Refinery;","SystemSecondEconomy_Localised":"Refinery","SystemGovernment":"$government_Democracy;","SystemGovernment_Localised":"Democracy","SystemSecurity":"$SYSTEM_SECURITY_high;","SystemSecurity_Localised":"High Security","Population":20853922,"Body":"BD+08 1303 A","BodyID":1,"BodyType":"Star","JumpDist":8.808,"FuelUsed":0.52764,"FuelLevel":31.472361,"Factions":[{"Name":"Green Party of BD+08 1303","FactionState":"Boom","Government":"Democracy","Influence":0.093186,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"Boom"}]},{"Name":"Allied BD+08 1303 Bureau","FactionState":"None","Government":"Dictatorship","Influence":0.059118,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"BD+08 1303 Jet Legal Industries","FactionState":"None","Government":"Corporate","Influence":0.142285,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Silver Dynamic Limited","FactionState":"None","Government":"Corporate","Influence":0.078156,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":8.91,"RecoveringStates":[{"State":"PublicHoliday","Trend":0}]},{"Name":"BD+08 1303 Drug Empire","FactionState":"Bust","Government":"Anarchy","Influence":0.01002,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-17.16,"ActiveStates":[{"State":"Bust"}]},{"Name":"United BD+08 1303 First","FactionState":"None","Government":"Dictatorship","Influence":0.074148,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Flotta Stellare","FactionState":"None","Government":"Democracy","Influence":0.543086,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-25.360001,"PendingStates":[{"State":"Expansion","Trend":0}]}],"SystemFaction":{"Name":"Flotta Stellare"}}
|
||||
{"timestamp":"2022-02-13T10:14:54Z","event":"Docked","StationName":"Chomsky Ring","StationType":"Coriolis","StarSystem":"BD+08 1303","SystemAddress":1774715485,"MarketID":3227868160,"StationFaction":{"Name":"Flotta Stellare"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Industrial;","StationEconomy_Localised":"Industrial","StationEconomies":[{"Name":"$economy_Industrial;","Name_Localised":"Industrial","Proportion":0.8},{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":0.2}],"DistFromStarLS":5034.539377}
|
||||
{"timestamp":"2022-02-13T10:16:08Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Delivery_Boom_name","MissionID":846229992,"Commodity":"$Titanium_Name;","Commodity_Localised":"Titanium","Count":147,"TargetFaction":"Flotta Stellare","DestinationSystem":"BD+08 1303","DestinationStation":"Chomsky Ring","Reward":250613,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":9467315955081,"Trend":"UpGood","Influence":"+++++"}],"ReputationTrend":"UpGood","Reputation":"++"},{"Faction":"Flotta Stellare","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":1774715485,"Trend":"UpGood","Influence":"+++"}],"ReputationTrend":"UpGood","Reputation":"++"}]}
|
||||
{"timestamp":"2022-02-13T10:18:09Z","event":"FSDJump","StarSystem":"Cosi","SystemAddress":6406111498946,"StarPos":[24.75,-14.6875,-70.75],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Agri;","SystemEconomy_Localised":"Agriculture","SystemSecondEconomy":"$economy_Refinery;","SystemSecondEconomy_Localised":"Refinery","SystemGovernment":"$government_Democracy;","SystemGovernment_Localised":"Democracy","SystemSecurity":"$SYSTEM_SECURITY_high;","SystemSecurity_Localised":"High Security","Population":4405808790,"Body":"Cosi A","BodyID":1,"BodyType":"Star","JumpDist":15.076,"FuelUsed":1.203176,"FuelLevel":30.796824,"Factions":[{"Name":"Revolutionary Party of Cosi","FactionState":"CivilWar","Government":"Democracy","Influence":0.142292,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"Cosi Holdings","FactionState":"None","Government":"Corporate","Influence":0.036561,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Cosi Flag","FactionState":"None","Government":"Dictatorship","Influence":0.018775,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Cosi Silver Raiders","FactionState":"CivilWar","Government":"Anarchy","Influence":0.142292,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"Cosi PLC","FactionState":"None","Government":"Corporate","Influence":0.048419,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Star Tigers","FactionState":"None","Government":"Corporate","Influence":0.063241,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"RecoveringStates":[{"State":"PublicHoliday","Trend":0}]},{"Name":"Flotta Stellare","FactionState":"None","Government":"Democracy","Influence":0.548419,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-19.42,"PendingStates":[{"State":"Expansion","Trend":0}],"RecoveringStates":[{"State":"InfrastructureFailure","Trend":0}]}],"SystemFaction":{"Name":"Flotta Stellare"},"Conflicts":[{"WarType":"civilwar","Status":"active","Faction1":{"Name":"Revolutionary Party of Cosi","Stake":"Solovyov Orbital","WonDays":3},"Faction2":{"Name":"Cosi Silver Raiders","Stake":"Obama Concourse","WonDays":1}}]}
|
||||
{"timestamp":"2022-02-13T10:23:35Z","event":"ShipTargeted","TargetLocked":true,"Ship":"viper","Ship_Localised":"Viper Mk III","ScanStage":1,"PilotName":"$ShipName_Police_Independent;","PilotName_Localised":"System Authority Vessel","PilotRank":"Competent"}
|
||||
{"timestamp":"2022-02-13T10:23:35Z","event":"ShipTargeted","TargetLocked":true,"Ship":"type9","Ship_Localised":"Type-9 Heavy","ScanStage":0}
|
||||
{"timestamp":"2022-02-13T10:23:36Z","event":"ShipTargeted","TargetLocked":true,"Ship":"type9","Ship_Localised":"Type-9 Heavy","ScanStage":1,"PilotName":"$npc_name_decorate:#name=Peter Lux;","PilotName_Localised":"Peter Lux","PilotRank":"Novice"}
|
||||
{"timestamp":"2022-02-13T10:23:38Z","event":"ShipTargeted","TargetLocked":true,"Ship":"type9","Ship_Localised":"Type-9 Heavy","ScanStage":2,"PilotName":"$npc_name_decorate:#name=Peter Lux;","PilotName_Localised":"Peter Lux","PilotRank":"Novice","ShieldHealth":94.356415,"HullHealth":100.0}
|
||||
{"timestamp":"2022-02-13T10:23:40Z","event":"ShipTargeted","TargetLocked":true,"Ship":"type9","Ship_Localised":"Type-9 Heavy","ScanStage":3,"PilotName":"$npc_name_decorate:#name=Peter Lux;","PilotName_Localised":"Peter Lux","PilotRank":"Novice","ShieldHealth":96.783104,"HullHealth":100.0,"Faction":"Flotta Stellare","LegalStatus":"Clean"}
|
||||
{"timestamp":"2022-02-13T10:24:05Z","event":"Docked","StationName":"Arrhenius Hub","StationType":"Orbis","StarSystem":"Cosi","SystemAddress":6406111498946,"MarketID":3228247808,"StationFaction":{"Name":"Flotta Stellare"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Agri;","StationEconomy_Localised":"Agriculture","StationEconomies":[{"Name":"$economy_Agri;","Name_Localised":"Agriculture","Proportion":1.0}],"DistFromStarLS":277.189393}
|
||||
{"timestamp":"2022-02-13T10:24:34Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Delivery_Boom_name","MissionID":846245533,"Commodity":"$HydrogenFuel_Name;","Commodity_Localised":"Hydrogen Fuel","Count":147,"TargetFaction":"Flotta Stellare","DestinationSystem":"Cosi","DestinationStation":"Arrhenius Hub","Reward":81097,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":9467315955081,"Trend":"UpGood","Influence":"++++"}],"ReputationTrend":"UpGood","Reputation":"++"},{"Faction":"Flotta Stellare","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":6406111498946,"Trend":"UpGood","Influence":"++"}],"ReputationTrend":"UpGood","Reputation":"++"}]}
|
||||
{"timestamp":"2022-02-13T10:25:48Z","event":"ShipTargeted","TargetLocked":false}
|
||||
{"timestamp":"2022-02-13T10:31:20Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Cosi","SystemAddress":6406111498946,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":0.0}
|
||||
{"timestamp":"2022-02-13T10:33:37Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Cosi","SystemAddress":6406111498946,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":0.0}
|
||||
{"timestamp":"2022-02-13T10:49:22Z","event":"Docked","StationName":"J9F-G0M","StationType":"FleetCarrier","StarSystem":"Paresa","SystemAddress":2832765653722,"MarketID":3707502336,"StationFaction":{"Name":"FleetCarrier"},"StationGovernment":"$government_Carrier;","StationGovernment_Localised":"Private Ownership ","StationServices":["dock","autodock","commodities","contacts","crewlounge","rearm","refuel","repair","engineer","flightcontroller","stationoperations","stationMenu","carriermanagement","carrierfuel"],"StationEconomy":"$economy_Carrier;","StationEconomy_Localised":"Private Enterprise","StationEconomies":[{"Name":"$economy_Carrier;","Name_Localised":"Private Enterprise","Proportion":1.0}],"DistFromStarLS":260.945541}
|
||||
{"timestamp":"2022-02-13T10:51:41Z","event":"Docked","StationName":"Dyson City","StationType":"Coriolis","StarSystem":"Paresa","SystemAddress":2832765653722,"MarketID":3222169600,"StationFaction":{"Name":"Nova Paresa"},"StationGovernment":"$government_Patronage;","StationGovernment_Localised":"Patronage","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Agri;","StationEconomy_Localised":"Agriculture","StationEconomies":[{"Name":"$economy_Agri;","Name_Localised":"Agriculture","Proportion":1.0}],"DistFromStarLS":260.87121}
|
||||
{"timestamp":"2022-02-13T10:52:28Z","event":"MissionAccepted","Faction":"Nova Paresa","Name":"Mission_Assassinate","LocalisedName":"Assassinate Known Pirate: Zac Barnard","TargetType":"$MissionUtil_FactionTag_PirateLord;","TargetType_Localised":"Known Pirate","TargetFaction":"Madngela Blue Rats","DestinationSystem":"Madngela","DestinationStation":"Merril Terminal","Target":"Zac Barnard","Expiry":"2022-02-14T10:52:01Z","Wing":true,"Influence":"++","Reputation":"++","Reward":4510749,"MissionID":846447335}
|
||||
{"timestamp":"2022-02-13T10:55:10Z","event":"FSDJump","StarSystem":"No Cha","SystemAddress":671759148465,"StarPos":[72.15625,-191.625,23.59375],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Extraction;","SystemEconomy_Localised":"Extraction","SystemSecondEconomy":"$economy_Industrial;","SystemSecondEconomy_Localised":"Industrial","SystemGovernment":"$government_Anarchy;","SystemGovernment_Localised":"Anarchy","SystemSecurity":"$GAlAXY_MAP_INFO_state_anarchy;","SystemSecurity_Localised":"Anarchy","Population":6649195,"Body":"No Cha","BodyID":0,"BodyType":"Star","JumpDist":16.279,"FuelUsed":1.665399,"FuelLevel":14.3346,"Factions":[{"Name":"United No Cha Justice Party","FactionState":"CivilWar","Government":"Dictatorship","Influence":0.089,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-5.19,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"No Cha Limited","FactionState":"None","Government":"Corporate","Influence":0.033,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-75.0},{"Name":"No Cha Party","FactionState":"None","Government":"Dictatorship","Influence":0.037,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-71.699997},{"Name":"Temurt Drug Empire","FactionState":"None","Government":"Anarchy","Influence":0.408,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-73.349998,"RecoveringStates":[{"State":"Terrorism","Trend":0}]},{"Name":"Crew of No Cha","FactionState":"None","Government":"Anarchy","Influence":0.043,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-2.97},{"Name":"Social No Cha Free","FactionState":"CivilWar","Government":"Democracy","Influence":0.089,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand3;","Happiness_Localised":"Discontented","MyReputation":0.0,"ActiveStates":[{"State":"Terrorism"},{"State":"CivilWar"}]},{"Name":"Distant World Co.","FactionState":"Boom","Government":"Corporate","Influence":0.301,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-30.0,"ActiveStates":[{"State":"Boom"}]}],"SystemFaction":{"Name":"Temurt Drug Empire"},"Conflicts":[{"WarType":"civilwar","Status":"active","Faction1":{"Name":"United No Cha Justice Party","Stake":"Plumb Botanical Farm","WonDays":0},"Faction2":{"Name":"Social No Cha Free","Stake":"Roe Orbital","WonDays":0}}]}
|
||||
{"timestamp":"2022-02-13T11:00:22Z","event":"FSDJump","StarSystem":"Ogoni","SystemAddress":2557887746770,"StarPos":[63.0,-193.75,14.0],"SystemAllegiance":"Empire","SystemEconomy":"$economy_HighTech;","SystemEconomy_Localised":"High Tech","SystemSecondEconomy":"$economy_Extraction;","SystemSecondEconomy_Localised":"Extraction","SystemGovernment":"$government_Patronage;","SystemGovernment_Localised":"Patronage","SystemSecurity":"$SYSTEM_SECURITY_low;","SystemSecurity_Localised":"Low Security","Population":72360,"Body":"Ogoni","BodyID":0,"BodyType":"Star","JumpDist":13.431,"FuelUsed":1.034921,"FuelLevel":13.52183,"Factions":[{"Name":"Jet Universal Partners","FactionState":"None","Government":"Corporate","Influence":0.166833,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":76.239998},{"Name":"Peraesii Empire Consulate","FactionState":"Expansion","Government":"Patronage","Influence":0.084915,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":70.300003,"ActiveStates":[{"State":"Expansion"}]},{"Name":"Marquis du Ogoni","FactionState":"None","Government":"Feudal","Influence":0.258741,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-35.0},{"Name":"Ogoni Dragons","FactionState":"Bust","Government":"Anarchy","Influence":0.00999,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-69.959999,"RecoveringStates":[{"State":"Outbreak","Trend":0}],"ActiveStates":[{"State":"Bust"}]},{"Name":"Nova Paresa","FactionState":"None","Government":"Patronage","Influence":0.47952,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","SquadronFaction":true,"MyReputation":100.0}],"SystemFaction":{"Name":"Nova Paresa"}}
|
83
EDPlayerJournalTests/mission-failed.txt
Normal file
83
EDPlayerJournalTests/mission-failed.txt
Normal file
@ -0,0 +1,83 @@
|
||||
{"timestamp":"2022-02-17T16:52:32Z","event":"Location","Docked":true,"StationName":"Henry O'Hare's Hangar","StationType":"Coriolis","MarketID":128043008,"StationFaction":{"Name":"Summerland Patron's Party","FactionState":"War"},"StationGovernment":"$government_Patronage;","StationGovernment_Localised":"Patronage","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Service;","StationEconomy_Localised":"Service","StationEconomies":[{"Name":"$economy_Service;","Name_Localised":"Service","Proportion":1.0}],"StarSystem":"Summerland","SystemAddress":972566792555,"StarPos":[28.9375,-121.09375,3.53125],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Service;","SystemEconomy_Localised":"Service","SystemSecondEconomy":"$economy_Refinery;","SystemSecondEconomy_Localised":"Refinery","SystemGovernment":"$government_Patronage;","SystemGovernment_Localised":"Patronage","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":25079107,"Body":"Henry O'Hare's Hangar","BodyID":61,"BodyType":"Station","Factions":[{"Name":"Summerland Patron's Party","FactionState":"War","Government":"Patronage","Influence":0.589,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":17.5,"RecoveringStates":[{"State":"PublicHoliday","Trend":0}],"ActiveStates":[{"State":"Boom"},{"State":"War"}]},{"Name":"Summerland Crimson Allied Int","FactionState":"CivilWar","Government":"Corporate","Influence":0.171,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-7.5,"RecoveringStates":[{"State":"Boom","Trend":0}],"ActiveStates":[{"State":"CivilWar"}]},{"Name":"Raiders of Summerland","FactionState":"None","Government":"Anarchy","Influence":0.031,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Summerland Patron's Principles","FactionState":"CivilWar","Government":"Patronage","Influence":0.171,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand1;","Happiness_Localised":"Elated","MyReputation":17.5,"ActiveStates":[{"State":"CivilLiberty"},{"State":"Boom"},{"State":"PublicHoliday"},{"State":"CivilWar"}]},{"Name":"Darkwater Inc","FactionState":"War","Government":"Anarchy","Influence":0.038,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-100.0,"ActiveStates":[{"State":"War"}]}],"SystemFaction":{"Name":"Summerland Patron's Party","FactionState":"War"},"Conflicts":[{"WarType":"war","Status":"active","Faction1":{"Name":"Summerland Patron's Party","Stake":"","WonDays":0},"Faction2":{"Name":"Darkwater Inc","Stake":"","WonDays":0}},{"WarType":"civilwar","Status":"active","Faction1":{"Name":"Summerland Crimson Allied Int","Stake":"Vercors Arena","WonDays":2},"Faction2":{"Name":"Summerland Patron's Principles","Stake":"Spartacus Fortification Division","WonDays":1}}]}
|
||||
{"timestamp":"2022-02-17T21:08:38Z","event":"FSDJump","StarSystem":"ICZ PC-V b2-2","SystemAddress":5070342596017,"StarPos":[99.84375,-180.96875,21.40625],"SystemAllegiance":"","SystemEconomy":"$economy_None;","SystemEconomy_Localised":"None","SystemSecondEconomy":"$economy_None;","SystemSecondEconomy_Localised":"None","SystemGovernment":"$government_None;","SystemGovernment_Localised":"None","SystemSecurity":"$GAlAXY_MAP_INFO_state_anarchy;","SystemSecurity_Localised":"Anarchy","Population":0,"Body":"ICZ PC-V b2-2 A","BodyID":1,"BodyType":"Star","JumpDist":18.521,"FuelUsed":3.535622,"FuelLevel":28.464378}
|
||||
{"timestamp":"2022-02-17T21:09:22Z","event":"FSDJump","StarSystem":"Kazahua","SystemAddress":2871050905001,"StarPos":[93.28125,-180.25,14.6875],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Industrial;","SystemEconomy_Localised":"Industrial","SystemSecondEconomy":"$economy_Colony;","SystemSecondEconomy_Localised":"Colony","SystemGovernment":"$government_Patronage;","SystemGovernment_Localised":"Patronage","SystemSecurity":"$SYSTEM_SECURITY_low;","SystemSecurity_Localised":"Low Security","Population":17949,"Body":"Kazahua","BodyID":0,"BodyType":"Star","JumpDist":9.419,"FuelUsed":0.665858,"FuelLevel":27.798521,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.082578,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0,"PendingStates":[{"State":"Expansion","Trend":0}]},{"Name":"Kazahua Co","FactionState":"None","Government":"Corporate","Influence":0.037261,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Kazahua Crimson Ring","FactionState":"None","Government":"Anarchy","Influence":0.060423,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"HIP 10611 Shared","FactionState":"None","Government":"Cooperative","Influence":0.23565,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-3.3},{"Name":"Traditional Yao Tzu Liberty Party","FactionState":"None","Government":"Dictatorship","Influence":0.134945,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-11.55},{"Name":"Sapii allied","FactionState":"None","Government":"Cooperative","Influence":0.121853,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Nova Paresa","FactionState":"None","Government":"Patronage","Influence":0.327291,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","SquadronFaction":true,"MyReputation":100.0}],"SystemFaction":{"Name":"Nova Paresa"}}
|
||||
{"timestamp":"2022-02-17T21:12:25Z","event":"Docked","StationName":"Rabinowitz Colony","StationType":"Outpost","StarSystem":"Kazahua","SystemAddress":2871050905001,"MarketID":3223011840,"StationFaction":{"Name":"Nova Paresa"},"StationGovernment":"$government_Patronage;","StationGovernment_Localised":"Patronage","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Extraction;","StationEconomy_Localised":"Extraction","StationEconomies":[{"Name":"$economy_Extraction;","Name_Localised":"Extraction","Proportion":1.0}],"DistFromStarLS":336.711693}
|
||||
{"timestamp":"2022-02-17T21:13:25Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_Collect","LocalisedName":"Source and return 45 units of Performance Enhancers","Commodity":"$PerformanceEnhancers_Name;","Commodity_Localised":"Performance Enhancers","Count":45,"DestinationSystem":"Kazahua","DestinationStation":"Rabinowitz Colony","Expiry":"2022-02-18T21:12:35Z","Wing":false,"Influence":"++","Reputation":"++","Reward":737283,"MissionID":847892168}
|
||||
{"timestamp":"2022-02-17T21:14:00Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_Collect","LocalisedName":"Source and return 27 units of Synthetic Meat","Commodity":"$SyntheticMeat_Name;","Commodity_Localised":"Synthetic Meat","Count":27,"DestinationSystem":"Kazahua","DestinationStation":"Rabinowitz Colony","Expiry":"2022-02-18T21:12:35Z","Wing":false,"Influence":"+","Reputation":"+","Reward":91209,"MissionID":847892283}
|
||||
{"timestamp":"2022-02-17T21:15:20Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_Delivery","LocalisedName":"Deliver 36 units of Uraninite","Commodity":"$Uraninite_Name;","Commodity_Localised":"Uraninite","Count":36,"TargetFaction":"Decimus Imperium Lex","DestinationSystem":"Kelish","DestinationStation":"Delaunay Orbital","Expiry":"2022-02-18T21:12:34Z","Wing":false,"Influence":"++","Reputation":"++","Reward":223299,"MissionID":847892616}
|
||||
{"timestamp":"2022-02-17T21:16:44Z","event":"FSDJump","StarSystem":"Kelish","SystemAddress":2871319405993,"StarPos":[95.09375,-164.375,13.34375],"SystemAllegiance":"Independent","SystemEconomy":"$economy_HighTech;","SystemEconomy_Localised":"High Tech","SystemSecondEconomy":"$economy_Refinery;","SystemSecondEconomy_Localised":"Refinery","SystemGovernment":"$government_Cooperative;","SystemGovernment_Localised":"Cooperative","SystemSecurity":"$SYSTEM_SECURITY_high;","SystemSecurity_Localised":"High Security","Population":31349315,"Body":"Kelish A","BodyID":1,"BodyType":"Star","JumpDist":16.035,"FuelUsed":2.826729,"FuelLevel":29.173271,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.052052,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0,"PendingStates":[{"State":"Expansion","Trend":0}]},{"Name":"Kelish Citizens' Forum","FactionState":"None","Government":"Patronage","Influence":0.114114,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-9.65679,"PendingStates":[{"State":"Election","Trend":0}]},{"Name":"Kelish Limited","FactionState":"None","Government":"Corporate","Influence":0.041041,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Kelish Posse","FactionState":"None","Government":"Anarchy","Influence":0.01001,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-15.84},{"Name":"Kelish Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.038038,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Decimus Imperium Lex","FactionState":"None","Government":"Feudal","Influence":0.114114,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":23.1,"PendingStates":[{"State":"Election","Trend":0}]},{"Name":"The Order of Mobius","FactionState":"Boom","Government":"Cooperative","Influence":0.630631,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0,"RecoveringStates":[{"State":"Expansion","Trend":0}],"ActiveStates":[{"State":"Boom"}]}],"SystemFaction":{"Name":"The Order of Mobius","FactionState":"Boom"},"Conflicts":[{"WarType":"election","Status":"pending","Faction1":{"Name":"Kelish Citizens' Forum","Stake":"Bowell Enterprise","WonDays":0},"Faction2":{"Name":"Decimus Imperium Lex","Stake":"Delaunay Orbital","WonDays":0}}]}
|
||||
{"timestamp":"2022-02-17T21:21:09Z","event":"Docked","StationName":"Delaunay Orbital","StationType":"Outpost","StarSystem":"Kelish","SystemAddress":2871319405993,"MarketID":3224635392,"StationFaction":{"Name":"Decimus Imperium Lex"},"StationGovernment":"$government_Feudal;","StationGovernment_Localised":"Feudal","StationAllegiance":"Empire","StationServices":["dock","autodock","contacts","exploration","missions","refuel","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_HighTech;","StationEconomy_Localised":"High Tech","StationEconomies":[{"Name":"$economy_HighTech;","Name_Localised":"High Tech","Proportion":0.51},{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":0.49}],"DistFromStarLS":70.858032}
|
||||
{"timestamp":"2022-02-17T21:25:26Z","event":"Docked","StationName":"Tikhonravov Orbital","StationType":"Outpost","StarSystem":"Kelish","SystemAddress":2871319405993,"MarketID":3224635136,"StationFaction":{"Name":"The Order of Mobius","FactionState":"Boom"},"StationGovernment":"$government_Cooperative;","StationGovernment_Localised":"Cooperative","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_HighTech;","StationEconomy_Localised":"High Tech","StationEconomies":[{"Name":"$economy_HighTech;","Name_Localised":"High Tech","Proportion":0.67},{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":0.33}],"DistFromStarLS":70.88156}
|
||||
{"timestamp":"2022-02-17T21:27:22Z","event":"FSDJump","StarSystem":"Kazahua","SystemAddress":2871050905001,"StarPos":[93.28125,-180.25,14.6875],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Industrial;","SystemEconomy_Localised":"Industrial","SystemSecondEconomy":"$economy_Colony;","SystemSecondEconomy_Localised":"Colony","SystemGovernment":"$government_Patronage;","SystemGovernment_Localised":"Patronage","SystemSecurity":"$SYSTEM_SECURITY_low;","SystemSecurity_Localised":"Low Security","Population":17949,"Body":"Kazahua","BodyID":0,"BodyType":"Star","JumpDist":16.035,"FuelUsed":3.825501,"FuelLevel":28.1745,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.082578,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0,"PendingStates":[{"State":"Expansion","Trend":0}]},{"Name":"Kazahua Co","FactionState":"None","Government":"Corporate","Influence":0.037261,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Kazahua Crimson Ring","FactionState":"None","Government":"Anarchy","Influence":0.060423,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"HIP 10611 Shared","FactionState":"None","Government":"Cooperative","Influence":0.23565,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-3.3},{"Name":"Traditional Yao Tzu Liberty Party","FactionState":"None","Government":"Dictatorship","Influence":0.134945,"Allegiance":"Empire","Happiness":"","MyReputation":-1.65},{"Name":"Sapii allied","FactionState":"None","Government":"Cooperative","Influence":0.121853,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Nova Paresa","FactionState":"None","Government":"Patronage","Influence":0.327291,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","SquadronFaction":true,"MyReputation":100.0}],"SystemFaction":{"Name":"Nova Paresa"}}
|
||||
{"timestamp":"2022-02-17T21:30:27Z","event":"Docked","StationName":"Rabinowitz Colony","StationType":"Outpost","StarSystem":"Kazahua","SystemAddress":2871050905001,"MarketID":3223011840,"StationFaction":{"Name":"Nova Paresa"},"StationGovernment":"$government_Patronage;","StationGovernment_Localised":"Patronage","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Extraction;","StationEconomy_Localised":"Extraction","StationEconomies":[{"Name":"$economy_Extraction;","Name_Localised":"Extraction","Proportion":1.0}],"DistFromStarLS":336.716824}
|
||||
{"timestamp":"2022-02-17T21:31:16Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_AltruismCredits","LocalisedName":"Donate 300,000 Cr to the cause","Donation":"300000","Expiry":"2022-02-18T00:36:39Z","Wing":false,"Influence":"++","Reputation":"+","MissionID":847896711}
|
||||
{"timestamp":"2022-02-17T21:31:22Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_AltruismCredits","LocalisedName":"Donate 200,000 Cr to the cause","Donation":"200000","Expiry":"2022-02-18T01:04:30Z","Wing":false,"Influence":"+","Reputation":"+","MissionID":847896737}
|
||||
{"timestamp":"2022-02-17T21:33:06Z","event":"FSDJump","StarSystem":"Haoko","SystemAddress":7269365851569,"StarPos":[100.5625,-181.78125,31.4375],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Extraction;","SystemEconomy_Localised":"Extraction","SystemSecondEconomy":"$economy_None;","SystemSecondEconomy_Localised":"None","SystemGovernment":"$government_Confederacy;","SystemGovernment_Localised":"Confederacy","SystemSecurity":"$SYSTEM_SECURITY_low;","SystemSecurity_Localised":"Low Security","Population":2923,"Body":"Haoko A","BodyID":2,"BodyType":"Star","JumpDist":18.328,"FuelUsed":4.202615,"FuelLevel":27.797386,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.145161,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0,"PendingStates":[{"State":"Expansion","Trend":0}]},{"Name":"Haoko Interstellar","FactionState":"None","Government":"Corporate","Influence":0.034274,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Gefjong Interstellar","FactionState":"None","Government":"Corporate","Influence":0.035282,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Uniting Haoko","FactionState":"None","Government":"Cooperative","Influence":0.037298,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Aristocrats of Haoko","FactionState":"None","Government":"Feudal","Influence":0.080645,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Browncoat Uprising","FactionState":"None","Government":"Confederacy","Influence":0.476815,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":1.32,"PendingStates":[{"State":"Expansion","Trend":0}]},{"Name":"Di Yomi Praetorian Confederacy","FactionState":"None","Government":"Confederacy","Influence":0.190524,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0}],"SystemFaction":{"Name":"Browncoat Uprising"}}
|
||||
{"timestamp":"2022-02-17T21:34:07Z","event":"FSDJump","StarSystem":"Rukarwadja","SystemAddress":672296084921,"StarPos":[100.90625,-184.125,39.625],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Agri;","SystemEconomy_Localised":"Agriculture","SystemSecondEconomy":"$economy_Tourism;","SystemSecondEconomy_Localised":"Tourism","SystemGovernment":"$government_Corporate;","SystemGovernment_Localised":"Corporate","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":9529639756,"Body":"Rukarwadja","BodyID":0,"BodyType":"Star","JumpDist":8.523,"FuelUsed":0.634794,"FuelLevel":27.162592,"Factions":[{"Name":"Rukarwadja Emperor's Grace","FactionState":"CivilWar","Government":"Patronage","Influence":0.14881,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"Rukarwadja Holdings","FactionState":"None","Government":"Corporate","Influence":0.450397,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Raiders of Rukarwadja","FactionState":"None","Government":"Anarchy","Influence":0.026786,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Traditional Yao Tzu Liberty Party","FactionState":"None","Government":"Dictatorship","Influence":0.042659,"Allegiance":"Empire","Happiness":"","MyReputation":41.849998},{"Name":"Rukarwadja General Partners","FactionState":"CivilWar","Government":"Corporate","Influence":0.14881,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"New Rukarwadja Free","FactionState":"None","Government":"Democracy","Influence":0.059524,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Di Yomi Praetorian Confederacy","FactionState":"None","Government":"Confederacy","Influence":0.123016,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0}],"SystemFaction":{"Name":"Rukarwadja Holdings"},"Conflicts":[{"WarType":"civilwar","Status":"active","Faction1":{"Name":"Rukarwadja Emperor's Grace","Stake":"Regent's Villas","WonDays":0},"Faction2":{"Name":"Rukarwadja General Partners","Stake":"Purandare's Works","WonDays":0}}]}
|
||||
{"timestamp":"2022-02-17T21:37:34Z","event":"Docked","StationName":"Wallerstein Port","StationType":"Orbis","StarSystem":"Rukarwadja","SystemAddress":672296084921,"MarketID":3224498944,"StationFaction":{"Name":"Rukarwadja Holdings"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Agri;","StationEconomy_Localised":"Agriculture","StationEconomies":[{"Name":"$economy_Agri;","Name_Localised":"Agriculture","Proportion":1.0}],"DistFromStarLS":81.740698}
|
||||
{"timestamp":"2022-02-17T21:38:17Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"MISSION_Scan","LocalisedName":"Planetary Scan Job","DestinationSystem":"Arugua","DestinationStation":"Noon Base","Expiry":"2022-02-24T01:14:27Z","Wing":false,"Influence":"++","Reputation":"++","Reward":2423488,"MissionID":847898503}
|
||||
{"timestamp":"2022-02-17T21:38:18Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"MISSION_Scan","LocalisedName":"Planetary Scan Job","DestinationSystem":"Arugua","DestinationStation":"Giclas Hub","Expiry":"2022-02-23T16:33:57Z","Wing":false,"Influence":"++","Reputation":"++","Reward":2416030,"MissionID":847898508}
|
||||
{"timestamp":"2022-02-17T21:38:20Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"MISSION_Scan","LocalisedName":"Planetary Scan Job","DestinationSystem":"Sangenses","DestinationStation":"Paola Plant","Expiry":"2022-02-24T06:36:03Z","Wing":false,"Influence":"++","Reputation":"++","Reward":2546050,"MissionID":847898515}
|
||||
{"timestamp":"2022-02-17T21:39:16Z","event":"Docked","StationName":"Wallerstein Port","StationType":"Orbis","StarSystem":"Rukarwadja","SystemAddress":672296084921,"MarketID":3224498944,"StationFaction":{"Name":"Rukarwadja Holdings"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Agri;","StationEconomy_Localised":"Agriculture","StationEconomies":[{"Name":"$economy_Agri;","Name_Localised":"Agriculture","Proportion":1.0}],"DistFromStarLS":81.742134}
|
||||
{"timestamp":"2022-02-17T21:39:55Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_Sightseeing","LocalisedName":"Stuart Shelton Seeks Sightseeing Adventure","Commodity":"$DomesticAppliances_Name;","Commodity_Localised":"Domestic Appliances","Count":1,"DestinationSystem":"Vequess$MISSIONUTIL_MULTIPLE_FINAL_SEPARATOR;Kikapu","Expiry":"2022-02-18T14:54:00Z","Wing":false,"Influence":"+","Reputation":"+","Reward":5814370,"PassengerCount":7,"PassengerVIPs":true,"PassengerWanted":false,"PassengerType":"Tourist","MissionID":847898915}
|
||||
{"timestamp":"2022-02-17T21:40:03Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_Sightseeing","LocalisedName":"Larissa Tucker Seeks Sightseeing Adventure","Commodity":"$ConsumerTechnology_Name;","Commodity_Localised":"Consumer Technology","Count":1,"DestinationSystem":"Guanangu$MISSIONUTIL_MULTIPLE_INNER_SEPARATOR;Col 285 Sector JM-A b15-7$MISSIONUTIL_MULTIPLE_FINAL_SEPARATOR;Kholhou","Expiry":"2022-02-18T08:03:56Z","Wing":false,"Influence":"+","Reputation":"+","Reward":5460445,"PassengerCount":5,"PassengerVIPs":true,"PassengerWanted":false,"PassengerType":"Tourist","MissionID":847898932}
|
||||
{"timestamp":"2022-02-17T21:40:19Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_Sightseeing","LocalisedName":"Arthur Ward Seeks Sightseeing Adventure","Commodity":"$DomesticAppliances_Name;","Commodity_Localised":"Domestic Appliances","Count":2,"DestinationSystem":"Daibo$MISSIONUTIL_MULTIPLE_INNER_SEPARATOR;Zearla$MISSIONUTIL_MULTIPLE_FINAL_SEPARATOR;Azaleach","Expiry":"2022-02-18T13:20:42Z","Wing":false,"Influence":"+","Reputation":"+","Reward":7336247,"PassengerCount":7,"PassengerVIPs":true,"PassengerWanted":false,"PassengerType":"Tourist","MissionID":847898991}
|
||||
{"timestamp":"2022-02-17T21:40:32Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_Sightseeing","LocalisedName":"Mckinley Walsh Seeks Sightseeing Adventure","Commodity":"$ConsumerTechnology_Name;","Commodity_Localised":"Consumer Technology","Count":2,"DestinationSystem":"Cartoi$MISSIONUTIL_MULTIPLE_INNER_SEPARATOR;Hofada$MISSIONUTIL_MULTIPLE_FINAL_SEPARATOR;Lalande 46867","Expiry":"2022-02-18T13:25:40Z","Wing":false,"Influence":"+","Reputation":"+","Reward":3814750,"PassengerCount":3,"PassengerVIPs":true,"PassengerWanted":false,"PassengerType":"Tourist","MissionID":847899046}
|
||||
{"timestamp":"2022-02-17T21:40:57Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_LongDistanceExpedition","LocalisedName":"Javier Colon Wants To Visit Choose Your Own Adventure and Collect Data","DestinationSystem":"Rukarwadja","Expiry":"2022-03-17T21:37:51Z","Wing":false,"Influence":"+","Reputation":"+","Reward":33571088,"PassengerCount":5,"PassengerVIPs":true,"PassengerWanted":false,"PassengerType":"Explorer","MissionID":847899182}
|
||||
{"timestamp":"2022-02-17T21:43:32Z","event":"Location","Docked":true,"StationName":"Wallerstein Port","StationType":"Orbis","MarketID":3224498944,"StationFaction":{"Name":"Rukarwadja Holdings"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Agri;","StationEconomy_Localised":"Agriculture","StationEconomies":[{"Name":"$economy_Agri;","Name_Localised":"Agriculture","Proportion":1.0}],"StarSystem":"Rukarwadja","SystemAddress":672296084921,"StarPos":[100.90625,-184.125,39.625],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Agri;","SystemEconomy_Localised":"Agriculture","SystemSecondEconomy":"$economy_Tourism;","SystemSecondEconomy_Localised":"Tourism","SystemGovernment":"$government_Corporate;","SystemGovernment_Localised":"Corporate","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":9529639756,"Body":"Wallerstein Port","BodyID":31,"BodyType":"Station","Factions":[{"Name":"Rukarwadja Emperor's Grace","FactionState":"CivilWar","Government":"Patronage","Influence":0.14881,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"Rukarwadja Holdings","FactionState":"None","Government":"Corporate","Influence":0.450397,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":2.5466},{"Name":"Raiders of Rukarwadja","FactionState":"None","Government":"Anarchy","Influence":0.026786,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Traditional Yao Tzu Liberty Party","FactionState":"None","Government":"Dictatorship","Influence":0.042659,"Allegiance":"Empire","Happiness":"","MyReputation":-34.049999},{"Name":"Rukarwadja General Partners","FactionState":"CivilWar","Government":"Corporate","Influence":0.14881,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"New Rukarwadja Free","FactionState":"None","Government":"Democracy","Influence":0.059524,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Di Yomi Praetorian Confederacy","FactionState":"None","Government":"Confederacy","Influence":0.123016,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0}],"SystemFaction":{"Name":"Rukarwadja Holdings"},"Conflicts":[{"WarType":"civilwar","Status":"active","Faction1":{"Name":"Rukarwadja Emperor's Grace","Stake":"Regent's Villas","WonDays":0},"Faction2":{"Name":"Rukarwadja General Partners","Stake":"Purandare's Works","WonDays":0}}]}
|
||||
{"timestamp":"2022-02-17T21:43:32Z","event":"Docked","StationName":"Wallerstein Port","StationType":"Orbis","StarSystem":"Rukarwadja","SystemAddress":672296084921,"MarketID":3224498944,"StationFaction":{"Name":"Rukarwadja Holdings"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Agri;","StationEconomy_Localised":"Agriculture","StationEconomies":[{"Name":"$economy_Agri;","Name_Localised":"Agriculture","Proportion":1.0}],"DistFromStarLS":81.745724}
|
||||
{"timestamp":"2022-02-17T21:46:43Z","event":"Docked","StationName":"Wallerstein Port","StationType":"Orbis","StarSystem":"Rukarwadja","SystemAddress":672296084921,"MarketID":3224498944,"StationFaction":{"Name":"Rukarwadja Holdings"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Agri;","StationEconomy_Localised":"Agriculture","StationEconomies":[{"Name":"$economy_Agri;","Name_Localised":"Agriculture","Proportion":1.0}],"DistFromStarLS":81.748373}
|
||||
{"timestamp":"2022-02-17T21:48:35Z","event":"FSDJump","StarSystem":"ICZ SI-T b3-4","SystemAddress":9468120671673,"StarPos":[88.875,-175.65625,37.1875],"SystemAllegiance":"","SystemEconomy":"$economy_None;","SystemEconomy_Localised":"None","SystemSecondEconomy":"$economy_None;","SystemSecondEconomy_Localised":"None","SystemGovernment":"$government_None;","SystemGovernment_Localised":"None","SystemSecurity":"$GAlAXY_MAP_INFO_state_anarchy;","SystemSecurity_Localised":"Anarchy","Population":0,"Body":"ICZ SI-T b3-4 A","BodyID":1,"BodyType":"Star","JumpDist":14.913,"FuelUsed":2.079593,"FuelLevel":29.920406}
|
||||
{"timestamp":"2022-02-17T21:49:34Z","event":"FSDJump","StarSystem":"Yao Tzu","SystemAddress":7269097416113,"StarPos":[82.78125,-174.6875,28.3125],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Industrial;","SystemEconomy_Localised":"Industrial","SystemSecondEconomy":"$economy_None;","SystemSecondEconomy_Localised":"None","SystemGovernment":"$government_Patronage;","SystemGovernment_Localised":"Patronage","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":4049046,"Body":"Yao Tzu A","BodyID":2,"BodyType":"Star","JumpDist":10.809,"FuelUsed":0.93791,"FuelLevel":28.982496,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.193,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0,"PendingStates":[{"State":"Expansion","Trend":0}]},{"Name":"Yao Tzu Exchange","FactionState":"None","Government":"Corporate","Influence":0.064,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Yao Tzu Blue Partnership","FactionState":"None","Government":"Anarchy","Influence":0.028,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Traditional Yao Tzu Liberty Party","FactionState":"None","Government":"Dictatorship","Influence":0.059,"Allegiance":"Empire","Happiness":"","MyReputation":-34.049999},{"Name":"Citizen Party of Yao Tzu","FactionState":"None","Government":"Communism","Influence":0.027,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Browncoat Uprising","FactionState":"None","Government":"Confederacy","Influence":0.076,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":1.32,"PendingStates":[{"State":"Expansion","Trend":0}]},{"Name":"Empire Consulate Ltd","FactionState":"None","Government":"Patronage","Influence":0.553,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-2.475}],"SystemFaction":{"Name":"Empire Consulate Ltd"}}
|
||||
{"timestamp":"2022-02-17T21:53:17Z","event":"Docked","StationName":"Orbik Port","StationType":"Coriolis","StarSystem":"Yao Tzu","SystemAddress":7269097416113,"MarketID":3222901760,"StationFaction":{"Name":"Empire Consulate Ltd"},"StationGovernment":"$government_Patronage;","StationGovernment_Localised":"Patronage","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Industrial;","StationEconomy_Localised":"Industrial","StationEconomies":[{"Name":"$economy_Industrial;","Name_Localised":"Industrial","Proportion":1.0}],"DistFromStarLS":733.354712}
|
||||
{"timestamp":"2022-02-17T21:54:14Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_Collect_Industrial","LocalisedName":"Industry needs 42 units of Performance Enhancers","Commodity":"$PerformanceEnhancers_Name;","Commodity_Localised":"Performance Enhancers","Count":42,"DestinationSystem":"Yao Tzu","DestinationStation":"Orbik Port","Expiry":"2022-02-18T21:53:27Z","Wing":false,"Influence":"++","Reputation":"++","Reward":692556,"MissionID":847902618}
|
||||
{"timestamp":"2022-02-17T21:54:36Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"MISSION_Salvage_Illegal","LocalisedName":"Illegal Black Box Salvage Operation","Commodity":"$USSCargoBlackBox_Name;","Commodity_Localised":"Black Box","Count":1,"DestinationSystem":"HIP 7211","Expiry":"2022-02-22T08:56:09Z","Wing":false,"Influence":"++","Reputation":"++","Reward":261503,"MissionID":847902705}
|
||||
{"timestamp":"2022-02-17T21:56:32Z","event":"FSDJump","StarSystem":"HIP 7211","SystemAddress":1281804437867,"StarPos":[79.65625,-167.9375,25.875],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Extraction;","SystemEconomy_Localised":"Extraction","SystemSecondEconomy":"$economy_Colony;","SystemSecondEconomy_Localised":"Colony","SystemGovernment":"$government_Patronage;","SystemGovernment_Localised":"Patronage","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":788783,"Body":"HIP 7211 A","BodyID":1,"BodyType":"Star","JumpDist":7.827,"FuelUsed":0.43976,"FuelLevel":28.542736,"Factions":[{"Name":"HIP 7211 Empire Pact","FactionState":"None","Government":"Patronage","Influence":0.167335,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Peraesii Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.467936,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0,"PendingStates":[{"State":"Expansion","Trend":0}]},{"Name":"HIP 7211 Jet Netcoms Group","FactionState":"None","Government":"Corporate","Influence":0.037074,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"HIP 7211 Purple Bridge & Co","FactionState":"None","Government":"Corporate","Influence":0.131263,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"HIP 7211 Gold Dragons","FactionState":"None","Government":"Anarchy","Influence":0.032064,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"People's HIP 7211 Independents","FactionState":"None","Government":"Democracy","Influence":0.103206,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Empire Consulate Ltd","FactionState":"None","Government":"Patronage","Influence":0.061122,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-2.475}],"SystemFaction":{"Name":"Peraesii Empire Consulate"}}
|
||||
{"timestamp":"2022-02-17T22:05:11Z","event":"MissionFailed","Name":"MISSION_Scan_name","MissionID":847898515}
|
||||
{"timestamp":"2022-02-17T22:05:15Z","event":"MissionFailed","Name":"MISSION_Scan_name","MissionID":847898508}
|
||||
{"timestamp":"2022-02-17T22:05:18Z","event":"MissionFailed","Name":"MISSION_Scan_name","MissionID":847898503}
|
||||
{"timestamp":"2022-02-17T22:05:23Z","event":"MissionFailed","Name":"Mission_LongDistanceExpedition_name","MissionID":847899182}
|
||||
{"timestamp":"2022-02-17T22:05:27Z","event":"MissionFailed","Name":"Mission_Sightseeing_name","MissionID":847899046}
|
||||
{"timestamp":"2022-02-17T22:05:30Z","event":"MissionFailed","Name":"Mission_Sightseeing_name","MissionID":847898991}
|
||||
{"timestamp":"2022-02-17T22:05:33Z","event":"MissionFailed","Name":"Mission_Sightseeing_name","MissionID":847898932}
|
||||
{"timestamp":"2022-02-17T22:05:41Z","event":"MissionFailed","Name":"Mission_Sightseeing_name","MissionID":847898915}
|
||||
{"timestamp":"2022-02-17T22:23:06Z","event":"FSDJump","StarSystem":"Kelish","SystemAddress":2871319405993,"StarPos":[95.09375,-164.375,13.34375],"SystemAllegiance":"Independent","SystemEconomy":"$economy_HighTech;","SystemEconomy_Localised":"High Tech","SystemSecondEconomy":"$economy_Refinery;","SystemSecondEconomy_Localised":"Refinery","SystemGovernment":"$government_Cooperative;","SystemGovernment_Localised":"Cooperative","SystemSecurity":"$SYSTEM_SECURITY_high;","SystemSecurity_Localised":"High Security","Population":31349315,"Body":"Kelish A","BodyID":1,"BodyType":"Star","JumpDist":20.2,"FuelUsed":4.51866,"FuelLevel":22.764078,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.052052,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0,"PendingStates":[{"State":"Expansion","Trend":0}]},{"Name":"Kelish Citizens' Forum","FactionState":"None","Government":"Patronage","Influence":0.114114,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-9.65679,"PendingStates":[{"State":"Election","Trend":0}]},{"Name":"Kelish Limited","FactionState":"None","Government":"Corporate","Influence":0.041041,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Kelish Posse","FactionState":"None","Government":"Anarchy","Influence":0.01001,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-15.84},{"Name":"Kelish Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.038038,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Decimus Imperium Lex","FactionState":"None","Government":"Feudal","Influence":0.114114,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":33.0,"PendingStates":[{"State":"Election","Trend":0}]},{"Name":"The Order of Mobius","FactionState":"Boom","Government":"Cooperative","Influence":0.630631,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0,"RecoveringStates":[{"State":"Expansion","Trend":0}],"ActiveStates":[{"State":"Boom"}]}],"SystemFaction":{"Name":"The Order of Mobius","FactionState":"Boom"},"Conflicts":[{"WarType":"election","Status":"pending","Faction1":{"Name":"Kelish Citizens' Forum","Stake":"Bowell Enterprise","WonDays":0},"Faction2":{"Name":"Decimus Imperium Lex","Stake":"Delaunay Orbital","WonDays":0}}]}
|
||||
{"timestamp":"2022-02-17T22:26:10Z","event":"Docked","StationName":"Tikhonravov Orbital","StationType":"Outpost","StarSystem":"Kelish","SystemAddress":2871319405993,"MarketID":3224635136,"StationFaction":{"Name":"The Order of Mobius","FactionState":"Boom"},"StationGovernment":"$government_Cooperative;","StationGovernment_Localised":"Cooperative","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_HighTech;","StationEconomy_Localised":"High Tech","StationEconomies":[{"Name":"$economy_HighTech;","Name_Localised":"High Tech","Proportion":0.67},{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":0.33}],"DistFromStarLS":70.905454}
|
||||
{"timestamp":"2022-02-17T22:34:30Z","event":"FSDJump","StarSystem":"ICZ JR-W c1-10","SystemAddress":2832765686490,"StarPos":[88.0,-169.1875,23.3125],"SystemAllegiance":"","SystemEconomy":"$economy_None;","SystemEconomy_Localised":"None","SystemSecondEconomy":"$economy_None;","SystemSecondEconomy_Localised":"None","SystemGovernment":"$government_None;","SystemGovernment_Localised":"None","SystemSecurity":"$GAlAXY_MAP_INFO_state_anarchy;","SystemSecurity_Localised":"Anarchy","Population":0,"Body":"ICZ JR-W c1-10 A","BodyID":1,"BodyType":"Star","JumpDist":13.148,"FuelUsed":2.352166,"FuelLevel":29.647835}
|
||||
{"timestamp":"2022-02-17T22:35:33Z","event":"FSDJump","StarSystem":"Yao Tzu","SystemAddress":7269097416113,"StarPos":[82.78125,-174.6875,28.3125],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Industrial;","SystemEconomy_Localised":"Industrial","SystemSecondEconomy":"$economy_None;","SystemSecondEconomy_Localised":"None","SystemGovernment":"$government_Patronage;","SystemGovernment_Localised":"Patronage","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":4049046,"Body":"Yao Tzu A","BodyID":2,"BodyType":"Star","JumpDist":9.082,"FuelUsed":0.943402,"FuelLevel":28.704433,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.193,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0,"PendingStates":[{"State":"Expansion","Trend":0}]},{"Name":"Yao Tzu Exchange","FactionState":"None","Government":"Corporate","Influence":0.064,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Yao Tzu Blue Partnership","FactionState":"None","Government":"Anarchy","Influence":0.028,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Traditional Yao Tzu Liberty Party","FactionState":"None","Government":"Dictatorship","Influence":0.059,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-34.049999},{"Name":"Citizen Party of Yao Tzu","FactionState":"None","Government":"Communism","Influence":0.027,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Browncoat Uprising","FactionState":"None","Government":"Confederacy","Influence":0.076,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":1.32,"PendingStates":[{"State":"Expansion","Trend":0}]},{"Name":"Empire Consulate Ltd","FactionState":"None","Government":"Patronage","Influence":0.553,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-2.475}],"SystemFaction":{"Name":"Empire Consulate Ltd"}}
|
||||
{"timestamp":"2022-02-17T22:38:37Z","event":"Docked","StationName":"Orbik Port","StationType":"Coriolis","StarSystem":"Yao Tzu","SystemAddress":7269097416113,"MarketID":3222901760,"StationFaction":{"Name":"Empire Consulate Ltd"},"StationGovernment":"$government_Patronage;","StationGovernment_Localised":"Patronage","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Industrial;","StationEconomy_Localised":"Industrial","StationEconomies":[{"Name":"$economy_Industrial;","Name_Localised":"Industrial","Proportion":1.0}],"DistFromStarLS":733.354712}
|
||||
{"timestamp":"2022-02-17T22:39:10Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_AltruismCredits","LocalisedName":"Donate 200,000 Cr to the cause","Donation":"200000","Expiry":"2022-02-18T02:27:41Z","Wing":false,"Influence":"+","Reputation":"+","MissionID":847913657}
|
||||
{"timestamp":"2022-02-17T22:39:17Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_AltruismCredits","LocalisedName":"Donate 200,000 Cr to the cause","Donation":"200000","Expiry":"2022-02-18T02:11:10Z","Wing":false,"Influence":"+","Reputation":"+","MissionID":847913676}
|
||||
{"timestamp":"2022-02-17T22:39:22Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_AltruismCredits","LocalisedName":"Donate 200,000 Cr to the cause","Donation":"200000","Expiry":"2022-02-18T02:14:45Z","Wing":false,"Influence":"+","Reputation":"+","MissionID":847913693}
|
||||
{"timestamp":"2022-02-17T22:39:28Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_AltruismCredits","LocalisedName":"Donate 1,000,000 Cr to the cause","Donation":"1000000","Expiry":"2022-02-18T02:29:10Z","Wing":false,"Influence":"++","Reputation":"++","MissionID":847913716}
|
||||
{"timestamp":"2022-02-17T22:39:32Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_AltruismCredits","LocalisedName":"Donate 1,000,000 Cr to the cause","Donation":"1000000","Expiry":"2022-02-18T02:04:27Z","Wing":false,"Influence":"++","Reputation":"++","MissionID":847913728}
|
||||
{"timestamp":"2022-02-17T22:42:50Z","event":"FSDJump","StarSystem":"Fengthi","SystemAddress":2871050905009,"StarPos":[80.28125,-178.53125,30.15625],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Extraction;","SystemEconomy_Localised":"Extraction","SystemSecondEconomy":"$economy_Refinery;","SystemSecondEconomy_Localised":"Refinery","SystemGovernment":"$government_Anarchy;","SystemGovernment_Localised":"Anarchy","SystemSecurity":"$GAlAXY_MAP_INFO_state_anarchy;","SystemSecurity_Localised":"Anarchy","Population":94445,"Body":"Fengthi","BodyID":0,"BodyType":"Star","JumpDist":4.942,"FuelUsed":0.145158,"FuelLevel":31.854841,"Factions":[{"Name":"Peraesii Empire Consulate","FactionState":"None","Government":"Patronage","Influence":0.269,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":85.150002,"PendingStates":[{"State":"Expansion","Trend":0}]},{"Name":"Fengthi Holdings","FactionState":"None","Government":"Corporate","Influence":0.098,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":7.425},{"Name":"Fengthi allied","FactionState":"None","Government":"Cooperative","Influence":0.041,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":2.64},{"Name":"Temurt Drug Empire","FactionState":"Bust","Government":"Anarchy","Influence":0.418,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":22.2589,"RecoveringStates":[{"State":"PirateAttack","Trend":0}],"ActiveStates":[{"State":"Bust"}]},{"Name":"Fengthi Nobles","FactionState":"None","Government":"Feudal","Influence":0.065,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Traditional Yao Tzu Liberty Party","FactionState":"None","Government":"Dictatorship","Influence":0.087,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":35.450001},{"Name":"Fengthi Blue Camorra","FactionState":"None","Government":"Anarchy","Influence":0.022,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0}],"SystemFaction":{"Name":"Temurt Drug Empire","FactionState":"Bust"}}
|
||||
{"timestamp":"2022-02-17T22:46:43Z","event":"Docked","StationName":"Gurevich Vision","StationType":"Outpost","StarSystem":"Fengthi","SystemAddress":2871050905009,"MarketID":3222901504,"StationFaction":{"Name":"Temurt Drug Empire","FactionState":"Bust"},"StationGovernment":"$government_Anarchy;","StationGovernment_Localised":"Anarchy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","outfitting","crewlounge","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Extraction;","StationEconomy_Localised":"Extraction","StationEconomies":[{"Name":"$economy_Extraction;","Name_Localised":"Extraction","Proportion":0.83},{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":0.17}],"DistFromStarLS":1256.729721}
|
||||
{"timestamp":"2022-02-17T22:49:57Z","event":"FSDJump","StarSystem":"ICZ SI-T b3-2","SystemAddress":5070074160569,"StarPos":[93.34375,-180.75,42.46875],"SystemAllegiance":"","SystemEconomy":"$economy_None;","SystemEconomy_Localised":"None","SystemSecondEconomy":"$economy_None;","SystemSecondEconomy_Localised":"None","SystemGovernment":"$government_None;","SystemGovernment_Localised":"None","SystemSecurity":"$GAlAXY_MAP_INFO_state_anarchy;","SystemSecurity_Localised":"Anarchy","Population":0,"Body":"ICZ SI-T b3-2 A","BodyID":2,"BodyType":"Star","JumpDist":18.087,"FuelUsed":3.484218,"FuelLevel":28.370623}
|
||||
{"timestamp":"2022-02-17T22:50:49Z","event":"FSDJump","StarSystem":"Rukarwadja","SystemAddress":672296084921,"StarPos":[100.90625,-184.125,39.625],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Agri;","SystemEconomy_Localised":"Agriculture","SystemSecondEconomy":"$economy_Tourism;","SystemSecondEconomy_Localised":"Tourism","SystemGovernment":"$government_Corporate;","SystemGovernment_Localised":"Corporate","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":9529639756,"Body":"Rukarwadja","BodyID":0,"BodyType":"Star","JumpDist":8.756,"FuelUsed":0.581701,"FuelLevel":27.788921,"Factions":[{"Name":"Rukarwadja Emperor's Grace","FactionState":"CivilWar","Government":"Patronage","Influence":0.14881,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"Rukarwadja Holdings","FactionState":"None","Government":"Corporate","Influence":0.450397,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":2.5466},{"Name":"Raiders of Rukarwadja","FactionState":"None","Government":"Anarchy","Influence":0.026786,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Traditional Yao Tzu Liberty Party","FactionState":"None","Government":"Dictatorship","Influence":0.042659,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":51.450001},{"Name":"Rukarwadja General Partners","FactionState":"CivilWar","Government":"Corporate","Influence":0.14881,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"New Rukarwadja Free","FactionState":"None","Government":"Democracy","Influence":0.059524,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Di Yomi Praetorian Confederacy","FactionState":"None","Government":"Confederacy","Influence":0.123016,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0}],"SystemFaction":{"Name":"Rukarwadja Holdings"},"Conflicts":[{"WarType":"civilwar","Status":"active","Faction1":{"Name":"Rukarwadja Emperor's Grace","Stake":"Regent's Villas","WonDays":0},"Faction2":{"Name":"Rukarwadja General Partners","Stake":"Purandare's Works","WonDays":0}}]}
|
||||
{"timestamp":"2022-02-17T22:53:56Z","event":"Docked","StationName":"Wallerstein Port","StationType":"Orbis","StarSystem":"Rukarwadja","SystemAddress":672296084921,"MarketID":3224498944,"StationFaction":{"Name":"Rukarwadja Holdings"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Agri;","StationEconomy_Localised":"Agriculture","StationEconomies":[{"Name":"$economy_Agri;","Name_Localised":"Agriculture","Proportion":1.0}],"DistFromStarLS":81.79269}
|
||||
{"timestamp":"2022-02-17T22:55:09Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"MISSION_Scan","LocalisedName":"Planetary Scan Job","DestinationSystem":"Sangenses","DestinationStation":"Paulo da Gama Barracks","Expiry":"2022-02-21T21:55:28Z","Wing":false,"Influence":"++","Reputation":"++","Reward":710530,"MissionID":847917114}
|
||||
{"timestamp":"2022-02-17T22:55:12Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"MISSION_Scan","LocalisedName":"Planetary Scan Job","DestinationSystem":"HIP 7040","DestinationStation":"Leckie Barracks","Expiry":"2022-02-22T17:35:13Z","Wing":false,"Influence":"++","Reputation":"++","Reward":712933,"MissionID":847917127}
|
||||
{"timestamp":"2022-02-17T22:55:14Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"MISSION_Scan","LocalisedName":"Planetary Scan Job","DestinationSystem":"HIP 7040","DestinationStation":"Ponce de Leon Enterprise","Expiry":"2022-02-21T03:38:43Z","Wing":false,"Influence":"++","Reputation":"++","Reward":715312,"MissionID":847917140}
|
||||
{"timestamp":"2022-02-17T22:55:16Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"MISSION_Scan","LocalisedName":"Planetary Scan Job","DestinationSystem":"HIP 7040","DestinationStation":"Ponce de Leon Enterprise","Expiry":"2022-02-24T22:54:13Z","Wing":false,"Influence":"++","Reputation":"++","Reward":2410156,"MissionID":847917145}
|
||||
{"timestamp":"2022-02-17T22:55:45Z","event":"Docked","StationName":"Wallerstein Port","StationType":"Orbis","StarSystem":"Rukarwadja","SystemAddress":672296084921,"MarketID":3224498944,"StationFaction":{"Name":"Rukarwadja Holdings"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Agri;","StationEconomy_Localised":"Agriculture","StationEconomies":[{"Name":"$economy_Agri;","Name_Localised":"Agriculture","Proportion":1.0}],"DistFromStarLS":81.793432}
|
||||
{"timestamp":"2022-02-17T22:56:20Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_Sightseeing","LocalisedName":"Madilyn Collins Seeks Sightseeing Adventure","Commodity":"$DomesticAppliances_Name;","Commodity_Localised":"Domestic Appliances","Count":3,"DestinationSystem":"HIP 11263$MISSIONUTIL_MULTIPLE_FINAL_SEPARATOR;Tchernobog","Expiry":"2022-02-18T16:00:11Z","Wing":false,"Influence":"+","Reputation":"+","Reward":2634160,"PassengerCount":5,"PassengerVIPs":true,"PassengerWanted":true,"PassengerType":"Tourist","MissionID":847917343}
|
||||
{"timestamp":"2022-02-17T22:56:27Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_Sightseeing","LocalisedName":"Jess Fleming Seeks Sightseeing Adventure","Commodity":"$Clothing_Name;","Commodity_Localised":"Clothing","Count":1,"DestinationSystem":"HIP 11263$MISSIONUTIL_MULTIPLE_FINAL_SEPARATOR;NLTT 21088","Expiry":"2022-02-18T10:25:57Z","Wing":false,"Influence":"+","Reputation":"+","Reward":4375900,"PassengerCount":7,"PassengerVIPs":true,"PassengerWanted":true,"PassengerType":"Tourist","MissionID":847917375}
|
||||
{"timestamp":"2022-02-17T22:56:47Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_Sightseeing","LocalisedName":"Isaac Middleton Seeks Sightseeing Adventure","Commodity":"$Clothing_Name;","Commodity_Localised":"Clothing","Count":3,"DestinationSystem":"Carthage$MISSIONUTIL_MULTIPLE_FINAL_SEPARATOR;HIP 42455","Expiry":"2022-02-18T16:07:05Z","Wing":false,"Influence":"++","Reputation":"++","Reward":3854800,"PassengerCount":4,"PassengerVIPs":true,"PassengerWanted":false,"PassengerType":"Tourist","MissionID":847917444}
|
||||
{"timestamp":"2022-02-17T22:56:53Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_Sightseeing","LocalisedName":"Gil Petersen-Reilly Seeks Sightseeing Adventure","Commodity":"$ConsumerTechnology_Name;","Commodity_Localised":"Consumer Technology","Count":2,"DestinationSystem":"HIP 112002","Expiry":"2022-02-18T10:19:44Z","Wing":false,"Influence":"+","Reputation":"+","Reward":2166000,"PassengerCount":6,"PassengerVIPs":true,"PassengerWanted":false,"PassengerType":"Tourist","MissionID":847917465}
|
||||
{"timestamp":"2022-02-17T22:57:03Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_Sightseeing","LocalisedName":"Aislin Finch Seeks Sightseeing Adventure","Commodity":"$DomesticAppliances_Name;","Commodity_Localised":"Domestic Appliances","Count":2,"DestinationSystem":"Ch'eng$MISSIONUTIL_MULTIPLE_FINAL_SEPARATOR;Mu Koji","Expiry":"2022-02-18T14:42:04Z","Wing":false,"Influence":"+","Reputation":"+","Reward":1862400,"PassengerCount":2,"PassengerVIPs":true,"PassengerWanted":true,"PassengerType":"Tourist","MissionID":847917494}
|
||||
{"timestamp":"2022-02-17T22:57:11Z","event":"MissionAccepted","Faction":"Traditional Yao Tzu Liberty Party","Name":"Mission_Sightseeing","LocalisedName":"Anushka Clay Seeks Sightseeing Adventure","Commodity":"$ConsumerTechnology_Name;","Commodity_Localised":"Consumer Technology","Count":2,"DestinationSystem":"Guttors$MISSIONUTIL_MULTIPLE_INNER_SEPARATOR;Caleta$MISSIONUTIL_MULTIPLE_FINAL_SEPARATOR;Ither","Expiry":"2022-02-18T09:18:21Z","Wing":false,"Influence":"+","Reputation":"+","Reward":6830000,"PassengerCount":8,"PassengerVIPs":true,"PassengerWanted":false,"PassengerType":"Tourist","MissionID":847917524}
|
||||
{"timestamp":"2022-02-17T23:00:46Z","event":"Docked","StationName":"Wallerstein Port","StationType":"Orbis","StarSystem":"Rukarwadja","SystemAddress":672296084921,"MarketID":3224498944,"StationFaction":{"Name":"Rukarwadja Holdings"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Agri;","StationEconomy_Localised":"Agriculture","StationEconomies":[{"Name":"$economy_Agri;","Name_Localised":"Agriculture","Proportion":1.0}],"DistFromStarLS":81.795326}
|
||||
{"timestamp":"2022-02-17T23:01:02Z","event":"MissionFailed","Name":"Mission_Sightseeing_name","MissionID":847917494}
|
||||
{"timestamp":"2022-02-17T23:01:07Z","event":"MissionFailed","Name":"Mission_Sightseeing_name","MissionID":847917465}
|
||||
{"timestamp":"2022-02-17T23:01:11Z","event":"MissionFailed","Name":"Mission_Sightseeing_name","MissionID":847917375}
|
||||
{"timestamp":"2022-02-17T23:01:15Z","event":"MissionFailed","Name":"Mission_Sightseeing_name","MissionID":847917343}
|
||||
{"timestamp":"2022-02-17T23:01:19Z","event":"MissionFailed","Name":"Mission_Sightseeing_name","MissionID":847917444}
|
||||
{"timestamp":"2022-02-17T23:01:23Z","event":"MissionFailed","Name":"Mission_Sightseeing_name","MissionID":847917524}
|
||||
{"timestamp":"2022-02-17T23:02:33Z","event":"Docked","StationName":"Wallerstein Port","StationType":"Orbis","StarSystem":"Rukarwadja","SystemAddress":672296084921,"MarketID":3224498944,"StationFaction":{"Name":"Rukarwadja Holdings"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Agri;","StationEconomy_Localised":"Agriculture","StationEconomies":[{"Name":"$economy_Agri;","Name_Localised":"Agriculture","Proportion":1.0}],"DistFromStarLS":81.795937}
|
||||
{"timestamp":"2022-02-17T23:10:05Z","event":"Location","Docked":true,"StationName":"Wallerstein Port","StationType":"Orbis","MarketID":3224498944,"StationFaction":{"Name":"Rukarwadja Holdings"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Agri;","StationEconomy_Localised":"Agriculture","StationEconomies":[{"Name":"$economy_Agri;","Name_Localised":"Agriculture","Proportion":1.0}],"StarSystem":"Rukarwadja","SystemAddress":672296084921,"StarPos":[100.90625,-184.125,39.625],"SystemAllegiance":"Empire","SystemEconomy":"$economy_Agri;","SystemEconomy_Localised":"Agriculture","SystemSecondEconomy":"$economy_Tourism;","SystemSecondEconomy_Localised":"Tourism","SystemGovernment":"$government_Corporate;","SystemGovernment_Localised":"Corporate","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":9529639756,"Body":"Wallerstein Port","BodyID":31,"BodyType":"Station","Factions":[{"Name":"Rukarwadja Emperor's Grace","FactionState":"CivilWar","Government":"Patronage","Influence":0.14881,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"Rukarwadja Holdings","FactionState":"None","Government":"Corporate","Influence":0.450397,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":2.5466},{"Name":"Raiders of Rukarwadja","FactionState":"None","Government":"Anarchy","Influence":0.026786,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Traditional Yao Tzu Liberty Party","FactionState":"None","Government":"Dictatorship","Influence":0.042659,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":-27.75},{"Name":"Rukarwadja General Partners","FactionState":"CivilWar","Government":"Corporate","Influence":0.14881,"Allegiance":"Empire","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"New Rukarwadja Free","FactionState":"None","Government":"Democracy","Influence":0.059524,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Di Yomi Praetorian Confederacy","FactionState":"None","Government":"Confederacy","Influence":0.123016,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0}],"SystemFaction":{"Name":"Rukarwadja Holdings"},"Conflicts":[{"WarType":"civilwar","Status":"active","Faction1":{"Name":"Rukarwadja Emperor's Grace","Stake":"Regent's Villas","WonDays":0},"Faction2":{"Name":"Rukarwadja General Partners","Stake":"Purandare's Works","WonDays":0}}]}
|
||||
{"timestamp":"2022-02-17T23:10:05Z","event":"Docked","StationName":"Wallerstein Port","StationType":"Orbis","StarSystem":"Rukarwadja","SystemAddress":672296084921,"MarketID":3224498944,"StationFaction":{"Name":"Rukarwadja Holdings"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Empire","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Agri;","StationEconomy_Localised":"Agriculture","StationEconomies":[{"Name":"$economy_Agri;","Name_Localised":"Agriculture","Proportion":1.0}],"DistFromStarLS":81.798201}
|
||||
{"timestamp":"2022-02-17T23:10:14Z","event":"MissionFailed","Name":"MISSION_Scan_name","MissionID":847917140}
|
||||
{"timestamp":"2022-02-17T23:10:17Z","event":"MissionFailed","Name":"MISSION_Scan_name","MissionID":847917127}
|
||||
{"timestamp":"2022-02-17T23:10:21Z","event":"MissionFailed","Name":"MISSION_Scan_name","MissionID":847917114}
|
||||
{"timestamp":"2022-02-17T23:10:24Z","event":"MissionFailed","Name":"MISSION_Scan_name","MissionID":847917145}
|
21
EDPlayerJournalTests/mission-noinfforsourceortarget.txt
Normal file
21
EDPlayerJournalTests/mission-noinfforsourceortarget.txt
Normal file
@ -0,0 +1,21 @@
|
||||
{"timestamp":"2022-02-25T21:01:17Z","event":"FSDJump","StarSystem":"Dewikum","SystemAddress":9467315955081,"StarPos":[19.375,-0.28125,-68.9375],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Refinery;","SystemEconomy_Localised":"Refinery","SystemSecondEconomy":"$economy_Extraction;","SystemSecondEconomy_Localised":"Extraction","SystemGovernment":"$government_Democracy;","SystemGovernment_Localised":"Democracy","SystemSecurity":"$SYSTEM_SECURITY_low;","SystemSecurity_Localised":"Low Security","Population":83688,"Body":"Dewikum A","BodyID":1,"BodyType":"Star","Powers":["Zachary Hudson"],"PowerplayState":"Exploited","JumpDist":9.563,"FuelUsed":0.101743,"FuelLevel":27.23897,"Factions":[{"Name":"LHS 1857 Jet Galactic Systems","FactionState":"None","Government":"Corporate","Influence":0.077077,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"RecoveringStates":[{"State":"Election","Trend":0}]},{"Name":"Social LHS 6103 Confederation","FactionState":"Election","Government":"Confederacy","Influence":0.29029,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand1;","Happiness_Localised":"Elated","MyReputation":47.812199,"ActiveStates":[{"State":"Boom"},{"State":"Election"}]},{"Name":"Susanoo Jet Fortune Corporation","FactionState":"None","Government":"Corporate","Influence":0.117117,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"RecoveringStates":[{"State":"Election","Trend":0}]},{"Name":"Dewikum League","FactionState":"None","Government":"Confederacy","Influence":0.128128,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Dewikum Blue Ring","FactionState":"None","Government":"Anarchy","Influence":0.01001,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Silver Dynamic Limited","FactionState":"None","Government":"Corporate","Influence":0.087087,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Flotta Stellare","FactionState":"Election","Government":"Democracy","Influence":0.29029,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"PendingStates":[{"State":"Expansion","Trend":0}],"RecoveringStates":[{"State":"InfrastructureFailure","Trend":0}],"ActiveStates":[{"State":"CivilUnrest"},{"State":"Election"}]}],"SystemFaction":{"Name":"Flotta Stellare","FactionState":"Election"},"Conflicts":[{"WarType":"election","Status":"","Faction1":{"Name":"LHS 1857 Jet Galactic Systems","Stake":"Barnett Dredging Complex","WonDays":1},"Faction2":{"Name":"Susanoo Jet Fortune Corporation","Stake":"Ware Dredging Reserve","WonDays":1}},{"WarType":"election","Status":"active","Faction1":{"Name":"Social LHS 6103 Confederation","Stake":"Mahto Metallurgic Territory","WonDays":2},"Faction2":{"Name":"Flotta Stellare","Stake":"Wyeth Platform","WonDays":0}}]}
|
||||
{"timestamp":"2022-02-25T21:17:15Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare","FactionState":"Election"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222506.593359}
|
||||
{"timestamp":"2022-02-25T21:17:53Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections","LocalisedName":"Courier for Sensitive Poll Data","TargetFaction":"Breksta Democrats","DestinationSystem":"Breksta","DestinationStation":"Brooks City","Expiry":"2022-02-26T21:17:39Z","Wing":false,"Influence":"++","Reputation":"+","Reward":92833,"MissionID":850025164}
|
||||
{"timestamp":"2022-02-25T21:17:56Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections","LocalisedName":"Courier for Sensitive Poll Data","TargetFaction":"Bureau of Chang Yeh Focus","DestinationSystem":"Chang Yeh","DestinationStation":"Nicollet City","Expiry":"2022-02-26T21:17:39Z","Wing":false,"Influence":"++","Reputation":"+","Reward":133255,"MissionID":850025176}
|
||||
{"timestamp":"2022-02-25T21:18:11Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections","LocalisedName":"Courier for Sensitive Poll Data","TargetFaction":"LHS 1794 Noblement","DestinationSystem":"LHS 1794","DestinationStation":"Ricardo Landing","Expiry":"2022-02-26T21:17:39Z","Wing":false,"Influence":"++","Reputation":"+","Reward":77419,"MissionID":850025208}
|
||||
{"timestamp":"2022-02-25T21:18:16Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections","LocalisedName":"Courier for Sensitive Poll Data","TargetFaction":"Natural Breksta Autocracy","DestinationSystem":"Breksta","DestinationStation":"Wells Hub","Expiry":"2022-02-26T21:17:39Z","Wing":false,"Influence":"++","Reputation":"+","Reward":64994,"MissionID":850025225}
|
||||
{"timestamp":"2022-02-25T21:18:18Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections","LocalisedName":"Courier for Sensitive Poll Data","TargetFaction":"Delphin Blue Federal PLC","DestinationSystem":"Delphin","DestinationStation":"Aristotle Orbital","Expiry":"2022-02-26T21:17:39Z","Wing":false,"Influence":"+","Reputation":"+","Reward":77300,"MissionID":850025233}
|
||||
{"timestamp":"2022-02-25T21:19:47Z","event":"FSDJump","StarSystem":"Delphin","SystemAddress":732048656739,"StarPos":[18.65625,16.75,-76.3125],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Agri;","SystemEconomy_Localised":"Agriculture","SystemSecondEconomy":"$economy_Refinery;","SystemSecondEconomy_Localised":"Refinery","SystemGovernment":"$government_Dictatorship;","SystemGovernment_Localised":"Dictatorship","SystemSecurity":"$SYSTEM_SECURITY_high;","SystemSecurity_Localised":"High Security","Population":1024750044,"Body":"Delphin","BodyID":0,"BodyType":"Star","JumpDist":18.573,"FuelUsed":0.532036,"FuelLevel":31.467964,"Factions":[{"Name":"Values Party of Delphin","FactionState":"CivilWar","Government":"Democracy","Influence":0.077472,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"Geawenki Travel Commodities","FactionState":"None","Government":"Corporate","Influence":0.095821,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Delphin Crimson Public Comms","FactionState":"None","Government":"Corporate","Influence":0.06524,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Bureau of Delphin First","FactionState":"None","Government":"Dictatorship","Influence":0.067278,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Delphin Blue Federal PLC","FactionState":"CivilWar","Government":"Corporate","Influence":0.077472,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"Drug Empire of Delphin","FactionState":"None","Government":"Anarchy","Influence":0.010194,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Civitas Dei","FactionState":"Expansion","Government":"Dictatorship","Influence":0.606524,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"RecoveringStates":[{"State":"InfrastructureFailure","Trend":0}],"ActiveStates":[{"State":"Boom"},{"State":"Expansion"}]}],"SystemFaction":{"Name":"Civitas Dei","FactionState":"Expansion"},"Conflicts":[{"WarType":"civilwar","Status":"active","Faction1":{"Name":"Values Party of Delphin","Stake":"Amato Visitor Site","WonDays":1},"Faction2":{"Name":"Delphin Blue Federal PLC","Stake":"","WonDays":0}}]}
|
||||
{"timestamp":"2022-02-25T21:28:40Z","event":"Docked","StationName":"Aristotle Orbital","StationType":"Outpost","StarSystem":"Delphin","SystemAddress":732048656739,"MarketID":3228188672,"StationFaction":{"Name":"Civitas Dei","FactionState":"Expansion"},"StationGovernment":"$government_Dictatorship;","StationGovernment_Localised":"Dictatorship","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":23659.312748}
|
||||
{"timestamp":"2022-02-25T21:30:45Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections_name","MissionID":850025233,"TargetFaction":"Delphin Blue Federal PLC","DestinationSystem":"Delphin","DestinationStation":"Aristotle Orbital","Reward":122300,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[],"ReputationTrend":"UpGood","Reputation":"+"},{"Faction":"Delphin Blue Federal PLC","Effects":[],"Influence":[],"ReputationTrend":"UpGood","Reputation":"+"}]}
|
||||
{"timestamp":"2022-02-25T21:32:00Z","event":"FSDJump","StarSystem":"LHS 1794","SystemAddress":670954497425,"StarPos":[5.3125,-1.03125,-62.25],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Industrial;","SystemEconomy_Localised":"Industrial","SystemSecondEconomy":"$economy_Colony;","SystemSecondEconomy_Localised":"Colony","SystemGovernment":"$government_Democracy;","SystemGovernment_Localised":"Democracy","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":70688,"Body":"LHS 1794","BodyID":0,"BodyType":"Star","Powers":["Zachary Hudson"],"PowerplayState":"Exploited","JumpDist":26.306,"FuelUsed":1.248171,"FuelLevel":30.751829,"Factions":[{"Name":"Union of LHS 1794 Confederation","FactionState":"None","Government":"Confederacy","Influence":0.156902,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"LHS 1794 Partners","FactionState":"None","Government":"Corporate","Influence":0.082423,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"LHS 1794 Noblement","FactionState":"None","Government":"Feudal","Influence":0.038729,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Tao Ti Group","FactionState":"None","Government":"Corporate","Influence":0.050645,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"LHS 1794 Jet Pirates","FactionState":"None","Government":"Anarchy","Influence":0.00993,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"EXO","FactionState":"None","Government":"Democracy","Influence":0.132075,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":2.64,"PendingStates":[{"State":"Expansion","Trend":0}]},{"Name":"Flotta Stellare","FactionState":"Election","Government":"Democracy","Influence":0.529295,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"PendingStates":[{"State":"Expansion","Trend":0}]}],"SystemFaction":{"Name":"Flotta Stellare","FactionState":"Election"}}
|
||||
{"timestamp":"2022-02-25T21:40:45Z","event":"Docked","StationName":"Ricardo Landing","StationType":"Outpost","StarSystem":"LHS 1794","SystemAddress":670954497425,"MarketID":3228058112,"StationFaction":{"Name":"Flotta Stellare","FactionState":"Election"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Extraction;","StationEconomy_Localised":"Extraction","StationEconomies":[{"Name":"$economy_Extraction;","Name_Localised":"Extraction","Proportion":0.83},{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":0.17}],"DistFromStarLS":2875.5048}
|
||||
{"timestamp":"2022-02-25T21:41:55Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections_name","MissionID":850025208,"TargetFaction":"LHS 1794 Noblement","DestinationSystem":"LHS 1794","DestinationStation":"Ricardo Landing","Reward":77419,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[],"ReputationTrend":"UpGood","Reputation":"+"},{"Faction":"LHS 1794 Noblement","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":670954497425,"Trend":"UpGood","Influence":"++"}],"ReputationTrend":"UpGood","Reputation":"+"}]}
|
||||
{"timestamp":"2022-02-25T21:43:12Z","event":"FSDJump","StarSystem":"Chang Yeh","SystemAddress":8055378940618,"StarPos":[25.6875,-4.8125,-50.53125],"SystemAllegiance":"Federation","SystemEconomy":"$economy_Industrial;","SystemEconomy_Localised":"Industrial","SystemSecondEconomy":"$economy_Military;","SystemSecondEconomy_Localised":"Military","SystemGovernment":"$government_Corporate;","SystemGovernment_Localised":"Corporate","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":3403274,"Body":"Chang Yeh A","BodyID":1,"BodyType":"Star","JumpDist":23.807,"FuelUsed":0.977414,"FuelLevel":31.022585,"Factions":[{"Name":"Chang Yeh Sanctuary","FactionState":"None","Government":"Theocracy","Influence":0.043912,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Cupiat Allied Commodities","FactionState":"None","Government":"Corporate","Influence":0.097804,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Bureau of Chang Yeh Focus","FactionState":"None","Government":"Dictatorship","Influence":0.037924,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Chang Yeh Purple Galactic Ind","FactionState":"None","Government":"Corporate","Influence":0.107784,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Chang Yeh Brothers","FactionState":"None","Government":"Anarchy","Influence":0.012974,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Party of Chang Yeh","FactionState":"None","Government":"Dictatorship","Influence":0.030938,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Earth Defense Fleet","FactionState":"Boom","Government":"Corporate","Influence":0.668663,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0,"RecoveringStates":[{"State":"Outbreak","Trend":0}],"ActiveStates":[{"State":"Boom"}]}],"SystemFaction":{"Name":"Earth Defense Fleet","FactionState":"Boom"}}
|
||||
{"timestamp":"2022-02-25T21:47:44Z","event":"Docked","StationName":"Nicollet City","StationType":"Coriolis","StarSystem":"Chang Yeh","SystemAddress":8055378940618,"MarketID":3228338688,"StationFaction":{"Name":"Earth Defense Fleet","FactionState":"Boom"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Federation","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Industrial;","StationEconomy_Localised":"Industrial","StationEconomies":[{"Name":"$economy_Industrial;","Name_Localised":"Industrial","Proportion":1.0}],"DistFromStarLS":1654.824396}
|
||||
{"timestamp":"2022-02-25T21:51:22Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections_name","MissionID":850025176,"TargetFaction":"Bureau of Chang Yeh Focus","DestinationSystem":"Chang Yeh","DestinationStation":"Nicollet City","Reward":13296,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[],"ReputationTrend":"UpGood","Reputation":"+"},{"Faction":"Bureau of Chang Yeh Focus","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":8055378940618,"Trend":"UpGood","Influence":"+++"}],"ReputationTrend":"UpGood","Reputation":"+"}]}
|
||||
{"timestamp":"2022-02-25T21:52:58Z","event":"FSDJump","StarSystem":"Breksta","SystemAddress":147933104483,"StarPos":[29.4375,-6.71875,-70.46875],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Agri;","SystemEconomy_Localised":"Agriculture","SystemSecondEconomy":"$economy_Industrial;","SystemSecondEconomy_Localised":"Industrial","SystemGovernment":"$government_Dictatorship;","SystemGovernment_Localised":"Dictatorship","SystemSecurity":"$SYSTEM_SECURITY_high;","SystemSecurity_Localised":"High Security","Population":7383634297,"Body":"Breksta A","BodyID":1,"BodyType":"Star","JumpDist":20.376,"FuelUsed":0.66761,"FuelLevel":31.33239,"Factions":[{"Name":"Breksta Democrats","FactionState":"None","Government":"Democracy","Influence":0.025845,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Kungurutii Gold Power Org","FactionState":"None","Government":"Corporate","Influence":0.059642,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":3.3},{"Name":"Breksta Purple Electronics Ind","FactionState":"None","Government":"Corporate","Influence":0.233598,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"New Breksta Front","FactionState":"None","Government":"Dictatorship","Influence":0.027833,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":1.65},{"Name":"Breksta Gold Transport Inc","FactionState":"None","Government":"Corporate","Influence":0.038767,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Natural Breksta Autocracy","FactionState":"None","Government":"Dictatorship","Influence":0.119284,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Civitas Dei","FactionState":"Expansion","Government":"Dictatorship","Influence":0.49503,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"Expansion"}]}],"SystemFaction":{"Name":"Civitas Dei","FactionState":"Expansion"}}
|
||||
{"timestamp":"2022-02-25T21:58:44Z","event":"Docked","StationName":"Wells Hub","StationType":"Outpost","StarSystem":"Breksta","SystemAddress":147933104483,"MarketID":3228191744,"StationFaction":{"Name":"Breksta Purple Electronics Ind"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Federation","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Industrial;","StationEconomy_Localised":"Industrial","StationEconomies":[{"Name":"$economy_Industrial;","Name_Localised":"Industrial","Proportion":1.0}],"DistFromStarLS":3464.286658}
|
||||
{"timestamp":"2022-02-25T22:01:39Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections_name","MissionID":850025225,"TargetFaction":"Natural Breksta Autocracy","DestinationSystem":"Breksta","DestinationStation":"Wells Hub","Reward":139994,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[],"ReputationTrend":"UpGood","Reputation":"+"},{"Faction":"Natural Breksta Autocracy","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":147933104483,"Trend":"UpGood","Influence":"+"}],"ReputationTrend":"UpGood","Reputation":"+"}]}
|
||||
{"timestamp":"2022-02-25T22:07:13Z","event":"Docked","StationName":"Brooks City","StationType":"Outpost","StarSystem":"Breksta","SystemAddress":147933104483,"MarketID":3228192000,"StationFaction":{"Name":"Breksta Purple Electronics Ind"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Federation","StationServices":["dock","autodock","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Industrial;","StationEconomy_Localised":"Industrial","StationEconomies":[{"Name":"$economy_Industrial;","Name_Localised":"Industrial","Proportion":1.0}],"DistFromStarLS":3610.413424}
|
||||
{"timestamp":"2022-02-25T22:07:26Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections_name","MissionID":850025164,"TargetFaction":"Breksta Democrats","DestinationSystem":"Breksta","DestinationStation":"Brooks City","Reward":130397,"FactionEffects":[{"Faction":"Breksta Democrats","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":147933104483,"Trend":"UpGood","Influence":"+"}],"ReputationTrend":"UpGood","Reputation":"+"},{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[],"ReputationTrend":"UpGood","Reputation":"+"}]}
|
14
EDPlayerJournalTests/murder.txt
Normal file
14
EDPlayerJournalTests/murder.txt
Normal file
@ -0,0 +1,14 @@
|
||||
{ "timestamp":"2022-02-11T12:31:28Z", "event":"FSDJump", "Taxi":false, "Multicrew":false, "StarSystem":"CD-60 278", "SystemAddress":672027715001, "StarPos":[89.87500,-153.87500,40.87500], "SystemAllegiance":"Empire", "SystemEconomy":"$economy_Military;", "SystemEconomy_Localised":"Military", "SystemSecondEconomy":"$economy_HighTech;", "SystemSecondEconomy_Localised":"High Tech", "SystemGovernment":"$government_Patronage;", "SystemGovernment_Localised":"Patronage", "SystemSecurity":"$SYSTEM_SECURITY_medium;", "SystemSecurity_Localised":"Medium Security", "Population":201705, "Body":"CD-60 278", "BodyID":0, "BodyType":"Star", "JumpDist":6.190, "FuelUsed":0.529440, "FuelLevel":17.500498, "Factions":[ { "Name":"CD-60 278 Emperor's Grace", "FactionState":"CivilWar", "Government":"Patronage", "Influence":0.141294, "Allegiance":"Empire", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":0.000000, "ActiveStates":[ { "State":"CivilWar" } ] }, { "Name":"Svari Emperor's Grace", "FactionState":"None", "Government":"Patronage", "Influence":0.559204, "Allegiance":"Empire", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":0.000000 }, { "Name":"Wardhara Imperial Society", "FactionState":"Retreat", "Government":"Patronage", "Influence":0.009950, "Allegiance":"Empire", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":-42.000000, "ActiveStates":[ { "State":"Retreat" } ] }, { "Name":"CD-60 278 Crimson Organisation", "FactionState":"None", "Government":"Anarchy", "Influence":0.074627, "Allegiance":"Independent", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":0.000000 }, { "Name":"CD-60 278 Crimson Life Company", "FactionState":"None", "Government":"Corporate", "Influence":0.051741, "Allegiance":"Empire", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":0.000000 }, { "Name":"Workers of CD-60 278 Values Party", "FactionState":"CivilWar", "Government":"Democracy", "Influence":0.141294, "Allegiance":"Independent", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":0.000000, "ActiveStates":[ { "State":"CivilWar" } ] }, { "Name":"CD-60 278 Crimson Gang", "FactionState":"None", "Government":"Anarchy", "Influence":0.021891, "Allegiance":"Independent", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":0.000000 } ], "SystemFaction":{ "Name":"Svari Emperor's Grace" }, "Conflicts":[ { "WarType":"civilwar", "Status":"active", "Faction1":{ "Name":"CD-60 278 Emperor's Grace", "Stake":"Weinbaum Silo", "WonDays":0 }, "Faction2":{ "Name":"Workers of CD-60 278 Values Party", "Stake":"", "WonDays":0 } } ] }
|
||||
{ "timestamp":"2022-02-11T12:36:19Z", "event":"ShipTargeted", "TargetLocked":true, "Ship":"anaconda", "ScanStage":0 }
|
||||
{ "timestamp":"2022-02-11T12:36:20Z", "event":"ShipTargeted", "TargetLocked":true, "Ship":"anaconda", "ScanStage":1, "PilotName":"$npc_name_decorate:#name=Shortland;", "PilotName_Localised":"Shortland", "PilotRank":"Dangerous" }
|
||||
{ "timestamp":"2022-02-11T12:36:22Z", "event":"ShipTargeted", "TargetLocked":true, "Ship":"anaconda", "ScanStage":2, "PilotName":"$npc_name_decorate:#name=Shortland;", "PilotName_Localised":"Shortland", "PilotRank":"Dangerous", "ShieldHealth":100.000000, "HullHealth":100.000000 }
|
||||
{ "timestamp":"2022-02-11T12:36:24Z", "event":"ShipTargeted", "TargetLocked":true, "Ship":"anaconda", "ScanStage":3, "PilotName":"$npc_name_decorate:#name=Shortland;", "PilotName_Localised":"Shortland", "PilotRank":"Dangerous", "ShieldHealth":100.000000, "HullHealth":100.000000, "Faction":"Dei Muata Society", "LegalStatus":"Clean" }
|
||||
{ "timestamp":"2022-02-11T12:36:26Z", "event":"ShipTargeted", "TargetLocked":true, "Ship":"vulture", "ScanStage":3, "PilotName":"$ShipName_Military_Empire;", "PilotName_Localised":"Imperial Navy Vessel", "PilotRank":"Competent", "ShieldHealth":100.000000, "HullHealth":100.000000, "Faction":"Dei Muata Society", "LegalStatus":"Clean" }
|
||||
{ "timestamp":"2022-02-11T12:36:26Z", "event":"ShipTargeted", "TargetLocked":true, "Ship":"anaconda", "ScanStage":3, "PilotName":"$npc_name_decorate:#name=Shortland;", "PilotName_Localised":"Shortland", "PilotRank":"Dangerous", "ShieldHealth":100.000000, "HullHealth":100.000000, "Faction":"Dei Muata Society", "LegalStatus":"Clean" }
|
||||
{ "timestamp":"2022-02-11T12:36:27Z", "event":"ShipTargeted", "TargetLocked":true, "Ship":"vulture", "ScanStage":3, "PilotName":"$ShipName_Military_Empire;", "PilotName_Localised":"Imperial Navy Vessel", "PilotRank":"Competent", "ShieldHealth":100.000000, "HullHealth":100.000000, "Faction":"Dei Muata Society", "LegalStatus":"Clean" }
|
||||
{ "timestamp":"2022-02-11T12:36:28Z", "event":"ShipTargeted", "TargetLocked":true, "Ship":"anaconda", "ScanStage":3, "PilotName":"$npc_name_decorate:#name=Shortland;", "PilotName_Localised":"Shortland", "PilotRank":"Dangerous", "ShieldHealth":100.000000, "HullHealth":100.000000, "Faction":"Dei Muata Society", "LegalStatus":"Clean" }
|
||||
{ "timestamp":"2022-02-11T12:36:29Z", "event":"ShipTargeted", "TargetLocked":true, "Ship":"vulture", "ScanStage":3, "PilotName":"$ShipName_Military_Empire;", "PilotName_Localised":"Imperial Navy Vessel", "PilotRank":"Competent", "ShieldHealth":100.000000, "HullHealth":100.000000, "Faction":"Dei Muata Society", "LegalStatus":"Clean" }
|
||||
{ "timestamp":"2022-02-11T12:36:31Z", "event":"ShipTargeted", "TargetLocked":true, "Ship":"anaconda", "ScanStage":3, "PilotName":"$npc_name_decorate:#name=Shortland;", "PilotName_Localised":"Shortland", "PilotRank":"Dangerous", "ShieldHealth":100.000000, "HullHealth":100.000000, "Faction":"Dei Muata Society", "LegalStatus":"Clean" }
|
||||
{ "timestamp":"2022-02-11T12:36:36Z", "event":"ReceiveText", "From":"$npc_name_decorate:#name=Shortland;", "From_Localised":"Shortland", "Message":"$BountyHunter_Attack02;", "Message_Localised":"You appear to be a fish worth catching.", "Channel":"npc" }
|
||||
{ "timestamp":"2022-02-11T12:36:37Z", "event":"CommitCrime", "CrimeType":"assault", "Faction":"Wardhara Imperial Society", "Victim":"Shortland", "Bounty":200 }
|
||||
{ "timestamp":"2022-02-11T12:38:26Z", "event":"CommitCrime", "CrimeType":"murder", "Faction":"Wardhara Imperial Society", "Victim":"Shortland", "Bounty":4238500 }
|
4
EDPlayerJournalTests/nofactionname-andnoinfluence.txt
Normal file
4
EDPlayerJournalTests/nofactionname-andnoinfluence.txt
Normal file
@ -0,0 +1,4 @@
|
||||
{ "timestamp":"2022-02-24T17:32:03Z", "event":"FSDJump", "StarSystem":"Dewikum", "SystemAddress":9467315955081, "StarPos":[19.37500,-0.28125,-68.93750], "SystemAllegiance":"Independent", "SystemEconomy":"$economy_Refinery;", "SystemEconomy_Localised":"Refinery", "SystemSecondEconomy":"$economy_Extraction;", "SystemSecondEconomy_Localised":"Extraction", "SystemGovernment":"$government_Democracy;", "SystemGovernment_Localised":"Democracy", "SystemSecurity":"$SYSTEM_SECURITY_low;", "SystemSecurity_Localised":"Low Security", "Population":83688, "Body":"Dewikum A", "BodyID":1, "BodyType":"Star", "Powers":[ "Zachary Hudson" ], "PowerplayState":"Exploited", "JumpDist":9.563, "FuelUsed":0.107795, "FuelLevel":26.950878, "Factions":[ { "Name":"LHS 1857 Jet Galactic Systems", "FactionState":"Election", "Government":"Corporate", "Influence":0.098098, "Allegiance":"Federation", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":0.000000, "ActiveStates":[ { "State":"Election" } ] }, { "Name":"Social LHS 6103 Confederation", "FactionState":"Election", "Government":"Confederacy", "Influence":0.290290, "Allegiance":"Independent", "Happiness":"$Faction_HappinessBand1;", "Happiness_Localised":"Elated", "MyReputation":41.395901, "ActiveStates":[ { "State":"Boom" }, { "State":"Election" } ] }, { "Name":"Susanoo Jet Fortune Corporation", "FactionState":"Election", "Government":"Corporate", "Influence":0.098098, "Allegiance":"Federation", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":0.000000, "ActiveStates":[ { "State":"Election" } ] }, { "Name":"Dewikum League", "FactionState":"None", "Government":"Confederacy", "Influence":0.125125, "Allegiance":"Federation", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":0.000000 }, { "Name":"Dewikum Blue Ring", "FactionState":"None", "Government":"Anarchy", "Influence":0.010010, "Allegiance":"Independent", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":0.000000 }, { "Name":"Silver Dynamic Limited", "FactionState":"None", "Government":"Corporate", "Influence":0.088088, "Allegiance":"Federation", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":0.000000 }, { "Name":"Flotta Stellare", "FactionState":"Election", "Government":"Democracy", "Influence":0.290290, "Allegiance":"Independent", "Happiness":"$Faction_HappinessBand2;", "Happiness_Localised":"Happy", "MyReputation":0.000000, "PendingStates":[ { "State":"Expansion", "Trend":0 } ], "RecoveringStates":[ { "State":"InfrastructureFailure", "Trend":0 } ], "ActiveStates":[ { "State":"CivilUnrest" }, { "State":"Election" } ] } ], "SystemFaction":{ "Name":"Flotta Stellare", "FactionState":"Election" }, "Conflicts":[ { "WarType":"election", "Status":"active", "Faction1":{ "Name":"LHS 1857 Jet Galactic Systems", "Stake":"Barnett Dredging Complex", "WonDays":1 }, "Faction2":{ "Name":"Susanoo Jet Fortune Corporation", "Stake":"Ware Dredging Reserve", "WonDays":0 } }, { "WarType":"election", "Status":"active", "Faction1":{ "Name":"Social LHS 6103 Confederation", "Stake":"Mahto Metallurgic Territory", "WonDays":1 }, "Faction2":{ "Name":"Flotta Stellare", "Stake":"Wyeth Platform", "WonDays":0 } } ] }
|
||||
{ "timestamp":"2022-02-24T17:56:07Z", "event":"MissionAccepted", "Faction":"Social LHS 6103 Confederation", "Name":"Mission_Hack_BLOPS_Elections", "LocalisedName":"Poll Data Retrieval", "DestinationSystem":"LF 8 +16 41", "Target":"$MissionUtil_Settlement_Target_PostBox;", "Target_Localised":"Hub Access Terminal", "Expiry":"2022-02-26T12:08:34Z", "Wing":false, "Influence":"+", "Reputation":"+", "Reward":508025, "MissionID":849749964 }
|
||||
{ "timestamp":"2022-02-24T19:11:13Z", "event":"MissionRedirected", "MissionID":849749964, "Name":"Mission_Hack_BLOPS_Elections", "NewDestinationStation":"Wyeth Platform", "NewDestinationSystem":"Dewikum", "OldDestinationStation":"Stephenson Landing +", "OldDestinationSystem":"LF 8 +16 41" }
|
||||
{ "timestamp":"2022-02-24T19:42:38Z", "event":"MissionCompleted", "Faction":"Social LHS 6103 Confederation", "Name":"Mission_Hack_BLOPS_Elections_name", "MissionID":849749964, "NewDestinationSystem":"Dewikum", "DestinationSystem":"LF 8 +16 41", "Target":"$MissionUtil_Settlement_Target_PostBox;", "Target_Localised":"Hub Access Terminal", "Reward":14266, "FactionEffects":[ { "Faction":"", "Effects":[ { "Effect":"$MISSIONUTIL_Interaction_Summary_EP_down;", "Effect_Localised":"The economic status of $#MinorFaction; has declined in the $#System; system.", "Trend":"DownBad" } ], "Influence":[ { "SystemAddress":251012319587, "Trend":"DownBad", "Influence":"+" } ], "ReputationTrend":"DownBad", "Reputation":"+" }, { "Faction":"Social LHS 6103 Confederation", "Effects":[ ], "Influence":[ ], "ReputationTrend":"UpGood", "Reputation":"+" } ] }
|
Loading…
Reference in New Issue
Block a user