Commit graph

252 commits

Author SHA1 Message Date
2f868a1460 EliteDangerous: made Water Worlds worth mapping … 2020-03-09 18:27:24 +01:00
d22455df38 SpanshAttack: added SpanshAttack.defaultToLadenRange option
If enabled, this will ask EDDI about the ship’s laden range and default
to that instead of asking for user input. Setting a ship’s range
manually in `SpanshAttack.getShipRange` will still have higher priority
(e.g. if you are usually using a ship with less than a full cargo hold).
2020-03-08 02:14:58 +01:00
d4faee85cb EliteDangerous: fixed for changed spansh.py interface 2020-03-08 01:07:13 +01:00
864d78141f EliteDangerous: now telling you about outdated station data 2020-03-04 18:18:48 +01:00
3b4c7545a2 StreamAttack: added [copy;open] ship build command 2020-02-26 11:38:43 +01:00
f8ce6ab33e EliteDangerous: fixed docking request if you have a target
Got messed up before if the “target” tab was active. Now doing panel
right x2 instead of panel left.
2020-02-26 11:37:24 +01:00
032523b58c StreamAttack: fixed location for planetary bases 2020-02-26 10:57:05 +01:00
4ba0943e13 RatAttack: split passing and announcing new cases
You can now just pass a ratsignal to VA (without it being announced) by
calling `RatAttack.getInfoFromRatsignal`, or choose to also have it
announced in TTS by calling `RatAttack.announceCaseFromRatsignal`.

**Breaks interface compatibility!** `RatAttack.getInfoFromRatsignal`
behaviour has changed.
2020-02-25 19:45:25 +01:00
c924709e34 StreamAttack: location fixes
EDDI sets `Status near surface` near stations, but without
a corresponding event firing … so I had to change the logic there.

Also updating the state variables takes a couple seconds after an event,
so `EDDI Docked`, `EDDI Near surface` and `EDDI Undocked` now have a 5s
delay each. Let’s see if that is enough.
2020-02-25 00:35:18 +01:00
643d662ed0 EliteDangerous: running StreamAttack.startup now … 2020-02-25 00:34:59 +01:00
631fdd2851 RatAttack: added proper handling for multiple rsigs
Handling of a ratsignal will be delayed by 5s if a signal is currently
being handled. That way all signals will find their way into VoiceAttack
even if they hit simultaneously / shortly after each other.

To reduce possible confusion though the “open case?” prompt has been
removed from `RatAttack.getInfoFromRatsignal`.

**Breaks interface compatibility!**
2020-02-24 17:32:59 +01:00
ce15622a7c StreamAttack: fixed EDDI jumped event to write location data 2020-02-24 00:58:08 +01:00
77835da532 RatAttack: added open [rat;] dispatch board command 2020-02-23 07:53:02 +01:00
28a9508977 StreamAttack: some more fixes 2020-02-23 07:51:40 +01:00
1f7d6aeffc StreamAttack: some typos in the profile fixed 2020-02-22 20:18:44 +01:00
696e39f040 StreamAttack: initial version
Moved all `jump target` stuff out of the `EliteDangerous` profile into
its own. Added various info files for commander, ship, location, jump
target.
2020-02-22 20:00:53 +01:00
0e7e766f4d EliteDangerous: >hyperspaceDethrottle setitng
Will now respect the setting for auto dethrottle after a jump. defaults
to false.
2020-02-18 01:41:04 +01:00
3e1cc35243 EliteDangerous: fixed mapping value announcement
It’s now “x.y million credits”.
2020-02-10 10:58:49 +01:00
5950bea451 EliteDangerous: changed logic for “worthwhile” bodies to map
Now treats terraformables and ELW/Ammonia Worlds as worthwhile instead
of going by estimated scan value.

