Commit Graph

337 Commits

Author SHA1 Message Date
ect0s
bc4095eb8c
Merge pull request #266 from fantinodavide/master
Prevent crash when a discord channel cannot be fetched by channelID
2023-01-21 19:48:46 -05:00
Davide Fantino
8b931ce0b9 Merge branch 'fix-tank-recognition' of https://github.com/fantinodavide/SquadJS into fix-tank-recognition 2023-01-21 22:02:16 +01:00
Davide Fantino
4e561c4362 fix: antitank vehicles being recognized as tanks 2023-01-21 22:02:11 +01:00
Marek
8e8b56937d
Merge branch 'master' into master 2023-01-21 14:58:18 -06:00
ect0s
fd7483a323 Add Timestamps to logger
Change logger string constructor;

By default, no logging enabled.

if timestamps exists in logger config, timestamps enabled
2023-01-20 20:59:07 -05:00
werewolfboy13
836300b393 Updating wiki pipeline address. 2023-01-18 18:28:33 -06:00
Davide Fantino
e2a9c4b79f chore: more detailed logging for fetch discord channel errors 2023-01-16 10:05:11 +01:00
Davide Fantino
b016226d70 chore: handle discord channel not initialized 2023-01-15 21:32:27 +01:00
Davide Fantino
59dc6832a5 chore: discord fetch channel handle not found 2023-01-15 21:26:57 +01:00
ect0s
616982927b rename steamid-connected to client-login, roll forward to master
Resolve conflict with master

Change steamid-connected to client-login for consistent naming
2023-01-02 23:27:12 -05:00
ect0s
4233213acd Merge remote-tracking branch 'upstream/master' into LogParser-Sessions 2023-01-02 23:24:13 -05:00
Thomas Smyth
b5c60ea9cf
Merge branch 'master' into SqCreationRCON 2023-01-02 19:01:09 +00:00
ect0s
3ebd5e2c3c Keep SquadID in Event Emitter data 2023-01-01 19:27:23 -05:00
ect0s
6cce309bea Roll foward 2023-01-01 19:25:02 -05:00
Marek
17a7c269a7
Merge branch 'master' into LogParser-Sessions 2022-12-28 18:12:23 -06:00
Marek
16b0803149
Merge branch 'master' into LogTickets 2022-12-28 17:16:08 -06:00
Sentennial
0db79ad231 fix for player-damaged and player-died as well 2022-12-27 22:27:15 -06:00
Sentennial
48d0445925 Adjust regex to capture wounds by PLA weapons. 2022-12-27 22:12:02 -06:00
ect0s
1301c227f2 Move events to eventstore.sessions for cleanup 2022-11-09 20:26:04 -05:00
ect0s
49809169b8 Player Connection/Disconnection Flow. cleareventStore caller
pending connection destroyed: error path for clients that fail to connect, required to cleanup connection state in this error case.

client-connected: Supersedes steamid connected, use base unreal engine client flow. Removes dependancy on EAC (broken as of squad 3.4). First step in resolving a new client connection. this gets us a connection id, steamid.

client-login: 2nd step in player connected flow, this setups the steamid into eventstore.steamid-connected.

playercontroller connected: gets us player controller. used in player connected flow.

player-connected: update to use new eventStore layout, now all players should always have suffix,steamid,controller. These are now also cached within the logparser for lookup. last step in player connected flow.

player-disconnected: uses new eventStore layout, marks players in eventStore.disconnected but doesn't remove cached players till map change; may be needed in cases with delayed logs, needs further testing. Broken as of Squad 3.4 due to EAC changes

steamid-connected: Removed in favor of client-connected, no longer works as of squad 3.4 due to EAC changes.
2022-11-09 20:20:50 -05:00
ect0s
915d42d355 Update discord-roundended.js
Missing Early Return
2022-10-06 23:08:04 -04:00
ect0s
2ba6edc4ee Embed Format Tweak 2022-09-29 04:53:25 -04:00
ect0s
49127ca404 Add time 2022-09-28 23:00:55 -04:00
ect0s
9a0d0f613b fix binding 2022-09-28 22:17:50 -04:00
ect0s
3f3be7c027 Add round-tickets and round-ended events; discord-roundended plugin
Adds round-tickets regex to logparser; this will fire when the server prints new log lines related to tickets and factions.

