Skip to content

Commit

Permalink
RatAttack: RATSIGNAL parsing fixed for latest changes
Browse files Browse the repository at this point in the history
fixes #93
  • Loading branch information
alterNERDtive committed Feb 3, 2021
1 parent 0e350cc commit 7c7a6b8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# devel

## RatAttack 6.0.1

### Fixed

* RATSIGNAL parsing updated for latest Mecha3 changes.

-----

# 4.0.1 (2021-01-30)

## SpanshAttack 7.0.1
Expand Down
4 changes: 2 additions & 2 deletions plugins/RatAttack/RatAttack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ private static alterNERDtive.util.PipeServer<Ratsignal> RatsignalPipe
private static alterNERDtive.util.PipeServer<Ratsignal>? ratsignalPipe;

private static readonly Regex RatsignalRegex = new Regex(
@"^RATSIGNAL - CMDR (?<cmdr>.+) - Reported System: (None|""(?<system>.+)""( \(((?<systemInfo>[0-9,\.]+ LY from .*|landmark|Not found in galaxy database|Valid system name))\))?(?<permit> \x037\(((?<permitName>.*) )?Permit Required\)\x03)?) - Platform: \x03(6|3|12)(?<platform>(PC|Xbox|Playstation))\x03 - O2: (\x034)?(?<oxygen>(NOT )?OK)\x03? - Language: .+ \(\x02Case #(?<number>\d+)\x02\) \((PC|XB|PS)_SIGNAL\)\v*$"
@"^RATSIGNAL - CMDR (?<cmdr>.+) - Reported System: (None|""(?<system>.+)"" \(((?<systemInfo>.*[0-9,\.]+ LY from .*|Not found in galaxy database|Valid system name))\)(?<permit> \x037\(((?<permitName>.*) )?Permit Required\)\x03)?) - Platform: \x03(6|3|12)(?<platform>(PC|Xbox|Playstation))\x03 - O2: (\x034)?(?<oxygen>(NOT )?OK)\x03? - Language: .+ \(\x02Case #(?<number>\d+)\x02\) \((PC|XB|PS)_SIGNAL\)\v*$"
);

private static VoiceAttackLog Log
Expand Down Expand Up @@ -248,7 +248,7 @@ private static void Context_ParseRatsignal(dynamic vaProxy)
| required VoiceAttack plugin shenanigans |
\========================================*/

static readonly Version VERSION = new Version("6.0.0");
static readonly Version VERSION = new Version("6.0.1");

public static Guid VA_Id()
=> new Guid("{F2ADF0AE-4837-4E4A-9C87-8A7E2FA63E5F}");
Expand Down
2 changes: 1 addition & 1 deletion plugins/VoiceAttack-base/base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ private static void Context_Update_Check(dynamic vaProxy)
| required VoiceAttack plugin shenanigans |
\========================================*/

static readonly Version VERSION = new Version("4.0.1");
static readonly Version VERSION = new Version("4.0.2");

public static Guid VA_Id()
=> new Guid("{F7F59CFD-1AE2-4A7E-8F62-C62372418BAC}");
Expand Down

0 comments on commit 7c7a6b8

Please sign in to comment.