Commit Graph

703 Commits

Author SHA1 Message Date
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
Thomas Smyth
053e100b88
Merge pull request #240 from ect0s/killfeed-fix
Add default value for victim's name in the DiscordKillFeed plugin
2022-05-27 15:19:30 +01:00
ect0s
382563e659 Update discord-killfeed.js 2022-05-27 10:07:09 -04:00
ect0s
1b78b6cfce Merge remote-tracking branch 'upstream/master' into killfeed-fix 2022-05-27 10:05:51 -04:00
ect0s
846fa0d927 Revert "Add default value case victim is nullptr"
This reverts commit 4c9aef454d.
2022-05-27 10:01:15 -04:00
Thomas Smyth
6769cf7f90
Add light logo to README template 2022-05-27 14:46:08 +01:00
ect0s
4c9aef454d Add default value case victim is nullptr 2022-05-27 09:08:56 -04: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
Thomas Smyth
3b2b7236ec
Merge pull request #239 from ect0s/AdminCamUnpossed-DurationFix
Fix error when an admin leaves admin camera without being on the list of admins in admin camera for whatever reason
2022-05-18 09:05:17 +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
Thomas Smyth
6d008ffa79
Show logo based on GitHub theme 2022-04-28 09:17:59 +01:00
ect0s
46ab36624a Added regular Adminlist update to newgame 2022-04-23 11:10:00 -04:00
Thomas Smyth
cdf3a1e36d
Merge pull request #234 from Team-Silver-Sphere/update-github-repo-url
Update other urls dependent on GitHub repo owner
2022-04-15 13:25:44 +01:00
Thomas Smyth
5454715bcf
Update other urls dependent on GitHub repo owner 2022-04-15 13:25:16 +01:00
Thomas Smyth
baa66b1c99
Merge pull request #233 from Team-Silver-Sphere/update-github-repo-url
Update SquadJS repository url
2022-04-15 13:15:58 +01:00
Thomas Smyth
3cd34e1d3c
Update SquadJS repository url 2022-04-15 13:15:21 +01:00
Thomas Smyth
813aca1bc0
Merge pull request #228 from ect0s/JSON-FIX
Attempt Fix vehicle filtering for maps with 0 tanks or helicopters
2022-02-13 08:32:27 +00:00
Thomas Smyth
170175f353
Merge pull request #229 from werewolfboy13/patch-1
Added VS to .gitignore
2022-02-13 08:31:47 +00:00
Marek
ff7a2f089d
Added VS to .gitignore
This will prevent the files the Visual Studio creates when editing the repo.
2022-02-12 14:37:26 -06: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
Thomas Smyth
f34426d61f
Merge pull request #221 from ect0s/NEW_GAME-Regex
Improve regular expression used to detect new games
2021-11-26 21:58:56 +00:00
ect0s
a2348c6bd1 Squad Commits, Robust new Game Regex
Attempt at more Robust Regex

This regex searches for all the current information we get via the NewGame event, but with a few patterns that search deeper/different folder structures.

Appears to work on all base game content and mods that I have tested, however, mods may capture garbage information inside of mapClassname.

This will also fail if a modder puts no folders between the root of their project and their layers

/mymod/mymap

vs

/mymod/afolder/mymap

afolder would end up being the mapClassname.

https://regex101.com/r/e0Ui0K/1
2021-11-26 15:01:10 -05:00
Thomas Smyth
d6c0edf37e
Bump version 2021-10-30 11:13:53 +01:00
Thomas Smyth
f2a2b49c55
Merge pull request #216 from Shanomac99/main
Changer layer image URL to new hosting location.
2021-10-30 11:12:48 +01:00
Shanomac99
fad74b19f6 Changed layer images to new hosting location.
Added rawName data type so images uses the correct data.
2021-10-29 21:44:21 -04:00
Thomas Smyth
19e3e753c8
Merge pull request #215 from 11TStudio/patch-6
Add SQUAD_CREATED to list of events emitted by Socket.io
2021-10-27 09:06:09 +01:00
11T Studio
dbbb708e3b
Add event SQUAD_CREATED
To be utilized via the SocketIO. (mainly SquadStatsJSPRO tbh)
2021-10-26 23:12:04 +02:00
Thomas Smyth
f825b4a65b
Merge pull request #209 from 11TStudio/patch-4
Add warn, kick and ban events to SocketIOAPI
2021-08-13 22:26:11 +01:00
11T Studio
e2ec5ee9bb
Kick, warn and ban added to emits 2021-08-13 23:18:08 +02:00
11T Studio
94bb989a83
Add DiscordKillFeed plugin 2021-08-12 20:49:59 +01:00
ect0s
4ca8839675
Add data to UPDATED_A2S_INFORMATION event 2021-08-07 22:44:29 +01:00
Thomas Smyth
ae19534404
Merge pull request #202 from 11TStudio/patch-2
Add link to README for socket.io plugin guide
2021-08-06 21:43:51 +01:00
Levent007
8daabbe801 Added the socket.IO guide link
Sorry >.<
2021-08-06 23:39:02 +03:00
11T Studio
ed0883c858
Adding the guide link to the documentation
This guide will be updated by me from time to time and will be kept up to date with the latest SquadJS versions.
2021-08-06 22:28:18 +02:00
Thomas Smyth
833b227c6f
Merge pull request #201 from 11TStudio/patch-1
Add PLAYER_AUTO_KICKED event to the broadcast-able socket.io messages
2021-08-06 19:40:11 +01:00
11T Studio
a04aee60bf
Adding the new event
I know I need to rewrite this outside of the plugins but I plan to make it after my vacation 😢
2021-08-06 20:17:52 +02:00
Thomas Smyth
e8b4118add
Merge pull request #199 from ect0s/test
SQUAD_CREATED emitter changed to async due to getplayerbysteamid
2021-07-02 21:15:12 +01:00
ect0s
e73449e342 Update index.js 2021-07-02 16:00:38 -04:00
Thomas Smyth
4e0dc392c4
Merge pull request #198 from ect0s/test
Added Squad Created event binding to server object
2021-07-02 17:06:43 +01:00
ect0s
f472676e3e Added Force to getPlayerBySteamID inside SQUAD_CREATED emitter 2021-07-02 11:34:58 -04:00
ect0s
9e0c5cd1b1 Add Full player object to SQUAD_CREATED
Added full player to SQUAD_CREATED event

Refactored DiscordSquadCreated Plugin
2021-07-01 20:22:34 -04:00
ect0s
aef75781bc Added Event Handling in main server 2021-06-29 19:48:23 -04:00
Thomas Smyth
7437e8108b
Merge pull request #196 from ect0s/test
Added 'SQUAD_CREATED' log rule based on UAT test branch.
2021-06-29 14:43:13 +01:00
ect0s
ed9031d0fe Create discord-squad-created.js
Simple example plugin.
2021-06-25 21:09:08 -04:00
ect0s
5387da16bb Fixed SquadName/SquadID properties 2021-06-25 18:04:45 -04:00
ect0s
eb714ecad3 Added 'SQUAD_CREATED' log rule
Initial Attempt at parsing Squad Created Log line.
2021-06-25 12:39:37 -04:00
Thomas Smyth
964a65ce6e Fix support for multiple servers to discord-base-message-updater plugin 2021-05-17 22:15:04 +01:00
Thomas Smyth
dd9a403e6b
Merge pull request #191 from wiilover22/master
Fix player disconnection event.
2021-04-07 23:13:08 +01:00