Adds round-ended regex to log parser and event; this event forwards round tickets where we have both a winner and a loser to the main server object.

discord-roundended: This plugin is similar but functionally different from round winner, due to cases where the server experiences a draw.
2022-09-28 21:11:11 -04:00
ect0s
51fe9e0f0f Remove SquadLayerFilter from Readme template
Dead Code/Documentation,

https://github.com/Team-Silver-Sphere/SquadJS/issues/254
2022-08-01 15:13:28 -04:00
SeanWalsh95
6b48502c44
dafault victim message to disabled 2022-07-12 18:11:28 -04:00
SeanWalsh95
7cd7133bc6
grammar 2022-07-12 15:42:57 -04:00
SeanWalsh95
333e5fc7ee
rm unneeded blocking 2022-07-12 15:40:54 -04:00
SeanWalsh95
d5ee238157
remove unneeded flag 2022-07-12 15:33:55 -04:00
SeanWalsh95
2a2a09caa9
prefer camelCase with JS 2022-07-12 15:28:47 -04:00
SeanWalsh95
83de2491ac
spelling fix 2022-07-12 15:11:38 -04:00
SeanWalsh95
a2e677c13c
formatting 2022-07-12 15:07:43 -04:00
SeanWalsh95
61a20ef972
allow for victim to be notified on TK 2022-07-12 15:06:03 -04:00
Thomas Smyth
ce0b6c9305
Merge pull request #246 from werewolfboy13/patch-1
Update print-logo.js
2022-07-09 13:07:01 +01:00
IgnisAlienus
e080a8bbf5 Grafana Template Update 2022-06-30 08:42:35 -07:00
Marek
42597d7030
Update print-logo.js
A change for the new CBL that was missed in #245.
2022-06-28 15:06:34 -05:00
IgnisAlienus
39fad4bcd6 CBL v2 2022-06-28 11:03:41 -07:00
IgnisAlienus
1d685f17d3 CBL 2022-06-28 11:01:31 -07:00
IgnisAlienus
c40b24f9d5 Updating SCBL references to CBL - Community Ban List 2022-06-28 10:00:52 -07:00
ect0s
b9f5766cc9 Remove Squad Created from LogParser
Remove LogParser event Squad Created
2022-06-04 10:57:28 -04:00
ect0s
90ed90cb68 SquadCreated Regex and Event Emitter
Move Squad Created To RCON rcon.js

Move Squad Created emitter to RCON index.js
2022-06-04 10:42:20 -04:00
ect0s
382563e659 Update discord-killfeed.js 2022-05-27 10:07:09 -04:00
Thomas Smyth
6769cf7f90
Add light logo to README template 2022-05-27 14:46:08 +01:00
Thomas Smyth
26a8d53f2e
Merge pull request #237 from ect0s/adminlist-fetch-update
Update admin list on layer changes
2022-05-18 09:06:35 +01:00
ect0s
57b741fbc8 Guard for Duration.
We may miss admins going into camera in the case of RCON shutdowns/SquadJS restarts.

This code should guard a promise rejection in the case an admin is not in the current tracking list.
2022-05-15 11:22:06 -04:00
ect0s
46ab36624a Added regular Adminlist update to newgame 2022-04-23 11:10:00 -04:00
Thomas Smyth
5454715bcf
Update other urls dependent on GitHub repo owner 2022-04-15 13:25:16 +01:00
Thomas Smyth
3cd34e1d3c
Update SquadJS repository url 2022-04-15 13:15:21 +01:00
ect0s
5964b37769 Attempt Fix vehicle filtering for maps with 0 tanks or helicopters
2.12 Squad, some layers have no vehicles, so when reading JSON from the wiki team we reject a promise because no data[t].vehicles property, this sets to empty array before we attempt a filter.

Should stop promise rejection during startup
2022-02-12 13:59:11 -05:00