Compare commits
	
		
			No commits in common. "08d54cd13cc8e1dad7ebe6cd170c45ecd9d34630" and "6cbe54ff7380a4857312553ac915bdefb7c92031" have entirely different histories.
		
	
	
		
			08d54cd13c
			...
			6cbe54ff73
		
	
		
							
								
								
									
										63
									
								
								Avalonia.EliteBGS/.gitattributes
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										63
									
								
								Avalonia.EliteBGS/.gitattributes
									
									
									
									
										vendored
									
									
								
							@ -1,63 +0,0 @@
 | 
			
		||||
###############################################################################
 | 
			
		||||
# Set default behavior to automatically normalize line endings.
 | 
			
		||||
###############################################################################
 | 
			
		||||
* text=auto
 | 
			
		||||
 | 
			
		||||
###############################################################################
 | 
			
		||||
# Set default behavior for command prompt diff.
 | 
			
		||||
#
 | 
			
		||||
# This is need for earlier builds of msysgit that does not have it on by
 | 
			
		||||
# default for csharp files.
 | 
			
		||||
# Note: This is only used by command line
 | 
			
		||||
###############################################################################
 | 
			
		||||
#*.cs     diff=csharp
 | 
			
		||||
 | 
			
		||||
###############################################################################
 | 
			
		||||
# Set the merge driver for project and solution files
 | 
			
		||||
#
 | 
			
		||||
# Merging from the command prompt will add diff markers to the files if there
 | 
			
		||||
# are conflicts (Merging from VS is not affected by the settings below, in VS
 | 
			
		||||
# the diff markers are never inserted). Diff markers may cause the following 
 | 
			
		||||
# file extensions to fail to load in VS. An alternative would be to treat
 | 
			
		||||
# these files as binary and thus will always conflict and require user
 | 
			
		||||
# intervention with every merge. To do so, just uncomment the entries below
 | 
			
		||||
###############################################################################
 | 
			
		||||
#*.sln       merge=binary
 | 
			
		||||
#*.csproj    merge=binary
 | 
			
		||||
#*.vbproj    merge=binary
 | 
			
		||||
#*.vcxproj   merge=binary
 | 
			
		||||
#*.vcproj    merge=binary
 | 
			
		||||
#*.dbproj    merge=binary
 | 
			
		||||
#*.fsproj    merge=binary
 | 
			
		||||
#*.lsproj    merge=binary
 | 
			
		||||
#*.wixproj   merge=binary
 | 
			
		||||
#*.modelproj merge=binary
 | 
			
		||||
#*.sqlproj   merge=binary
 | 
			
		||||
#*.wwaproj   merge=binary
 | 
			
		||||
 | 
			
		||||
###############################################################################
 | 
			
		||||
# behavior for image files
 | 
			
		||||
#
 | 
			
		||||
# image files are treated as binary by default.
 | 
			
		||||
###############################################################################
 | 
			
		||||
#*.jpg   binary
 | 
			
		||||
#*.png   binary
 | 
			
		||||
#*.gif   binary
 | 
			
		||||
 | 
			
		||||
###############################################################################
 | 
			
		||||
# diff behavior for common document formats
 | 
			
		||||
# 
 | 
			
		||||
# Convert binary document formats to text before diffing them. This feature
 | 
			
		||||
# is only available from the command line. Turn it on by uncommenting the 
 | 
			
		||||
# entries below.
 | 
			
		||||
###############################################################################
 | 
			
		||||
#*.doc   diff=astextplain
 | 
			
		||||
#*.DOC   diff=astextplain
 | 
			
		||||
#*.docx  diff=astextplain
 | 
			
		||||
#*.DOCX  diff=astextplain
 | 
			
		||||
#*.dot   diff=astextplain
 | 
			
		||||
#*.DOT   diff=astextplain
 | 
			
		||||
#*.pdf   diff=astextplain
 | 
			
		||||
#*.PDF   diff=astextplain
 | 
			
		||||
#*.rtf   diff=astextplain
 | 
			
		||||
#*.RTF   diff=astextplain
 | 
			
		||||
							
								
								
									
										364
									
								
								Avalonia.EliteBGS/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										364
									
								
								Avalonia.EliteBGS/.gitignore
									
									
									
									
										vendored
									
									
								
							@ -1,364 +0,0 @@
 | 
			
		||||
## Ignore Visual Studio temporary files, build results, and
 | 
			
		||||
## files generated by popular Visual Studio add-ons.
 | 
			
		||||
##
 | 
			
		||||
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
 | 
			
		||||
 | 
			
		||||
# User-specific files
 | 
			
		||||
*.rsuser
 | 
			
		||||
*.suo
 | 
			
		||||
*.user
 | 
			
		||||
*.userosscache
 | 
			
		||||
*.sln.docstates
 | 
			
		||||
 | 
			
		||||
# User-specific files (MonoDevelop/Xamarin Studio)
 | 
			
		||||
*.userprefs
 | 
			
		||||
 | 
			
		||||
# Mono auto generated files
 | 
			
		||||
mono_crash.*
 | 
			
		||||
 | 
			
		||||
# Build results
 | 
			
		||||
[Dd]ebug/
 | 
			
		||||
[Dd]ebugPublic/
 | 
			
		||||
[Rr]elease/
 | 
			
		||||
[Rr]eleases/
 | 
			
		||||
x64/
 | 
			
		||||
x86/
 | 
			
		||||
[Ww][Ii][Nn]32/
 | 
			
		||||
[Aa][Rr][Mm]/
 | 
			
		||||
[Aa][Rr][Mm]64/
 | 
			
		||||
bld/
 | 
			
		||||
[Bb]in/
 | 
			
		||||
[Oo]bj/
 | 
			
		||||
[Oo]ut/
 | 
			
		||||
[Ll]og/
 | 
			
		||||
[Ll]ogs/
 | 
			
		||||
 | 
			
		||||
# Visual Studio 2015/2017 cache/options directory
 | 
			
		||||
.vs/
 | 
			
		||||
# Uncomment if you have tasks that create the project's static files in wwwroot
 | 
			
		||||
#wwwroot/
 | 
			
		||||
 | 
			
		||||
# Visual Studio 2017 auto generated files
 | 
			
		||||
Generated\ Files/
 | 
			
		||||
 | 
			
		||||
# MSTest test Results
 | 
			
		||||
[Tt]est[Rr]esult*/
 | 
			
		||||
[Bb]uild[Ll]og.*
 | 
			
		||||
 | 
			
		||||
# NUnit
 | 
			
		||||
*.VisualState.xml
 | 
			
		||||
TestResult.xml
 | 
			
		||||
nunit-*.xml
 | 
			
		||||
 | 
			
		||||
# Build Results of an ATL Project
 | 
			
		||||
[Dd]ebugPS/
 | 
			
		||||
[Rr]eleasePS/
 | 
			
		||||
dlldata.c
 | 
			
		||||
 | 
			
		||||
# Benchmark Results
 | 
			
		||||
BenchmarkDotNet.Artifacts/
 | 
			
		||||
 | 
			
		||||
# .NET Core
 | 
			
		||||
project.lock.json
 | 
			
		||||
project.fragment.lock.json
 | 
			
		||||
artifacts/
 | 
			
		||||
 | 
			
		||||
# ASP.NET Scaffolding
 | 
			
		||||
ScaffoldingReadMe.txt
 | 
			
		||||
 | 
			
		||||
# StyleCop
 | 
			
		||||
StyleCopReport.xml
 | 
			
		||||
 | 
			
		||||
# Files built by Visual Studio
 | 
			
		||||
*_i.c
 | 
			
		||||
*_p.c
 | 
			
		||||
*_h.h
 | 
			
		||||
*.ilk
 | 
			
		||||
*.meta
 | 
			
		||||
*.obj
 | 
			
		||||
*.iobj
 | 
			
		||||
*.pch
 | 
			
		||||
*.pdb
 | 
			
		||||
*.ipdb
 | 
			
		||||
*.pgc
 | 
			
		||||
*.pgd
 | 
			
		||||
*.rsp
 | 
			
		||||
*.sbr
 | 
			
		||||
*.tlb
 | 
			
		||||
*.tli
 | 
			
		||||
*.tlh
 | 
			
		||||
*.tmp
 | 
			
		||||
*.tmp_proj
 | 
			
		||||
*_wpftmp.csproj
 | 
			
		||||
*.log
 | 
			
		||||
*.vspscc
 | 
			
		||||
*.vssscc
 | 
			
		||||
.builds
 | 
			
		||||
*.pidb
 | 
			
		||||
*.svclog
 | 
			
		||||
*.scc
 | 
			
		||||
 | 
			
		||||
# Chutzpah Test files
 | 
			
		||||
_Chutzpah*
 | 
			
		||||
 | 
			
		||||
# Visual C++ cache files
 | 
			
		||||
ipch/
 | 
			
		||||
*.aps
 | 
			
		||||
*.ncb
 | 
			
		||||
*.opendb
 | 
			
		||||
*.opensdf
 | 
			
		||||
*.sdf
 | 
			
		||||
*.cachefile
 | 
			
		||||
*.VC.db
 | 
			
		||||
*.VC.VC.opendb
 | 
			
		||||
 | 
			
		||||
# Visual Studio profiler
 | 
			
		||||
*.psess
 | 
			
		||||
*.vsp
 | 
			
		||||
*.vspx
 | 
			
		||||
*.sap
 | 
			
		||||
 | 
			
		||||
# Visual Studio Trace Files
 | 
			
		||||
*.e2e
 | 
			
		||||
 | 
			
		||||
# TFS 2012 Local Workspace
 | 
			
		||||
$tf/
 | 
			
		||||
 | 
			
		||||
# Guidance Automation Toolkit
 | 
			
		||||
*.gpState
 | 
			
		||||
 | 
			
		||||
# ReSharper is a .NET coding add-in
 | 
			
		||||
_ReSharper*/
 | 
			
		||||
*.[Rr]e[Ss]harper
 | 
			
		||||
*.DotSettings.user
 | 
			
		||||
 | 
			
		||||
# TeamCity is a build add-in
 | 
			
		||||
_TeamCity*
 | 
			
		||||
 | 
			
		||||
# DotCover is a Code Coverage Tool
 | 
			
		||||
*.dotCover
 | 
			
		||||
 | 
			
		||||
# AxoCover is a Code Coverage Tool
 | 
			
		||||
.axoCover/*
 | 
			
		||||
!.axoCover/settings.json
 | 
			
		||||
 | 
			
		||||
# Coverlet is a free, cross platform Code Coverage Tool
 | 
			
		||||
coverage*.json
 | 
			
		||||
coverage*.xml
 | 
			
		||||
coverage*.info
 | 
			
		||||
 | 
			
		||||
# Visual Studio code coverage results
 | 
			
		||||
*.coverage
 | 
			
		||||
*.coveragexml
 | 
			
		||||
 | 
			
		||||
# NCrunch
 | 
			
		||||
_NCrunch_*
 | 
			
		||||
.*crunch*.local.xml
 | 
			
		||||
nCrunchTemp_*
 | 
			
		||||
 | 
			
		||||
# MightyMoose
 | 
			
		||||
*.mm.*
 | 
			
		||||
AutoTest.Net/
 | 
			
		||||
 | 
			
		||||
# Web workbench (sass)
 | 
			
		||||
.sass-cache/
 | 
			
		||||
 | 
			
		||||
# Installshield output folder
 | 
			
		||||
[Ee]xpress/
 | 
			
		||||
 | 
			
		||||
# DocProject is a documentation generator add-in
 | 
			
		||||
DocProject/buildhelp/
 | 
			
		||||
DocProject/Help/*.HxT
 | 
			
		||||
DocProject/Help/*.HxC
 | 
			
		||||
DocProject/Help/*.hhc
 | 
			
		||||
DocProject/Help/*.hhk
 | 
			
		||||
DocProject/Help/*.hhp
 | 
			
		||||
DocProject/Help/Html2
 | 
			
		||||
DocProject/Help/html
 | 
			
		||||
 | 
			
		||||
# Click-Once directory
 | 
			
		||||
publish/
 | 
			
		||||
 | 
			
		||||
# Publish Web Output
 | 
			
		||||
*.[Pp]ublish.xml
 | 
			
		||||
*.azurePubxml
 | 
			
		||||
# Note: Comment the next line if you want to checkin your web deploy settings,
 | 
			
		||||
# but database connection strings (with potential passwords) will be unencrypted
 | 
			
		||||
*.pubxml
 | 
			
		||||
*.publishproj
 | 
			
		||||
 | 
			
		||||
# Microsoft Azure Web App publish settings. Comment the next line if you want to
 | 
			
		||||
# checkin your Azure Web App publish settings, but sensitive information contained
 | 
			
		||||
# in these scripts will be unencrypted
 | 
			
		||||
PublishScripts/
 | 
			
		||||
 | 
			
		||||
# NuGet Packages
 | 
			
		||||
*.nupkg
 | 
			
		||||
# NuGet Symbol Packages
 | 
			
		||||
*.snupkg
 | 
			
		||||
# The packages folder can be ignored because of Package Restore
 | 
			
		||||
**/[Pp]ackages/*
 | 
			
		||||
# except build/, which is used as an MSBuild target.
 | 
			
		||||
!**/[Pp]ackages/build/
 | 
			
		||||
# Uncomment if necessary however generally it will be regenerated when needed
 | 
			
		||||
#!**/[Pp]ackages/repositories.config
 | 
			
		||||
# NuGet v3's project.json files produces more ignorable files
 | 
			
		||||
*.nuget.props
 | 
			
		||||
*.nuget.targets
 | 
			
		||||
 | 
			
		||||
# Microsoft Azure Build Output
 | 
			
		||||
csx/
 | 
			
		||||
*.build.csdef
 | 
			
		||||
 | 
			
		||||
# Microsoft Azure Emulator
 | 
			
		||||
ecf/
 | 
			
		||||
rcf/
 | 
			
		||||
 | 
			
		||||
# Windows Store app package directories and files
 | 
			
		||||
AppPackages/
 | 
			
		||||
BundleArtifacts/
 | 
			
		||||
Package.StoreAssociation.xml
 | 
			
		||||
_pkginfo.txt
 | 
			
		||||
*.appx
 | 
			
		||||
*.appxbundle
 | 
			
		||||
*.appxupload
 | 
			
		||||
 | 
			
		||||
# Visual Studio cache files
 | 
			
		||||
# files ending in .cache can be ignored
 | 
			
		||||
*.[Cc]ache
 | 
			
		||||
# but keep track of directories ending in .cache
 | 
			
		||||
!?*.[Cc]ache/
 | 
			
		||||
 | 
			
		||||
# Others
 | 
			
		||||
ClientBin/
 | 
			
		||||
~$*
 | 
			
		||||
*~
 | 
			
		||||
*.dbmdl
 | 
			
		||||
*.dbproj.schemaview
 | 
			
		||||
*.jfm
 | 
			
		||||
*.pfx
 | 
			
		||||
*.publishsettings
 | 
			
		||||
orleans.codegen.cs
 | 
			
		||||
 | 
			
		||||
# Including strong name files can present a security risk
 | 
			
		||||
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
 | 
			
		||||
#*.snk
 | 
			
		||||
 | 
			
		||||
# Since there are multiple workflows, uncomment next line to ignore bower_components
 | 
			
		||||
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
 | 
			
		||||
#bower_components/
 | 
			
		||||
 | 
			
		||||
# RIA/Silverlight projects
 | 
			
		||||
Generated_Code/
 | 
			
		||||
 | 
			
		||||
# Backup & report files from converting an old project file
 | 
			
		||||
# to a newer Visual Studio version. Backup files are not needed,
 | 
			
		||||
# because we have git ;-)
 | 
			
		||||
_UpgradeReport_Files/
 | 
			
		||||
Backup*/
 | 
			
		||||
UpgradeLog*.XML
 | 
			
		||||
UpgradeLog*.htm
 | 
			
		||||
ServiceFabricBackup/
 | 
			
		||||
*.rptproj.bak
 | 
			
		||||
 | 
			
		||||
# SQL Server files
 | 
			
		||||
*.mdf
 | 
			
		||||
*.ldf
 | 
			
		||||
*.ndf
 | 
			
		||||
 | 
			
		||||
# Business Intelligence projects
 | 
			
		||||
*.rdl.data
 | 
			
		||||
*.bim.layout
 | 
			
		||||
*.bim_*.settings
 | 
			
		||||
*.rptproj.rsuser
 | 
			
		||||
*- [Bb]ackup.rdl
 | 
			
		||||
*- [Bb]ackup ([0-9]).rdl
 | 
			
		||||
*- [Bb]ackup ([0-9][0-9]).rdl
 | 
			
		||||
 | 
			
		||||
# Microsoft Fakes
 | 
			
		||||
FakesAssemblies/
 | 
			
		||||
 | 
			
		||||
# GhostDoc plugin setting file
 | 
			
		||||
*.GhostDoc.xml
 | 
			
		||||
 | 
			
		||||
# Node.js Tools for Visual Studio
 | 
			
		||||
.ntvs_analysis.dat
 | 
			
		||||
node_modules/
 | 
			
		||||
 | 
			
		||||
# Visual Studio 6 build log
 | 
			
		||||
*.plg
 | 
			
		||||
 | 
			
		||||
# Visual Studio 6 workspace options file
 | 
			
		||||
*.opt
 | 
			
		||||
 | 
			
		||||
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
 | 
			
		||||
*.vbw
 | 
			
		||||
 | 
			
		||||
# Visual Studio LightSwitch build output
 | 
			
		||||
**/*.HTMLClient/GeneratedArtifacts
 | 
			
		||||
**/*.DesktopClient/GeneratedArtifacts
 | 
			
		||||
**/*.DesktopClient/ModelManifest.xml
 | 
			
		||||
**/*.Server/GeneratedArtifacts
 | 
			
		||||
