Athanasius
6ff9dbc3bf
plugins/edsy.py: De-future
2020-06-21 16:23:01 +01:00
Athanasius
02bcbf2685
plugins/eddb.py: De-future
2020-06-21 16:23:01 +01:00
Athanasius
4a7f4cd450
plugins/inara.py: De-future
2020-06-21 16:23:01 +01:00
Athanasius
35867cd3f9
plugins/edsm.py: De-future
2020-06-21 16:23:01 +01:00
Athanasius
93a65b02f5
plugins/eddn.py: De-future
2020-06-21 16:23:01 +01:00
Athanasius
143d6e717a
plugins/eddn.py: De-future
2020-06-21 16:23:01 +01:00
Athanasius
faf5bee834
Fixes plugins/eddn massaging of economies and prohibited data
2020-06-21 16:23:00 +01:00
Athanasius
753fdedbdf
Fixes plugins/coriolis.py to appear in settings, and confirms click-through works
...
*) Code and imports brought in line with edsy plugin
*) 'Coriolis' now appears in Settings > Configuration > Shipyard
dropdown
*) Confirmed that with this active a valid build opens on coriolis.io
2020-06-21 16:23:00 +01:00
Athanasius
0d893c1c56
Gets plugins/edsy.py working. The usual string vs. bytes shenanigans.
2020-06-21 16:23:00 +01:00
Athanasius
ce460712e2
Ensure we definitely can add mandatory fields to EDDN messages
...
This came to light due to python3 not liking try['StarPos'] =
list(this.coordinates) if this.coordinates was None. As the comment
says these three fields are mandatory, ensure we can actually set them
appropriately, and display an error if not.
2020-06-21 16:23:00 +01:00
Athanasius
bebc3648b8
plugins/inara.py: No need for encode('utf-8')
2020-06-21 16:23:00 +01:00
Athanasius
fd4acae9a5
plugins/eddn.py: encode() un-necessary
2020-06-21 16:23:00 +01:00
Athanasius
e73db981a8
Fixes EDDN sending to be working.
...
NB: Due to, I assume, EDDN relay de-duplication of messages, it's been
difficult to 100% test this. No errors thrown, and stock/release EDMC
also doesn't result in a new message arriving at my EDDN consumer.
2020-06-21 16:23:00 +01:00
Athanasius
e7545e174f
Use .items() instead of .iteritems()
2020-06-21 16:23:00 +01:00
Athanasius
90b05d22c5
Now runs without console errors so far as pressing 'Update' is concerned.
...
There's an error on the console about an iterator when doing so
though.
2020-06-21 16:23:00 +01:00
VAKazakov
994624d83b
changing division by int to float, as suggested
2020-03-05 11:52:34 +03:00
VAKazakov
1984e25e50
Fixing reputation values error
...
"Inara setCommanderReputationMinorFaction, The reputation value exceeds the valid range"
2020-03-04 22:43:47 +03:00
Jonathan Harris
034c0b5bd2
Send SAASignalsFound events to EDDN
2019-10-03 19:22:58 +01:00
Jonathan Harris
e9a23c67dc
Send correct opponentName for Interdicted and Interdiction events
...
Fixes #459
2019-10-02 18:50:06 +01:00
Jonathan Harris
09de1adc91
Make replay file line-buffered ( #448 )
...
Squashed commit of the following:
commit d42bb0add648ba52e56dd03a48ef9e1d09fdbda0
Author: Jonathan Harris <jonathan@marginal.org.uk>
Date: Fri Sep 13 19:36:14 2019 +0100
Use line buffering when creating replay file.
commit 1b6e499e2c306b66708a9fd210d1db1771c4c78f
Author: Athanasius <github@miggy.org>
Date: Thu Sep 12 17:30:59 2019 +0100
Use line buffering for replay file.
By default it takes a lot of data being written to the file for it to
be flushed. Or exiting EDMC. So, let's reduce the chances of data
loss.
2019-09-13 19:46:20 +01:00
Jonathan Harris
02d4da30d5
Don't give error if system coordinates unknown
...
Fixes #446
2019-09-13 19:46:05 +01:00
Athanasius
59b738fbf0
eddn cmdr_data not actually checking 'send to EDDN' option. ( #445 )
2019-09-13 19:45:20 +01:00
Jonathan Harris
d8b5884b05
Notify plugins of Inara ship, system and station IDs
...
Fixes #425
2019-07-06 15:28:48 +01:00
Jonathan Harris
de9760c4d2
Update EDSY URL
2019-06-19 09:31:48 +01:00
Jonathan Harris
ca0c650955
Add influence and reputation gain to setCommanderMissionCompleted
2019-02-16 17:52:36 +00:00
Jonathan Harris
37a1f0dd23
Notify other plugins of system's EDSM status
2019-01-28 17:22:14 +00:00
Jonathan Harris
1dc6d04954
Factor in Horizons flag when de-duplicating
2019-01-25 18:05:42 +00:00
Jonathan Harris
2f154ffd03
Check economies when setting Horizons flag
...
Fixes #391
2019-01-10 17:09:49 +00:00
Jonathan Harris
f41b418a63
Look for "ELITE_HORIZONS_V_PLANETARY_LANDINGS" sku in cAPI data
...
to set Horizons flag. Should always hit at least Int_PlanetApproachSuite if Horizons.
2019-01-10 01:42:03 +00:00
Jonathan Harris
4900969bd9
cAPI data doesn't seem to reliably reflect whether user has Horizons
2019-01-10 01:12:09 +00:00
Jonathan Harris
728ef3f599
Add "horizons" flag to outfitting and shipyard messages
2019-01-08 22:54:39 +00:00
Jonathan Harris
22c94d0c5c
Don't modify Journal FSDJump/Location entry Factions in-place
...
Fixes #375
2019-01-06 23:23:38 +00:00
Jonathan Harris
1d04a8c6e1
Fix for Journal-based outfitting message
...
Fixes #374
2019-01-06 16:35:58 +00:00
Jonathan Harris
3d85dd03a2
Handle empty shipyard list
...
e.g. at stations under repair
2018-12-29 17:43:50 +00:00
Jonathan Harris
6602ac415e
Don't send squadron info with EDDN Location and FSDJump messages
2018-11-22 10:03:07 +00:00
Jonathan Harris
ca6afa6d58
Also derive commodity, outfitting and shipyard messages from Journal
2018-11-18 01:52:06 +00:00
Jonathan Harris
126158bf15
Don't send Engineers at startup prior to 3.3
2018-11-18 01:52:06 +00:00
Jonathan Harris
cc4390de49
Switch EDDN integration to a plugin
2018-11-18 01:52:05 +00:00
Jonathan Harris
31f0139271
More Inara 3.3 support
...
Add commanderFrontierID to header.
Send "setCommanderReputationMinorFaction" events.
Send "addCommanderFriend" and "delCommanderFriend" events.
Use array forms of "setCommanderRankPilot", "SetCommanderRankEngineer and
"SetCommanderReputationMajorFaction" events.
2018-11-16 00:13:52 +00:00
Jonathan Harris
fc44003161
Track Engineer progress
2018-11-03 10:37:01 +00:00
Jonathan Harris
2f7ffc6c31
Rationalise startup handling
2018-11-03 10:36:38 +00:00
Jonathan Harris
52d99e18c7
Drop unused EDShipyard and Coriolis pseudo-events
2018-08-21 18:09:00 +01:00
Jonathan Harris
949a355b67
Don't import outfitting - it's not bundled in the OSX app
...
Fixes #340
2018-08-21 18:07:35 +01:00
Jonathan Harris
7e8457f74c
Send Coriolis links to https://coriolis.io/
...
To migrate saved builds see https://youtu.be/4SvnLcefhtI
2018-08-07 14:46:01 +01:00
Jonathan Harris
ca9b3ac241
Fix for non-numeric mod values
...
Fixes #330
2018-06-15 16:48:01 -05:00
Jonathan Harris
5d1da83b45
Get timestamp for setCommanderCredits from cAPI server
2018-05-29 23:37:03 +01:00
Jonathan Harris
f203b8bc7e
Export ship loadout to Coriolis in Journal Loadout format
2018-04-16 01:21:55 +01:00
Jonathan Harris
d62dae3f98
Link to stations tab if undocked
2018-04-04 19:43:45 +01:00
Jonathan Harris
3a3827f168
Make system and station links unclickable if URL not available
2018-04-04 19:34:35 +01:00
Jonathan Harris
6887a225bb
Add bubble and Colonia systems to eddb database
2018-04-04 13:52:51 +01:00