-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added map change and srb2 login support
- Loading branch information
1 parent
2905927
commit e5c7d3f
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
module.exports = { | ||
chatMessage: /^<.{1,21}> .{0,223}/, | ||
playerLogin: /^\*Player [0-9]{1,2} has joined the game \(node [0-9]{1,2}\) \([0-9.:]{9,22}\)$/, | ||
srb2PlayerLogin: / has joined the game \(player [0-9]{1,2}\)$/, | ||
mapChange: /^Map is now.*/, | ||
firstNameChange: /^\*Player [0-9]{1,2} renamed to .{1,22}$/, | ||
nameChange: /^\*.{1,22} renamed to .{1,22}$/, | ||
playerLeft: /^\*.{1,22} left the game.*/, | ||
serverStarted: /^Entering main game loop\.\.\.$/, | ||
serverMessage: /^<~SERVER>.*/, | ||
matchNameFromNameChange: /(?<=Player [0-9]{1,2} renamed to ).{1,22}$/, | ||
matchNameFromSrb2Login: /.*(?= entered the game.)/, | ||
matchMapFromMapChange: /"MAP..: .*"/, | ||
matchNameFromLeft: /^.{1,22}(?= left the game)/ | ||
}; |