Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
fortnite-replay-downloader
Advanced tools
Readme
This module is made to download tournament replays from the Fortnite servers.
const replayDownloader = require('fortnite-replay-downloader');
replayDownloader.downloadReplay({
matchId: '09525a55bf724b54b6cae5921f80dcba',
eventCount: 1000,
dataCount: 1000,
checkpointCount: 1000,
updateCallback: (data) => {
console.log('');
console.log('header', `${data.header.current}/${data.header.max}`);
console.log('data', `${data.dataChunks.current}/${data.dataChunks.max}`);
console.log('events', `${data.eventChunks.current}/${data.eventChunks.max}`);
console.log('checkpoints', `${data.checkpointChunks.current}/${data.checkpointChunks.max}`);
},
}).then((replay) => {
console.log('Replay downloaded');
}).catch((err) => {
console.log(err);
});
Config
{
matchId: string, // the match id to download
checkpointCount: number, // the amount of checkpoint chunks to download
maxConcurrentDownloads: number // the amount of chunks downloaded at the same time (default: infinity)
dataCount: number, // the amount of data chunks to download
eventCount: number, // the amount of event chunks to download
updateCallback: (updateData) => {} // gets called after every downloaded chunk with the current progress
}
Update callback structure
{
header: {
current: number, // amount of header chunks downloaded (this can only be 0 or 1)
max: number, // total amount of header chunks (this will always be 1)
},
data: {
current: number, // amount of data chunks downloaded
max: number, // total amount of data chunks
},
events: {
current: number, // amount of events chunks downloaded
max: number, // total amount of events chunks
},
checkpoints: {
current: number, // amount of checkpoints chunks downloaded
max: number, // total amount of checkpoints chunks
},
}
{
matchId: string, // the match id to download
chunkDownloadLinks: boolean, // gives you download links and file sizes for every chunk
}
Result structure
{
ReplayName: string, // the replay id
LengthInMS: number,
NetworkVersion: number, // the current network version
Changelist: number, // the current changelist version
FriendlyName: string, // the replay name. Its just the name of the map
Timestamp: string,
bIsLive: boolean, // is the match currently running?
bCompressed: boolean, // is the replay compressed. Replays are compressed using oodle
DesiredDelayInSeconds: number,
DownloadLink: string, // header download link // expires after 15 minutes
FileSize: number,
Checkpoints: [
{
Id: string, // chunk id
Group: string, // checkpoint group
Metadata: string, // checkpoint metadata
Time1: number, // start time
Time2: number, // end time
DownloadLink: string, // expires after 15 minutes
FileSize: number,
}
],
Events: [
{
Id: string, // chunk id
Group: string, // event group
Metadata: string, // event metadata
Time1: number, // start time
Time2: number, // end time
DownloadLink: string, // expires after 15 minutes
FileSize: number,
}
],
DataChunks: [
{
Id: string, // data id
Time1: number, // start time
Time2: number, // end time
SizeInBytes: number, // uncompressed size
DownloadLink: string, // expires after 15 minutes
FileSize: number,
}
],
}
FAQs
This module is made to download tournament replays from the Fortnite servers.
The npm package fortnite-replay-downloader receives a total of 81 weekly downloads. As such, fortnite-replay-downloader popularity was classified as not popular.
We found that fortnite-replay-downloader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.