Also now tells you the map data value of high-value bodies you mapped.
2020-02-09 21:17:03 +01:00
9f95ba6327 imagine forgetting to include the actual profile in your commits … 2020-02-08 12:43:27 +01:00
0ed96207f0 EliteDangerous: added distance [from;to] jump target 2020-01-30 06:22:13 +01:00
c5bd8bc936 EliteDangerous: added some quick links
Coriolis, EDSM main page, EDDB (incl. station/system/faction search page)
2020-01-30 02:56:21 +01:00
d54c66b1b6 SealAttack: VERY early alpha
Basically the only thing that works and is “finished” already is pasting
ingame chat into Seals IRC. use `.sb <msg>` for \#Seal-Bob and `.rr
<msg>` for \#Repair-Requests.
2020-01-29 23:13:33 +01:00
fcbd556c3c RatAttack: [current;] rat case details changed
Now always has to include “rat” in the command to pave the way for
SealAttack arriving soon™.
2020-01-29 23:05:58 +01:00
57a6221a47 EliteDangerous: added jumpTarget stuff
You can now set a jump target. This will start writing the distance to
said target to `>jumpTargetFile` for inclusion e.g. in OBS.

If SpanshAttack currently has a target system, jump target will default
to that. A manually set target will take precedence.
2020-01-29 22:44:21 +01:00
90d4d20e37 EliteDangerous: mute button + docs fixes 2020-01-29 16:02:12 +01:00
1be50d5aed updated for new controls setup 2020-01-28 23:59:46 +01:00
72f92fe1bc EliteDangerous,RatAttack: updated for single-file scripts 2020-01-17 16:19:45 +01:00
fe16c75dfe fixed great typo in jump call command 2020-01-12 02:05:43 +01:00
8f033b2eec added call client offline command 2020-01-10 01:14:08 +01:00
10ebd102fc added distance commands
`distance to current rat case`
`distance to rat case number [0..19]`

Both require a current version of the elite-scripts.
2020-01-09 21:43:13 +01:00
217582cf79 added option to call jumps “left” 2020-01-09 21:16:01 +01:00
2d12fec087 fixed race condition in EDDI ship fsd
Weirdly that only started being an issue in VA 1.8.
2020-01-07 21:36:29 +01:00
5f9a469344 logic around getting bodycount more sturdy
Now actually notices when the script errors out for some reason.
Probably still won’t notice when it’s flat out missing, but hey, that’s
PEBKAC for not using the profile package.
2020-01-07 21:02:45 +01:00
a70b202936 SpanshAttack: added plot command “with custom range”
Instead of using the saved jump range for your current ship, you can now
plot a route with a custom range; e.g. if you have temporarily changed
modules around or have more/less cargo than usual for this trip.
2019-12-12 08:48:43 +01:00
7b220bacbe EliteDangerous: changed EDDI Body scanned constraint
Now checks for being in SC instead of just in FSS; will now include
auto-scans of bodies, while still excluding nav beacon scan data.
2019-12-08 22:47:20 +01:00
92b179c6bb some more refactoring for variable scoping 2019-12-07 19:33:06 +01:00
ab65679245 RatAttack: added option to aut-close on fuel+
Defaults to off. Enabled in EliteDangerous by default.
2019-12-07 10:23:07 +01:00
674c5d62b8 changed python script dir
Now resides in `Sounds\scripts` for upcoming profile package compatibility.

Techincally the `Apps` directory would be more appropriate; as soon as
a profile package has that directory though you have to restart
VoiceAttack without plugin support to import the package.
2019-12-04 01:18:37 +01:00
17a0ae4917 EliteDangerous: added [dis;]engage silent running 2019-11-28 04:59:49 +01:00
487217a678 RatAttack: added call wing pending command 2019-11-25 10:03:03 +01:00
415e5f93bf Spansh/RatAttack: exported in new format
… for consistency’s sake
2019-11-24 20:40:30 +01:00
fcec8b8cc5 EliteDangerous: refactored the next star scoopable check
That one was still using global variables, and speech output looks
cleaner now.

Also changed the default setting for Fuelrats IRC nickname switching.
2019-11-24 20:38:58 +01:00
281374cfd5 RatAttack: fixed first case announcement
Correctly ask about opening a case even if it’s the frist
(`RatAttack.onCase` has not been set yet).
2019-11-16 22:18:11 +01:00
b989b7de26 RatAttack: copy sys to clipboard first on open
first copy the system, _then_ announce case details!
2019-11-15 15:15:39 +01:00
e8023de816 SpanshAttack: set neutron mode and target before getting range 2019-11-14 02:29:33 +01:00
316a85093c RatAttack: only get nearest CMDR for the proper platform
On incoming RATSIGNAL, only fetch the nearest commander if the case is
on one of the enabled platforms; even if not on duty.
2019-11-11 16:39:46 +01:00
cf3955960a RatAttack: disabled deprecated current case variables 2019-11-09 07:32:57 +01:00
b8b5ca6460 {Spansh,Rat}Attack: disabled EDDI’s speech responder by default
In order not to confuse people that have not been using EDDI in the
past, the profiles will now automatically disable the speech responder.
To use it with the profiles, you will have to explicitly enable it
again.
2019-11-08 00:23:49 +01:00
d2549b2ab7 EliteDangerous: added [start;stop] [firing;mining] 2019-11-07 06:30:56 +01:00
9803dd9abb EliteDangerous: fixed edsm body count comparison
report if EDSM has FEWER bodies, not more …
2019-11-04 22:39:51 +01:00
90e28605e3 EliteDangerous: now automatically toggles FA off
If you set `>flightAssistOff` in the startup command, VA will now
automatically make sure that FA is off when you lift off a planet or
undock from a station. Defaults to on.
2019-11-03 19:59:58 +01:00
d70734ff5e RatAttack/EliteDangerous: fixed .sentToX
Now does a ^A before pasting. Prevents accidental mishaps with having
text typed and then VoiceAttack pasting behind it.
2019-11-01 20:40:46 +01:00
67bac3e4f9 RatAttack: more RSIG parsing fixing 2019-10-31 20:07:36 +01:00
61f8a2e51e RatAttack: refactoring
Opening a case now reuses the `RatAttack.announceCaseDetails` command
instead of replicationg it.
2019-10-31 12:44:11 +01:00
490307ecd5 RatAttack: workaround for weird platform parsing bug
PC cases would have EVERYTHING till the end of the ratsignal as
platform. Didn’t cut correctly at end of platform. So I’m now just using
the ??_SIGNAL at the end instead of debugging the problem because I’m
a lazy fuck.
2019-10-31 01:32:20 +01:00
4dd57ab273 RatAttack: bunch of platform fixes
For one i made a bunch of small mistakes (of course), and I had to do
a dirty workaround for platform detection since IRC color coding messes
with VA really badly.
2019-10-30 16:38:23 +01:00
e676893b3a RatAttack: is now multiplatform! also 2-digit case numbers. 2019-10-30 11:23:40 +01:00
fd2ee7741e SpanshAttack: fixed target announcement when plotting 2019-10-30 09:35:04 +01:00
dc8bb112f7 RatAttack: re-wrote case handling
VoiceAttack will now keep a list of cases and case data. That
streamlines handling of multiple cases / opening an already announced
one after finishing the current one.
2019-10-27 13:45:33 +01:00
dcbda089d2 EliteDangerous: fast orbit notification in scan event 2019-10-22 09:46:25 +02:00
0bfc7ac63e EliteDangerous: fixed the discovery scan event
Now will only tell you about differences with EDSMM when EDSM knows
_fewer_ bodies (there are some issues with duplicate entries in EDSM,
e.g. in Dromi)
2019-10-21 23:49:48 +02:00
f5d0a999df RatAttack: fixed RatAttack.parseRatsignal
VoicaAttack can handle control characters within a commond definition.
Sadly it errors out if you try to _import_ a profile that has said
control characters in them …

The workaround is to set the delimiter variable (`^B`) in an inline
function. This way the character itself does not appear in the exported
profile and everything works fine.
2019-10-19 22:34:38 +02:00
e697b22867 added RatAttack profile. No docs yet. 2019-10-18 22:33:33 +02:00
132bd9565b fixed auto jump on scooping
Now only queues a jump _once_ not once per “refuelled” event (fires
every 5s)
2019-10-18 22:31:32 +02:00
6dd011bde0 SpanshAttack: fixed jump on scooping
Will no longer conflict with an already charging jump
2019-10-14 15:25:44 +02:00
e5c3671d0e fixed srv lauched event to properly turn off the lights 2019-10-14 14:46:53 +02:00
3397ec1285 fixed discovery scan event for new EDDI variable naming 2019-10-14 10:11:27 +02:00
99b75f38db EliteDangerous: fixed lights off command for SRV
EDDI has a new `Status srv high beams` variable that can be used to
distinguish the two SRV lights states :)
2019-10-14 08:52:49 +02:00
94d98cbf3b EliteDangerous: straightened out some command invocations 2019-10-12 00:08:48 +02:00
5ece1c5f0d EliteDangerous: minor change to opening system on EDSM 2019-10-11 23:14:36 +02:00
7ea4a3128c SpanshAttack: fixed auto jump logic 2019-10-11 18:16:02 +02:00
650c9ee25e SpanshAttack: fixed auto jump after scooping
… will now also only fire if actually in neutron jump mode.
2019-10-10 09:46:47 +02:00
b75746c044 SpanshAttack: fixed clear on shutdown
Now correctly handles cases when you are NOT on a neutron trip …
2019-10-10 09:07:30 +02:00
0f9501c83a SpanshAttack: added option to auto jump ofter fuel scooping
default: on
2019-10-10 07:37:04 +02:00
c960d468cd SpanshAttack: fixed SpanshAttack.announceTripTime
Now knows proper singular for hours and minutes.

fixes #13
2019-10-10 06:53:05 +02:00
16905c68cf SpanshAttack: added option to clear route on game shutdown
Defaults to true. Also added compatibility for that to EliteDangerous.
2019-10-10 06:44:30 +02:00
7cd25e4a5b changed “distance to” command to be more flexible
Right now includes “home”, “the center”, “Beagle Point”, “Colonia” and
is easily extensible.
2019-10-10 00:44:36 +02:00
d9c1edbe43 added some commentary around the body count thing 2019-10-08 11:31:32 +02:00
98997a5622 moved EDSM body count call to the jumped event
– got its own command now
– called on jumped instead of disco scan for less spamming the API and
having the information available in the scan event without waiting
– information is cleared on commander login to not interfere with other
sessions
– if not already downloaded when disco scan is executed, will download
then
2019-10-07 21:18:31 +02:00
4ff6bb161c fixed EliteDangerous.jumpToSupercruise: no longer drops from SC 2019-10-04 05:22:02 +02:00
0c06a2d67f added distance from home command 2019-10-04 05:20:25 +02:00
028f01095a EliteDangerous: fixed relog command, added EDSM body count comparison
The latter needs the elite-scripts stuff.
2019-10-04 03:08:52 +02:00
c5c1801748 SpanshAttack: plotting a route now aborts if no jump range was given 2019-09-27 16:04:41 +02:00
cfc15a3cfe Added lots of command descriptions for ease of use. 2019-09-22 13:50:44 +02:00
25d78f193f updatet EliteDangerous 2019-09-22 01:43:00 +02:00
d401f2b3c8 SpanshAttack: now writing trip time to VA log 2019-09-16 14:28:39 +02:00
3112e84b51 random bits and bobs 2019-09-09 21:20:49 +02:00
ab051fb243 optimisations for recognition and small things that i’ve already forgotten about 2019-09-09 21:20:02 +02:00
74c8609b33 EliteDangerous: major refactoring work
Not thoroughly bug tested yet, command structure should know roughly
represent what I’m aiming for, still not finished though. Everything
else (sanitising, commenting, …) still has to be done for an initial
release that can be publicly used.
2019-09-01 01:48:43 +02:00
dc54473982 fixed band-aid for #5 :) 2019-09-01 01:48:39 +02:00
c9f8224bfd SpanshAttack: improved trip time announcement
Don’t announce “0 hours” if the trip has been shorter than 1 h.
2019-08-30 07:08:09 +02:00
b13b7d7750 band-aid for #5. 2019-08-30 07:06:40 +02:00
96ce8cef32 fixed SpanshAttacks stupid c&p errors for time calculation :) 2019-08-28 04:31:20 +02:00
44f1823b11 SpanshAttack.announceJumpsLeft fixed
It now has `;` on both ends. That allows to check for “;<jumps>;” and
this in turn (hopefully? :p) fixes #4 for good.
2019-08-27 23:27:04 +02:00
411bda4b94 added SpanshAttack.announceTripTime and associated stuff
You are now able to get the exact time you’ve spend on your plotted
neutron trip, complete with the option to automatically tell you your
time at the end of the route.

closes #3
2019-08-27 23:24:10 +02:00
cdaac3f828 added SpanshAttack.getJumpsLeft and corresponding voice command
closes #1
2019-08-26 21:00:21 +02:00
9448a9781a using <jumps>; now for jump announcement substring search
This _should_ fix #4. let’s see :)
2019-08-26 20:39:54 +02:00
7db66c5124 added EliteDangerous profile
It’s what I’m using right now, in no way sanitised/cleaned up/whatever
for general/public use.

USE AT YOUR OWN RISK

I mean it.

Probably still interesting if you want to know what’s possible with
VoiceAttack and just sniff around a bit.
2019-08-20 02:31:08 +02:00
75b4fe1b0f added pause between pasting text and restoring clipboard
Hopefully fixes the race condition that leads to #2.

fixed #2
2019-08-20 02:27:36 +02:00
d349927fe0 initial version of the SpanshAttack profile 2019-08-06 17:27:23 +02:00
af13889039 initial commit
Pretty raw state, SpanshAttack is in a usable state. Use things at your
own risk.
2019-08-06 16:37:51 +02:00