Commit Graph

32 Commits

Author SHA1 Message Date
Skillet
d0df40b737
Update layers.js 2024-01-15 15:52:15 -05:00
Skillet
002c0913ff fix layer list url 2023-12-14 22:19:30 -05:00
Skillet
8df7174429 update layerlist url 2023-12-13 12:36:14 -05:00
Skillet
f0ce448537 update layerlist url 2023-12-13 12:24:16 -05:00
Skillet
da26f117a1 update layerlist url 2023-12-13 12:19:51 -05:00
Skillet
a434c22702 properly get a list of layers 2023-04-26 09:10:52 -04:00
Skillet
ce1b6e6d35 properly get a list of layers 2023-04-26 08:34:05 -04:00
Skillet
adf3e01d11 properly get a list of layers 2023-04-26 07:08:14 -04:00
Skillet
64e7360360
layers map 2023-04-14 21:56:15 -04:00
Skillet
f092e4f18b
Update layers.js 2023-03-20 07:49:14 -04:00
Skillet
715cd2fce1
Update layers.js 2023-03-11 21:48:21 -05:00
Skillet
412483f0d4
Update layers.js 2023-03-09 16:51:22 -05:00
Skillet
17deebf4a5
Update layers.js 2023-03-06 15:17:21 -05:00
Skillet
b419c62ff3
use modded support 2023-03-02 02:21:25 -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
werewolfboy13
836300b393 Updating wiki pipeline address. 2023-01-18 18:28:33 -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
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
adb9dd23d6 Fix layer information link 2021-04-01 18:14:02 +01:00
SeanWalsh95
86f420fdf3 add Tank/Heli count as sub-property of team per https://github.com/Thomas-Smyth/SquadJS/pull/184#discussion_r602898710 2021-03-30 14:43:24 -04:00
SeanWalsh95
3339f78df6
Add Helicopter and Tank count to layer info
simplified to reduce commit spam
2021-03-16 15:52:24 -04:00
Levent007
7771376a26 Replacing githubraw with CDN(jsDelivr) 2021-03-05 17:00:38 +01:00
Levent007
e37f6aad08 Squad IO API Plugin 2021-03-04 23:36:57 +01:00
Levent007
d2c2844755 adding failover for pull layer (Fixing issues with Chinese firewall) 2021-03-04 15:55:36 +01:00
Shanomac99
4008075fba Corrected Squad Wiki Data.
- Changed layer classname to use level name
- Updated github link to a more permanent folder location.
2021-02-26 02:17:34 -05:00
SeanWalsh95
a2c043ef4c prefer throwing error to catch
- rm try/catch
prefer to throw error on failure to fetch layer information as it is critical to the apps operation

+add log line to indicate a force update

+increase verboseness of already pulled log as it is not critical info
2021-02-25 15:50:18 -05:00
SeanWalsh95
2b565eb965 ESLint & README Generation 2021-02-25 17:38:00 +00:00
SeanWalsh95
6cd99f8bc9
try/catch axios request + set pulled flag
Wraps axios request with try/catch for cases where we do not get a response or get an error

sets `this.pulled` flag after receiving and parsing response
2021-02-25 12:37:20 -05:00
Thomas Smyth
2703afbd7d Add additional logging 2021-02-25 13:02:08 +00:00
Thomas Smyth
a289188dfa Initial Squad v2 Layer Support Bug Fixes 2021-02-03 18:41:35 +00:00
Thomas Smyth
b5a3f4c59b Initial Squad v2 Layer Support 2021-02-03 17:33:01 +00:00