**/*.Server/ModelManifest.xml
 | 
			
		||||
_Pvt_Extensions
 | 
			
		||||
 | 
			
		||||
# Paket dependency manager
 | 
			
		||||
.paket/paket.exe
 | 
			
		||||
paket-files/
 | 
			
		||||
 | 
			
		||||
# FAKE - F# Make
 | 
			
		||||
.fake/
 | 
			
		||||
 | 
			
		||||
# CodeRush personal settings
 | 
			
		||||
.cr/personal
 | 
			
		||||
 | 
			
		||||
# Python Tools for Visual Studio (PTVS)
 | 
			
		||||
__pycache__/
 | 
			
		||||
*.pyc
 | 
			
		||||
 | 
			
		||||
# Cake - Uncomment if you are using it
 | 
			
		||||
# tools/**
 | 
			
		||||
# !tools/packages.config
 | 
			
		||||
 | 
			
		||||
# Tabs Studio
 | 
			
		||||
*.tss
 | 
			
		||||
 | 
			
		||||
# Telerik's JustMock configuration file
 | 
			
		||||
*.jmconfig
 | 
			
		||||
 | 
			
		||||
# BizTalk build output
 | 
			
		||||
*.btp.cs
 | 
			
		||||
*.btm.cs
 | 
			
		||||
*.odx.cs
 | 
			
		||||
*.xsd.cs
 | 
			
		||||
 | 
			
		||||
# OpenCover UI analysis results
 | 
			
		||||
OpenCover/
 | 
			
		||||
 | 
			
		||||
# Azure Stream Analytics local run output
 | 
			
		||||
ASALocalRun/
 | 
			
		||||
 | 
			
		||||
# MSBuild Binary and Structured Log
 | 
			
		||||
*.binlog
 | 
			
		||||
 | 
			
		||||
# NVidia Nsight GPU debugger configuration file
 | 
			
		||||
*.nvuser
 | 
			
		||||
 | 
			
		||||
# MFractors (Xamarin productivity tool) working folder
 | 
			
		||||
.mfractor/
 | 
			
		||||
 | 
			
		||||
# Local History for Visual Studio
 | 
			
		||||
.localhistory/
 | 
			
		||||
 | 
			
		||||
# BeatPulse healthcheck temp database
 | 
			
		||||
healthchecksdb
 | 
			
		||||
 | 
			
		||||
# Backup folder for Package Reference Convert tool in Visual Studio 2017
 | 
			
		||||
MigrationBackup/
 | 
			
		||||
 | 
			
		||||
# Ionide (cross platform F# VS Code tools) working folder
 | 
			
		||||
.ionide/
 | 
			
		||||
 | 
			
		||||
# Fody - auto-generated XML schema
 | 
			
		||||
FodyWeavers.xsd
 | 
			
		||||
/site
 | 
			
		||||
@ -1,8 +0,0 @@
 | 
			
		||||
<Application x:Class="EliteBGSApplication"
 | 
			
		||||
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
			
		||||
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
			
		||||
             xmlns:local="clr-namespace:EliteBGS"
 | 
			
		||||
             StartupUri="MainWindow.xaml">
 | 
			
		||||
    <Application.Resources>
 | 
			
		||||
    </Application.Resources>
 | 
			
		||||
</Application>
 | 
			
		||||
@ -1,10 +0,0 @@
 | 
			
		||||
using Avalonia;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS {
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Interaction logic for App.xaml
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    public partial class EliteBGSApplication : Application
 | 
			
		||||
    {
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,6 +0,0 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8" ?>
 | 
			
		||||
<configuration>
 | 
			
		||||
    <startup> 
 | 
			
		||||
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
 | 
			
		||||
    </startup>
 | 
			
		||||
</configuration>
 | 
			
		||||
@ -1,310 +0,0 @@
 | 
			
		||||
# EliteBGS changelog
 | 
			
		||||
 | 
			
		||||
## 0.4.3 on 18.09.2024
 | 
			
		||||
 | 
			
		||||
* Add possibility to post log reports to Discord webhooks.
 | 
			
		||||
  Logs are automatically split to fit discord length, and you can choose the
 | 
			
		||||
  name of the Commander to post it as. There are some restrictions, so for
 | 
			
		||||
  ultra long logs the one line log format might be necessary.
 | 
			
		||||
* Fix cartographics data value by igonring `TotalEarnings`. Total earnings
 | 
			
		||||
  is the same as `BaseValue`, except any percentages taken by crew members
 | 
			
		||||
  is deducted. Actual total value is `BaseValue` plus `Bonus`.
 | 
			
		||||
 | 
			
		||||
## 0.4.2 on 02.05.2024
 | 
			
		||||
 | 
			
		||||
* Add a bot header for all generated logs that shows the tool version, as
 | 
			
		||||
  well as the name of of the log format used. This makes it easier for bots
 | 
			
		||||
  to parse these logs. Since the different formats have become popular, its
 | 
			
		||||
  always good to make it easier for bots to parse the logs.
 | 
			
		||||
 | 
			
		||||
## 0.4.1 on 28.04.2024
 | 
			
		||||
 | 
			
		||||
* Filter out vouchers that are redeemed twice, due to bulk turn-in. If you
 | 
			
		||||
  redeem a singular voucher for value X, and then redeem the rest of your
 | 
			
		||||
  vouchers - say KWS vouchers - in bulk, the first voucher of value X will
 | 
			
		||||
  appear again in the logs. It appears twice in the logs, but only counts
 | 
			
		||||
  once.
 | 
			
		||||
* Add the market name to the trading log entries.
 | 
			
		||||
 | 
			
		||||
## 0.4.0 on 13.04.2024
 | 
			
		||||
 | 
			
		||||
* Change layout of the results into System -> Faction -> Transaction.
 | 
			
		||||
  Many people who contribute *a lot* of things to the BGS have preferred such
 | 
			
		||||
  a layout to find the right things to post to various discord guilds/threads.
 | 
			
		||||
* Sort all systems in the new overview by name. It just makes them easier to
 | 
			
		||||
  find when there are a lot of entries.
 | 
			
		||||
* Add a button to deselect/select all buttons.
 | 
			
		||||
 | 
			
		||||
## 0.3.7 on 29.01.2024
 | 
			
		||||
 | 
			
		||||
* Fix wrong locations of BGS action if you remain on your carrier while its
 | 
			
		||||
  jumping to a new system.
 | 
			
		||||
* Identify a capital ship in a high CZ by its music.
 | 
			
		||||
 | 
			
		||||
## 0.3.6 on 25.10.2023
 | 
			
		||||
 | 
			
		||||
* U17 introduced invalid JSON into the player journal. EliteBGS can now skip over
 | 
			
		||||
  those and keep processing. This way players won't have to delete lines in their
 | 
			
		||||
  journals anymore to keep using the tool.
 | 
			
		||||
* Banshee has been added.
 | 
			
		||||
 | 
			
		||||
## 0.3.5 on 11.09.2023
 | 
			
		||||
 | 
			
		||||
* Small bounty voucher formats are no longer suppressed.
 | 
			
		||||
* Glaive has been renamed to "Hunter" since Scythe has the same bounty
 | 
			
		||||
  and they cannot be distinguished.
 | 
			
		||||
* Mission influence can now also be negative. Failed missions now properly
 | 
			
		||||
  report the amount of negative influence given to a faction.
 | 
			
		||||
* Mission secondary influences now also support negative influences. This
 | 
			
		||||
  for example happens if you take a mission to murder another faction's
 | 
			
		||||
  civlians, which causes negative INF.
 | 
			
		||||
 | 
			
		||||
## 0.3.4 on 18.06.2023
 | 
			
		||||
 | 
			
		||||
* Added possibility to specify allied, as well as enemy captain and correspondent.
 | 
			
		||||
* Added date range, and tool version to standard log format.
 | 
			
		||||
* Added new English mission names.
 | 
			
		||||
 | 
			
		||||
## 0.3.3 on 15.05.2023
 | 
			
		||||
 | 
			
		||||
* Added payout for the Thargoid Glaive.
 | 
			
		||||
* Added payout and support for the Thargoid Revenant.
 | 
			
		||||
* Added more English mission names.
 | 
			
		||||
* Ship and AX combat zones can now be detected through a new event, which
 | 
			
		||||
  allows the tool to properly determine the difficulty. Combat zone outcome,
 | 
			
		||||
  additional objectives, or the name of the factions fighting are still guess
 | 
			
		||||
  work however.
 | 
			
		||||
* Fixed a bug where newly added factions to a system weren't properly
 | 
			
		||||
  recognised. Thanks to Shakaka.
 | 
			
		||||
* Added option to ignore FleetCarrier actions.
 | 
			
		||||
* Added an "Open in Explorer" button to journal locations.
 | 
			
		||||
 | 
			
		||||
## 0.3.2 on 19.04.2023
 | 
			
		||||
 | 
			
		||||
* Orthrus payout has been adapted to 14.02 values.
 | 
			
		||||
* Old Thargoid payout values have been removed, so very old logs now no
 | 
			
		||||
  longer parse correctly. The old value clashed with new ones, making
 | 
			
		||||
  detection of interceptor kills difficult.
 | 
			
		||||
* Fixed a problem regarding the proper detection of station owner, and
 | 
			
		||||
  thus for whom the tool attributed market buy and market sell.
 | 
			
		||||
* Added GUI options to ignore some less important BGS entries.
 | 
			
		||||
* One line report has changed to show summaries
 | 
			
		||||
* Summaries have been streamlined:
 | 
			
		||||
  * semi-colons now separate entries
 | 
			
		||||
  * missing BGS actions (like S&R) have received a summary
 | 
			
		||||
  * Trade has been renamed to "Sold" and "Bought"
 | 
			
		||||
  * Sold now shows tons of cargo sold, plus profit if available
 | 
			
		||||
  * Bought shows tons of cargo bought
 | 
			
		||||
 | 
			
		||||
## 0.3.1 on 26.02.2023
 | 
			
		||||
 | 
			
		||||
* Fixed: AX combat zones caused crashes with the summary.
 | 
			
		||||
* Fixed: Summaries for thargoid kills didn't render probably.
 | 
			
		||||
 | 
			
		||||
## 0.3.0 on 26.02.2023
 | 
			
		||||
 | 
			
		||||
* Move to MahApps toolkit, which replaces extended toolkit.
 | 
			
		||||
* Introduce themes (by MahApps) including dark mode.
 | 
			
		||||
* Add summary to the two bigger BGS log types.
 | 
			
		||||
* Remove organic data from BGS tool, as it has been confirmed that
 | 
			
		||||
  it does not contribute to the BGS.
 | 
			
		||||
* Add a few more English mission names.
 | 
			
		||||
 | 
			
		||||
## 0.2.6 on 04.02.2023
 | 
			
		||||
 | 
			
		||||
* Update Post 14.02 Thargoid bounties
 | 
			
		||||
* Just summarise failed missions by on-foot and ship, instead of a detailed view
 | 
			
		||||
* Add some more English mission names
 | 
			
		||||
* Move code hosting to [CodeBerg](https://codeberg.org/)
 | 
			
		||||
 | 
			
		||||
## 0.2.5 on 20.12.2022
 | 
			
		||||
 | 
			
		||||
* Repaired mission fails.
 | 
			
		||||
* Added support for Missions entry.
 | 
			
		||||
 | 
			
		||||
## 0.2.4 on 18.12.2022
 | 
			
		||||
 | 
			
		||||
* Fixed bug with organic data.
 | 
			
		||||
* Fixed bug in mission format.
 | 
			
		||||
* You can now select also a time when filtering transactions.
 | 
			
		||||
* Added a button to toggle all children on and off at once.
 | 
			
		||||
* Date in Nova Navy discord log is now UTC.
 | 
			
		||||
* Added a divider so you can rescale the objectives and the log to a preferred aspect ratio.
 | 
			
		||||
 | 
			
		||||
## 0.2.3 on 11.12.2022
 | 
			
		||||
 | 
			
		||||
* Fixed detection of medium ground combat zones.
 | 
			
		||||
* Improve detection of things done near or around a new day. The tool should not properly
 | 
			
		||||
  pick up missions done the previous day, and completed at the selected day.
 | 
			
		||||
* Add support for ground combat zones when done using Frontier Solutions (DropshipDeploy).
 | 
			
		||||
* Add more mission names for Thargoid war.
 | 
			
		||||
* Relogs in an on foot combat zone are now properly detected.
 | 
			
		||||
 | 
			
		||||
## 0.2.2 on 07.12.2022
 | 
			
		||||
 | 
			
		||||
* Orthrus interceptor payout changed to U14.1 values.
 | 
			
		||||
* Detection of AX combat zones has been improved.
 | 
			
		||||
* All thargoid war missions now contribute to the system.
 | 
			
		||||
* Thargoid combat zones go to "Very High".
 | 
			
		||||
* Passenger missions show amount of people rescued.
 | 
			
		||||
 | 
			
		||||
## 0.2.1 on 03.12.2022
 | 
			
		||||
 | 
			
		||||
* Add support for Thargoid combat zones.
 | 
			
		||||
* Make some missions "system related", meaning they are sorted into an objective with just
 | 
			
		||||
  the system name. This makes sense for contributions for towards a system goal, rather than
 | 
			
		||||
  a faction goal - like Thargoid wars.
 | 
			
		||||
* Fixed a bug about the visibility of war zone side objectives. 
 | 
			
		||||
 | 
			
		||||
## 0.2.0 on 29.11.2022
 | 
			
		||||
 | 
			
		||||
* Moved project to .NET 7.0
 | 
			
		||||
* Added an experimental combat zone detector. Since there is no dedicated entry in the journal
 | 
			
		||||
  for a combat zone, this code will do a lot of guessing.
 | 
			
		||||
* Add thargoid kills and thargoid vouchers.
 | 
			
		||||
* Add a warning if something has been done in E:D Legacy.
 | 
			
		||||
* Fixed a bug were on foot murders were not properly recognised.
 | 
			
		||||
* "On Foot" combat zones are now called Ground Combat Zones.
 | 
			
		||||
* GUI has been reworked, all functions are now near the relevant items.
 | 
			
		||||
 | 
			
		||||
## 0.1.7 on 09.11.2022
 | 
			
		||||
 | 
			
		||||
* Fixed a bug related to total amount of credits gained by turning in organic data.
 | 
			
		||||
* Changed UI to have report, and objectives on the same page.
 | 
			
		||||
* Report now automatically updates when objectives and entries are selected, deselected or removed.
 | 
			
		||||
* Removed manual adding of objectives.
 | 
			
		||||
 | 
			
		||||
## 0.1.6 on 24.09.2022
 | 
			
		||||
 | 
			
		||||
* Fixed datetime format.
 | 
			
		||||
 | 
			
		||||
## 0.1.5 on 24.08.2022
 | 
			
		||||
 | 
			
		||||
* Added some mission names.
 | 
			
		||||
* Updated README regarding Update 13.
 | 
			
		||||
 | 
			
		||||
## 0.1.4 on 24.07.2022
 | 
			
		||||
 | 
			
		||||
* Fixed hour display with entires (now in 24 hour format).
 | 
			
		||||
* Allow adding combat zones regardless of whether an objective is selected, or an
 | 
			
		||||
  entry. If an entry is selected simply use its objective instead.
 | 
			
		||||
* Add timestamp to combat zone wins.
 | 
			
		||||
 | 
			
		||||
## 0.1.3 on 07.06.2022
 | 
			
		||||
 | 
			
		||||
* Fixed a bug where entries in non-rated journal files were not properly picked up.
 | 
			
		||||
* Remove EDDB database usage. This feature could block the tool if it failed to convert
 | 
			
		||||
  the JSON to something more usable, downloads took forever, and the tool itself could
 | 
			
		||||
  run out of memory loading and converting JSON from EDDB. With automatic objective
 | 
			
		||||
  detection this tool is no longer really needed.
 | 
			
		||||
 | 
			
		||||
## 0.1.2 on 06.04.2022
 | 
			
		||||
 | 
			
		||||
* If you remove an item the tree items stay collapsed/expanded. (thanks CMDR NeedX).
 | 
			
		||||
* Fixed a bug where the program would crash if you opened the manual log entry
 | 
			
		||||
  window twice (thanks CMDR NeedX).
 | 
			
		||||
* Fixed a bug regarding organic data not being properly recognised in logs.
 | 
			
		||||
* Date and time when the entry has been added to the overview.
 | 
			
		||||
  * The actual entry is now semi-bold to distinguish it from the date time.
 | 
			
		||||
* You can now select which item should appear in the final log, and which shouldn't.
 | 
			
		||||
 | 
			
		||||
## 0.1.1 on 15.03.2022
 | 
			
		||||
 | 
			
		||||
* Update tool to work with the new journal filenames introduced in Update 11.
 | 
			
		||||
 | 
			
		||||
## 0.1.0 on 27.02.2022
 | 
			
		||||
 | 
			
		||||
* Final release without beta in front of it.
 | 
			
		||||
* Several new mission names for the XML.
 | 
			
		||||
* A few small fixes towards the Discord log formatting.
 | 
			
		||||
 | 
			
		||||
## 0.1.0-beta14 on 26.02.2022
 | 
			
		||||
 | 
			
		||||
* Missions that give out no influence whatsoever apparently exist. Here the strategy
 | 
			
		||||
  is to add them to the list anyway, and warn the user that this might happen because
 | 
			
		||||
  of conflicts.
 | 
			
		||||
 | 
			
		||||
## 0.1.0-beta13 on 24.02.2022
 | 
			
		||||
 | 
			
		||||
* Missions that give no influence are now properly shown again. A warning is also
 | 
			
		||||
  displayed on why there is no influence there (spoiler alert: conflicts).
 | 
			
		||||
* Missions that give influence to an unknown faction are still ignored, but there is
 | 
			
		||||
  now a warning about it.
 | 
			
		||||
* Added a few new mission names to the XML.
 | 
			
		||||
 | 
			
		||||
## 0.1.0-beta12 on 18.02.2022
 | 
			
		||||
 | 
			
		||||
* Failed missions now properly show up where they were accepted, instead of where they
 | 
			
		||||
  were failed.
 | 
			
		||||
 | 
			
		||||
## 0.1.0-beta11 on 16.02.2022
 | 
			
		||||
 | 
			
		||||
* Fixed a bug in which mission influence was assigned to the wrong station, system
 | 
			
		||||
  and faction. But now the log entry for accepting a mission must be within the given
 | 
			
		||||
  range.
 | 
			
		||||
* Stop complaining about missing objective files.
 | 
			
		||||
* Add a few more mission names to the XML.
 | 
			
		||||
 | 
			
		||||
## 0.1.0-beta10 on 12.02.2022
 | 
			
		||||
 | 
			
		||||
* Added search and rescue.
 | 
			
		||||
* For mourders try to determine the faction of the victim. The CommitCrime event
 | 
			
		||||
  lists the faction that issues the bounty, and not the faction of the victim.
 | 
			
		||||
* Vouchers are now properly treated. Each individual voucher is assigned a separate
 | 
			
		||||
  objective, if the target faction for said voucher is present in the system.
 | 
			
		||||
 | 
			
		||||
## 0.1.0-beta9 on 07.02.2022
 | 
			
		||||
 | 
			
		||||
* Added Vista Genomics to the reports.
 | 
			
		||||
 | 
			
		||||
## 0.1.0-beta8 on 29.01.2022
 | 
			
		||||
 | 
			
		||||
* Fixed a bug where influence was wrongly counted for missions were both the
 | 
			
		||||
  main beneficiary, and the secondary beneficiary are the same faction.
 | 
			
		||||
* Tightened selection of which entry goes to which objective.
 | 
			
		||||
 | 
			
		||||
## 0.1.0-beta7 on 27.01.2022
 | 
			
		||||
 | 
			
		||||
* Added murders, since they give negative INF for the target faction.
 | 
			
		||||
* Cargo is now collated for the NONA discord template.
 | 
			
		||||
* Empty secondary influences no longer show up.
 | 
			
		||||
* Market buying is not part of the BGS since Update 10.
 | 
			
		||||
* Remove decimal point unless absolutely necessary.
 | 
			
		||||
* Fixed log file template regarding failed missions.
 | 
			
		||||
* Support missions were the source and target are both the same faction, but in
 | 
			
		||||
  different systems. Here both systems should be listed in the BGS list.
 | 
			
		||||
 | 
			
		||||
## 0.1.0-beta6 on 22.01.2022
 | 
			
		||||
 | 
			
		||||
* Month names should now always be in English in the NONA log format.
 | 
			
		||||
* Add influence support (by secondary mission objectives) to the log format.
 | 
			
		||||
* Remember last used discord log template.
 | 
			
		||||
* Add support for SellExplorationData journal entry.
 | 
			
		||||
* Improve credit formatting.
 | 
			
		||||
 | 
			
		||||
## 0.1.0-beta5 on 21.01.2022
 | 
			
		||||
 | 
			
		||||
* Missions that affect more than one faction now properly show that in the list.
 | 
			
		||||
* Cargo sold now shows a better name for the commodity (if available in journal).
 | 
			
		||||
* Added more mission names.
 | 
			
		||||
* Mission names are now part of an XML file.
 | 
			
		||||
* Added licence file with GPLv3.
 | 
			
		||||
 | 
			
		||||
## 0.1.0-beta4 on 13.01.2022
 | 
			
		||||
 | 
			
		||||
* Fixed a bug in date/time selection. It no longer uses the start date as start and end.
 | 
			
		||||
 | 
			
		||||
## 0.1.0-beta3 on 12.01.2022
 | 
			
		||||
 | 
			
		||||
* Collated failed missions into a single entry with a counter
 | 
			
		||||
* Added failed missions to Nova Navy log template
 | 
			
		||||
* Detect trade profit/loss
 | 
			
		||||
* Allow adjusting trade profit/loss with a new window
 | 
			
		||||
 | 
			
		||||
## 0.1.0-beta2 on 09.01.2022
 | 
			
		||||
 | 
			
		||||
* Adding combat zones has been repaired
 | 
			
		||||
 | 
			
		||||
## 0.1.0-beta1 on 07.01.2022
 | 
			
		||||
 | 
			
		||||
* Initial release
 | 
			
		||||
@ -1,262 +0,0 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using EliteBGS.LogGenerator;
 | 
			
		||||
using System.Reflection;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS;
 | 
			
		||||
 | 
			
		||||
public class DiscordLogGenerator {
 | 
			
		||||
    protected List<LogFormatter> formatters = new List<LogFormatter>() {
 | 
			
		||||
        new MissionFormat(),
 | 
			
		||||
        new MurderFormat(),
 | 
			
		||||
        new VoucherFormat(),
 | 
			
		||||
        new ThargoidFormatter(),
 | 
			
		||||
        new CombatZoneFormat(),
 | 
			
		||||
        new KillBondsFormat(),
 | 
			
		||||
        new CartographicsFormat(),
 | 
			
		||||
        new MicroResourcesFormat(),
 | 
			
		||||
        new MarketBuyFormat(),
 | 
			
		||||
        new CargoSoldFormatter(),
 | 
			
		||||
        new VistaGenomicsFormat(),
 | 
			
		||||
        new SearchAndRescueFormat(),
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    protected virtual string GetToolVersion() {
 | 
			
		||||
        Version v = Assembly.GetCallingAssembly().GetName().Version;
 | 
			
		||||
        string ver;
 | 
			
		||||
        if (v == null) {
 | 
			
		||||
            ver = "v?.?.?";
 | 
			
		||||
        } else {
 | 
			
		||||
            ver = "v" + v.ToString(3);
 | 
			
		||||
        }
 | 
			
		||||
        return string.Format("EliteBGS {0}", ver);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected virtual DateTime? GetDateOfEarliestEntry(Objective objective) {
 | 
			
		||||
        var it = objective
 | 
			
		||||
            .Transactions
 | 
			
		||||
            .OrderBy(x => x.CompletedAtDateTime)
 | 
			
		||||
            .FirstOrDefault()
 | 
			
		||||
            ;
 | 
			
		||||
        if (it != null) {
 | 
			
		||||
            return it.CompletedAtDateTime;
 | 
			
		||||
        }
 | 
			
		||||
        return null;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected virtual DateTime? GetDateOfLatestEntry(Objective objective) {
 | 
			
		||||
        var it = objective
 | 
			
		||||
            .Transactions
 | 
			
		||||
            .OrderByDescending(x => x.CompletedAtDateTime)
 | 
			
		||||
            .FirstOrDefault()
 | 
			
		||||
            ;
 | 
			
		||||
        if (it != null) {
 | 
			
		||||
            return it.CompletedAtDateTime;
 | 
			
		||||
        }
 | 
			
		||||
        return null;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected virtual string GenerateSummary(Objective objective) {
 | 
			
		||||
        StringBuilder sb = new StringBuilder();
 | 
			
		||||
 | 
			
		||||
        foreach (var formatter in formatters) {
 | 
			
		||||
            string summary = "";
 | 
			
		||||
 | 
			
		||||
            try {
 | 
			
		||||
                summary = formatter.GenerateSummary(objective);
 | 
			
		||||
            } catch (NotImplementedException) {
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (string.IsNullOrEmpty(summary)) {
 | 
			
		||||
                continue;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (sb.Length > 0) {
 | 
			
		||||
                sb.Append("; ");
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            sb.Append(summary);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return sb.ToString();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected virtual string GenerateHeader() {
 | 
			
		||||
        return "";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected virtual string GenerateFooter() {
 | 
			
		||||
        return "\n";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected virtual string GenerateObjectiveHeader(Objective objective) {
 | 
			
		||||
        StringBuilder log = new StringBuilder();
 | 
			
		||||
 | 
			
		||||
        string location;
 | 
			
		||||
 | 
			
		||||
        if (!string.IsNullOrEmpty(objective.System) && !string.IsNullOrEmpty(objective.Faction)) {
 | 
			
		||||
            location = string.Format("{0}, {1}", objective.System, objective.Faction);
 | 
			
		||||
        } else if (!string.IsNullOrEmpty(objective.System)) {
 | 
			
		||||
            location = objective.System;
 | 
			
		||||
        } else {
 | 
			
		||||
            location = "Unknown Location";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        int legacycount = objective.Transactions
 | 
			
		||||
                .Where(x => x.IsLegacy)
 | 
			
		||||
                .Count()
 | 
			
		||||
                ;
 | 
			
		||||
 | 
			
		||||
        string summary = GenerateSummary(objective);
 | 
			
		||||
 | 
			
		||||
        var earliest = GetDateOfEarliestEntry(objective);
 | 
			
		||||
        var latest = GetDateOfLatestEntry(objective);
 | 
			
		||||
        if (earliest != null && latest != null) {
 | 
			
		||||
            log.AppendFormat("**Date:** {0} - {1}\n",
 | 
			
		||||
                GetDateOfEarliestEntry(objective),
 | 
			
		||||
                GetDateOfLatestEntry(objective)
 | 
			
		||||
                );
 | 
			
		||||
        }
 | 
			
		||||
        log.AppendFormat("**Target:** {0}\n", location);
 | 
			
		||||
        if (!string.IsNullOrEmpty(summary)) {
 | 
			
		||||
            log.AppendFormat("**Summary:** {0}\n", summary);
 | 
			
		||||
        }
 | 
			
		||||
        if (legacycount > 0) {
 | 
			
		||||
            log.AppendFormat("**Warning:** Some actions were performed on ED Legacy\n");
 | 
			
		||||
        }
 | 
			
		||||
        log.AppendLine("```");
 | 
			
		||||
 | 
			
		||||
        return log.ToString();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected virtual string GenerateObjectiveFooter(Objective objective) {
 | 
			
		||||
        return "```\n";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Is called to do final adjustments to the log body of a given objective.
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    /// <param name="objective">Objective in question.</param>
 | 
			
		||||
    /// <param name="log">Final log as generated.</param>
 | 
			
		||||
    /// <returns>The transformed log.</returns>
 | 
			
		||||
    protected virtual string TransformFinalLogForObjective(Objective objective, string log) {
 | 
			
		||||
        return log;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public virtual string Name {
 | 
			
		||||
        get { return "GenericLog"; }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected virtual string BotHeader() {
 | 
			
		||||
        var sb = new StringBuilder();
 | 
			
		||||
        sb.AppendFormat("**Bot-Header:** {0}; {1}\n", GetToolVersion(), this.Name);
 | 
			
		||||
        return sb.ToString();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public virtual string GenerateDiscordLog(Report report) {
 | 
			
		||||
        StringBuilder log = new StringBuilder();
 | 
			
		||||
 | 
			
		||||
        if (report == null) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        var objectives = report.Objectives
 | 
			
		||||
            .Where(x => x.IsEnabled && x.Transactions.Count() > 0)
 | 
			
		||||
            ;
 | 
			
		||||
 | 
			
		||||
        if (objectives == null || objectives.Count() <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        log.AppendFormat("{0}", BotHeader());
 | 
			
		||||
        log.AppendFormat("{0}", GenerateHeader());
 | 
			
		||||
 | 
			
		||||
        foreach (Objective objective in objectives) {
 | 
			
		||||
            StringBuilder objlog = new StringBuilder();
 | 
			
		||||
 | 
			
		||||
            log.AppendFormat("{0}", GenerateObjectiveHeader(objective));
 | 
			
		||||
 | 
			
		||||
            foreach (LogFormatter formatter in formatters) {
 | 
			
		||||
                string text = formatter.GenerateLog(objective);
 | 
			
		||||
                text = text.Trim();
 | 
			
		||||
                if (!string.IsNullOrEmpty(text)) {
 | 
			
		||||
                    objlog.AppendFormat("{0}\n\n", text);
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            string finallog = objlog.ToString().Trim();
 | 
			
		||||
            finallog = TransformFinalLogForObjective(objective, finallog);
 | 
			
		||||
 | 
			
		||||
            log.AppendFormat("{0}\n", finallog);
 | 
			
		||||
 | 
			
		||||
            log.AppendFormat("{0}", GenerateObjectiveFooter(objective));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        log.AppendFormat("{0}", GenerateFooter());
 | 
			
		||||
 | 
			
		||||
        return log.ToString().Trim();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public virtual string[] SplitLog(string log, int maxcount = 2000) {
 | 
			
		||||
        throw new NotImplementedException();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected string[] SplitLogWithHeader(string log, string header, int maxcount = 2000) {
 | 
			
		||||
        string[] lines = log.Split("\n");
 | 
			
		||||
        List<string> chunks = new();
 | 
			
		||||
        string chunk = string.Empty;
 | 
			
		||||
 | 
			
		||||
        // Optimisation
 | 
			
		||||
        if (log.Length <= maxcount) {
 | 
			
		||||
            return new string[] { log };
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // First split the log into its headers
 | 
			
		||||
        // skip first bot header line
 | 
			
		||||
        for (int i = 1; i < lines.Length; i++) {
 | 
			
		||||
            string line = lines[i];
 | 
			
		||||
 | 
			
		||||
            if (line.StartsWith(header) && !string.IsNullOrEmpty(chunk)) {
 | 
			
		||||
                chunks.Add(chunk.Trim());
 | 
			
		||||
                chunk = string.Empty;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            chunk = chunk + "\n" + line;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        int curchunk = 0;
 | 
			
		||||
        string botheader = BotHeader().Trim() + "\n";
 | 
			
		||||
        // Leave room for botheader and some leeway
 | 
			
		||||
        int maxlength = (2000 - botheader.Length - 10);
 | 
			
		||||
 | 
			
		||||
        // Then try to collate chunks
 | 
			
		||||
        for (curchunk = 0; curchunk < chunks.Count; ++curchunk) {
 | 
			
		||||
            int count = chunks[curchunk].Length;
 | 
			
		||||
            while (count < maxlength && (curchunk+1) < chunks.Count) {
 | 
			
		||||
                count += chunks[curchunk + 1].Length + 2;
 | 
			
		||||
                if (count < maxlength) {
 | 
			
		||||
                    chunks[curchunk] += "\n";
 | 
			
		||||
                    chunks[curchunk] += chunks[curchunk + 1];
 | 
			
		||||
                    chunks.RemoveAt(curchunk + 1);
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // Readd bott headers
 | 
			
		||||
        for (int i = 0; i < chunks.Count; i++) {
 | 
			
		||||
            chunks[i] = chunks[i].Insert(0, botheader);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // Now finally check if any one chunk is bigger than max length
 | 
			
		||||
        for (int i = 0; i < chunks.Count; i++) {
 | 
			
		||||
            if (chunks[i].Length > maxcount) {
 | 
			
		||||
                throw new ApplicationException(
 | 
			
		||||
                    string.Format("a chunk turned out bigger than {0}", maxcount));
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return chunks.ToArray();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,32 +0,0 @@
 | 
			
		||||
using EliteBGS.Util;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Net.Http;
 | 
			
		||||
using System.Text.Json.Nodes;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS;
 | 
			
		||||
 | 
			
		||||
public class DiscordPoster {
 | 
			
		||||
    public static readonly int DiscordLimit = 2000;
 | 
			
		||||
 | 
			
		||||
    public static void PostToDiscord(DiscordWebhook webhook, string log, string username = "EDBGS") {
 | 
			
		||||
        JsonObject obj = new();
 | 
			
		||||
        obj.Add("content", log);
 | 
			
		||||
        obj.Add("username", username);
 | 
			
		||||
 | 
			
		||||
        using (var client = new HttpClient()) {
 | 
			
		||||
            var content = new StringContent(obj.ToString(), Encoding.UTF8, "application/json");
 | 
			
		||||
            var response = client.PostAsync(webhook.Webhook, content);
 | 
			
		||||
            if (response == null) {
 | 
			
		||||
                throw new Exception("failed to post content to Discord webhook");
 | 
			
		||||
            }
 | 
			
		||||
            response.Wait();
 | 
			
		||||
            var resp = response.Result;
 | 
			
		||||
            if (!resp.IsSuccessStatusCode) {
 | 
			
		||||
                throw new Exception(string.Format(
 | 
			
		||||
                    "failed to post content to webhook {0}: {1} / {2}",
 | 
			
		||||
                    webhook.Name, resp.StatusCode, resp.Content.ToString()));
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,79 +0,0 @@
 | 
			
		||||
<Project Sdk="Microsoft.NET.Sdk">
 | 
			
		||||
  <PropertyGroup>
 | 
			
		||||
    <TargetFramework>net7.0</TargetFramework>
 | 
			
		||||
    <OutputType>Exe</OutputType>
 | 
			
		||||
    <Version>0.4.3</Version>
 | 
			
		||||
    <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup>
 | 
			
		||||
    <StartupObject>EliteBGSApplication</StartupObject>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup>
 | 
			
		||||
    <ApplicationIcon>Salus.ico</ApplicationIcon>
 | 
			
		||||
    <Title>BGS reporting and logging tool for Elite:Dangerous</Title>
 | 
			
		||||
    <Authors>nola</Authors>
 | 
			
		||||
    <Copyright>Copyright 2019 by Florian Stinglmayr</Copyright>
 | 
			
		||||
    <RepositoryUrl>https://codeberg.org/nola/EDBGS</RepositoryUrl>
 | 
			
		||||
    <PackageTags>ED;Elite Dangerous;BGS</PackageTags>
 | 
			
		||||
    <PackageProjectUrl>https://salusinvicta.org/bgstool/</PackageProjectUrl>
 | 
			
		||||
    <PackageReadmeFile>README.md</PackageReadmeFile>
 | 
			
		||||
    <Description>Elite: Dangerous BGS logging and reporting tool
 | 
			
		||||
</Description>
 | 
			
		||||
    <PackageIcon>logo_v5.png</PackageIcon>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <None Remove="main-page.png" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <Resource Include="main-page.png">
 | 
			
		||||
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
 | 
			
		||||
    </Resource>
 | 
			
		||||
    <None Update="logo_v5.png">
 | 
			
		||||
      <Pack>True</Pack>
 | 
			
		||||
      <PackagePath>\</PackagePath>
 | 
			
		||||
    </None>
 | 
			
		||||
    <None Update="README.md">
 | 
			
		||||
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
 | 
			
		||||
      <Pack>True</Pack>
 | 
			
		||||
      <PackagePath>\</PackagePath>
 | 
			
		||||
    </None>
 | 
			
		||||
    <None Update="CHANGELOG.md">
 | 
			
		||||
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
 | 
			
		||||
    </None>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <Content Include="LICENCE.txt">
 | 
			
		||||
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
 | 
			
		||||
    </Content>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <Resource Include="Salus.ico" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <PackageReference Include="Avalonia" Version="11.2.0" />
 | 
			
		||||
    <PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
 | 
			
		||||
    <PackageReference Include="System.Resources.Extensions" Version="8.0.0" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <ProjectReference Include="..\EDPlayerJournal\EDPlayerJournal.csproj" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <Compile Update="Resources.Designer.cs">
 | 
			
		||||
      <DesignTime>True</DesignTime>
 | 
			
		||||
      <AutoGen>True</AutoGen>
 | 
			
		||||
      <DependentUpon>Resources.resx</DependentUpon>
 | 
			
		||||
    </Compile>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <EmbeddedResource Update="Resources.resx">
 | 
			
		||||
      <Generator>PublicResXFileCodeGenerator</Generator>
 | 
			
		||||
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
 | 
			
		||||
    </EmbeddedResource>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <Folder Include="Resources\" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
</Project>
 | 
			
		||||
@ -1,25 +0,0 @@
 | 
			
		||||
 | 
			
		||||
Microsoft Visual Studio Solution File, Format Version 12.00
 | 
			
		||||
# Visual Studio Version 16
 | 
			
		||||
VisualStudioVersion = 16.0.31205.134
 | 
			
		||||
MinimumVisualStudioVersion = 10.0.40219.1
 | 
			
		||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EliteBGS", "EliteBGS.csproj", "{73BFB315-C808-40E7-8D69-B651F875880C}"
 | 
			
		||||
EndProject
 | 
			
		||||
Global
 | 
			
		||||
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 | 
			
		||||
		Debug|Any CPU = Debug|Any CPU
 | 
			
		||||
		Release|Any CPU = Release|Any CPU
 | 
			
		||||
	EndGlobalSection
 | 
			
		||||
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
 | 
			
		||||
		{73BFB315-C808-40E7-8D69-B651F875880C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 | 
			
		||||
		{73BFB315-C808-40E7-8D69-B651F875880C}.Debug|Any CPU.Build.0 = Debug|Any CPU
 | 
			
		||||
		{73BFB315-C808-40E7-8D69-B651F875880C}.Release|Any CPU.ActiveCfg = Release|Any CPU
 | 
			
		||||
		{73BFB315-C808-40E7-8D69-B651F875880C}.Release|Any CPU.Build.0 = Release|Any CPU
 | 
			
		||||
	EndGlobalSection
 | 
			
		||||
	GlobalSection(SolutionProperties) = preSolution
 | 
			
		||||
		HideSolutionNode = FALSE
 | 
			
		||||
	EndGlobalSection
 | 
			
		||||
	GlobalSection(ExtensibilityGlobals) = postSolution
 | 
			
		||||
		SolutionGuid = {40F4B1BD-FC53-485B-9AEE-3357B375CED2}
 | 
			
		||||
	EndGlobalSection
 | 
			
		||||
EndGlobal
 | 
			
		||||
@ -1,17 +0,0 @@
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS;
 | 
			
		||||
 | 
			
		||||
public class GenericDiscordLog : DiscordLogGenerator {
 | 
			
		||||
    public override string ToString() {
 | 
			
		||||
        return "Generic";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public override string Name {
 | 
			
		||||
        get { return "Generic"; }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public override string[] SplitLog(string log, int maxcount = 2000) {
 | 
			
		||||
        return SplitLogWithHeader(log, "**Date:**", maxcount);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,674 +0,0 @@
 | 
			
		||||
                    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>.
 | 
			
		||||
@ -1,40 +0,0 @@
 | 
			
		||||
<Window x:Class="EliteBGS.LoadEntriesWindow"
 | 
			
		||||
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
			
		||||
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
			
		||||
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
			
		||||
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 | 
			
		||||
        xmlns:local="clr-namespace:EliteBGS"
 | 
			
		||||
        mc:Ignorable="d"
 | 
			
		||||
        Title="Load Entries" Height="450" Width="600">
 | 
			
		||||
    <Grid>
 | 
			
		||||
        <Grid.RowDefinitions>
 | 
			
		||||
            <RowDefinition Height="Auto" />
 | 
			
		||||
            <RowDefinition Height="*" />
 | 
			
		||||
            <RowDefinition Height="Auto" />
 | 
			
		||||
        </Grid.RowDefinitions>
 | 
			
		||||
        <Grid.ColumnDefinitions>
 | 
			
		||||
            <ColumnDefinition Width="Auto" />
 | 
			
		||||
            <ColumnDefinition Width="*" />
 | 
			
		||||
            <ColumnDefinition Width="Auto" />
 | 
			
		||||
        </Grid.ColumnDefinitions>
 | 
			
		||||
        <Label Content="Use this text field to manually load JSON events into the application." Grid.Row="0" Grid.Column="1"/>
 | 
			
		||||
        <TextBox x:Name="Lines" AcceptsReturn="True" AcceptsTab="True" TextWrapping="Wrap" Grid.Row="1" Height="Auto" Grid.Column="0" Grid.ColumnSpan="3" VerticalScrollBarVisibility="Visible" />
 | 
			
		||||
        <Grid Grid.Column="1" Grid.Row="2">
 | 
			
		||||
            <Grid.RowDefinitions>
 | 
			
		||||
                <RowDefinition Height="Auto" />
 | 
			
		||||
            </Grid.RowDefinitions>
 | 
			
		||||
            <Grid.ColumnDefinitions>
 | 
			
		||||
                <ColumnDefinition Width="*" />
 | 
			
		||||
                <ColumnDefinition Width="Auto" />
 | 
			
		||||
                <ColumnDefinition Width="Auto" />
 | 
			
		||||
                <ColumnDefinition Width="Auto" />
 | 
			
		||||
                <ColumnDefinition Width="Auto" />
 | 
			
		||||
                <ColumnDefinition Width="*" />
 | 
			
		||||
            </Grid.ColumnDefinitions>
 | 
			
		||||
            <Button x:Name="Load" Content="Load Entries" Grid.Row="0" Margin="5,5,5,5" Height="Auto" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Click="Load_Click" />
 | 
			
		||||
            <Button x:Name="LoadFile" Content="Load File" Grid.Row="0" Margin="5,5,5,5" Height="Auto" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Click="LoadFile_Click" />
 | 
			
		||||
            <Button x:Name="DeleteUnimportant" Content="Remove Unimportant" Grid.Row="0" Margin="5,5,5,5" Height="Auto" Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center" Click="DeleteUnimportant_Click" />
 | 
			
		||||
            <Button x:Name="Clear" Content="Clear" Grid.Row="0" Height="Auto" Margin="5,5,5,5" Grid.Column="4" Click="Clear_Click" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 | 
			
		||||
        </Grid>
 | 
			
		||||
    </Grid>
 | 
			
		||||
</Window>
 | 
			
		||||
@ -1,118 +0,0 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.IO;
 | 
			
		||||
using Avalonia;
 | 
			
		||||
using Avalonia.Controls;
 | 
			
		||||
using EDPlayerJournal.Entries;
 | 
			
		||||
using EliteBGS.Util;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS;
 | 
			
		||||
 | 
			
		||||
/// <summary>
 | 
			
		||||
/// Interaction logic for LoadEntriesWindow.xaml
 | 
			
		||||
/// </summary>
 | 
			
		||||
public partial class LoadEntriesWindow : Window {
 | 
			
		||||
    public delegate void EntriesLoadedDelegate(List<Entry> entries);
 | 
			
		||||
 | 
			
		||||
    public event EntriesLoadedDelegate EntriesLoaded;
 | 
			
		||||
 | 
			
		||||
    Config config = new Config();
 | 
			
		||||
 | 
			
		||||
    public LoadEntriesWindow() {
 | 
			
		||||
        InitializeComponent();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Load_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        string lines = Lines.Text.Trim();
 | 
			
		||||
        if (lines.Length <= 0) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        try {
 | 
			
		||||
            List<Entry> entries = new List<Entry>();
 | 
			
		||||
 | 
			
		||||
            foreach (string line in lines.Split('\n')) {
 | 
			
		||||
                if (string.IsNullOrEmpty(line)) {
 | 
			
		||||
                    continue;
 | 
			
		||||
                }
 | 
			
		||||
                Entry entry = Entry.Parse(line);
 | 
			
		||||
                entries.Add(entry);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (entries.Count > 0) {
 | 
			
		||||
                EntriesLoaded?.Invoke(entries);
 | 
			
		||||
            }
 | 
			
		||||
        } catch (Exception exception) {
 | 
			
		||||
            MessageBox.Show(string.Format("There was an error while parsing the JSON: {0}",
 | 
			
		||||
                exception.ToString()));
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Clear_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        Lines.Clear();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void LoadFile_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        OpenFileDialog dialog = new OpenFileDialog();
 | 
			
		||||
 | 
			
		||||
        dialog.DefaultExt = ".log";
 | 
			
		||||
        dialog.Filter = "Log files (*.log)|*.log|All files (*.*)|*";
 | 
			
		||||
 | 
			
		||||
        var location = AppConfig.DefaultJournalLocation;
 | 
			
		||||
        if (Directory.Exists(location)) {
 | 
			
		||||
            dialog.InitialDirectory = location;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        bool result = dialog.ShowDialog(this) ?? false;
 | 
			
		||||
        if (!result) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        try {
 | 
			
		||||
            using (FileStream stream = File.OpenRead(dialog.FileName)) {
 | 
			
		||||
                using (StreamReader reader = new StreamReader(stream)) {
 | 
			
		||||
                    Lines.Text = reader.ReadToEnd();
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        } catch (Exception) {
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void DeleteUnimportant_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        string lines = Lines.Text.Trim();
 | 
			
		||||
        if (lines.Length <= 0) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        TransactionParser parser = new();
 | 
			
		||||
 | 
			
		||||
        try {
 | 
			
		||||
            List<Entry> entries = new List<Entry>();
 | 
			
		||||
 | 
			
		||||
            foreach (string line in lines.Split('\n')) {
 | 
			
		||||
                if (string.IsNullOrEmpty(line)) {
 | 
			
		||||
                    continue;
 | 
			
		||||
                }
 | 
			
		||||
                Entry entry = Entry.Parse(line);
 | 
			
		||||
                if (parser.IsRelevant(entry)) {
 | 
			
		||||
                    entries.Add(entry);
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (entries.Count <= 0) {
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            string[] text = entries
 | 
			
		||||
                .ConvertAll(x => x.JSON.ToString(Newtonsoft.Json.Formatting.None))
 | 
			
		||||
                .ToArray()
 | 
			
		||||
                ;
 | 
			
		||||
            Lines.Text = string.Join("\n", text).Trim();
 | 
			
		||||
        } catch (Exception exception) {
 | 
			
		||||
            MessageBox.Show(string.Format("There was an error while parsing the JSON: {0}",
 | 
			
		||||
                exception.ToString()));
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,76 +0,0 @@
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using EDPlayerJournal;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.LogGenerator;
 | 
			
		||||
 | 
			
		||||
public class CargoSoldFormatter : LogFormatter {
 | 
			
		||||
    public string GenerateLog(Objective objective) {
 | 
			
		||||
        StringBuilder builder = new StringBuilder();
 | 
			
		||||
        SellCargo[] sold = objective.EnabledOfType<SellCargo>().ToArray();
 | 
			
		||||
 | 
			
		||||
        if (sold == null || sold.Length <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        // This groups everything together by cargo sold, and then by market sold to.
 | 
			
		||||
        //  Dictionary<string Cargo, Dictionary<string Market, { Market, Amount, Profit }> >
 | 
			
		||||
        var entries = sold.GroupBy(x => x.Cargo,
 | 
			
		||||
                                   (key, cargos) => new {
 | 
			
		||||
                                       Cargo = key,
 | 
			
		||||
                                       Markets = cargos.GroupBy(y => y.Market,
 | 
			
		||||
                                                           (market, markets) => new {
 | 
			
		||||
                                                               Market = market,
 | 
			
		||||
                                                               Amount = markets.Sum(x => x.Amount),
 | 
			
		||||
                                                               Profit = markets.Sum(x => x.Profit)
 | 
			
		||||
                                                           })
 | 
			
		||||
                                   }
 | 
			
		||||
                                   )
 | 
			
		||||
                          ;
 | 
			
		||||
 | 
			
		||||
        foreach (var cargo in entries) {
 | 
			
		||||
            foreach (var market in cargo.Markets) {
 | 
			
		||||
                builder.AppendFormat("Sold {0} {1} to the {2}",
 | 
			
		||||
                        market.Amount,
 | 
			
		||||
                        cargo.Cargo,
 | 
			
		||||
                        market.Market
 | 
			
		||||
                    );
 | 
			
		||||
 | 
			
		||||
                if (market.Profit != 0) {
 | 
			
		||||
                    builder.AppendFormat(" ({0} {1})",
 | 
			
		||||
                        Credits.FormatCredits(market.Profit),
 | 
			
		||||
                        market.Profit < 0 ? "loss" : "profit"
 | 
			
		||||
                        );
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                builder.Append("\n");
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        builder.AppendFormat("\n");
 | 
			
		||||
 | 
			
		||||
        return builder.ToString();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string GenerateSummary(Objective objective) {
 | 
			
		||||
        SellCargo[] sold = objective.EnabledOfType<SellCargo>().ToArray();
 | 
			
		||||
        long totalProfit = sold.Sum(x => x.Profit);
 | 
			
		||||
        long tons = sold.Sum(x => x.Amount);
 | 
			
		||||
 | 
			
		||||
        if (tons <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        StringBuilder builder = new();
 | 
			
		||||
 | 
			
		||||
        builder.Append("Sold: ");
 | 
			
		||||
        builder.AppendFormat("{0}t", tons);
 | 
			
		||||
        if (totalProfit >= 100000) {
 | 
			
		||||
            builder.AppendFormat(", {0} profit", Credits.FormatMillions(totalProfit));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return builder.ToString();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,33 +0,0 @@
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using EDPlayerJournal;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.LogGenerator;
 | 
			
		||||
 | 
			
		||||
public class CartographicsFormat : LogFormatter {
 | 
			
		||||
    public string GenerateLog(Objective objective) {
 | 
			
		||||
        var total = objective.EnabledOfType<Cartographics>();
 | 
			
		||||
        var pages = total.Count();
 | 
			
		||||
        long sum = total.Sum(x => x.TotalSum);
 | 
			
		||||
 | 
			
		||||
        if (pages <= 0 || sum <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return string.Format("Sold {0} page(s) worth of universal cartographics\n" +
 | 
			
		||||
                             "(Total value: {1})\n\n",
 | 
			
		||||
                             pages, Credits.FormatCredits(sum)
 | 
			
		||||
                             );
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string GenerateSummary(Objective objective) {
 | 
			
		||||
        Cartographics[] sold = objective.EnabledOfType<Cartographics>().ToArray();
 | 
			
		||||
        long totalProfit = sold.Sum(x => x.TotalSum);
 | 
			
		||||
 | 
			
		||||
        if (totalProfit >= 100000) {
 | 
			
		||||
            return string.Format("Explo: {0}", Credits.FormatMillions(totalProfit));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return "";
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,100 +0,0 @@
 | 
			
		||||
using EDPlayerJournal;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.LogGenerator;
 | 
			
		||||
 | 
			
		||||
class CombatZoneFormat : LogFormatter {
 | 
			
		||||
    public string GenerateLog(Objective objective) {
 | 
			
		||||
        var logs = objective
 | 
			
		||||
            .EnabledOfType<CombatZone>()
 | 
			
		||||
            .OrderBy(x => (CombatZones.DifficultyRank(x.Grade) ?? 0))
 | 
			
		||||
            .GroupBy(x => new { x.Type, x.Grade, x.Settlement })
 | 
			
		||||
            .ToDictionary(x => x.Key, x => x.ToList())
 | 
			
		||||
            ;
 | 
			
		||||
        StringBuilder builder = new StringBuilder();
 | 
			
		||||
 | 
			
		||||
        if (logs == null || logs.Count() <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        foreach (var log in logs) {
 | 
			
		||||
            int optionals = log.Value
 | 
			
		||||
                                .Sum(x => x.OptionalObjectivesCompleted)
 | 
			
		||||
                                ;
 | 
			
		||||
            var settlements = log.Value
 | 
			
		||||
                                .Select(x => x.Settlement)
 | 
			
		||||
                                .Distinct()
 | 
			
		||||
                                ;
 | 
			
		||||
            string settl = string.Join(", ", settlements);
 | 
			
		||||
            if (!string.IsNullOrEmpty(log.Key.Grade)) {
 | 
			
		||||
                builder.AppendFormat("Won {0}x {1} {2} Combat Zone(s)",
 | 
			
		||||
                    log.Value.Count,
 | 
			
		||||
                    log.Key.Grade,
 | 
			
		||||
                    log.Key.Type
 | 
			
		||||
                    );
 | 
			
		||||
            } else {
 | 
			
		||||
                builder.AppendFormat("Won {0}x {1} Combat Zone(s)",
 | 
			
		||||
                    log.Value.Count,
 | 
			
		||||
                    log.Key.Type
 | 
			
		||||
                    );
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (optionals > 0) {
 | 
			
		||||
                builder.AppendFormat(" (with {0} optional objectives)", optionals);
 | 
			
		||||
            }
 | 
			
		||||
            if (!string.IsNullOrEmpty(settl)) {
 | 
			
		||||
                builder.AppendFormat(" (at {0})", settl);
 | 
			
		||||
            }
 | 
			
		||||
            builder.Append("\n");
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return builder.ToString().Trim();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string GenerateSummary(Objective objective) {
 | 
			
		||||
        var logs = objective
 | 
			
		||||
            .EnabledOfType<CombatZone>()
 | 
			
		||||
            .OrderBy(x => (CombatZones.DifficultyRank(x.Grade) ?? 0))
 | 
			
		||||
            .GroupBy(x => new { x.Type, x.Grade })
 | 
			
		||||
            .ToDictionary(x => x.Key, x => x.ToList())
 | 
			
		||||
            ;
 | 
			
		||||
        StringBuilder builder = new StringBuilder();
 | 
			
		||||
 | 
			
		||||
        if (logs == null || logs.Count() <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        foreach (var log in logs) {
 | 
			
		||||
            int optionals = log.Value
 | 
			
		||||
                                .Sum(x => x.OptionalObjectivesCompleted)
 | 
			
		||||
                                ;
 | 
			
		||||
            if (builder.Length > 0) {
 | 
			
		||||
                builder.Append(", ");
 | 
			
		||||
            }
 | 
			
		||||
            if (!string.IsNullOrEmpty(log.Key.Grade)) {
 | 
			
		||||
                string grade = log.Key.Grade.Substring(0, 1);
 | 
			
		||||
                if (log.Key.Grade == CombatZones.DifficultyVeryHigh) {
 | 
			
		||||
                    grade = "VH";
 | 
			
		||||
                }
 | 
			
		||||
                builder.AppendFormat("CZ: {0}x{1}{2}",
 | 
			
		||||
                    log.Value.Count,
 | 
			
		||||
                    grade,
 | 
			
		||||
                    log.Key.Type.Substring(0, 1)
 | 
			
		||||
                    );
 | 
			
		||||
            } else {
 | 
			
		||||
                builder.AppendFormat("CZ: {0}x?{1}",
 | 
			
		||||
                    log.Value.Count,
 | 
			
		||||
                    log.Key.Type.Substring(0, 1)
 | 
			
		||||
                    );
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (optionals > 0) {
 | 
			
		||||
                builder.AppendFormat("+ {0} OPTS", optionals);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return builder.ToString().Trim();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,32 +0,0 @@
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.LogGenerator;
 | 
			
		||||
 | 
			
		||||
/// <summary>
 | 
			
		||||
/// Creates a generic log block, that is simply all LogEntries of type "Type"
 | 
			
		||||
/// per line
 | 
			
		||||
/// </summary>
 | 
			
		||||
/// <typeparam name="Type">LogEntry subtype to work on</typeparam>
 | 
			
		||||
public class GenericFormat<Type> : LogFormatter where Type : Transaction {
 | 
			
		||||
    public string GenerateLog(Objective objective) {
 | 
			
		||||
        IEnumerable<Type> logs = objective.EnabledOfType<Type>();
 | 
			
		||||
        StringBuilder builder = new StringBuilder();
 | 
			
		||||
 | 
			
		||||
        if (logs == null || logs.Count() <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        foreach (Type log in logs) {
 | 
			
		||||
            builder.AppendLine(log.ToString());
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return builder.ToString();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public virtual string GenerateSummary(Objective objective) {
 | 
			
		||||
        throw new System.NotImplementedException();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,38 +0,0 @@
 | 
			
		||||
using EDPlayerJournal;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.LogGenerator;
 | 
			
		||||
 | 
			
		||||
public class KillBondsFormat : GenericFormat<FactionKillBonds> {
 | 
			
		||||
    public override string GenerateSummary(Objective objective) {
 | 
			
		||||
        StringBuilder builder = new StringBuilder();
 | 
			
		||||
 | 
			
		||||
        var bonds = objective
 | 
			
		||||
            .EnabledOfType<FactionKillBonds>()
 | 
			
		||||
            .GroupBy(x => x.VictimFaction)
 | 
			
		||||
            .ToDictionary(x => x.Key, x => x.ToList())
 | 
			
		||||
            ;
 | 
			
		||||
 | 
			
		||||
        if (bonds.Count <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        builder.Append("Killbonds: ");
 | 
			
		||||
        foreach (var entry in bonds) {
 | 
			
		||||
            long sum = (long)entry.Value.Sum(x => (decimal)x.TotalSum);
 | 
			
		||||
            builder.AppendFormat("{0} against {1}, ",
 | 
			
		||||
                    Credits.FormatMillions(sum),
 | 
			
		||||
                    entry.Key
 | 
			
		||||
                );
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (builder.Length > 2) {
 | 
			
		||||
            // Remove trailing comma
 | 
			
		||||
            builder.Remove(builder.Length - 2, 2);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return builder.ToString();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,6 +0,0 @@
 | 
			
		||||
namespace EliteBGS.LogGenerator;
 | 
			
		||||
 | 
			
		||||
public interface LogFormatter {
 | 
			
		||||
    string GenerateLog(Objective objective);
 | 
			
		||||
    string GenerateSummary(Objective objective);
 | 
			
		||||
}
 | 
			
		||||
@ -1,17 +0,0 @@
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.LogGenerator;
 | 
			
		||||
 | 
			
		||||
public class MarketBuyFormat : GenericFormat<BuyCargo> {
 | 
			
		||||
    public override string GenerateSummary(Objective objective) {
 | 
			
		||||
        long tons = objective
 | 
			
		||||
            .EnabledOfType<BuyCargo>()
 | 
			
		||||
            .Sum(x => x.Amount)
 | 
			
		||||
            ;
 | 
			
		||||
        if (tons <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
        return string.Format("Bought: {0}t", tons);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,23 +0,0 @@
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using EDPlayerJournal;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.LogGenerator;
 | 
			
		||||
 | 
			
		||||
public class MicroResourcesFormat : LogFormatter {
 | 
			
		||||
    public string GenerateLog(Objective objective) {
 | 
			
		||||
        var total = objective.EnabledOfType<SellMicroResources>();
 | 
			
		||||
        long sum = total.Sum(x => x.TotalSum);
 | 
			
		||||
 | 
			
		||||
        if (total == null || total.Count() <= 0 || sum <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return string.Format("Sold {0} worth of Micro Resources\n",
 | 
			
		||||
            Credits.FormatCredits(sum));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string GenerateSummary(Objective objective) {
 | 
			
		||||
        return "";
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,170 +0,0 @@
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.LogGenerator;
 | 
			
		||||
 | 
			
		||||
public class MissionFormat : LogFormatter {
 | 
			
		||||
    private string GenerateFailedLog(Objective objective) {
 | 
			
		||||
        var missions = objective.EnabledOfType<MissionFailed>();
 | 
			
		||||
 | 
			
		||||
        if (missions.Count <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        StringBuilder builder = new StringBuilder();
 | 
			
		||||
 | 
			
		||||
        var grouping = missions
 | 
			
		||||
                        .GroupBy(x => x.Mission.IsOnFoot)
 | 
			
		||||
                        ;
 | 
			
		||||
 | 
			
		||||
        foreach (var group in grouping) {
 | 
			
		||||
            int amount = group.Count();
 | 
			
		||||
 | 
			
		||||
            if (group.Key) {
 | 
			
		||||
                builder.AppendFormat("Failed {0} On Foot Mission(s)\n", amount);
 | 
			
		||||
            } else {
 | 
			
		||||
                builder.AppendFormat("Failed {0} Ship Mission(s)\n", amount);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return builder.ToString().Trim();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private string GenerateFailedSummary(Objective objective) {
 | 
			
		||||
        var missions = objective.EnabledOfType<MissionFailed>();
 | 
			
		||||
 | 
			
		||||
        if (missions.Count <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        StringBuilder sb = new();
 | 
			
		||||
 | 
			
		||||
        int onFootFails = missions.Where(x => x.Mission.IsOnFoot).Count();
 | 
			
		||||
        int shipFails = missions.Where(x => !x.Mission.IsOnFoot).Count();
 | 
			
		||||
 | 
			
		||||
        sb.Append("Fails: ");
 | 
			
		||||
        if (onFootFails > 0) {
 | 
			
		||||
            sb.AppendFormat("{0} Ground", onFootFails);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (shipFails > 0) {
 | 
			
		||||
            if (onFootFails > 0) {
 | 
			
		||||
                sb.Append(", ");
 | 
			
		||||
            }
 | 
			
		||||
            sb.AppendFormat("{0} Ship", shipFails);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return sb.ToString();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string GenerateLog(Objective objective) {
 | 
			
		||||
        Dictionary<string, Dictionary<string, int>> collated = new();
 | 
			
		||||
        Dictionary<string, ulong> passengers = new();
 | 
			
		||||
        StringBuilder output = new StringBuilder();
 | 
			
		||||
        long total_influence = 0;
 | 
			
		||||
 | 
			
		||||
        var missions = objective.EnabledOfType<MissionCompleted>();
 | 
			
		||||
        var support = objective.EnabledOfType<InfluenceSupport>();
 | 
			
		||||
        var failed = objective.EnabledOfType<MissionFailed>();
 | 
			
		||||
 | 
			
		||||
        if ((missions == null || missions.Count == 0) &&
 | 
			
		||||
            (support == null || support.Count == 0) &&
 | 
			
		||||
            (failed == null || failed.Count == 0)) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        foreach (MissionCompleted m in missions) {
 | 
			
		||||
            if (!collated.ContainsKey(m.MissionName)) {
 | 
			
		||||
                collated[m.MissionName] = new Dictionary<string, int>();
 | 
			
		||||
            }
 | 
			
		||||
            if (!collated[m.MissionName].ContainsKey(m.Influence)) {
 | 
			
		||||
                collated[m.MissionName][m.Influence] = 0;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            ++collated[m.MissionName][m.Influence];
 | 
			
		||||
 | 
			
		||||
            total_influence += m.Influence.Length;
 | 
			
		||||
 | 
			
		||||
            if (m.AcceptedEntry != null &&
 | 
			
		||||
                m.AcceptedEntry.Mission != null &&
 | 
			
		||||
                m.AcceptedEntry.Mission.IsPassengerMission) {
 | 
			
		||||
                if (!passengers.ContainsKey(m.MissionName)) {
 | 
			
		||||
                    passengers[m.MissionName] = 0;
 | 
			
		||||
                }
 | 
			
		||||
                passengers[m.MissionName] += (m.AcceptedEntry.Mission.PassengerCount ?? 0);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        foreach (var mission in collated) {
 | 
			
		||||
            output.AppendFormat("{0}: ", mission.Key);
 | 
			
		||||
            output.Append("(");
 | 
			
		||||
            foreach (var influence in mission.Value.OrderBy(x => x.Key.Length)) {
 | 
			
		||||
                output.AppendFormat("Inf{0} x{1}, ", influence.Key, influence.Value);
 | 
			
		||||
            }
 | 
			
		||||
            output.Remove(output.Length - 2, 2); // remove last ", "
 | 
			
		||||
            output.Append(")");
 | 
			
		||||
 | 
			
		||||
            if (passengers.ContainsKey(mission.Key)) {
 | 
			
		||||
                output.AppendFormat(" ({0} Passengers)", passengers[mission.Key]);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            output.Append("\n");
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        output.Append("\n");
 | 
			
		||||
 | 
			
		||||
        // Handle failed missions, and add them to the log and influence tally
 | 
			
		||||
        string failedlog = GenerateFailedLog(objective);
 | 
			
		||||
        if (!string.IsNullOrEmpty(failedlog)) {
 | 
			
		||||
            output.Append(failedlog);
 | 
			
		||||
            output.Append("\n");
 | 
			
		||||
        }
 | 
			
		||||
        total_influence += failed.Sum(x => x.InfluenceAmount);
 | 
			
		||||
 | 
			
		||||
        foreach (InfluenceSupport inf in support) {
 | 
			
		||||
            output.Append(inf.ToString());
 | 
			
		||||
            output.Append("\n");
 | 
			
		||||
            total_influence += inf.Influence.InfluenceAmount;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (support.Count() > 0) {
 | 
			
		||||
            output.Append("\n");
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (total_influence != 0) {
 | 
			
		||||
            output.AppendFormat("Total Influence: {0}", total_influence);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return output.ToString().Trim();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string GenerateSummary(Objective objective) {
 | 
			
		||||
        long influence = objective
 | 
			
		||||
            .EnabledOfType<MissionCompleted>()
 | 
			
		||||
            .Sum(x => x.Influence.Length)
 | 
			
		||||
            ;
 | 
			
		||||
        long support = objective
 | 
			
		||||
            .EnabledOfType<InfluenceSupport>()
 | 
			
		||||
            .Sum(x => x.Influence.InfluenceAmount)
 | 
			
		||||
            ;
 | 
			
		||||
        long failed = objective
 | 
			
		||||
            .EnabledOfType<MissionFailed>()
 | 
			
		||||
            .Sum(x => x.InfluenceAmount)
 | 
			
		||||
            ;
 | 
			
		||||
 | 
			
		||||
        if (influence == 0 && support == 0 && failed == 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        string failedsummary = GenerateFailedSummary(objective);
 | 
			
		||||
        string summary = string.Format("INF: {0}", influence + support + failed);
 | 
			
		||||
 | 
			
		||||
        if (!string.IsNullOrEmpty(failedsummary)) {
 | 
			
		||||
            string.Join("; ", summary, failedsummary);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return summary;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,60 +0,0 @@
 | 
			
		||||
using EDPlayerJournal;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.LogGenerator;
 | 
			
		||||
 | 
			
		||||
public class MurderFormat : LogFormatter {
 | 
			
		||||
    public string GenerateLog(Objective objective) {
 | 
			
		||||
        var logs = objective
 | 
			
		||||
            .EnabledOfType<FoulMurder>()
 | 
			
		||||
            .GroupBy(x => x.CrimeType)
 | 
			
		||||
            .ToDictionary(x => x.Key, x => x.ToList())
 | 
			
		||||
            ;
 | 
			
		||||
        StringBuilder builder = new StringBuilder();
 | 
			
		||||
 | 
			
		||||
        if (logs == null || logs.Count() <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        foreach (var log in logs) {
 | 
			
		||||
            string type;
 | 
			
		||||
 | 
			
		||||
            if (string.Compare(log.Key, CrimeTypes.Murder) == 0) {
 | 
			
		||||
                if (log.Value.Count > 1) {
 | 
			
		||||
                    type = "ships";
 | 
			
		||||
                } else {
 | 
			
		||||
                    type = "ship";
 | 
			
		||||
                }
 | 
			
		||||
            } else {
 | 
			
		||||
                if (log.Value.Count > 1) {
 | 
			
		||||
                    type = "people";
 | 
			
		||||
                } else {
 | 
			
		||||
                    type = "person";
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            long bounties = log.Value.Sum(x => x.Bounties);
 | 
			
		||||
            builder.AppendFormat("Murdered {0} {1} (Bounties: {2})\n",
 | 
			
		||||
                log.Value.Count, type,
 | 
			
		||||
                Credits.FormatMillions(bounties)
 | 
			
		||||
                );
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return builder.ToString().Trim();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string GenerateSummary(Objective objective) {
 | 
			
		||||
        long murders = objective
 | 
			
		||||
            .EnabledOfType<FoulMurder>()
 | 
			
		||||
            .Where(x => x.CrimeType == CrimeTypes.Murder || x.CrimeType == CrimeTypes.OnFootMurder)
 | 
			
		||||
            .Count()
 | 
			
		||||
            ;
 | 
			
		||||
 | 
			
		||||
        if (murders <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return string.Format("Kills: {0}", murders);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,22 +0,0 @@
 | 
			
		||||
using EDPlayerJournal;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.LogGenerator;
 | 
			
		||||
 | 
			
		||||
public class SearchAndRescueFormat : GenericFormat<SearchAndRescue> {
 | 
			
		||||
    public override string GenerateSummary(Objective objective) {
 | 
			
		||||
        long tons = objective
 | 
			
		||||
            .EnabledOfType<SearchAndRescue>()
 | 
			
		||||
            .Sum(x => x.Count)
 | 
			
		||||
            ;
 | 
			
		||||
        long profit = objective
 | 
			
		||||
            .EnabledOfType<SearchAndRescue>()
 | 
			
		||||
            .Sum(x => x.Reward)
 | 
			
		||||
            ;
 | 
			
		||||
        if (tons <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
        return string.Format("S&R: {0}t, {1} profit", tons, Credits.FormatMillions(profit));
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,65 +0,0 @@
 | 
			
		||||
using EDPlayerJournal;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.LogGenerator;
 | 
			
		||||
 | 
			
		||||
public class ThargoidFormatter : LogFormatter {
 | 
			
		||||
    public string GenerateLog(Objective objective) {
 | 
			
		||||
        List<ThargoidKill> kills = objective.EnabledOfType<ThargoidKill>().ToList();
 | 
			
		||||
 | 
			
		||||
        if (kills.Count == 0 ) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        Dictionary<ThargoidVessel, List<ThargoidKill>> sorted = kills
 | 
			
		||||
                                                                    .GroupBy(x => x.ThargoidType)
 | 
			
		||||
                                                                    .ToDictionary(x => x.Key, x => x.ToList())
 | 
			
		||||
                                                                    ;
 | 
			
		||||
 | 
			
		||||
        StringBuilder builder = new StringBuilder();
 | 
			
		||||
        foreach (var k in sorted) {
 | 
			
		||||
            string name = Thargoid.GetVesselName(k.Key);
 | 
			
		||||
            builder.AppendFormat("{0}x {1}(s) killed\n", k.Value.Count, name);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return builder.ToString();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string GenerateSummary(Objective objective) {
 | 
			
		||||
        List<ThargoidKill> kills = objective.EnabledOfType<ThargoidKill>().ToList();
 | 
			
		||||
 | 
			
		||||
        if (kills.Count == 0 ) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        int drones = kills.Where(x => x.ThargoidType == ThargoidVessel.Revenant).Count();
 | 
			
		||||
        int scouts = kills.Where(x => x.ThargoidType == ThargoidVessel.Scout).Count();
 | 
			
		||||
        int interceptors = kills.Count - scouts - drones;
 | 
			
		||||
 | 
			
		||||
        StringBuilder builder = new StringBuilder();
 | 
			
		||||
 | 
			
		||||
        builder.Append("AX: ");
 | 
			
		||||
        if (interceptors > 0) {
 | 
			
		||||
            builder.AppendFormat("{0} INT", interceptors);
 | 
			
		||||
        }
 | 
			
		||||
        if (scouts > 0) {
 | 
			
		||||
            if (interceptors > 0) {
 | 
			
		||||
                builder.Append(", ");
 | 
			
		||||
            }
 | 
			
		||||
            builder.AppendFormat("{0} SCT", scouts);
 | 
			
		||||
        }
 | 
			
		||||
        if (drones > 0) {
 | 
			
		||||
            if (interceptors > 0 || scouts > 0) {
 | 
			
		||||
                builder.Append(", ");
 | 
			
		||||
            }
 | 
			
		||||
            builder.AppendFormat("{0} DRN", drones);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return builder.ToString();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,18 +0,0 @@
 | 
			
		||||
using EDPlayerJournal;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.LogGenerator;
 | 
			
		||||
 | 
			
		||||
class VistaGenomicsFormat : GenericFormat<OrganicData> {
 | 
			
		||||
    public override string GenerateSummary(Objective objective) {
 | 
			
		||||
        long profit = objective
 | 
			
		||||
            .EnabledOfType<OrganicData>()
 | 
			
		||||
            .Sum(x => x.TotalValue)
 | 
			
		||||
            ;
 | 
			
		||||
        if (profit <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
        return string.Format("Organic: {0} Profit", Credits.FormatMillions(profit));
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,56 +0,0 @@
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using EDPlayerJournal;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.LogGenerator;
 | 
			
		||||
 | 
			
		||||
public class VoucherFormat : LogFormatter {
 | 
			
		||||
    public string GenerateLog(Objective objective) {
 | 
			
		||||
        StringBuilder builder = new StringBuilder();
 | 
			
		||||
        var missions = objective
 | 
			
		||||
            .EnabledOfType<Vouchers>()
 | 
			
		||||
            .GroupBy(x => x.Type)
 | 
			
		||||
            .ToDictionary(x => x.Key, x => x.ToList())
 | 
			
		||||
            ;
 | 
			
		||||
 | 
			
		||||
        if (missions == null || missions.Count() <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        foreach (var m in missions) {
 | 
			
		||||
            long total = (long)m.Value.Sum(x => (decimal)x.TotalSum);
 | 
			
		||||
            builder.AppendFormat("Handed in {0} vouchers: {1}\n", m.Key, Credits.FormatMillions(total));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return builder.ToString().Trim();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string GenerateSummary(Objective objective) {
 | 
			
		||||
        long bounties = objective
 | 
			
		||||
            .EnabledOfType<Vouchers>()
 | 
			
		||||
            .Where(x => x.Type == "Bounty")
 | 
			
		||||
            .Sum(x => x.TotalSum)
 | 
			
		||||
            ;
 | 
			
		||||
        long bonds = objective
 | 
			
		||||
            .EnabledOfType<Vouchers>()
 | 
			
		||||
            .Where(x => x.Type == "Combat Bond")
 | 
			
		||||
            .Sum(x => x.TotalSum)
 | 
			
		||||
            ;
 | 
			
		||||
 | 
			
		||||
        StringBuilder sb = new();
 | 
			
		||||
 | 
			
		||||
        if (bounties > 0) {
 | 
			
		||||
            sb.AppendFormat("Bounties: {0}", Credits.FormatMillions(bounties));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (bonds > 0) {
 | 
			
		||||
            if (sb.Length > 0) {
 | 
			
		||||
                sb.Append(", ");
 | 
			
		||||
            }
 | 
			
		||||
            sb.AppendFormat("Bonds: {0}", Credits.FormatMillions(bonds));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return sb.ToString();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,330 +0,0 @@
 | 
			
		||||
<Window
 | 
			
		||||
        xmlns="https://github.com/avaloniaui"
 | 
			
		||||
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
			
		||||
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
			
		||||
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 | 
			
		||||
        xmlns:local="clr-namespace:EliteBGS"
 | 
			
		||||
        xmlns:Util="clr-namespace:EliteBGS.Util"
 | 
			
		||||
        d:DataContext="{d:DesignInstance Type=Util:AppConfig}"
 | 
			
		||||
        x:Name="window"
 | 
			
		||||
        x:Class="EliteBGS.MainWindow"
 | 
			
		||||
        mc:Ignorable="d"
 | 
			
		||||
        Title="Elite: Dangerous BGS Helper" Height="620" Width="950" Icon="Salus.ico"  Closing="window_Closing"
 | 
			
		||||
    >
 | 
			
		||||
    <Window.Resources>
 | 
			
		||||
        <local:MinusFortyFiveConverter x:Key="MinusFortyFiveConverter" />
 | 
			
		||||
        <Style x:Key="StretchingTreeViewStyle" TargetType="TreeViewItem" BasedOn="{StaticResource {x:Type TreeViewItem}}">
 | 
			
		||||
            <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
 | 
			
		||||
        </Style>
 | 
			
		||||
 | 
			
		||||
        <local:Report x:Key="ObjectivesBasedOnSystem" />
 | 
			
		||||
        <Util:Config x:Key="Config" />
 | 
			
		||||
 | 
			
		||||
        <DataTemplate DataType="{x:Type Util:DiscordWebhook}">
 | 
			
		||||
            <Grid>
 | 
			
		||||
                <Grid.ColumnDefinitions>
 | 
			
		||||
                    <ColumnDefinition Width="Auto" />
 | 
			
		||||
                    <ColumnDefinition Width="Auto" />
 | 
			
		||||
                    <ColumnDefinition Width="Auto" />
 | 
			
		||||
                    <ColumnDefinition Width="*" />
 | 
			
		||||
                </Grid.ColumnDefinitions>
 | 
			
		||||
                <TextBlock Text="Name: " Grid.Column="0" Margin="2,0,0,0"/>
 | 
			
		||||
                <TextBox Text="{Binding Name}" Grid.Column="1"/>
 | 
			
		||||
 | 
			
		||||
                <TextBlock Text="Webhook URL: " Grid.Column="2" Margin="2,0,0,0"/>
 | 
			
		||||
                <TextBox Text="{Binding Webhook}" Grid.Column="3"/>
 | 
			
		||||
            </Grid>
 | 
			
		||||
        </DataTemplate>
 | 
			
		||||
 | 
			
		||||
        <HierarchicalDataTemplate DataType="{x:Type local:SystemObjectives}" ItemsSource="{Binding Path=Objectives}">
 | 
			
		||||
            <Grid
 | 
			
		||||
                 HorizontalAlignment="Stretch"
 | 
			
		||||
                 Width="{Binding ActualWidth, ElementName=entries, Converter={StaticResource MinusFortyFiveConverter}}"
 | 
			
		||||
                >
 | 
			
		||||
                <Grid.ColumnDefinitions>
 | 
			
		||||
                    <ColumnDefinition Width="Auto"/>
 | 
			
		||||
                </Grid.ColumnDefinitions>
 | 
			
		||||
                <StackPanel Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" Margin="0,2,0,2">
 | 
			
		||||
                    <CheckBox Focusable="False" IsChecked="{Binding IsEnabled}" VerticalAlignment="Center"/>
 | 
			
		||||
                    <TextBlock Text="System: " Margin="2,0,0,0"/>
 | 
			
		||||
                    <TextBlock Text="{Binding SystemName}" FontWeight="DemiBold"/>
 | 
			
		||||
                </StackPanel>
 | 
			
		||||
            </Grid>
 | 
			
		||||
        </HierarchicalDataTemplate>
 | 
			
		||||
 | 
			
		||||
        <HierarchicalDataTemplate DataType="{x:Type local:Objective}"
 | 
			
		||||
                                  ItemsSource="{Binding Path=UITransactions}"
 | 
			
		||||
                                  ItemContainerStyle="{StaticResource StretchingTreeViewStyle}">
 | 
			
		||||
            <Grid
 | 
			
		||||
                                     HorizontalAlignment="Stretch"
 | 
			
		||||
                                     Width="{Binding ActualWidth, ElementName=entries, Converter={StaticResource MinusFortyFiveConverter}}"
 | 
			
		||||
                                    >
 | 
			
		||||
                <Grid.ColumnDefinitions>
 | 
			
		||||
                    <ColumnDefinition Width="Auto"/>
 | 
			
		||||
                    <ColumnDefinition Width="*" />
 | 
			
		||||
                    <ColumnDefinition Width="Auto"/>
 | 
			
		||||
                </Grid.ColumnDefinitions>
 | 
			
		||||
                <StackPanel Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" Margin="0,2,0,2">
 | 
			
		||||
                    <CheckBox Focusable="False" IsChecked="{Binding IsEnabled}" VerticalAlignment="Center"/>
 | 
			
		||||
                    <TextBlock Text="Faction: " Margin="2,0,0,0"/>
 | 
			
		||||
                    <TextBlock Text="{Binding Faction}" FontWeight="DemiBold"/>
 | 
			
		||||
                </StackPanel>
 | 
			
		||||
                <Separator Visibility="Hidden" Grid.Column="1" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" />
 | 
			
		||||
                <StackPanel Grid.Column="2" HorizontalAlignment="Right" VerticalAlignment="Center" Orientation="Horizontal">
 | 
			
		||||
                    <ToggleButton x:Name="ToggleAll" Content="Toggle All" Click="ToggleAll_Click" IsChecked="True" IsThreeState="False"/>
 | 
			
		||||
                    <Separator Margin="2,0,2,0" />
 | 
			
		||||
                    <Button x:Name="AddCombatZone" Content="Add Combat Zone" Click="AddCombatZone_Click" />
 | 
			
		||||
                </StackPanel>
 | 
			
		||||
            </Grid>
 | 
			
		||||
        </HierarchicalDataTemplate>
 | 
			
		||||
 | 
			
		||||
        <DataTemplate DataType="{x:Type local:UITransaction}">
 | 
			
		||||
            <!-- This will stretch out the width of the item-->
 | 
			
		||||
            <Grid Initialized="Transaction_Initialized"
 | 
			
		||||
                                            HorizontalAlignment="Left"
 | 
			
		||||
                                            Width="{Binding ActualWidth, ElementName=entries, Converter={StaticResource MinusFortyFiveConverter}}"
 | 
			
		||||
                                            Margin="0,2,0,2"
 | 
			
		||||
                                            >
 | 
			
		||||
                <Grid.ColumnDefinitions>
 | 
			
		||||
                    <ColumnDefinition Width="Auto"/>
 | 
			
		||||
                    <ColumnDefinition Width="*" />
 | 
			
		||||
                    <ColumnDefinition Width="Auto"/>
 | 
			
		||||
                    <ColumnDefinition Width="Auto"/>
 | 
			
		||||
                </Grid.ColumnDefinitions>
 | 
			
		||||
                <StackPanel Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Center">
 | 
			
		||||
                    <CheckBox Focusable="False" IsChecked="{Binding IsEnabled}" VerticalAlignment="Center"/>
 | 
			
		||||
                    <TextBlock Text="{Binding CompletedAt}" Margin="2,0,2,0" HorizontalAlignment="Right" TextAlignment="Center"/>
 | 
			
		||||
                    <TextBlock Text="{Binding Name}" FontWeight="DemiBold" TextAlignment="Center"/>
 | 
			
		||||
                </StackPanel>
 | 
			
		||||
                <StackPanel Grid.Column="2" Orientation="Horizontal" HorizontalAlignment="Right" x:Name="CombatZone" Visibility="{Binding IsCombatZone}">
 | 
			
		||||
                    <Expander Header="Optional Objectives" Visibility="{Binding IsShipCombatZone}">
 | 
			
		||||
                        <StackPanel Orientation="Vertical">
 | 
			
		||||
                            <ToggleButton x:Name="CapitalShip" Margin="2,0,2,0" Content="Capital Ship" IsChecked="{Binding HasCapitalShip, Mode=TwoWay}" IsThreeState="False"/>
 | 
			
		||||
                            <ToggleButton x:Name="AlliedCaptain" Margin="2,0,2,0" Content="Allied Captain" IsChecked="{Binding HasAlliedCaptain, Mode=TwoWay}" IsThreeState="False"/>
 | 
			
		||||
                            <ToggleButton x:Name="EnemyCaptain" Margin="2,0,2,0" Content="Enemy Captain" IsChecked="{Binding HasEnemyCaptain, Mode=TwoWay}" IsThreeState="False"/>
 | 
			
		||||
                            <ToggleButton x:Name="AlliedCorrespondent" Margin="2,0,2,0" Content="Allied Correspondent" IsChecked="{Binding HasAlliedCorrespondent, Mode=TwoWay}" IsThreeState="False"/>
 | 
			
		||||
                            <ToggleButton x:Name="EnemyCorrespondent" Margin="2,0,2,0" Content="Enemy Correspondent" IsChecked="{Binding HasEnemyCorrespondent, Mode=TwoWay}" IsThreeState="False"/>
 | 
			
		||||
                            <ToggleButton x:Name="SpecOps" Margin="2,0,2,0" Content="Spec Ops" IsChecked="{Binding HasSpecOps, Mode=TwoWay}" IsThreeState="False"/>
 | 
			
		||||
                        </StackPanel>
 | 
			
		||||
                    </Expander>
 | 
			
		||||
                    <Expander Header="Difficulty">
 | 
			
		||||
                        <StackPanel Orientation="Vertical">
 | 
			
		||||
                            <Button x:Name="Low" Content="Low" Click="Low_Click"/>
 | 
			
		||||
                            <Button x:Name="Med" Content="Med" Click="Med_Click"/>
 | 
			
		||||
                            <Button x:Name="High" Content="High" Click="High_Click"/>
 | 
			
		||||
                            <Button x:Name="VeryHigh" Content="Very High" Click="VeryHigh_Click" />
 | 
			
		||||
                        </StackPanel>
 | 
			
		||||
                    </Expander>
 | 
			
		||||
                    <Expander Header="Type">
 | 
			
		||||
                        <StackPanel Orientation="Vertical">
 | 
			
		||||
                            <Button Content="Ground" x:Name="Ground" Click="Ground_Click"/>
 | 
			
		||||
                            <Button Content="Ship" x:Name="Ship" Click="Ship_Click"/>
 | 
			
		||||
                            <Button Content="AX" x:Name="Thargoid" Click="Thargoid_Click"/>
 | 
			
		||||
                        </StackPanel>
 | 
			
		||||
                    </Expander>
 | 
			
		||||
                </StackPanel>
 | 
			
		||||
                <StackPanel Grid.Column="2" Orientation="Horizontal" HorizontalAlignment="Right" x:Name="SellCargo" Visibility="{Binding IsSellCargo}">
 | 
			
		||||
                    <TextBlock Text="Adjust Profit: " TextAlignment="Center" />
 | 
			
		||||
                    <TextBox x:Name="Profit" MinWidth="80" HorizontalContentAlignment="Right" Text="{Binding Profit, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" LostFocus="Profit_LostFocus" KeyUp="Profit_KeyUp"/>
 | 
			
		||||
                </StackPanel>
 | 
			
		||||
            </Grid>
 | 
			
		||||
        </DataTemplate>
 | 
			
		||||
 | 
			
		||||
    </Window.Resources>
 | 
			
		||||
    <!--
 | 
			
		||||
    <mah:MetroWindow.RightWindowCommands>
 | 
			
		||||
        <mah:WindowCommands ShowSeparators="False">
 | 
			
		||||
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Margin="5,0,5,0">
 | 
			
		||||
                <Hyperlink x:Name="URL" NavigateUri="https://salusinvicta.org/bgstool/" RequestNavigate="URL_RequestNavigate">Homepage</Hyperlink>
 | 
			
		||||
            </TextBlock>
 | 
			
		||||
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Margin="5,0,15,0">
 | 
			
		||||
                <Hyperlink x:Name="SRC" NavigateUri="https://codeberg.org/nola/EDBGS" RequestNavigate="URL_RequestNavigate">Source</Hyperlink>
 | 
			
		||||
            </TextBlock>
 | 
			
		||||
            <mah:ToggleSwitch Content="Dark Theme" x:Name="SwitchTheme" IsOn="True" Toggled="SwitchTheme_Toggled"/>
 | 
			
		||||
        </mah:WindowCommands>
 | 
			
		||||
    </mah:MetroWindow.RightWindowCommands>
 | 
			
		||||
    -->
 | 
			
		||||
    <Grid>
 | 
			
		||||
        <Grid.ColumnDefinitions>
 | 
			
		||||
            <ColumnDefinition Width="*"/>
 | 
			
		||||
        </Grid.ColumnDefinitions>
 | 
			
		||||
        <Grid.RowDefinitions>
 | 
			
		||||
            <RowDefinition Height="*"/>
 | 
			
		||||
        </Grid.RowDefinitions>
 | 
			
		||||
        <TabControl Style="{DynamicResource MahApps.Styles.TabControl.Animated}">
 | 
			
		||||
            <TabItem Header="Current Objectives">
 | 
			
		||||
                <Grid>
 | 
			
		||||
                    <Grid.RowDefinitions>
 | 
			
		||||
                        <RowDefinition Height="Auto"/>
 | 
			
		||||
                        <RowDefinition Height="Auto"/>
 | 
			
		||||
                        <RowDefinition/>
 | 
			
		||||
                        <RowDefinition Height="Auto"/>
 | 
			
		||||
                        <RowDefinition/>
 | 
			
		||||
                    </Grid.RowDefinitions>
 | 
			
		||||
                    <Grid.ColumnDefinitions>
 | 
			
		||||
                        <ColumnDefinition Width="*"/>
 | 
			
		||||
                        <ColumnDefinition Width="*"/>
 | 
			
		||||
                        <ColumnDefinition Width="*"/>
 | 
			
		||||
                    </Grid.ColumnDefinitions>
 | 
			
		||||
                    <ToolBar VerticalAlignment="Top" Grid.Row="0" Width="Auto" Margin="0,0,0,0" Height="Auto" Grid.ColumnSpan="3" HorizontalAlignment="Left">
 | 
			
		||||
                        <Button x:Name="ParseJournal" Content="Parse Journal" VerticalAlignment="Center" Click="ParseJournal_Click" HorizontalAlignment="Center"/>
 | 
			
		||||
                        <Separator Margin="1" VerticalAlignment="Center" MinWidth="1" HorizontalAlignment="Center" MinHeight="22"/>
 | 
			
		||||
                        <Label Content="From (UTC):" VerticalAlignment="Center" VerticalContentAlignment="Center" HorizontalAlignment="Center"/>
 | 
			
		||||
                        <DatePicker x:Name="startdate" Height="26.2857142857143" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 | 
			
		||||
                        <Label Content="To (UTC):" Height="26.2857142857143" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 | 
			
		||||
                        <DatePicker x:Name="enddate" Height="26.2857142857143" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 | 
			
		||||
                        <Separator Margin="1" VerticalAlignment="Center" MinWidth="1" HorizontalAlignment="Center" MinHeight="22"/>
 | 
			
		||||
                        <Button x:Name="ResetTime" Content="Reset Time" Click="ResetTime_Click" />
 | 
			
		||||
                        <Separator Margin="1" VerticalAlignment="Center" MinWidth="1" HorizontalAlignment="Center" MinHeight="22"/>
 | 
			
		||||
                        <Button x:Name="ManuallyParse" Content="Manually Parse" Click="ManuallyParse_Click" />
 | 
			
		||||
                    </ToolBar>
 | 
			
		||||
                    <ToolBar Grid.Row="1" HorizontalAlignment="Left" Height="Auto" VerticalAlignment="Top" Width="Auto" Grid.ColumnSpan="3">
 | 
			
		||||
                        <Button x:Name="GenerateDiscord" Content="Generate Discord Report" VerticalAlignment="Stretch" Margin="0,0,0,0" VerticalContentAlignment="Center" Click="GenerateDiscord_Click"/>
 | 
			
		||||
                        <Separator />
 | 
			
		||||
                        <ComboBox x:Name="LogType" VerticalAlignment="Stretch" Margin="0,3,0,3" Width="140" SelectionChanged="LogType_SelectionChanged" />
 | 
			
		||||
                        <Separator />
 | 
			
		||||
                        <CheckBox x:Name="SelectAll" Content="Select All" IsChecked="True" Click="SelectAll_Click"/>
 | 
			
		||||
                        <Separator />
 | 
			
		||||
                        <Label Content="Post log as" VerticalAlignment="Center" Margin="0,3,0,3" />
 | 
			
		||||
                        <ComboBox x:Name="Commanders" VerticalAlignment="Stretch" Margin="0,3,0,3" Width="180" />
 | 
			
		||||
                        <Label Content="to" VerticalAlignment="Center" Margin="0,3,0,3" />
 | 
			
		||||
                        <ComboBox x:Name="PostToDiscord" Content="Discord" />
 | 
			
		||||
                    </ToolBar>
 | 
			
		||||
                    <TreeView CheckBox.Checked="TreeView_CheckBox_Updated"
 | 
			
		||||
                              CheckBox.Unchecked="TreeView_CheckBox_Updated"
 | 
			
		||||
                              x:Name="entries" Margin="0,0,0,0"
 | 
			
		||||
                              Grid.ColumnSpan="3"
 | 
			
		||||
                              Grid.Row="2"
 | 
			
		||||
                              KeyUp="entries_KeyUp"
 | 
			
		||||
                              HorizontalAlignment="Stretch"
 | 
			
		||||
                              HorizontalContentAlignment="Stretch"
 | 
			
		||||
                              ItemsSource="{Binding Source={StaticResource ObjectivesBasedOnSystem}}"
 | 
			
		||||
                              >
 | 
			
		||||
                        <TreeView.ItemContainerStyle>
 | 
			
		||||
                            <Style TargetType="TreeViewItem">
 | 
			
		||||
                                <Setter Property="IsExpanded" Value="{Binding IsExpanded, Mode=TwoWay}" />
 | 
			
		||||
                            </Style>
 | 
			
		||||
                        </TreeView.ItemContainerStyle>
 | 
			
		||||
                    </TreeView>
 | 
			
		||||
                    <GridSplitter Background="LightSkyBlue" Grid.Row="3" Height="5" HorizontalAlignment="Stretch" VerticalAlignment="Top" Grid.ColumnSpan="3" ResizeBehavior="PreviousAndNext"/>
 | 
			
		||||
                    <TextBox x:Name="DiscordLog" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Row="4" Height="Auto" TextWrapping="Wrap" FontFamily="Consolas" FontSize="14" Grid.ColumnSpan="3" AcceptsReturn="True" AcceptsTab="True"/>
 | 
			
		||||
                </Grid>
 | 
			
		||||
            </TabItem>
 | 
			
		||||
            <TabItem Header="Settings">
 | 
			
		||||
                <Grid>
 | 
			
		||||
                    <Grid.RowDefinitions>
 | 
			
		||||
                        <RowDefinition Height="Auto"/>
 | 
			
		||||
                        <RowDefinition Height="Auto"/>
 | 
			
		||||
                        <RowDefinition Height="Auto"/>
 | 
			
		||||
                        <RowDefinition Height="Auto"/>
 | 
			
		||||
                        <RowDefinition Height="*"/>
 | 
			
		||||
                    </Grid.RowDefinitions>
 | 
			
		||||
                    <Grid.ColumnDefinitions>
 | 
			
		||||
                        <ColumnDefinition Width="*"/>
 | 
			
		||||
                        <ColumnDefinition Width="*"/>
 | 
			
		||||
                        <ColumnDefinition Width="*"/>
 | 
			
		||||
                    </Grid.ColumnDefinitions>
 | 
			
		||||
                    <GroupBox Header="Location of Player Journal" Height="Auto" Grid.Row="0" VerticalAlignment="Top" Width="Auto" Grid.ColumnSpan="3" Margin="0,0,0,0">
 | 
			
		||||
                        <Grid>
 | 
			
		||||
                            <Grid.RowDefinitions>
 | 
			
		||||
                                <RowDefinition Height="Auto"/>
 | 
			
		||||
                                <RowDefinition Height="Auto"/>
 | 
			
		||||
                            </Grid.RowDefinitions>
 | 
			
		||||
                            <Grid.ColumnDefinitions>
 | 
			
		||||
                                <ColumnDefinition Width="*"/>
 | 
			
		||||
                                <ColumnDefinition Width="Auto"/>
 | 
			
		||||
                                <ColumnDefinition Width="Auto"/>
 | 
			
		||||
                                <ColumnDefinition Width="Auto"/>
 | 
			
		||||
                            </Grid.ColumnDefinitions>
 | 
			
		||||
                            <Label Content="Location on disk for the player journal. There is usually no need to change this setting." Grid.Row="0" Grid.ColumnSpan="2" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.08,0.496"/>
 | 
			
		||||
                            <TextBox x:Name="journallocation" IsReadOnly="true" Text="" Grid.Row="1" Grid.Column="0" Margin="5,0,5,10" TextWrapping="Wrap" />
 | 
			
		||||
                            <Button x:Name="browsejournallocation" Content="Browse" Grid.Row="1" Grid.Column="1" Margin="0,0,0,0" Width="Auto" VerticalAlignment="Top" HorizontalAlignment="Left" Click="browsejournallocation_Click"/>
 | 
			
		||||
                            <Button x:Name="OpenInExplorer" Content="Open Folder" Grid.Row="1" Grid.Column="2" Margin="5,0,0,0" Width="Auto" VerticalAlignment="Top" HorizontalAlignment="Left" Click="OpenInExplorer_Click" />
 | 
			
		||||
                        </Grid>
 | 
			
		||||
                    </GroupBox>
 | 
			
		||||
                    <GroupBox Header="Theme Colour" Height="Auto" Grid.Row="1" VerticalAlignment="Top" Width="Auto" Grid.ColumnSpan="3" Margin="0,5,0,0">
 | 
			
		||||
                        <Grid>
 | 
			
		||||
                            <Grid.RowDefinitions>
 | 
			
		||||
                                <RowDefinition Height="Auto"/>
 | 
			
		||||
                                <RowDefinition Height="Auto"/>
 | 
			
		||||
                            </Grid.RowDefinitions>
 | 
			
		||||
                            <Grid.ColumnDefinitions>
 | 
			
		||||
                                <ColumnDefinition Width="*"/>
 | 
			
		||||
                                <ColumnDefinition Width="Auto"/>
 | 
			
		||||
                            </Grid.ColumnDefinitions>
 | 
			
		||||
                            <Label Content="Colour of the current theme." Grid.Row="0" Grid.ColumnSpan="2" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top"/>
 | 
			
		||||
                            <ComboBox x:Name="Colour" IsEditable="False" Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" Width="Auto" SelectionChanged="Colour_SelectionChanged"/>
 | 
			
		||||
                        </Grid>
 | 
			
		||||
                    </GroupBox>
 | 
			
		||||
                    <GroupBox Header="Advanced Parsing Options" Grid.Row="2" VerticalAlignment="Top" Width="Auto" Grid.ColumnSpan="3" Margin="0,5,0,0">
 | 
			
		||||
                        <Grid>
 | 
			
		||||
                            <Grid.RowDefinitions>
 | 
			
		||||
                                <RowDefinition Height="Auto"/>
 | 
			
		||||
                                <RowDefinition Height="Auto"/>
 | 
			
		||||
                                <RowDefinition Height="Auto"/>
 | 
			
		||||
                            </Grid.RowDefinitions>
 | 
			
		||||
                            <Grid.ColumnDefinitions>
 | 
			
		||||
                                <ColumnDefinition Width="*"/>
 | 
			
		||||
                                <ColumnDefinition Width="Auto"/>
 | 
			
		||||
                            </Grid.ColumnDefinitions>
 | 
			
		||||
                            <ToggleButton x:Name="NoInfluenceSupport" Grid.Row="0" Grid.ColumnSpan="2" Content="Ignore secondary influence support given out by certain missions" Toggled="NoInfluenceSupport_Toggled"/>
 | 
			
		||||
                            <ToggleButton x:Name="NoMarketBuy" Grid.Row="1" Grid.ColumnSpan="2" Content="Ignore commodities bought at stations" Toggled="NoMarketBuy_Toggled"/>
 | 
			
		||||
                            <ToggleButton x:Name="NoFleetCarrier" Grid.Row="2" Grid.ColumnSpan="2" Content="Ignore transactions done on a Fleet Carrier" Toggled="NoFleetCarrier_Toggled" />
 | 
			
		||||
                        </Grid>
 | 
			
		||||
                    </GroupBox>
 | 
			
		||||
                    <GroupBox Header="Discord Webhooks" Grid.Row="3" VerticalAlignment="Top" Width="Auto" Grid.ColumnSpan="3" Margin="0,5,0,0">
 | 
			
		||||
                        <Grid>
 | 
			
		||||
                            <Grid.RowDefinitions>
 | 
			
		||||
                                <RowDefinition Height="Auto" />
 | 
			
		||||
                                <RowDefinition Height="Auto" />
 | 
			
		||||
                            </Grid.RowDefinitions>
 | 
			
		||||
                            <DataGrid x:Name="Webhooks"
 | 
			
		||||
                                      Grid.Row="0"
 | 
			
		||||
                                      ItemsSource="{Binding Webhooks}"
 | 
			
		||||
                                      AutoGenerateColumns="False"
 | 
			
		||||
                                      ScrollViewer.CanContentScroll="True"
 | 
			
		||||
                                      ScrollViewer.VerticalScrollBarVisibility="Auto"
 | 
			
		||||
                                      ScrollViewer.HorizontalScrollBarVisibility="Auto"
 | 
			
		||||
                                      MaxHeight="100"
 | 
			
		||||
                                      MinHeight="100"
 | 
			
		||||
                                      KeyUp="Webhooks_KeyUp"
 | 
			
		||||
                                      CellEditEnding="Webhooks_CellEditEnding"
 | 
			
		||||
                                      >
 | 
			
		||||
                                <DataGrid.Columns>
 | 
			
		||||
                                    <DataGridTextColumn Header="Name" Binding="{Binding Name}"/>
 | 
			
		||||
                                    <DataGridTextColumn Header="Webhook URL" Binding="{Binding Webhook}" Width="*"/>
 | 
			
		||||
                                </DataGrid.Columns>
 | 
			
		||||
                            </DataGrid>
 | 
			
		||||
                            <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="5,10,5,0">
 | 
			
		||||
                                <Button x:Name="AddWebHook" Content="Add" Click="AddWebHook_Click"/>
 | 
			
		||||
                                <Button x:Name="RemoveWebHook" Content="Remove" Click="RemoveWebHook_Click" />
 | 
			
		||||
                            </StackPanel>
 | 
			
		||||
                        </Grid>
 | 
			
		||||
                    </GroupBox>
 | 
			
		||||
                </Grid>
 | 
			
		||||
            </TabItem>
 | 
			
		||||
            <TabItem Header="Event Log">
 | 
			
		||||
                <Grid>
 | 
			
		||||
                    <Grid.ColumnDefinitions>
 | 
			
		||||
                        <ColumnDefinition Width="*"/>
 | 
			
		||||
                    </Grid.ColumnDefinitions>
 | 
			
		||||
                    <Grid.RowDefinitions>
 | 
			
		||||
                        <RowDefinition Height="Auto"/>
 | 
			
		||||
                        <RowDefinition Height="*"/>
 | 
			
		||||
                    </Grid.RowDefinitions>
 | 
			
		||||
                    <TextBox IsReadOnly="True" Grid.Row="1" x:Name="log" Height="Auto" Margin="5" TextWrapping="Wrap" FontFamily="Courier New" />
 | 
			
		||||
                    <RichTextBox IsReadOnly="True" HorizontalAlignment="Left" Height="Auto" Margin="5" Width="Auto" VerticalContentAlignment="Stretch" VerticalAlignment="Top" BorderBrush="{x:Null}" SelectionBrush="{x:Null}">
 | 
			
		||||
                        <FlowDocument>
 | 
			
		||||
                            <Paragraph>
 | 
			
		||||
                                <Run Text="This tool does not recognise every option and/or configuration that E:D outputs through its JSON files."/>
 | 
			
		||||
                            </Paragraph>
 | 
			
		||||
                            <Paragraph>
 | 
			
		||||
                                <Run Text="Within this log you will find error messages that are of interest to the author (CMDR Hekateh). If something appears here please send it to me via Discord."/>
 | 
			
		||||
                            </Paragraph>
 | 
			
		||||
                        </FlowDocument>
 | 
			
		||||
                    </RichTextBox>
 | 
			
		||||
                </Grid>
 | 
			
		||||
            </TabItem>
 | 
			
		||||
        </TabControl>
 | 
			
		||||
    </Grid>
 | 
			
		||||
</Window>
 | 
			
		||||
@ -1,710 +0,0 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using EDPlayerJournal;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
using EDPlayerJournal.Entries;
 | 
			
		||||
using EliteBGS.BGS;
 | 
			
		||||
using EliteBGS.Util;
 | 
			
		||||
using System.Globalization;
 | 
			
		||||
using System.Diagnostics;
 | 
			
		||||
using Avalonia;
 | 
			
		||||
using Avalonia.Controls;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS;
 | 
			
		||||
 | 
			
		||||
/// <summary>
 | 
			
		||||
/// Interaction logic for MainWindow.xaml
 | 
			
		||||
/// </summary>
 | 
			
		||||
public partial class MainWindow : Window {
 | 
			
		||||
    private PlayerJournal journal;
 | 
			
		||||
    private Report report;
 | 
			
		||||
 | 
			
		||||
    public Config Config { get; set; } = new Config();
 | 
			
		||||
 | 
			
		||||
    private LoadEntriesWindow loadentries = null;
 | 
			
		||||
 | 
			
		||||
    private static readonly List<DiscordLogGenerator> logtypes = new List<DiscordLogGenerator>() {
 | 
			
		||||
        new GenericDiscordLog(),
 | 
			
		||||
        new NonaDiscordLog(),
 | 
			
		||||
        new OneLineDiscordLog(),
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    public MainWindow() {
 | 
			
		||||
        InitializeComponent();
 | 
			
		||||
 | 
			
		||||
        try {
 | 
			
		||||
            Config.LoadGlobal();
 | 
			
		||||
        } catch (Exception) {
 | 
			
		||||
            /* ignored */
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        Webhooks.ItemsSource = Config.Global.Webhooks;
 | 
			
		||||
        RefreshPostMenu();
 | 
			
		||||
 | 
			
		||||
        foreach (DiscordLogGenerator type in logtypes) {
 | 
			
		||||
            LogType.Items.Add(type);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        string lastused = Config.Global.LastUsedDiscordTemplate;
 | 
			
		||||
        int lastindex = logtypes.FindIndex(x => x.ToString() == lastused);
 | 
			
		||||
        if (lastindex > -1) {
 | 
			
		||||
            LogType.SelectedIndex = lastindex;
 | 
			
		||||
        } else {
 | 
			
		||||
            LogType.SelectedIndex = 0;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        this.NoInfluenceSupport.IsOn = Config.Global.IgnoreInfluenceSupport;
 | 
			
		||||
        this.NoMarketBuy.IsOn = Config.Global.IgnoreMarketBuy;
 | 
			
		||||
        this.NoFleetCarrier.IsOn = Config.Global.IgnoreFleetCarrier;
 | 
			
		||||
 | 
			
		||||
        // Apply theme
 | 
			
		||||
        try {
 | 
			
		||||
            AddCustomThemes();
 | 
			
		||||
 | 
			
		||||
            string[] colours = ThemeManager.Current.Themes
 | 
			
		||||
                .Select(x => x.ColorScheme)
 | 
			
		||||
                .DistinctBy(x => x)
 | 
			
		||||
                .OrderBy(x => x)
 | 
			
		||||
                .ToArray()
 | 
			
		||||
                ;
 | 
			
		||||
 | 
			
		||||
            foreach (var colour in colours) {
 | 
			
		||||
                Colour.Items.Add(colour);
 | 
			
		||||
                if (!string.IsNullOrEmpty(Config.Global.Colour) &&
 | 
			
		||||
                    string.Compare(colour, Config.Global.Colour, true) == 0) {
 | 
			
		||||
                    Colour.SelectedIndex = Colour.Items.Count - 1;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (Colour.SelectedIndex < 0) {
 | 
			
		||||
                Colour.SelectedIndex = 0;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            SwitchTheme.IsOn = (string.Compare(Config.Global.Theme, "dark", true) == 0);
 | 
			
		||||
 | 
			
		||||
            ThemeManager.Current.ChangeTheme(this, Config.Global.FullTheme);
 | 
			
		||||
        } catch (Exception) {
 | 
			
		||||
            // Theme is invalid, revert back to our standard dark theme
 | 
			
		||||
            Config.Global.Colour = "Amber";
 | 
			
		||||
            Config.Global.Theme = "Dark";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        journal = new PlayerJournal(Config.Global.JournalLocation);
 | 
			
		||||
 | 
			
		||||
        // Set both to now
 | 
			
		||||
        InitialiseTime();
 | 
			
		||||
 | 
			
		||||
        journallocation.Text = Config.Global.JournalLocation;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void AddCustomThemes() {
 | 
			
		||||
        Dictionary<string, Color> colorThemes = new() {
 | 
			
		||||
            //{ "HouseSalus", Color.FromRgb(0xBC, 0x94, 0x39) },
 | 
			
		||||
            { "HouseSalus", Color.FromRgb(0xED, 0xDA, 0x70) },
 | 
			
		||||
            { "NovaNavy", Color.FromRgb(0xA1, 0xA4, 0xDB) },
 | 
			
		||||
            // Official Red of the Polish Flag
 | 
			
		||||
            { "PolskaGurom", Color.FromRgb(0xD4, 0x21, 0x3D) },
 | 
			
		||||
            // Official Blue in the Armenian Flag
 | 
			
		||||
            { "ArmeniaBlue", Color.FromRgb(0x00, 0x33, 0xA0) },
 | 
			
		||||
        };
 | 
			
		||||
 | 
			
		||||
        foreach (var colourtheme in colorThemes) {
 | 
			
		||||
            var brush = new SolidColorBrush(colourtheme.Value);
 | 
			
		||||
 | 
			
		||||
            // Add light theme
 | 
			
		||||
            ThemeManager.Current.AddTheme(new Theme(
 | 
			
		||||
                "Light." + colourtheme.Key,
 | 
			
		||||
                "Light." + colourtheme.Key,
 | 
			
		||||
                "Light",
 | 
			
		||||
                colourtheme.Key,
 | 
			
		||||
                colourtheme.Value,
 | 
			
		||||
                brush,
 | 
			
		||||
                true,
 | 
			
		||||
                false)
 | 
			
		||||
                );
 | 
			
		||||
            // Add dark theme
 | 
			
		||||
            ThemeManager.Current.AddTheme(new Theme(
 | 
			
		||||
                "Dark." + colourtheme.Key,
 | 
			
		||||
                "Dark." + colourtheme.Key,
 | 
			
		||||
                "Dark",
 | 
			
		||||
                colourtheme.Key,
 | 
			
		||||
                colourtheme.Value,
 | 
			
		||||
                brush,
 | 
			
		||||
                true,
 | 
			
		||||
                false)
 | 
			
		||||
                );
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void InitialiseTime() {
 | 
			
		||||
        DateTime today = DateTime.Today;
 | 
			
		||||
        DateTime tomorrow = today.AddDays(1);
 | 
			
		||||
 | 
			
		||||
        // HOCHKULTUR
 | 
			
		||||
        startdate.Culture = enddate.Culture = CultureInfo.GetCultureInfo("de-AT");
 | 
			
		||||
 | 
			
		||||
        startdate.SelectedDateTime = today;
 | 
			
		||||
        enddate.SelectedDateTime = tomorrow;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void TreeView_CheckBox_Updated(object sender, RoutedEventArgs args) {
 | 
			
		||||
        GenerateLog();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Report_OnLog(string message) {
 | 
			
		||||
        StringBuilder builder = new StringBuilder();
 | 
			
		||||
 | 
			
		||||
        builder.Append(DateTime.Now.ToString());
 | 
			
		||||
        builder.Append(": ");
 | 
			
		||||
        builder.Append(message);
 | 
			
		||||
        builder.Append("\n");
 | 
			
		||||
 | 
			
		||||
        log.AppendText(builder.ToString());
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Log(string message) {
 | 
			
		||||
        Report_OnLog(message);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void HandleEntries(List<Entry> entries, DateTime start, DateTime end) {
 | 
			
		||||
        try {
 | 
			
		||||
            TransactionParser parser = new();
 | 
			
		||||
            TransactionParserOptions options = new();
 | 
			
		||||
 | 
			
		||||
            options.IgnoreInfluenceSupport = Config.Global.IgnoreInfluenceSupport;
 | 
			
		||||
            options.IgnoreMarketBuy = Config.Global.IgnoreMarketBuy;
 | 
			
		||||
            options.IgnoreFleetCarrierFaction = Config.Global.IgnoreFleetCarrier;
 | 
			
		||||
 | 
			
		||||
            List<Transaction> transactions = parser.Parse(entries, options);
 | 
			
		||||
 | 
			
		||||
            Commanders.ItemsSource = parser.Commanders;
 | 
			
		||||
            if (Commanders.Items.Count > 0) {
 | 
			
		||||
                Commanders.SelectedIndex = 0;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // Filter the transactions down to the given time frame
 | 
			
		||||
            transactions = transactions
 | 
			
		||||
                .Where(t => t.CompletedAtDateTime >= start && t.CompletedAtDateTime <= end)
 | 
			
		||||
                .ToList()
 | 
			
		||||
                ;
 | 
			
		||||
 | 
			
		||||
            List<IncompleteTransaction> incompletes = transactions.OfType<IncompleteTransaction>().ToList();
 | 
			
		||||
            // Log incomplete and remove them from the results.
 | 
			
		||||
            foreach (var incomplete in incompletes) {
 | 
			
		||||
                Log(incomplete.Reason);
 | 
			
		||||
            }
 | 
			
		||||
            transactions.RemoveAll(x => incompletes.Contains(x));
 | 
			
		||||
 | 
			
		||||
            report = new Report(transactions);
 | 
			
		||||
            this.entries.ItemsSource = report.SystemObjectives;
 | 
			
		||||
        } catch (Exception exception) {
 | 
			
		||||
            Log("Something went terribly wrong while parsing the E:D player journal.");
 | 
			
		||||
            Log("Please send this to CMDR Hekateh:");
 | 
			
		||||
            Log(exception.ToString());
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void HandleEntries(List<Entry> entries) {
 | 
			
		||||
        HandleEntries(entries, startdate.SelectedDateTime ?? DateTime.Now, enddate.SelectedDateTime ?? DateTime.Now);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Loadentries_EntriesLoaded(List<Entry> lines) {
 | 
			
		||||
        HandleEntries(lines);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void ParseJournal_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        try {
 | 
			
		||||
            TransactionParser parser = new TransactionParser();
 | 
			
		||||
 | 
			
		||||
            DateTime start = startdate.SelectedDateTime ?? DateTime.Now;
 | 
			
		||||
            DateTime end = enddate.SelectedDateTime ?? DateTime.Now;
 | 
			
		||||
 | 
			
		||||
            journal.Open(); // Load all files
 | 
			
		||||
            // 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);
 | 
			
		||||
            DateTime actualend = end.AddDays(1);
 | 
			
		||||
            List<Entry> entries = journal.Files
 | 
			
		||||
                .Where(f => f.NormalisedDateTime >= actualstart && f.NormalisedDateTime <= actualend)
 | 
			
		||||
                .SelectMany(e => e.Entries)
 | 
			
		||||
                .ToList()
 | 
			
		||||
                ;
 | 
			
		||||
 | 
			
		||||
            HandleEntries(entries, start, end);
 | 
			
		||||
            GenerateLog();
 | 
			
		||||
 | 
			
		||||
            var errors = journal.AllErrors;
 | 
			
		||||
            foreach (var error in errors) {
 | 
			
		||||
                Log("An error has occured in the Journal file, please send this to CMDR Hekateh:");
 | 
			
		||||
                Log(error.ToString());
 | 
			
		||||
            }
 | 
			
		||||
        } catch (Exception exception) {
 | 
			
		||||
            Log("Something went terribly wrong while parsing the E:D player journal.");
 | 
			
		||||
            Log("Please send this to CMDR Hekateh:");
 | 
			
		||||
            Log(exception.ToString());
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void GenerateLog() {
 | 
			
		||||
        try {
 | 
			
		||||
            DiscordLogGenerator discord = LogType.SelectedItem as DiscordLogGenerator;
 | 
			
		||||
            string report = discord.GenerateDiscordLog(this.report);
 | 
			
		||||
 | 
			
		||||
            DiscordLog.Text = report;
 | 
			
		||||
        } catch (Exception exception) {
 | 
			
		||||
            Log("Something went terribly wrong while generating the Discord log.");
 | 
			
		||||
            Log("Please send this to CMDR Hekateh:");
 | 
			
		||||
            Log(exception.ToString());
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void GenerateDiscord_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        GenerateLog();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void RemoveCurrentObjective() {
 | 
			
		||||
        if (entries.SelectedItem == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        object obj = entries.SelectedItem;
 | 
			
		||||
        bool removed = false;
 | 
			
		||||
 | 
			
		||||
        if (obj.GetType() == typeof(SystemObjectives)) {
 | 
			
		||||
            removed = report.SystemObjectives.Remove(obj as SystemObjectives);
 | 
			
		||||
        } else if (obj.GetType() == typeof(Objective)) {
 | 
			
		||||
            report
 | 
			
		||||
                .SystemObjectives
 | 
			
		||||
                .ForEach(x => {
 | 
			
		||||
                    if (x.Objectives.Remove(obj as Objective)) {
 | 
			
		||||
                        removed = true;
 | 
			
		||||
                    }
 | 
			
		||||
                });
 | 
			
		||||
        } else if (obj.GetType() == typeof(UITransaction) ||
 | 
			
		||||
                   obj.GetType().IsSubclassOf(typeof(UITransaction))) {
 | 
			
		||||
            report
 | 
			
		||||
                .SystemObjectives
 | 
			
		||||
                .SelectMany(x => 
 | 
			
		||||
                    x.Objectives
 | 
			
		||||
                    .Where(x => x.UITransactions.Contains(obj as UITransaction))
 | 
			
		||||
                    )
 | 
			
		||||
                .ToList()
 | 
			
		||||
                .ForEach(x => removed = x.UITransactions.Remove(obj as UITransaction))
 | 
			
		||||
                ;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (removed) {
 | 
			
		||||
            RefreshView();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void entries_KeyUp(object sender, KeyEventArgs e) {
 | 
			
		||||
        if (e.Key == Key.Delete) {
 | 
			
		||||
            RemoveCurrentObjective();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void browsejournallocation_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        var dialog = new VistaFolderBrowserDialog();
 | 
			
		||||
 | 
			
		||||
        if ((bool)!dialog.ShowDialog()) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        Config.Global.JournalLocation = dialog.SelectedPath;
 | 
			
		||||
        journallocation.Text = Config.Global.JournalLocation;
 | 
			
		||||
        journal = new PlayerJournal(Config.Global.JournalLocation);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private Objective GetObjectiveFromControl(object sender) {
 | 
			
		||||
        Control control = sender as Control;
 | 
			
		||||
        if (control == null || control.DataContext == null) {
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return control.DataContext as Objective;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void AddCombatZone_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        Objective objective = GetObjectiveFromControl(sender);
 | 
			
		||||
        if (objective == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        CombatZone zone = new CombatZone {
 | 
			
		||||
            Faction = objective.Faction,
 | 
			
		||||
            System = objective.System,
 | 
			
		||||
            Grade = "Low",
 | 
			
		||||
            Type = "Ship",
 | 
			
		||||
        };
 | 
			
		||||
 | 
			
		||||
        UITransaction uitransaction = new UITransaction(zone);
 | 
			
		||||
        objective.UITransactions.Add(uitransaction);
 | 
			
		||||
 | 
			
		||||
        RefreshView();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void RefreshView() {
 | 
			
		||||
        entries.Items.Refresh();
 | 
			
		||||
        GenerateLog();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void LogType_SelectionChanged(object sender, SelectionChangedEventArgs e) {
 | 
			
		||||
        if (LogType.SelectedItem == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        string template = LogType.SelectedItem.ToString();
 | 
			
		||||
        Config.Global.LastUsedDiscordTemplate = template;
 | 
			
		||||
        GenerateLog();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void ManuallyParse_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        if (loadentries != null) {
 | 
			
		||||
            loadentries.Show();
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        loadentries = new LoadEntriesWindow();
 | 
			
		||||
        loadentries.Closed += Loadentries_Closed;
 | 
			
		||||
        loadentries.EntriesLoaded += Loadentries_EntriesLoaded;
 | 
			
		||||
        loadentries.Show();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Loadentries_Closed(object sender, EventArgs e) {
 | 
			
		||||
        loadentries = null;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void window_Closing(object sender, System.ComponentModel.CancelEventArgs e) {
 | 
			
		||||
        loadentries?.Close();
 | 
			
		||||
        loadentries = null;
 | 
			
		||||
 | 
			
		||||
        try {
 | 
			
		||||
            Config.SaveGlobal();
 | 
			
		||||
        } catch (Exception error) {
 | 
			
		||||
            MessageBox.Show("There was an error saving your settings: " + error.Message);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Transaction_Initialized(object sender, EventArgs e) {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private TransactionType GetTransaction<TransactionType>(object sender) where TransactionType : Transaction {
 | 
			
		||||
        Control button = sender as Control;
 | 
			
		||||
        if (button == null || button.DataContext == null) {
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        UITransaction transaction = button.DataContext as UITransaction;
 | 
			
		||||
        if (transaction == null) {
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return transaction.Transaction as TransactionType;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Low_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        CombatZone transaction = GetTransaction<CombatZone>(sender);
 | 
			
		||||
        if (transaction == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        transaction.Grade = CombatZones.DifficultyLow;
 | 
			
		||||
        RefreshView();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Med_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        CombatZone transaction = GetTransaction<CombatZone>(sender);
 | 
			
		||||
        if (transaction == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        transaction.Grade = CombatZones.DifficultyMedium;
 | 
			
		||||
        RefreshView();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void High_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        CombatZone transaction = GetTransaction<CombatZone>(sender);
 | 
			
		||||
        if (transaction == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        transaction.Grade = CombatZones.DifficultyHigh;
 | 
			
		||||
        RefreshView();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void VeryHigh_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        CombatZone transaction = GetTransaction<CombatZone>(sender);
 | 
			
		||||
        if (transaction == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        transaction.Grade = CombatZones.DifficultyVeryHigh;
 | 
			
		||||
        RefreshView();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Ground_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        CombatZone transaction = GetTransaction<CombatZone>(sender);
 | 
			
		||||
        if (transaction == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        transaction.Type = CombatZones.GroundCombatZone;
 | 
			
		||||
        RefreshView();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Ship_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        CombatZone transaction = GetTransaction<CombatZone>(sender);
 | 
			
		||||
        if (transaction == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        transaction.Type = CombatZones.ShipCombatZone;
 | 
			
		||||
        RefreshView();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Thargoid_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        CombatZone transaction = GetTransaction<CombatZone>(sender);
 | 
			
		||||
        if (transaction == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        transaction.Type = CombatZones.AXCombatZone;
 | 
			
		||||
        RefreshView();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Profit_LostFocus(object sender, RoutedEventArgs e) {
 | 
			
		||||
        RefreshView();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Profit_KeyUp(object sender, System.Windows.Input.KeyEventArgs e) {
 | 
			
		||||
        if (e.Key == Key.Enter) {
 | 
			
		||||
            RefreshView();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private DateTime ResetTimeToZero(DateTime d) {
 | 
			
		||||
        DateTime obj = d;
 | 
			
		||||
 | 
			
		||||
        obj = obj.AddHours(d.Hour * -1);
 | 
			
		||||
        obj = obj.AddMinutes(d.Minute * -1);
 | 
			
		||||
        obj = obj.AddSeconds(d.Second * -1);
 | 
			
		||||
 | 
			
		||||
        return obj;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void ResetTime_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        DateTime? d = startdate.SelectedDateTime;
 | 
			
		||||
        if (d != null) {
 | 
			
		||||
            startdate.SelectedDateTime = ResetTimeToZero(d.Value);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        d = enddate.SelectedDateTime;
 | 
			
		||||
        if (d != null) {
 | 
			
		||||
            enddate.SelectedDateTime = ResetTimeToZero(d.Value);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void ToggleAll_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        ToggleButton button = sender as ToggleButton;
 | 
			
		||||
        Objective objective = GetObjectiveFromControl(sender);
 | 
			
		||||
        if (objective == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        objective.UITransactions
 | 
			
		||||
            .ForEach(x => x.IsEnabled = (button.IsChecked ?? true))
 | 
			
		||||
            ;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void UpdateTheme() {
 | 
			
		||||
        ThemeManager.Current.ChangeTheme(this, Config.Global.FullTheme);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void SwitchTheme_Toggled(object sender, RoutedEventArgs e) {
 | 
			
		||||
        ToggleSwitch toggle = sender as ToggleSwitch;
 | 
			
		||||
        if (toggle.IsOn) {
 | 
			
		||||
            Config.Global.Theme = "Dark";
 | 
			
		||||
        } else {
 | 
			
		||||
            Config.Global.Theme = "Light";
 | 
			
		||||
        }
 | 
			
		||||
        UpdateTheme();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Colour_SelectionChanged(object sender, SelectionChangedEventArgs e) {
 | 
			
		||||
        if (Colour.SelectedItem == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        Config.Global.Colour = Colour.SelectedItem.ToString();
 | 
			
		||||
        UpdateTheme();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void URL_RequestNavigate(object sender, System.Windows.Navigation.RequestNavigateEventArgs e) {
 | 
			
		||||
        ProcessStartInfo info = new ProcessStartInfo();
 | 
			
		||||
        info.UseShellExecute = true;
 | 
			
		||||
        info.FileName = e.Uri.AbsoluteUri;
 | 
			
		||||
        Process.Start(info);
 | 
			
		||||
        e.Handled = true;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void NoInfluenceSupport_Toggled(object sender, RoutedEventArgs e) {
 | 
			
		||||
        Config.Global.IgnoreInfluenceSupport = this.NoInfluenceSupport.IsOn;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void NoMarketBuy_Toggled(object sender, RoutedEventArgs e) {
 | 
			
		||||
        Config.Global.IgnoreMarketBuy = this.NoMarketBuy.IsOn;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void NoFleetCarrier_Toggled(object sender, RoutedEventArgs e) {
 | 
			
		||||
        Config.Global.IgnoreFleetCarrier = this.NoFleetCarrier.IsOn;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void OpenInExplorer_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        try {
 | 
			
		||||
            Process.Start(new ProcessStartInfo(Config.Global.JournalLocation) {
 | 
			
		||||
                UseShellExecute = true,
 | 
			
		||||
            });
 | 
			
		||||
        } catch (Exception) {
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void SelectAll_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        if (report == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        report.SystemObjectives.ForEach(t => { t.IsEnabled = (bool)SelectAll.IsChecked; });
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void AddWebHook_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        Config.Global.Webhooks.Add(new DiscordWebhook {
 | 
			
		||||
            Name = "Discord Server Name",
 | 
			
		||||
            Webhook = "..."
 | 
			
		||||
        });
 | 
			
		||||
        Webhooks.Items.Refresh();
 | 
			
		||||
        RefreshPostMenu();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void RemoveWebHook_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        if (Webhooks.SelectedItems.Count <= 0) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        var selection = Webhooks.SelectedItems
 | 
			
		||||
            .OfType<DiscordWebhook>()
 | 
			
		||||
            .ToList()
 | 
			
		||||
            ;
 | 
			
		||||
        foreach (var item in selection) {
 | 
			
		||||
            Config.Global.Webhooks.Remove(item);
 | 
			
		||||
        }
 | 
			
		||||
        Webhooks.Items.Refresh();
 | 
			
		||||
        RefreshPostMenu();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Webhooks_KeyUp(object sender, KeyEventArgs e) {
 | 
			
		||||
        DataGridCell cell = e.OriginalSource as DataGridCell;
 | 
			
		||||
        /* We also get keypresses from DataGridCells that are currently
 | 
			
		||||
         * editing their content. Filter those out. We don't want to delete
 | 
			
		||||
         * the row when the user presses DEL while editing the cells content
 | 
			
		||||
         */
 | 
			
		||||
        if (cell == null || cell.IsEditing) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        if (e.Key == Key.Delete) {
 | 
			
		||||
            RemoveWebHook_Click(this, new RoutedEventArgs());
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Webhooks_CellEditEnding(object sender, DataGridCellEditEndingEventArgs e) {
 | 
			
		||||
        try {
 | 
			
		||||
            Config.SaveGlobal();
 | 
			
		||||
        } catch (Exception) { }
 | 
			
		||||
        e.Cancel = false;
 | 
			
		||||
        RefreshPostMenu();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void RefreshPostMenu() {
 | 
			
		||||
        MenuItem menu;
 | 
			
		||||
        PostToDiscord.Items.Clear();
 | 
			
		||||
        if (Config.Global.Webhooks.Count <= 0) {
 | 
			
		||||
            PostToDiscord.IsEnabled = false;
 | 
			
		||||
        } else {
 | 
			
		||||
            PostToDiscord.IsEnabled = true;
 | 
			
		||||
            foreach (var item in Config.Global.Webhooks) {
 | 
			
		||||
                menu = new MenuItem();
 | 
			
		||||
                menu.Header = item.Name;
 | 
			
		||||
                menu.Click += DiscordWebhook_Click;
 | 
			
		||||
                PostToDiscord.Items.Add(menu);
 | 
			
		||||
            }
 | 
			
		||||
            PostToDiscord.Items.Add(new Separator());
 | 
			
		||||
 | 
			
		||||
            menu = new MenuItem();
 | 
			
		||||
            menu.Header = "All";
 | 
			
		||||
            menu.Click += PostToAll_Click;
 | 
			
		||||
            PostToDiscord.Items.Add(menu);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void PostToDiscordWebhook(IEnumerable<DiscordWebhook> hooks) {
 | 
			
		||||
        if (string.IsNullOrEmpty(DiscordLog.Text)) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        DiscordLogGenerator discord = LogType.SelectedItem as DiscordLogGenerator;
 | 
			
		||||
        string[] chunks;
 | 
			
		||||
 | 
			
		||||
        try {
 | 
			
		||||
            chunks = discord.SplitLog(DiscordLog.Text);
 | 
			
		||||
        } catch (Exception) {
 | 
			
		||||
            MessageBox.Show(
 | 
			
		||||
                "The log could not be split into discord appropriate length.\n" +
 | 
			
		||||
                "This happens with the bigger logs formats if you do lots of things in one system.\n" +
 | 
			
		||||
                "Try posting the log in the OneLine format.",
 | 
			
		||||
                "Sorry!", MessageBoxButton.OK, MessageBoxImage.Error
 | 
			
		||||
                );
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        string commander = "EDBGS";
 | 
			
		||||
        if (Commanders.SelectedIndex >= 0) {
 | 
			
		||||
            commander = Commanders.SelectedItem.ToString();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        foreach (var hook in hooks) {
 | 
			
		||||
            try {
 | 
			
		||||
                foreach (var chunk in chunks) {
 | 
			
		||||
                    DiscordPoster.PostToDiscord(hook, chunk, commander);
 | 
			
		||||
                }
 | 
			
		||||
                Log(string.Format("successfully posted to discord webhook `{0}`", hook.Name));
 | 
			
		||||
            } catch (Exception ex) {
 | 
			
		||||
                Log(string.Format("failed to post to discord webhook `{0}`: {1}",
 | 
			
		||||
                    hook.Name, ex.Message));
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void DiscordWebhook_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        MenuItem item = sender as MenuItem;
 | 
			
		||||
        if (item == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        DiscordWebhook hook = Config.Global.Webhooks
 | 
			
		||||
            .Find(x => string.Compare(x.Name, item.Header.ToString()) == 0)
 | 
			
		||||
            ;
 | 
			
		||||
        if (hook == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        PostToDiscordWebhook(new DiscordWebhook[] { hook });
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void PostToAll_Click(object sender, RoutedEventArgs e) {
 | 
			
		||||
        PostToDiscordWebhook(Config.Global.Webhooks);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,18 +0,0 @@
 | 
			
		||||
using System.Globalization;
 | 
			
		||||
using System;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS;
 | 
			
		||||
 | 
			
		||||
public class MinusFortyFiveConverter : IValueConverter {
 | 
			
		||||
    /// <inheritdoc/>
 | 
			
		||||
    public object Convert(
 | 
			
		||||
        object value, Type targetType, object parameter, CultureInfo culture) {
 | 
			
		||||
        return (double)value - 110;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /// <inheritdoc/>
 | 
			
		||||
    public object ConvertBack(
 | 
			
		||||
        object value, Type targetType, object parameter, CultureInfo culture) {
 | 
			
		||||
        throw new NotSupportedException("Cannot convert back");
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,98 +0,0 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Globalization;
 | 
			
		||||
using EDPlayerJournal;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.BGS;
 | 
			
		||||
 | 
			
		||||
public class NonaDiscordLog : DiscordLogGenerator {
 | 
			
		||||
    protected override string BotHeader() {
 | 
			
		||||
        var sb = new StringBuilder();
 | 
			
		||||
        sb.AppendFormat(":robot: `Bot-Header:` {0}; {1}\n", GetToolVersion(), this.Name);
 | 
			
		||||
        return sb.ToString();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private string FormatDate() {
 | 
			
		||||
        CultureInfo cultureInfo = CultureInfo.InvariantCulture;
 | 
			
		||||
        StringBuilder date = new StringBuilder();
 | 
			
		||||
        DateTime today = DateTime.UtcNow;
 | 
			
		||||
        string suffix;
 | 
			
		||||
 | 
			
		||||
        if (today.Day == 1 || today.Day == 21 || today.Day == 31) {
 | 
			
		||||
            suffix = "st";
 | 
			
		||||
        } else if (today.Day == 2 || today.Day == 22) {
 | 
			
		||||
            suffix = "nd";
 | 
			
		||||
        // Shakaka wins the price for finding this "bug"!
 | 
			
		||||
        } else if (today.Day == 3 || today.Day == 23) {
 | 
			
		||||
            suffix = "rd";
 | 
			
		||||
        } else {
 | 
			
		||||
            suffix = "th";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        date.AppendFormat("{0} {1}{2}, {3}",
 | 
			
		||||
            cultureInfo.DateTimeFormat.GetMonthName(today.Month), 
 | 
			
		||||
            today.Day, suffix,
 | 
			
		||||
            today.Year + EliteDangerous.YearOffset
 | 
			
		||||
            );
 | 
			
		||||
 | 
			
		||||
        return date.ToString();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected override string GenerateObjectiveHeader(Objective objective) {
 | 
			
		||||
        StringBuilder log = new StringBuilder();
 | 
			
		||||
 | 
			
		||||
        string location;
 | 
			
		||||
 | 
			
		||||
        if (!string.IsNullOrEmpty(objective.System) && !string.IsNullOrEmpty(objective.Faction)) {
 | 
			
		||||
            location = string.Format("{0}, {1}", objective.System, objective.Faction);
 | 
			
		||||
        } else if (!string.IsNullOrEmpty(objective.System)) {
 | 
			
		||||
            location = objective.System;
 | 
			
		||||
        } else {
 | 
			
		||||
            location = "Unknown Location";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        int legacycount = objective.Transactions
 | 
			
		||||
                    .Where(x => x.IsLegacy)
 | 
			
		||||
                    .Count()
 | 
			
		||||
                    ;
 | 
			
		||||
 | 
			
		||||
        string summary = GenerateSummary(objective);
 | 
			
		||||
 | 
			
		||||
        log.AppendFormat(":globe_with_meridians: `Target:` {0}\n", location);
 | 
			
		||||
        if (!string.IsNullOrEmpty(summary)) {
 | 
			
		||||
            log.AppendFormat(":scroll: `Summary:` {0}\n", summary);
 | 
			
		||||
        }
 | 
			
		||||
        if (legacycount > 0) {
 | 
			
		||||
            log.Append(":rotating_light: `Warning`: Some actions were done in E:D Legacy\n");
 | 
			
		||||
        }
 | 
			
		||||
        log.Append(":clipboard: `Conducted:`\n");
 | 
			
		||||
        log.Append("```\n");
 | 
			
		||||
 | 
			
		||||
        return log.ToString();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected override string GenerateObjectiveFooter(Objective objective) {
 | 
			
		||||
        return "```\n";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected override string GenerateHeader() {
 | 
			
		||||
        return string.Format(":clock2: `Date:` {0}\n", FormatDate());
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected override string GenerateFooter() {
 | 
			
		||||
        return "\n";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public override string ToString() {
 | 
			
		||||
        return "Nova Navy";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public override string Name {
 | 
			
		||||
        get { return "NovaNavy"; }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public override string[] SplitLog(string log, int maxcount = 2000) {
 | 
			
		||||
        return SplitLogWithHeader(log, ":clock2: `Date:`", maxcount);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,320 +0,0 @@
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using Newtonsoft.Json;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Windows;
 | 
			
		||||
using EDPlayerJournal;
 | 
			
		||||
using System.ComponentModel;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS;
 | 
			
		||||
 | 
			
		||||
public class UITransaction : INotifyPropertyChanged {
 | 
			
		||||
    private bool isenabled = true;
 | 
			
		||||
 | 
			
		||||
    public event PropertyChangedEventHandler PropertyChanged;
 | 
			
		||||
 | 
			
		||||
    public bool IsEnabled {
 | 
			
		||||
        get { return isenabled; }
 | 
			
		||||
        set {
 | 
			
		||||
            isenabled = value;
 | 
			
		||||
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("IsEnabled"));
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool IsExpanded { get; set; } = true;
 | 
			
		||||
 | 
			
		||||
    public bool IsCombatZone {
 | 
			
		||||
        get {
 | 
			
		||||
            return (Transaction != null && Transaction.GetType() == typeof(CombatZone));
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool IsSellCargo {
 | 
			
		||||
        get {
 | 
			
		||||
            return (Transaction != null && Transaction.GetType() == typeof(SellCargo));
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool IsGroundCombatZone {
 | 
			
		||||
        get {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return false;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (string.Compare(combat.Type, CombatZones.GroundCombatZone) == 0) {
 | 
			
		||||
                return true;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool IsShipCombatZone {
 | 
			
		||||
        get {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return false;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (string.Compare(combat.Type, CombatZones.ShipCombatZone) == 0) {
 | 
			
		||||
                return true;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool IsAXCombatZone {
 | 
			
		||||
        get {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return false;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (string.Compare(combat.Type, CombatZones.AXCombatZone) == 0) {
 | 
			
		||||
                return true;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool HasSpecOps {
 | 
			
		||||
        get {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return false;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            return combat.SpecOps ?? false;
 | 
			
		||||
        }
 | 
			
		||||
        set {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            combat.SpecOps = value;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool HasCapitalShip {
 | 
			
		||||
        get {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return false;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            return combat.CapitalShip ?? false;
 | 
			
		||||
        }
 | 
			
		||||
        set {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            combat.CapitalShip = value;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool HasEnemyCaptain {
 | 
			
		||||
        get {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return false;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            return combat.EnemyCaptain ?? false;
 | 
			
		||||
        }
 | 
			
		||||
        set {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            combat.EnemyCaptain = value;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool HasAlliedCaptain {
 | 
			
		||||
        get {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return false;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            return combat.AlliedCaptain ?? false;
 | 
			
		||||
        }
 | 
			
		||||
        set {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            combat.AlliedCaptain = value;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool HasEnemyCorrespondent {
 | 
			
		||||
        get {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return false;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            return combat.EnemyCorrespondent ?? false;
 | 
			
		||||
        }
 | 
			
		||||
        set {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            combat.EnemyCorrespondent = value;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool HasAlliedCorrespondent {
 | 
			
		||||
        get {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return false;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            return combat.AlliedCorrespondent ?? false;
 | 
			
		||||
        }
 | 
			
		||||
        set {
 | 
			
		||||
            CombatZone combat = Transaction as CombatZone;
 | 
			
		||||
            if (combat == null) {
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            combat.AlliedCorrespondent = value;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Profit from selling, used in the XAML ui for binding
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    public string Profit {
 | 
			
		||||
        get {
 | 
			
		||||
            SellCargo cargo = Transaction as SellCargo;
 | 
			
		||||
            if (cargo == null) {
 | 
			
		||||
                return "";
 | 
			
		||||
            }
 | 
			
		||||
            return cargo.Profit.ToString();
 | 
			
		||||
        }
 | 
			
		||||
        set {
 | 
			
		||||
            SellCargo cargo = Transaction as SellCargo;
 | 
			
		||||
            if (cargo == null) {
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
            try {
 | 
			
		||||
                long profit_as_number = Convert.ToInt64(value);
 | 
			
		||||
                cargo.Profit = profit_as_number;
 | 
			
		||||
            } catch (FormatException) {
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public Transaction Transaction { get; set; }
 | 
			
		||||
 | 
			
		||||
    public UITransaction() { }
 | 
			
		||||
 | 
			
		||||
    public UITransaction(Transaction transaction) {
 | 
			
		||||
        Transaction = transaction;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string Name {
 | 
			
		||||
        get { return ToString(); }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string CompletedAt {
 | 
			
		||||
        get { return Transaction.CompletedAt; }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public override string ToString() {
 | 
			
		||||
        return Transaction.ToString();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
public class Objective : IComparable<Objective> {
 | 
			
		||||
    public bool IsEnabled { get; set; } = true;
 | 
			
		||||
 | 
			
		||||
    public List<UITransaction> UITransactions { get; } = new List<UITransaction>();
 | 
			
		||||
 | 
			
		||||
    public List<Transaction> Transactions {
 | 
			
		||||
        get { return UITransactions.Select(x => x.Transaction).ToList<Transaction>(); }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool HasSystem {
 | 
			
		||||
        get { return string.IsNullOrEmpty(System); }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool HasFaction {
 | 
			
		||||
        get { return string.IsNullOrEmpty(Faction); }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string Name {
 | 
			
		||||
        get { return this.ToString(); }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool IsExpanded { get; set; }
 | 
			
		||||
 | 
			
		||||
    public void Clear() {
 | 
			
		||||
        if (Transactions == null) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        Transactions.Clear();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool Matches(string system, string faction) {
 | 
			
		||||
        return string.Compare(system, System) == 0 &&
 | 
			
		||||
               string.Compare(faction, Faction) == 0;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool Matches(string system) {
 | 
			
		||||
        return string.Compare(system, System) == 0;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public int CompareTo(Objective other) {
 | 
			
		||||
        return (other.System == System &&
 | 
			
		||||
            other.Faction == Faction) ? 0 : -1;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool IsValid {
 | 
			
		||||
        get { return !string.IsNullOrEmpty(System) && !string.IsNullOrEmpty(Faction); }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string System { get; set; }
 | 
			
		||||
 | 
			
		||||
    public string Faction { get; set; }
 | 
			
		||||
 | 
			
		||||
    public override string ToString() {
 | 
			
		||||
        StringBuilder str = new StringBuilder();
 | 
			
		||||
        if (!string.IsNullOrEmpty(System)) {
 | 
			
		||||
            str.AppendFormat("System: {0}", System);
 | 
			
		||||
        } else {
 | 
			
		||||
            str.AppendFormat("System: Unknown");
 | 
			
		||||
        }
 | 
			
		||||
        if (!string.IsNullOrEmpty(Faction)) {
 | 
			
		||||
            if (str.Length > 0) {
 | 
			
		||||
                str.Append(", ");
 | 
			
		||||
            }
 | 
			
		||||
            str.AppendFormat("Faction: {0}", Faction);
 | 
			
		||||
        }
 | 
			
		||||
        return str.ToString();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public List<Type> EnabledOfType<Type>() where Type : Transaction {
 | 
			
		||||
        return UITransactions
 | 
			
		||||
            .Where(x => x.IsEnabled)
 | 
			
		||||
            .Select(x => x.Transaction)
 | 
			
		||||
            .OfType<Type>()
 | 
			
		||||
            .ToList()
 | 
			
		||||
            ;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,97 +0,0 @@
 | 
			
		||||
using EliteBGS.LogGenerator;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS;
 | 
			
		||||
 | 
			
		||||
public class OneLineDiscordLog : DiscordLogGenerator {
 | 
			
		||||
    protected override string GenerateObjectiveHeader(Objective objective) {
 | 
			
		||||
        if (!string.IsNullOrEmpty(objective.Faction)) {
 | 
			
		||||
            return string.Format("**{0}** for **{1}**: ", objective.System, objective.Faction);
 | 
			
		||||
        } else {
 | 
			
		||||
            return string.Format("**{0}**: ", objective.System);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected override string GenerateObjectiveFooter(Objective objective) {
 | 
			
		||||
        return "\n";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected override string GenerateFooter() {
 | 
			
		||||
        return "";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    protected override string GenerateHeader() {
 | 
			
		||||
        return "";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public override string[] SplitLog(string log, int maxcount = 2000) {
 | 
			
		||||
        string[] lines = log.Split('\n');
 | 
			
		||||
        List<string> chunks = new();
 | 
			
		||||
        string chunk = string.Empty;
 | 
			
		||||
 | 
			
		||||
        // Optimisation
 | 
			
		||||
        if (log.Length <= maxcount) {
 | 
			
		||||
            return new string[] { log };
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        for (int i = 0; i < lines.Length; i++) {
 | 
			
		||||
            string line = lines[i];
 | 
			
		||||
            if ((chunk.Length + line.Length) > maxcount || i == lines.Length - 1) {
 | 
			
		||||
                chunks.Add(chunk.Trim());
 | 
			
		||||
                chunk = string.Empty;
 | 
			
		||||
                chunk = chunk.Insert(0, BotHeader()).Trim();
 | 
			
		||||
            } else {
 | 
			
		||||
                chunk = chunk + "\n" + line;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return chunks.ToArray();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public override string GenerateDiscordLog(Report report) {
 | 
			
		||||
        StringBuilder log = new StringBuilder();
 | 
			
		||||
 | 
			
		||||
        if (report == null) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        var objectives = report.Objectives
 | 
			
		||||
            .Where(x => x.IsEnabled && x.Transactions.Count() > 0)
 | 
			
		||||
            ;
 | 
			
		||||
 | 
			
		||||
        if (objectives == null || objectives.Count() <= 0) {
 | 
			
		||||
            return "";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        log.AppendFormat("{0}", BotHeader());
 | 
			
		||||
 | 
			
		||||
        foreach (Objective objective in objectives) {
 | 
			
		||||
            log.AppendFormat("{0}", GenerateObjectiveHeader(objective));
 | 
			
		||||
 | 
			
		||||
            foreach (LogFormatter formatter in formatters) {
 | 
			
		||||
                string text = formatter.GenerateSummary(objective);
 | 
			
		||||
                text = text.Trim();
 | 
			
		||||
                if (!string.IsNullOrEmpty(text)) {
 | 
			
		||||
                    log.AppendFormat("{0}; ", text);
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            log.AppendFormat("{0}", GenerateObjectiveFooter(objective));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        log.AppendFormat("{0}", GenerateFooter());
 | 
			
		||||
 | 
			
		||||
        return log.ToString().Trim();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public override string ToString() {
 | 
			
		||||
        return "One Line";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public override string Name {
 | 
			
		||||
        get { return "OneLine"; }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,43 +0,0 @@
 | 
			
		||||
using System.Reflection;
 | 
			
		||||
using System.Runtime.InteropServices;
 | 
			
		||||
using System.Windows;
 | 
			
		||||
 | 
			
		||||
// General Information about an assembly is controlled through the following
 | 
			
		||||
// set of attributes. Change these attribute values to modify the information
 | 
			
		||||
// associated with an assembly.
 | 
			
		||||
[assembly: AssemblyTitle("EliteBGS")]
 | 
			
		||||
[assembly: AssemblyDescription("")]
 | 
			
		||||
[assembly: AssemblyConfiguration("")]
 | 
			
		||||
[assembly: AssemblyCompany("")]
 | 
			
		||||
[assembly: AssemblyProduct("EliteBGS")]
 | 
			
		||||
[assembly: AssemblyCopyright("Copyright © 2021 by Florian Stinglmayr")]
 | 
			
		||||
[assembly: AssemblyTrademark("")]
 | 
			
		||||
[assembly: AssemblyCulture("")]
 | 
			
		||||
 | 
			
		||||
// Setting ComVisible to false makes the types in this assembly not visible
 | 
			
		||||
// to COM components.  If you need to access a type in this assembly from
 | 
			
		||||
// COM, set the ComVisible attribute to true on that type.
 | 
			
		||||
[assembly: ComVisible(false)]
 | 
			
		||||
 | 
			
		||||
//In order to begin building localizable applications, set
 | 
			
		||||
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
 | 
			
		||||
//inside a <PropertyGroup>.  For example, if you are using US english
 | 
			
		||||
//in your source files, set the <UICulture> to en-US.  Then uncomment
 | 
			
		||||
//the NeutralResourceLanguage attribute below.  Update the "en-US" in
 | 
			
		||||
//the line below to match the UICulture setting in the project file.
 | 
			
		||||
 | 
			
		||||
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
// Version information for an assembly consists of the following four values:
 | 
			
		||||
//
 | 
			
		||||
//      Major Version
 | 
			
		||||
//      Minor Version
 | 
			
		||||
//      Build Number
 | 
			
		||||
//      Revision
 | 
			
		||||
//
 | 
			
		||||
// You can specify all the values or you can default the Build and Revision Numbers
 | 
			
		||||
// by using the '*' as shown below:
 | 
			
		||||
// [assembly: AssemblyVersion("1.0.*")]
 | 
			
		||||
[assembly: AssemblyVersion("0.4.3.0")]
 | 
			
		||||
[assembly: AssemblyFileVersion("0.4.3.0")]
 | 
			
		||||
							
								
								
									
										73
									
								
								Avalonia.EliteBGS/Properties/Resources.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										73
									
								
								Avalonia.EliteBGS/Properties/Resources.Designer.cs
									
									
									
										generated
									
									
									
								
							@ -1,73 +0,0 @@
 | 
			
		||||
//------------------------------------------------------------------------------
 | 
			
		||||
// <auto-generated>
 | 
			
		||||
//     This code was generated by a tool.
 | 
			
		||||
//     Runtime Version:4.0.30319.42000
 | 
			
		||||
//
 | 
			
		||||
//     Changes to this file may cause incorrect behavior and will be lost if
 | 
			
		||||
//     the code is regenerated.
 | 
			
		||||
// </auto-generated>
 | 
			
		||||
//------------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.Properties {
 | 
			
		||||
    using System;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    ///   A strongly-typed resource class, for looking up localized strings, etc.
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    // This class was auto-generated by the StronglyTypedResourceBuilder
 | 
			
		||||
    // class via a tool like ResGen or Visual Studio.
 | 
			
		||||
    // To add or remove a member, edit your .ResX file then rerun ResGen
 | 
			
		||||
    // with the /str option, or rebuild your VS project.
 | 
			
		||||
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
 | 
			
		||||
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | 
			
		||||
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
 | 
			
		||||
    internal class Resources {
 | 
			
		||||
 | 
			
		||||
        private static global::System.Resources.ResourceManager resourceMan;
 | 
			
		||||
 | 
			
		||||
        private static global::System.Globalization.CultureInfo resourceCulture;
 | 
			
		||||
 | 
			
		||||
        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
 | 
			
		||||
        internal Resources() {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        ///   Returns the cached ResourceManager instance used by this class.
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
 | 
			
		||||
        internal static global::System.Resources.ResourceManager ResourceManager {
 | 
			
		||||
            get {
 | 
			
		||||
                if (object.ReferenceEquals(resourceMan, null)) {
 | 
			
		||||
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("EliteBGS.Properties.Resources", typeof(Resources).Assembly);
 | 
			
		||||
                    resourceMan = temp;
 | 
			
		||||
                }
 | 
			
		||||
                return resourceMan;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        ///   Overrides the current thread's CurrentUICulture property for all
 | 
			
		||||
        ///   resource lookups using this strongly typed resource class.
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
 | 
			
		||||
        internal static global::System.Globalization.CultureInfo Culture {
 | 
			
		||||
            get {
 | 
			
		||||
                return resourceCulture;
 | 
			
		||||
            }
 | 
			
		||||
            set {
 | 
			
		||||
                resourceCulture = value;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        ///   Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        internal static System.Drawing.Common.Icon EliteBGS {
 | 
			
		||||
            get {
 | 
			
		||||
                object obj = ResourceManager.GetObject("EliteBGS", resourceCulture);
 | 
			
		||||
                return ((System.Drawing.Common.Icon)(obj));
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,120 +0,0 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<root>
 | 
			
		||||
  <!-- 
 | 
			
		||||
    Microsoft ResX Schema 
 | 
			
		||||
    
 | 
			
		||||
    Version 2.0
 | 
			
		||||
    
 | 
			
		||||
    The primary goals of this format is to allow a simple XML format 
 | 
			
		||||
    that is mostly human readable. The generation and parsing of the 
 | 
			
		||||
    various data types are done through the TypeConverter classes 
 | 
			
		||||
    associated with the data types.
 | 
			
		||||
    
 | 
			
		||||
    Example:
 | 
			
		||||
    
 | 
			
		||||
    ... ado.net/XML headers & schema ...
 | 
			
		||||
    <resheader name="resmimetype">text/microsoft-resx</resheader>
 | 
			
		||||
    <resheader name="version">2.0</resheader>
 | 
			
		||||
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
 | 
			
		||||
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
 | 
			
		||||
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
 | 
			
		||||
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
 | 
			
		||||
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
 | 
			
		||||
        <value>[base64 mime encoded serialized .NET Framework object]</value>
 | 
			
		||||
    </data>
 | 
			
		||||
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
 | 
			
		||||
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
 | 
			
		||||
        <comment>This is a comment</comment>
 | 
			
		||||
    </data>
 | 
			
		||||
                
 | 
			
		||||
    There are any number of "resheader" rows that contain simple 
 | 
			
		||||
    name/value pairs.
 | 
			
		||||
    
 | 
			
		||||
    Each data row contains a name, and value. The row also contains a 
 | 
			
		||||
    type or mimetype. Type corresponds to a .NET class that support 
 | 
			
		||||
    text/value conversion through the TypeConverter architecture. 
 | 
			
		||||
    Classes that don't support this are serialized and stored with the 
 | 
			
		||||
    mimetype set.
 | 
			
		||||
    
 | 
			
		||||
    The mimetype is used for serialized objects, and tells the 
 | 
			
		||||
    ResXResourceReader how to depersist the object. This is currently not 
 | 
			
		||||
    extensible. For a given mimetype the value must be set accordingly:
 | 
			
		||||
    
 | 
			
		||||
    Note - application/x-microsoft.net.object.binary.base64 is the format 
 | 
			
		||||
    that the ResXResourceWriter will generate, however the reader can 
 | 
			
		||||
    read any of the formats listed below.
 | 
			
		||||
    
 | 
			
		||||
    mimetype: application/x-microsoft.net.object.binary.base64
 | 
			
		||||
    value   : The object must be serialized with 
 | 
			
		||||
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
 | 
			
		||||
            : and then encoded with base64 encoding.
 | 
			
		||||
    
 | 
			
		||||
    mimetype: application/x-microsoft.net.object.soap.base64
 | 
			
		||||
    value   : The object must be serialized with 
 | 
			
		||||
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
 | 
			
		||||
            : and then encoded with base64 encoding.
 | 
			
		||||
 | 
			
		||||
    mimetype: application/x-microsoft.net.object.bytearray.base64
 | 
			
		||||
    value   : The object must be serialized into a byte array 
 | 
			
		||||
            : using a System.ComponentModel.TypeConverter
 | 
			
		||||
            : and then encoded with base64 encoding.
 | 
			
		||||
    -->
 | 
			
		||||
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
 | 
			
		||||
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
 | 
			
		||||
    <xsd:element name="root" msdata:IsDataSet="true">
 | 
			
		||||
      <xsd:complexType>
 | 
			
		||||
        <xsd:choice maxOccurs="unbounded">
 | 
			
		||||
          <xsd:element name="metadata">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:sequence>
 | 
			
		||||
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
 | 
			
		||||
              </xsd:sequence>
 | 
			
		||||
              <xsd:attribute name="name" use="required" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute name="type" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute name="mimetype" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute ref="xml:space" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
          <xsd:element name="assembly">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:attribute name="alias" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute name="name" type="xsd:string" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
          <xsd:element name="data">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:sequence>
 | 
			
		||||
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
 | 
			
		||||
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
 | 
			
		||||
              </xsd:sequence>
 | 
			
		||||
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
 | 
			
		||||
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
 | 
			
		||||
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
 | 
			
		||||
              <xsd:attribute ref="xml:space" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
          <xsd:element name="resheader">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:sequence>
 | 
			
		||||
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
 | 
			
		||||
              </xsd:sequence>
 | 
			
		||||
              <xsd:attribute name="name" type="xsd:string" use="required" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
        </xsd:choice>
 | 
			
		||||
      </xsd:complexType>
 | 
			
		||||
    </xsd:element>
 | 
			
		||||
  </xsd:schema>
 | 
			
		||||
  <resheader name="resmimetype">
 | 
			
		||||
    <value>text/microsoft-resx</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
  <resheader name="version">
 | 
			
		||||
    <value>2.0</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
  <resheader name="reader">
 | 
			
		||||
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
  <resheader name="writer">
 | 
			
		||||
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
</root>
 | 
			
		||||
							
								
								
									
										26
									
								
								Avalonia.EliteBGS/Properties/Settings.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										26
									
								
								Avalonia.EliteBGS/Properties/Settings.Designer.cs
									
									
									
										generated
									
									
									
								
							@ -1,26 +0,0 @@
 | 
			
		||||
//------------------------------------------------------------------------------
 | 
			
		||||
// <auto-generated>
 | 
			
		||||
//     This code was generated by a tool.
 | 
			
		||||
//     Runtime Version:4.0.30319.42000
 | 
			
		||||
//
 | 
			
		||||
//     Changes to this file may cause incorrect behavior and will be lost if
 | 
			
		||||
//     the code is regenerated.
 | 
			
		||||
// </auto-generated>
 | 
			
		||||
//------------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.Properties {
 | 
			
		||||
    
 | 
			
		||||
    
 | 
			
		||||
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
 | 
			
		||||
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")]
 | 
			
		||||
    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
 | 
			
		||||
        
 | 
			
		||||
        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
 | 
			
		||||
        
 | 
			
		||||
        public static Settings Default {
 | 
			
		||||
            get {
 | 
			
		||||
                return defaultInstance;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,7 +0,0 @@
 | 
			
		||||
<?xml version='1.0' encoding='utf-8'?>
 | 
			
		||||
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
 | 
			
		||||
  <Profiles>
 | 
			
		||||
    <Profile Name="(Default)" />
 | 
			
		||||
  </Profiles>
 | 
			
		||||
  <Settings />
 | 
			
		||||
</SettingsFile>
 | 
			
		||||
@ -1,239 +0,0 @@
 | 
			
		||||
# EDBGS
 | 
			
		||||
 | 
			
		||||
This tool is meant to help people contributing to the BGS effort to create BGS reports.
 | 
			
		||||
The tool allows you to configure BGS objectives, and will then parse your player journal
 | 
			
		||||
for tasks you completed relating to that BGS objective. Once the JSON player journal has
 | 
			
		||||
been parsed, you may then generate a BGS report you can copy/paste into Discord.
 | 
			
		||||
 | 
			
		||||
Source code is available at [https://codeberg.org/nola/edbgs](https://codeberg.org/nola/edbgs).
 | 
			
		||||
 | 
			
		||||
Binary downloads can be found here: [https://salusinvicta.org/bgstool/](https://salusinvicta.org/bgstool/).
 | 
			
		||||
 | 
			
		||||
## How To
 | 
			
		||||
 | 
			
		||||
Press "Parse Journal", which will check your Elite Dangerous player journal for completed
 | 
			
		||||
transactions. Currently the tool recognises the following transactions:
 | 
			
		||||
 | 
			
		||||
* Buying of cargo from stations (new in Update 10)
 | 
			
		||||
* Completed missions
 | 
			
		||||
* Failed missions
 | 
			
		||||
* Murders
 | 
			
		||||
* Search and Rescue contributions
 | 
			
		||||
* Selling cartography data
 | 
			
		||||
* Selling of cargo to stations
 | 
			
		||||
* Selling of micro resources (Odyssey only)
 | 
			
		||||
* Vouchers, including bounty vouchers, combat bonds, and settlement vouchers (aka intel packages)
 | 
			
		||||
* Thargoid kills
 | 
			
		||||
* Contributions to Thargoid war effort
 | 
			
		||||
 | 
			
		||||
The following transactions are recognised but not listed, because they do not affect BGS:
 | 
			
		||||
 | 
			
		||||
* Selling of organic data (Odyssey only)
 | 
			
		||||
 | 
			
		||||
Vouchers help the faction that is listed for them. If said faction is not present in the
 | 
			
		||||
current system, then there is no BGS impact. So the tool looks for all system factions, and
 | 
			
		||||
makes sure that your vouchers actually have a BGS impact, otherwise it won't list them.
 | 
			
		||||
 | 
			
		||||
Selling cargo attempts to discern the profit and/or loss, which is helpful to gauge BGS
 | 
			
		||||
impact. But the player journal does not tell the amount of profit in the sell message.
 | 
			
		||||
So the tool looks for a buy a message related to the same commodity, and calculates loss
 | 
			
		||||
and/or profit from that. If the buy of the commodity is not within the time and date range,
 | 
			
		||||
or some other shenanigans happen that the tool does not yet support, the profit/loss could 
 | 
			
		||||
be wrong. You can use the "Adjust Trade Profit" button to manually adjust the trade profit,
 | 
			
		||||
or you could simply edit the discord log manually.
 | 
			
		||||
 | 
			
		||||
Please note that cartography data, and micro resources only help the controlling faction
 | 
			
		||||
of a station. The tool is clever enough to exclude these if the station you turn them in at, is not
 | 
			
		||||
controlled by the faction you specified in the objective.
 | 
			
		||||
 | 
			
		||||
Some missions may show up having zero influence for the given faction. This happens if you do
 | 
			
		||||
missions for a faction which is currently in an election state. You do not gain influence for
 | 
			
		||||
the faction so the influence reads as zero. But you contribute towards the election, so the
 | 
			
		||||
missions are selected anyway.
 | 
			
		||||
 | 
			
		||||
There is no entry in the journal if you win a combat zone. So you have to add those manually. Select
 | 
			
		||||
an objective for which you wish to log a combat zone. The faction in the objective, must be the
 | 
			
		||||
faction you fought for in the combat zone. Then click "Add Combat Zone Win". Select type,
 | 
			
		||||
either "On Foot" for Odyssey, or "Ship" for regular ones. Then select the grade (low, medium or
 | 
			
		||||
high), and how many you won. Then press "Accept". Select "Cancel" to abort. You can of course remove
 | 
			
		||||
the combat zone entries by selecting them, and pressing "DEL".
 | 
			
		||||
 | 
			
		||||
If you deliberately fail a mission (to log negative INF towards a faction), the tool cannot detect
 | 
			
		||||
it, if the day you accepted the mission is outside of the given date range. It needs the journal
 | 
			
		||||
entry where you accept the mission to connect the mission to a faction, system and station. The tool
 | 
			
		||||
will warn you if this happens, with a message in the error log in the fourth tab.
 | 
			
		||||
 | 
			
		||||
When committing murder, the journal entry contains the faction information of the faction that gave
 | 
			
		||||
you the bounty. And not the faction of the victim. The tool will look for an event in which you
 | 
			
		||||
scanned your victim, and gleem the victim's faction from that. If you did not scan your victim, then
 | 
			
		||||
sadly the tool cannot connect the victim's faction to the victim.
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
The window will then list all the journal entries it has found, and group them by objectives. You
 | 
			
		||||
can select which objectives you wish to report, by using the checkmarks.
 | 
			
		||||
 | 
			
		||||
You can exclude a specific entry within an objective by deselecting the checkbox next to them.
 | 
			
		||||
This way said entry will not appear in the final log. You can also remove individual entries
 | 
			
		||||
(if you think the tool detected something you thought was wrong), by selecting the entry,
 | 
			
		||||
and pressing the "DEL" key. 
 | 
			
		||||
 | 
			
		||||
Once you are satisfied with the result, the discord report should be displayed below, ready to be
 | 
			
		||||
copy and pasted. Before you copy/paste it into the discord of your squadron, you should check the log.
 | 
			
		||||
You can of course edit it, if something is wrong or the tool itself missed something. If you want to
 | 
			
		||||
regenerate it, just click "Generate Log".
 | 
			
		||||
 | 
			
		||||
## Known Issues and Bugs
 | 
			
		||||
 | 
			
		||||
### Settlement Vouchers
 | 
			
		||||
 | 
			
		||||
Settlement vouchers (aka Intel Packages) help every faction aligned with the given superpower.
 | 
			
		||||
So if you turn in an Imperial intel package on an imperial station, all factions aligned with
 | 
			
		||||
the Empire will gain a bit of INF boost. The tool currently cannot handle that. All intel packages
 | 
			
		||||
are displayed instead.
 | 
			
		||||
 | 
			
		||||
### Bugged bounty vouchers
 | 
			
		||||
 | 
			
		||||
Sometimes bounty vouchers are not properly recognised. This is a bug in the player journal, where
 | 
			
		||||
the faction information is not properly written out in the journal:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
{ 
 | 
			
		||||
  "timestamp":"2021-10-07T14:57:50Z", "event":"RedeemVoucher", 
 | 
			
		||||
  "Type":"bounty", "Amount":20750, 
 | 
			
		||||
  "Factions":[ { "Faction":"", "Amount":500 }, { "Faction":"", "Amount":20250 }]
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Since the tool does not know for which faction these bounties were redeemed for, it cannot assign
 | 
			
		||||
it to an objective.
 | 
			
		||||
 | 
			
		||||
### Combat Zones
 | 
			
		||||
 | 
			
		||||
The player journal currently does not make an entry when you win or lose a combat zone. This is a
 | 
			
		||||
an ommission from FDev:
 | 
			
		||||
 | 
			
		||||
* [https://issues.frontierstore.net/issue-detail/43509](https://issues.frontierstore.net/issue-detail/43509)
 | 
			
		||||
 | 
			
		||||
Please upvote the issue to get it fixed. Until then, you have to add combat zone wins manually.
 | 
			
		||||
 | 
			
		||||
### On-Foot NPC givers
 | 
			
		||||
 | 
			
		||||
Up until update 13 missions accepted from NPCs in Odyssey concourses do not get a player journal entry.
 | 
			
		||||
This has been fixed in update 13. Any on foot missions from NPCs accepted before update 13, do not have
 | 
			
		||||
an entry in the player journal.
 | 
			
		||||
 | 
			
		||||
### Failed vs. Abandoned Missions
 | 
			
		||||
 | 
			
		||||
The tool also currently cannot differentiate between missions you have abandoned in the transaction
 | 
			
		||||
tab before it was completed, and those that you have failed - either delibaretly or by time-out. So
 | 
			
		||||
it will find and add them all, and you simply can remove those that you have abandoned manually.
 | 
			
		||||
 | 
			
		||||
### Influence given to empty/non-existent faction
 | 
			
		||||
 | 
			
		||||
Sometimes the log will state that it gave positive or negative influence to a faction, but the
 | 
			
		||||
faction name is empty:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
 "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": "+"
 | 
			
		||||
    }
 | 
			
		||||
]
 | 
			
		||||
```
 | 
			
		||||
This happens for example if you do a scan/heist mission from a surface POI, but no one owns said
 | 
			
		||||
surface POI. Randomly generated surface POIs sometimes have no owner, and said non-existant owner
 | 
			
		||||
then gets the negative influence.
 | 
			
		||||
 | 
			
		||||
### Mission Completed but no one gains influence
 | 
			
		||||
 | 
			
		||||
Sometimes missions are completed but no one gains any influence:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
{
 | 
			
		||||
  "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": "+"
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Here the is known that at the time of completion the Confederation was in an Election and could not
 | 
			
		||||
have gained any influence regardless. It is unclear whether this also holds true for Delphin Blue
 | 
			
		||||
Federal PLC. So to be save, the tool assumes that if no influence was gained for the source faction,
 | 
			
		||||
it still has to make an entry for the source system. The same applies for the target faction: if no
 | 
			
		||||
influence is gained for the target faction, still add an entry for the target faction in the missions
 | 
			
		||||
target system.
 | 
			
		||||
 | 
			
		||||
Since it is not possible to differentiate between missions that give no influence no matter what, and
 | 
			
		||||
no influence gained because of an election, we have to assume it *gave* influence and let the user
 | 
			
		||||
decide whether it was because of an election, or not.
 | 
			
		||||
 | 
			
		||||
Future tool versions should probably take faction states into account in such matters.
 | 
			
		||||
 | 
			
		||||
## Nothing's Perfect
 | 
			
		||||
 | 
			
		||||
The tool itself is still a work in progress, and it might miss something. If you think the tool
 | 
			
		||||
missed a task you have done, please contact `Hekateh` on the Elite Dangerous community discord. 
 | 
			
		||||
It would be helpful if you included the JSON player journal. This player journal can be found here:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
%userprofile%\saved Games\Frontier Developments\Elite Dangerous\
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Build Dependencies
 | 
			
		||||
 | 
			
		||||
The project also requires:
 | 
			
		||||
 | 
			
		||||
* `Ookii.Dialogs.WPF`
 | 
			
		||||
* `Newtonsoft.Json`
 | 
			
		||||
* `MahApps`
 | 
			
		||||
 | 
			
		||||
## About
 | 
			
		||||
 | 
			
		||||
This tool was made by CMDR Hekateh (Discord: `nola#2457`).
 | 
			
		||||
 | 
			
		||||
Long live the Empire.
 | 
			
		||||
@ -1,74 +0,0 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.ComponentModel;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using EDPlayerJournal.BGS;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS;
 | 
			
		||||
 | 
			
		||||
public class SystemObjectives : INotifyPropertyChanged, IComparable<SystemObjectives> {
 | 
			
		||||
    public event PropertyChangedEventHandler PropertyChanged;
 | 
			
		||||
 | 
			
		||||
    private bool isenabled = true;
 | 
			
		||||
 | 
			
		||||
    public bool IsEnabled {
 | 
			
		||||
        get { return isenabled; }
 | 
			
		||||
        set {
 | 
			
		||||
            isenabled = value;
 | 
			
		||||
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("IsEnabled"));
 | 
			
		||||
        } 
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public bool IsExpanded { get; set; } = false;
 | 
			
		||||
 | 
			
		||||
    public string SystemName { get; set; } = string.Empty;
 | 
			
		||||
 | 
			
		||||
    public List<Objective> Objectives { get; set; } = new();
 | 
			
		||||
 | 
			
		||||
    public int CompareTo(SystemObjectives other) {
 | 
			
		||||
        if (other == null) return 1;
 | 
			
		||||
        return string.Compare(SystemName, other.SystemName, StringComparison.OrdinalIgnoreCase);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
public class Report {
 | 
			
		||||
    public List<SystemObjectives> SystemObjectives { get; set; } = new();
 | 
			
		||||
 | 
			
		||||
    public Report() { }
 | 
			
		||||
 | 
			
		||||
    public Report(List<Transaction> transactions) {
 | 
			
		||||
        Populate(transactions);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public List<Objective> Objectives {
 | 
			
		||||
        get {
 | 
			
		||||
            return SystemObjectives
 | 
			
		||||
                .Where(t => t.IsEnabled)
 | 
			
		||||
                .SelectMany(x => x.Objectives)
 | 
			
		||||
                .ToList()
 | 
			
		||||
                ;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private void Populate(List<Transaction> transactions) {
 | 
			
		||||
        if (transactions == null || transactions.Count == 0) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        foreach (Transaction t in transactions) {
 | 
			
		||||
            var o = SystemObjectives.Find(x => string.Compare(x.SystemName, t.System) == 0);
 | 
			
		||||
            if (o == null) {
 | 
			
		||||
                o = new SystemObjectives() { SystemName = t.System };
 | 
			
		||||
                SystemObjectives.Add(o);
 | 
			
		||||
            }
 | 
			
		||||
            var objective = o.Objectives.Find(x => x.Matches(t.System, t.Faction));
 | 
			
		||||
            if (objective == null) {
 | 
			
		||||
                objective = new Objective() { Faction = t.Faction, System = t.System };
 | 
			
		||||
                o.Objectives.Add(objective);
 | 
			
		||||
            }
 | 
			
		||||
            objective.UITransactions.Add(new UITransaction(t));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        SystemObjectives.Sort();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										83
									
								
								Avalonia.EliteBGS/Resources.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										83
									
								
								Avalonia.EliteBGS/Resources.Designer.cs
									
									
									
										generated
									
									
									
								
							@ -1,83 +0,0 @@
 | 
			
		||||
//------------------------------------------------------------------------------
 | 
			
		||||
// <auto-generated>
 | 
			
		||||
//     This code was generated by a tool.
 | 
			
		||||
//     Runtime Version:4.0.30319.42000
 | 
			
		||||
//
 | 
			
		||||
//     Changes to this file may cause incorrect behavior and will be lost if
 | 
			
		||||
//     the code is regenerated.
 | 
			
		||||
// </auto-generated>
 | 
			
		||||
//------------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS {
 | 
			
		||||
    using System;
 | 
			
		||||
    
 | 
			
		||||
    
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    ///   A strongly-typed resource class, for looking up localized strings, etc.
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    // This class was auto-generated by the StronglyTypedResourceBuilder
 | 
			
		||||
    // class via a tool like ResGen or Visual Studio.
 | 
			
		||||
    // To add or remove a member, edit your .ResX file then rerun ResGen
 | 
			
		||||
    // with the /str option, or rebuild your VS project.
 | 
			
		||||
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
 | 
			
		||||
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | 
			
		||||
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
 | 
			
		||||
    public class Resources {
 | 
			
		||||
        
 | 
			
		||||
        private static global::System.Resources.ResourceManager resourceMan;
 | 
			
		||||
        
 | 
			
		||||
        private static global::System.Globalization.CultureInfo resourceCulture;
 | 
			
		||||
        
 | 
			
		||||
        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
 | 
			
		||||
        internal Resources() {
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        ///   Returns the cached ResourceManager instance used by this class.
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
 | 
			
		||||
        public static global::System.Resources.ResourceManager ResourceManager {
 | 
			
		||||
            get {
 | 
			
		||||
                if (object.ReferenceEquals(resourceMan, null)) {
 | 
			
		||||
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("EliteBGS.Resources", typeof(Resources).Assembly);
 | 
			
		||||
                    resourceMan = temp;
 | 
			
		||||
                }
 | 
			
		||||
                return resourceMan;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        ///   Overrides the current thread's CurrentUICulture property for all
 | 
			
		||||
        ///   resource lookups using this strongly typed resource class.
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
 | 
			
		||||
        public static global::System.Globalization.CultureInfo Culture {
 | 
			
		||||
            get {
 | 
			
		||||
                return resourceCulture;
 | 
			
		||||
            }
 | 
			
		||||
            set {
 | 
			
		||||
                resourceCulture = value;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        ///   Looks up a localized resource of type System.Drawing.Bitmap.
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        public static System.Drawing.Bitmap logo_v5 {
 | 
			
		||||
            get {
 | 
			
		||||
                object obj = ResourceManager.GetObject("logo_v5", resourceCulture);
 | 
			
		||||
                return ((System.Drawing.Bitmap)(obj));
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        ///   Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        public static System.Drawing.Icon Salus {
 | 
			
		||||
            get {
 | 
			
		||||
                object obj = ResourceManager.GetObject("Salus", resourceCulture);
 | 
			
		||||
                return ((System.Drawing.Icon)(obj));
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,127 +0,0 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<root>
 | 
			
		||||
  <!-- 
 | 
			
		||||
    Microsoft ResX Schema 
 | 
			
		||||
    
 | 
			
		||||
    Version 2.0
 | 
			
		||||
    
 | 
			
		||||
    The primary goals of this format is to allow a simple XML format 
 | 
			
		||||
    that is mostly human readable. The generation and parsing of the 
 | 
			
		||||
    various data types are done through the TypeConverter classes 
 | 
			
		||||
    associated with the data types.
 | 
			
		||||
    
 | 
			
		||||
    Example:
 | 
			
		||||
    
 | 
			
		||||
    ... ado.net/XML headers & schema ...
 | 
			
		||||
    <resheader name="resmimetype">text/microsoft-resx</resheader>
 | 
			
		||||
    <resheader name="version">2.0</resheader>
 | 
			
		||||
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
 | 
			
		||||
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
 | 
			
		||||
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
 | 
			
		||||
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
 | 
			
		||||
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
 | 
			
		||||
        <value>[base64 mime encoded serialized .NET Framework object]</value>
 | 
			
		||||
    </data>
 | 
			
		||||
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
 | 
			
		||||
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
 | 
			
		||||
        <comment>This is a comment</comment>
 | 
			
		||||
    </data>
 | 
			
		||||
                
 | 
			
		||||
    There are any number of "resheader" rows that contain simple 
 | 
			
		||||
    name/value pairs.
 | 
			
		||||
    
 | 
			
		||||
    Each data row contains a name, and value. The row also contains a 
 | 
			
		||||
    type or mimetype. Type corresponds to a .NET class that support 
 | 
			
		||||
    text/value conversion through the TypeConverter architecture. 
 | 
			
		||||
    Classes that don't support this are serialized and stored with the 
 | 
			
		||||
    mimetype set.
 | 
			
		||||
    
 | 
			
		||||
    The mimetype is used for serialized objects, and tells the 
 | 
			
		||||
    ResXResourceReader how to depersist the object. This is currently not 
 | 
			
		||||
    extensible. For a given mimetype the value must be set accordingly:
 | 
			
		||||
    
 | 
			
		||||
    Note - application/x-microsoft.net.object.binary.base64 is the format 
 | 
			
		||||
    that the ResXResourceWriter will generate, however the reader can 
 | 
			
		||||
    read any of the formats listed below.
 | 
			
		||||
    
 | 
			
		||||
    mimetype: application/x-microsoft.net.object.binary.base64
 | 
			
		||||
    value   : The object must be serialized with 
 | 
			
		||||
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
 | 
			
		||||
            : and then encoded with base64 encoding.
 | 
			
		||||
    
 | 
			
		||||
    mimetype: application/x-microsoft.net.object.soap.base64
 | 
			
		||||
    value   : The object must be serialized with 
 | 
			
		||||
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
 | 
			
		||||
            : and then encoded with base64 encoding.
 | 
			
		||||
 | 
			
		||||
    mimetype: application/x-microsoft.net.object.bytearray.base64
 | 
			
		||||
    value   : The object must be serialized into a byte array 
 | 
			
		||||
            : using a System.ComponentModel.TypeConverter
 | 
			
		||||
            : and then encoded with base64 encoding.
 | 
			
		||||
    -->
 | 
			
		||||
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
 | 
			
		||||
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
 | 
			
		||||
    <xsd:element name="root" msdata:IsDataSet="true">
 | 
			
		||||
      <xsd:complexType>
 | 
			
		||||
        <xsd:choice maxOccurs="unbounded">
 | 
			
		||||
          <xsd:element name="metadata">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:sequence>
 | 
			
		||||
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
 | 
			
		||||
              </xsd:sequence>
 | 
			
		||||
              <xsd:attribute name="name" use="required" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute name="type" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute name="mimetype" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute ref="xml:space" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
          <xsd:element name="assembly">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:attribute name="alias" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute name="name" type="xsd:string" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
          <xsd:element name="data">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:sequence>
 | 
			
		||||
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
 | 
			
		||||
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
 | 
			
		||||
              </xsd:sequence>
 | 
			
		||||
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
 | 
			
		||||
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
 | 
			
		||||
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
 | 
			
		||||
              <xsd:attribute ref="xml:space" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
          <xsd:element name="resheader">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:sequence>
 | 
			
		||||
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
 | 
			
		||||
              </xsd:sequence>
 | 
			
		||||
              <xsd:attribute name="name" type="xsd:string" use="required" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
        </xsd:choice>
 | 
			
		||||
      </xsd:complexType>
 | 
			
		||||
    </xsd:element>
 | 
			
		||||
  </xsd:schema>
 | 
			
		||||
  <resheader name="resmimetype">
 | 
			
		||||
    <value>text/microsoft-resx</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
  <resheader name="version">
 | 
			
		||||
    <value>2.0</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
  <resheader name="reader">
 | 
			
		||||
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
  <resheader name="writer">
 | 
			
		||||
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
 | 
			
		||||
  <data name="logo_v5" type="System.Resources.ResXFileRef, System.Windows.Forms">
 | 
			
		||||
    <value>logo_v5.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
 | 
			
		||||
  </data>
 | 
			
		||||
  <data name="Salus" type="System.Resources.ResXFileRef, System.Windows.Forms">
 | 
			
		||||
    <value>Salus.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
 | 
			
		||||
  </data>
 | 
			
		||||
</root>
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 200 KiB  | 
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@ -1,109 +0,0 @@
 | 
			
		||||
{"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"}}
 | 
			
		||||
@ -1,83 +0,0 @@
 | 
			
		||||
{"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}
 | 
			
		||||
@ -1,21 +0,0 @@
 | 
			
		||||
{"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":"+"}]}
 | 
			
		||||
@ -1,14 +0,0 @@
 | 
			
		||||
{ "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 }
 | 
			
		||||
@ -1,4 +0,0 @@
 | 
			
		||||
{ "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":"+" } ] }
 | 
			
		||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@ -1,47 +0,0 @@
 | 
			
		||||
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": "++"
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
@ -1,25 +0,0 @@
 | 
			
		||||
{ "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 } ] }
 | 
			
		||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@ -1,79 +0,0 @@
 | 
			
		||||
using Newtonsoft.Json;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.ComponentModel;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.Util;
 | 
			
		||||
 | 
			
		||||
public class AppConfig {
 | 
			
		||||
    private static readonly string default_journal_location = "%UserProfile%\\Saved Games\\Frontier Developments\\Elite Dangerous";
 | 
			
		||||
    private string journal_location = default_journal_location;
 | 
			
		||||
    private string colour = "Amber";
 | 
			
		||||
    private string theme = "Dark";
 | 
			
		||||
 | 
			
		||||
    public static string DefaultJournalLocation => default_journal_location;
 | 
			
		||||
 | 
			
		||||
    public string LastUsedDiscordTemplate { get; set; }
 | 
			
		||||
 | 
			
		||||
    public string JournalLocation {
 | 
			
		||||
        get {
 | 
			
		||||
            if (journal_location == null) {
 | 
			
		||||
                return DefaultJournalLocation;
 | 
			
		||||
            }
 | 
			
		||||
            return journal_location;
 | 
			
		||||
        }
 | 
			
		||||
        set {
 | 
			
		||||
            journal_location = value;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string Theme {
 | 
			
		||||
        get {
 | 
			
		||||
            return theme;
 | 
			
		||||
        }
 | 
			
		||||
        set {
 | 
			
		||||
            if (string.IsNullOrEmpty(value)) {
 | 
			
		||||
                theme = "Dark";
 | 
			
		||||
            } else {
 | 
			
		||||
                theme = value;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public string Colour {
 | 
			
		||||
        get {
 | 
			
		||||
            return colour;
 | 
			
		||||
        }
 | 
			
		||||
        set {
 | 
			
		||||
            if (string.IsNullOrEmpty(value)) {
 | 
			
		||||
                colour = "Blue";
 | 
			
		||||
            } else {
 | 
			
		||||
                colour = value;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Whether we ignore influence support scenarios form parsing.
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    public bool IgnoreInfluenceSupport { get; set; } = false;
 | 
			
		||||
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Whether we ignore market buy entries during parsing.
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    public bool IgnoreMarketBuy { get; set; } = false;
 | 
			
		||||
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Whether to ignore fleet carrier stuff when parsing.
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    public bool IgnoreFleetCarrier { get; set; } = true;
 | 
			
		||||
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// List of Webhooks configured
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    public List<DiscordWebhook> Webhooks { get; set; } = new List<DiscordWebhook>();
 | 
			
		||||
 | 
			
		||||
    [JsonIgnore]
 | 
			
		||||
    public string FullTheme {
 | 
			
		||||
        get { return Theme + "." + Colour; }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,58 +0,0 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.IO;
 | 
			
		||||
using Newtonsoft.Json;
 | 
			
		||||
using System.ComponentModel;
 | 
			
		||||
 | 
			
		||||
namespace EliteBGS.Util {
 | 
			
		||||
    public class Config {
 | 
			
		||||
        private string config_folder = null;
 | 
			
		||||
        private string config_file = null;
 | 
			
		||||
 | 
			
		||||
        private AppConfig global_config = new AppConfig();
 | 
			
		||||
 | 
			
		||||
        public Config() {
 | 
			
		||||
            DetermineConfigFolder();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public string ConfigPath => config_folder;
 | 
			
		||||
 | 
			
		||||
        public AppConfig Global => global_config;
 | 
			
		||||
 | 
			
		||||
        private void DetermineConfigFolder() {
 | 
			
		||||
            string folder = Environment.ExpandEnvironmentVariables("%appdata%\\EliteBGS");
 | 
			
		||||
 | 
			
		||||
            if (!Directory.Exists(folder)) {
 | 
			
		||||
                Directory.CreateDirectory(folder);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            config_folder = folder;
 | 
			
		||||
            config_file = Path.Combine(config_folder, "config.json");
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void SaveGlobal() {
 | 
			
		||||
            var serializer = JsonSerializer.CreateDefault();
 | 
			
		||||
            using (FileStream filestream = File.OpenWrite(config_file)) {
 | 
			
		||||
                filestream.SetLength(0);
 | 
			
		||||
                filestream.Flush();
 | 
			
		||||
                using (StreamWriter file = new StreamWriter(filestream, Encoding.UTF8)) {
 | 
			
		||||
                    var stream = new JsonTextWriter(file);
 | 
			
		||||
                    stream.Formatting = Formatting.Indented;
 | 
			
		||||
                    serializer.Serialize(stream, global_config);
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void LoadGlobal() {
 | 
			
		||||
            var serializer = JsonSerializer.CreateDefault();
 | 
			
		||||
            using (var file = new StreamReader(File.OpenRead(config_file), Encoding.UTF8)) {
 | 
			
		||||
                var stream = new JsonTextReader(file);
 | 
			
		||||
                var app = serializer.Deserialize<AppConfig>(stream);
 | 
			
		||||
 | 
			
		||||
                if (app != null) {
 | 
			
		||||
                    this.global_config = app;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -1,13 +0,0 @@
 | 
			
		||||
namespace EliteBGS.Util;
 | 
			
		||||
 | 
			
		||||
public class DiscordWebhook {
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Webhook URL
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    public string Webhook { get; set; } = string.Empty;
 | 
			
		||||
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Human readable name for easier identification
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    public string Name { get; set; } = string.Empty;
 | 
			
		||||
}
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 75 KiB  | 
@ -1,21 +0,0 @@
 | 
			
		||||
# Combat Zones
 | 
			
		||||
 | 
			
		||||
Starting with version 0.2.0, the EliteBGS tool will attempt to figure out when you
 | 
			
		||||
have participated in a combat zone.
 | 
			
		||||
 | 
			
		||||
Since there is no official journal entry for combat zones as of yet (Update 13), the
 | 
			
		||||
tool has to make an educated guess on what sort of combat zone it is.
 | 
			
		||||
 | 
			
		||||
For Odyssey on foot combat zones the tool can attempt to determine the difficulty
 | 
			
		||||
from the from the highest combat bond you have been awarded. Enforcers in high on foot
 | 
			
		||||
combat zones nets you roughly 88k credits, and the payout reduces from there.
 | 
			
		||||
 | 
			
		||||
Ship combat zones are more difficult. If you ship scan one of the warzone NPCs (either
 | 
			
		||||
a captain, spec ops, or a correspondent), the tool can assume you are either in a medium
 | 
			
		||||
or a high combat zone. If you get more than 10 kills, you are also either in a medium or
 | 
			
		||||
high combat zone (a low combat zone is complete with 8 kills).
 | 
			
		||||
 | 
			
		||||
None of this perfect however, and the tool *will* get it wrong. For your convenience there
 | 
			
		||||
are several small buttons next to the combat zone entry, where you can fix the result:
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
@ -1,240 +0,0 @@
 | 
			
		||||
# EliteBGS
 | 
			
		||||
 | 
			
		||||
This tool is meant to help people contributing to the BGS effort to create BGS reports.
 | 
			
		||||
The tool allows you to configure BGS objectives, and will then parse your player journal
 | 
			
		||||
for tasks you completed relating to that BGS objective. Once the JSON player journal has
 | 
			
		||||
been parsed, you may then generate a BGS report you can copy/paste into Discord.
 | 
			
		||||
 | 
			
		||||
Source code is available [here](https://codeberg.org/nola/EDBGS).
 | 
			
		||||
 | 
			
		||||
Binary downloads can be found here: [https://bgs.n0la.org/](https://bgs.n0la.org/).
 | 
			
		||||
 | 
			
		||||
## How To
 | 
			
		||||
 | 
			
		||||
Press "Parse Journal", which will check your Elite Dangerous player journal for completed
 | 
			
		||||
missions. Currently the tool recognises the following completed tasks:
 | 
			
		||||
 | 
			
		||||
* Buying of cargo from stations (new in Update 10)
 | 
			
		||||
* Completed missions
 | 
			
		||||
* Failed missions
 | 
			
		||||
* Murders
 | 
			
		||||
* Search and Rescue contributions
 | 
			
		||||
* Selling cartography data
 | 
			
		||||
* Selling of cargo to stations
 | 
			
		||||
* Selling of micro resources (Odyssey only)
 | 
			
		||||
* Vouchers, including bounty vouchers, combat bonds, and settlement vouchers (aka intel packages)
 | 
			
		||||
* Thargoid kills
 | 
			
		||||
* Combat zones (experimental)
 | 
			
		||||
 | 
			
		||||
The following transactions are recognised but not listed, because they do not affect BGS:
 | 
			
		||||
 | 
			
		||||
* Selling of organic data (Odyssey only)
 | 
			
		||||
 | 
			
		||||
Combat zone detection is highly wonky at this time. There is no direct event for detecting
 | 
			
		||||
combat zones, and so the tool makes a few assumptions and goes from there. If you disembark
 | 
			
		||||
it will assume on foot combat zones, and if you don't, it will assume a ship CZ. This
 | 
			
		||||
detection can, and will be wrong, so caution is advised.
 | 
			
		||||
 | 
			
		||||
Vouchers help the faction that is listed for them. If said faction is not present in the
 | 
			
		||||
current system, then there is no BGS impact. So the tool looks for all system factions, and
 | 
			
		||||
makes sure that your vouchers actually have a BGS impact, otherwise it won't list them.
 | 
			
		||||
 | 
			
		||||
Selling cargo attempts to discern the profit and/or loss, which is helpful to gauge BGS
 | 
			
		||||
impact. But the player journal does not tell the amount of profit in the sell message.
 | 
			
		||||
So the tool looks for a buy a message related to the same commodity, and calculates loss
 | 
			
		||||
and/or profit from that. If the buy of the commodity is not within the time and date range,
 | 
			
		||||
or some other shenanigans happen that the tool does not yet support, the profit/loss could 
 | 
			
		||||
be wrong. You can use the "Adjust Trade Profit" button to manually adjust the trade profit,
 | 
			
		||||
or you could simply edit the discord log manually.
 | 
			
		||||
 | 
			
		||||
Please note that cartography data, and micro resources only help the controlling faction
 | 
			
		||||
of a station. The tool is clever enough to exclude these if the station you turn them in at, is not
 | 
			
		||||
controlled by the faction you specified in the objective.
 | 
			
		||||
 | 
			
		||||
Some missions may show up having zero influence for the given faction. This happens if you do
 | 
			
		||||
missions for a faction which is currently in an election state. You do not gain influence for
 | 
			
		||||
the faction so the influence reads as zero. But you contribute towards the election, so the
 | 
			
		||||
missions are selected anyway.
 | 
			
		||||
 | 
			
		||||
There is no entry in the journal if you win a combat zone. So you have to add those manually. Select
 | 
			
		||||
an objective for which you wish to log a combat zone. The faction in the objective, must be the
 | 
			
		||||
faction you fought for in the combat zone. Then click "Add Combat Zone Win". Select type,
 | 
			
		||||
either "On Foot" for Odyssey, or "Ship" for regular ones. Then select the grade (low, medium or
 | 
			
		||||
high), and how many you won. Then press "Accept". Select "Cancel" to abort. You can of course remove
 | 
			
		||||
the combat zone entries by selecting them, and pressing "DEL".
 | 
			
		||||
 | 
			
		||||
If you deliberately fail a mission (to log negative INF towards a faction), the tool cannot detect
 | 
			
		||||
it, if the day you accepted the mission is outside of the given date range. It needs the journal
 | 
			
		||||
entry where you accept the mission to connect the mission to a faction, system and station. The tool
 | 
			
		||||
will warn you if this happens, with a message in the error log in the fourth tab.
 | 
			
		||||
 | 
			
		||||
When committing murder, the journal entry contains the faction information of the faction that gave
 | 
			
		||||
you the bounty. And not the faction of the victim. The tool will look for an event in which you
 | 
			
		||||
scanned your victim, and gleem the victim's faction from that. If you did not scan your victim, then
 | 
			
		||||
sadly the tool cannot connect the victim's faction to the victim.
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
The window will then list all the journal entries it has found, and group them by objectives. You
 | 
			
		||||
can select which objectives you wish to report, by using the checkmarks.
 | 
			
		||||
 | 
			
		||||
You can exclude a specific entry within an objective by deselecting the checkbox next to them.
 | 
			
		||||
This way said entry will not appear in the final log. You can also remove individual entries
 | 
			
		||||
(if you think the tool detected something you thought was wrong), by selecting the entry,
 | 
			
		||||
and pressing the "DEL" key. 
 | 
			
		||||
 | 
			
		||||
Once you are satisfied with the result, you can copy and paste the final report to the discord
 | 
			
		||||
server of your choice. Before you copy/paste it into the discord of your squadron, you should
 | 
			
		||||
check the log. You can of course also edit it, either if something is wrong because the tool
 | 
			
		||||
missed something, or you just wish to add a note the report itself.
 | 
			
		||||
 | 
			
		||||
If you wish to regenerate the discord log, simply click "Generate Log".
 | 
			
		||||
 | 
			
		||||
## Known Issues and Bugs
 | 
			
		||||
 | 
			
		||||
### Settlement Vouchers
 | 
			
		||||
 | 
			
		||||
Settlement vouchers (aka Intel Packages) help every faction aligned with the given superpower.
 | 
			
		||||
So if you turn in an Imperial intel package on an imperial station, all factions aligned with
 | 
			
		||||
the Empire will gain a bit of INF boost. The tool currently cannot handle that. All intel packages
 | 
			
		||||
are displayed instead.
 | 
			
		||||
 | 
			
		||||
### Bugged bounty vouchers
 | 
			
		||||
 | 
			
		||||
Sometimes bounty vouchers are not properly recognised. This is a bug in the player journal, where
 | 
			
		||||
the faction information is not properly written out in the journal:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
{ 
 | 
			
		||||
  "timestamp":"2021-10-07T14:57:50Z", "event":"RedeemVoucher", 
 | 
			
		||||
  "Type":"bounty", "Amount":20750, 
 | 
			
		||||
  "Factions":[ { "Faction":"", "Amount":500 }, { "Faction":"", "Amount":20250 }]
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Since the tool does not know for which faction these bounties were redeemed for, it cannot assign
 | 
			
		||||
it to an objective.
 | 
			
		||||
 | 
			
		||||
### Combat Zones
 | 
			
		||||
 | 
			
		||||
The player journal currently does not make an entry when you win or lose a combat zone. This is a
 | 
			
		||||
an ommission from FDev:
 | 
			
		||||
 | 
			
		||||
* [https://issues.frontierstore.net/issue-detail/43509](https://issues.frontierstore.net/issue-detail/43509)
 | 
			
		||||
 | 
			
		||||
Please upvote the issue to get it fixed. Until then, you have to add combat zone wins manually.
 | 
			
		||||
 | 
			
		||||
### On-Foot NPC givers
 | 
			
		||||
 | 
			
		||||
Up until update 13 missions accepted from NPCs in Odyssey concourses do not get a player journal entry.
 | 
			
		||||
This has been fixed in update 13. Any on foot missions from NPCs accepted before update 13, do not have
 | 
			
		||||
an entry in the player journal.
 | 
			
		||||
 | 
			
		||||
### Failed vs. Abandoned Missions
 | 
			
		||||
 | 
			
		||||
The tool also currently cannot differentiate between missions you have abandoned in the transaction
 | 
			
		||||
tab before it was completed, and those that you have failed - either delibaretly or by time-out. So
 | 
			
		||||
it will find and add them all, and you simply can remove those that you have abandoned manually.
 | 
			
		||||
 | 
			
		||||
### Influence given to empty/non-existent faction
 | 
			
		||||
 | 
			
		||||
Sometimes the log will state that it gave positive or negative influence to a faction, but the
 | 
			
		||||
faction name is empty:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
 "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": "+"
 | 
			
		||||
    }
 | 
			
		||||
]
 | 
			
		||||
```
 | 
			
		||||
This happens for example if you do a scan/heist mission from a surface POI, but no one owns said
 | 
			
		||||
surface POI. Randomly generated surface POIs sometimes have no owner, and said non-existant owner
 | 
			
		||||
then gets the negative influence.
 | 
			
		||||
 | 
			
		||||
### Mission Completed but no one gains influence
 | 
			
		||||
 | 
			
		||||
Sometimes missions are completed but no one gains any influence:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
{
 | 
			
		||||
  "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": "+"
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Here the is known that at the time of completion the Confederation was in an Election and could not
 | 
			
		||||
have gained any influence regardless. It is unclear whether this also holds true for Delphin Blue
 | 
			
		||||
Federal PLC. So to be save, the tool assumes that if no influence was gained for the source faction,
 | 
			
		||||
it still has to make an entry for the source system. The same applies for the target faction: if no
 | 
			
		||||
influence is gained for the target faction, still add an entry for the target faction in the missions
 | 
			
		||||
target system.
 | 
			
		||||
 | 
			
		||||
Since it is not possible to differentiate between missions that give no influence no matter what, and
 | 
			
		||||
no influence gained because of an election, we have to assume it *gave* influence and let the user
 | 
			
		||||
decide whether it was because of an election, or not.
 | 
			
		||||
 | 
			
		||||
Future tool versions should probably take faction states into account in such matters.
 | 
			
		||||
 | 
			
		||||
## Nothing's Perfect
 | 
			
		||||
 | 
			
		||||
The tool itself is still a work in progress, and it might miss something. If you think the tool
 | 
			
		||||
missed a task you have done, please contact `Hekateh` on the Elite Dangerous community discord. 
 | 
			
		||||
It would be helpful if you included the JSON player journal. This player journal can be found here:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
%userprofile%\saved Games\Frontier Developments\Elite Dangerous\
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Build Dependencies
 | 
			
		||||
 | 
			
		||||
The project also requires `Ookii.Dialogs.WPF` controls, which contains the auto complete text box.
 | 
			
		||||
 | 
			
		||||
And of course, `Newtonsoft.Json` as the JSON parser.
 | 
			
		||||
 | 
			
		||||
`MahApps` is used to generate a prettier look, and for its dark themes.
 | 
			
		||||
@ -1,90 +0,0 @@
 | 
			
		||||
## FAQ
 | 
			
		||||
 | 
			
		||||
Most frequently asked questions:
 | 
			
		||||
 | 
			
		||||
### Windows complains that it does not wish to run the application, what gives?
 | 
			
		||||
 | 
			
		||||
The tool contains no viruses, but it is not seen as "trustworthy". You can however
 | 
			
		||||
right-click EliteBGS.exe and "Unblock" the application.
 | 
			
		||||
 | 
			
		||||
### Does this work for console players?
 | 
			
		||||
 | 
			
		||||
Sorry, no. Console players don't have a player journal per se, and the tool does
 | 
			
		||||
not support Frontier Commander API.
 | 
			
		||||
 | 
			
		||||
### Why won't the tool start anymore?
 | 
			
		||||
 | 
			
		||||
Open the file explorer, and go to the path `%AppData%`. Once there, delete the
 | 
			
		||||
folder called `EliteBGS` to delete the tool's configuration and cache. If it
 | 
			
		||||
still doesn't work, contact me directly.
 | 
			
		||||
 | 
			
		||||
### Why is it unable to find my player journal?
 | 
			
		||||
 | 
			
		||||
Usually your player journal lives in the Saved Games folder in your home
 | 
			
		||||
directory. If, for some reason, this doesn't match up, you can point the
 | 
			
		||||
tool towards your player journal in the third tab.
 | 
			
		||||
 | 
			
		||||
###  Why do some of the objective not show up in the final discord log?
 | 
			
		||||
 | 
			
		||||
Only objectives with the little checkbox enabled show up there. Those 
 | 
			
		||||
that the tool generates by itself are not enabled per default.
 | 
			
		||||
 | 
			
		||||
###  Can I delete an objective or an entry?
 | 
			
		||||
 | 
			
		||||
Click on an objective or entry and press the Delete key.
 | 
			
		||||
 | 
			
		||||
### I deleted something I didn't want to. What now?
 | 
			
		||||
 | 
			
		||||
Just press "Parse Journal" again, and the tool will generate all
 | 
			
		||||
the entries again.
 | 
			
		||||
 | 
			
		||||
### What are micro resources?
 | 
			
		||||
 | 
			
		||||
Odyssey cargo that you sell at the bartender. Just like normal cargo,
 | 
			
		||||
they aid the controlling faction of the station where you sold them.
 | 
			
		||||
 | 
			
		||||
### Why are missions accepted in a concourse or in a settlement from an NPC missing?
 | 
			
		||||
 | 
			
		||||
Because up until Update 13, they did not show up in player journal. This should
 | 
			
		||||
now be fixed.
 | 
			
		||||
 | 
			
		||||
### Some mission names are weird. What gives?
 | 
			
		||||
 | 
			
		||||
That's because the tool uses the game generated mission name, if it doesn't
 | 
			
		||||
have a clean and nice mission name on file for the certain mission type. The
 | 
			
		||||
fourth tab "Event Log" should have an entry about it, so please post those
 | 
			
		||||
names into this channel.
 | 
			
		||||
 | 
			
		||||
### Some missions say they have 0 influence?
 | 
			
		||||
 | 
			
		||||
That happens for missions that aid an Election. The faction in question does
 | 
			
		||||
not gain influence during an election, as influence is locked during conflicts.
 | 
			
		||||
But since you are contributing towards the election win of that faction,
 | 
			
		||||
the tool picks them anyway.
 | 
			
		||||
 | 
			
		||||
### Why are some failed missions not showing up?
 | 
			
		||||
 | 
			
		||||
The time span you specify must include the day where you accepted the mission,
 | 
			
		||||
as well as the day where you failed the mission. Otherwise the tool cannot handle
 | 
			
		||||
that failed mission.
 | 
			
		||||
 | 
			
		||||
Prior to update 15 missions only failed once you dismissed them from your transaction
 | 
			
		||||
tab. With update 15, this behaviour should be fixed.
 | 
			
		||||
 | 
			
		||||
### The tool complains about missing factions for an NPC I murdered.
 | 
			
		||||
 | 
			
		||||
The player journal only tells the faction that issued the bounty upon murder, and
 | 
			
		||||
not the faction of the NPC killed. The tool has to fetch that from you scanning the
 | 
			
		||||
ship. If you didn't fully scan the ship before murdering it, the tool won't know
 | 
			
		||||
the faction of the NPC.
 | 
			
		||||
 | 
			
		||||
### Why does cartography data, and sold cargo show up for the wrong faction, but for the right station/system?
 | 
			
		||||
 | 
			
		||||
Because they only aid the controlling faction of the station.
 | 
			
		||||
 | 
			
		||||
### Why are some of my bounty vouchers missing?
 | 
			
		||||
 | 
			
		||||
Sometimes, due to a bug, the bounty vouchers in the journal have no faction information
 | 
			
		||||
associated with them. Here the tool simply cannot associate the vouchers to a faction
 | 
			
		||||
or station. If you are sure they aided in BGS, simply add them by editing the Discord
 | 
			
		||||
report.
 | 
			
		||||
@ -1,89 +0,0 @@
 | 
			
		||||
# EliteBGS
 | 
			
		||||
 | 
			
		||||
EliteBGS is a Windows desktop application, that helps you sum up your BGS related actions.
 | 
			
		||||
It then creates a report from your actions, so you can post it your Squadron's discord.
 | 
			
		||||
 | 
			
		||||
The tool originated from the [Nova Navy](https://inara.cz/elite/squadron/5058/), which required
 | 
			
		||||
BGS contributions to be posted to the Navy's discord, in a very specific format. Writing those
 | 
			
		||||
logs manually was a lot of work, so CMDR Hekateh created a tool to automate this process.
 | 
			
		||||
 | 
			
		||||
## Downloads
 | 
			
		||||
 | 
			
		||||
The tool requires .NET 7.0, you can download it from Microsoft here:
 | 
			
		||||
 | 
			
		||||
* [https://dotnet.microsoft.com/en-us/download/dotnet/7.0](https://dotnet.microsoft.com/en-us/download/dotnet/7.0)
 | 
			
		||||
 | 
			
		||||
If you have problems with the installer, you might try running the following in the Windows
 | 
			
		||||
command line:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
winget install Microsoft.DotNet.DesktopRuntime.7
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
You can download the **latest** version **0.3.7** at CodeBerg:
 | 
			
		||||
 | 
			
		||||
* [https://codeberg.org/nola/EDBGS/releases](https://codeberg.org/nola/EDBGS/releases)
 | 
			
		||||
 | 
			
		||||
Or alternatively from my server:
 | 
			
		||||
 | 
			
		||||
* [https://bgs.n0la.org/elitebgs-0.3.7.zip](https://bgs.n0la.org/elitebgs-0.3.7.zip)
 | 
			
		||||
 | 
			
		||||
## Old Versions
 | 
			
		||||
 | 
			
		||||
The latest version of the **old** EliteBGS **0.1.7** is available for download here:
 | 
			
		||||
 | 
			
		||||
* [https://bgs.n0la.org/archive/elitebgs-0.1.7.zip](https://bgs.n0la.org/archive/elitebgs-0.1.7.zip)
 | 
			
		||||
 | 
			
		||||
Older versions are available in the archive:
 | 
			
		||||
 | 
			
		||||
* [https://bgs.n0la.org/archive/](https://bgs.n0la.org/archive/)
 | 
			
		||||
 | 
			
		||||
## Overview
 | 
			
		||||
 | 
			
		||||
EliteBGS reads through your player journal for BGS relevant activity, and sorts them into
 | 
			
		||||
"categories". These are based upon the star system, station and the faction for which the
 | 
			
		||||
action was taken. So for example if you contributed bounty vouchers for Nova Paresa in
 | 
			
		||||
Paresa, but also did some missions for Nova Paresa in Adachit, those actions will be
 | 
			
		||||
split into two categories.
 | 
			
		||||
 | 
			
		||||
You can then select which of the two actions goes into the final log.
 | 
			
		||||
 | 
			
		||||
### What it detects:
 | 
			
		||||
 | 
			
		||||
* Buying of cargo from stations (BGS relevant since Update 10)
 | 
			
		||||
* Completed missions
 | 
			
		||||
* Failed missions
 | 
			
		||||
* Murders
 | 
			
		||||
* Search and Rescue contributions
 | 
			
		||||
* Selling cartography data
 | 
			
		||||
* Selling of cargo to stations
 | 
			
		||||
* Selling of micro resources (Odyssey only)
 | 
			
		||||
* Vouchers, including bounty vouchers, combat bonds, and settlement vouchers (aka intel packages)
 | 
			
		||||
* Thargoid kills
 | 
			
		||||
* Combat zones (experimental feature)
 | 
			
		||||
 | 
			
		||||
The following transactions are recognised but not listed, because they do not affect BGS:
 | 
			
		||||
 | 
			
		||||
* Selling of organic data (Odyssey only)
 | 
			
		||||
 | 
			
		||||
### What it does not detect:
 | 
			
		||||
 | 
			
		||||
* Combat zone objectives
 | 
			
		||||
* Megaship scenarios
 | 
			
		||||
* On foot missions accepted by NPCs in stations (pre Update 13)
 | 
			
		||||
* Murders of NPCs you haven't fully scanned
 | 
			
		||||
 | 
			
		||||
## Open Source
 | 
			
		||||
 | 
			
		||||
The tool itself is Open Source, licenced unter the GPLv3.
 | 
			
		||||
 | 
			
		||||
The source code can be found here:
 | 
			
		||||
 | 
			
		||||
* [https://codeberg.org/nola/edbgs](https://codeberg.org/nola/edbgs)
 | 
			
		||||
 | 
			
		||||
## Contact
 | 
			
		||||
 | 
			
		||||
I can be reached over discord: `nola#2457`
 | 
			
		||||
 | 
			
		||||
Or by joining either the [Salus Invicta](https://discord.com/invite/FeEtjqBRkg) or the
 | 
			
		||||
[Nova Navy](https://discord.gg/WEJeFQw) discord.
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 52 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 74 KiB  | 
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user