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.
Readme
Uses the UDP Plugin feature of Assetto Corsa v1.2+ to get realtime reports on car positions, collisions, lap times and more...
npm install acsp
var ACSP = require('acsp');
var a = ACSP({
host: 'localhost',
port: 11000
});
// listen for car_info events
a.on('car_info', function(carinfo){
console.log(carinfo);
});
// request car_info for car #0
a.getCarInfo(0);
// getCarInfo() also returns a Promise
a.getCarInfo(0).then(function(info){
console.log(info); // {...}
})
car_info
sent in response to a .getCarInfo()
callnew_session
triggered when a new session startsend_session
triggered when a session ends (see note below)collide_env
triggered when a car collides with the environmentcollide_car
triggered when a car collides with another carcar_update
triggered every x
milliseconds after calling .enableRealtimeReport(x)
new_connection
a new driver has connectedconnection_closed
a driver has disconnectedlap_completed
a car has completed a lapNote: ACServer must be able to write to the ./results
path (relative to ACserver.exe) in order for ACSP to emit this event. This directory does not exist by default - so you will need to create it! (This is an Assetto Corsa bug)
.getCarInfo(car_id)
request car_info for car_id.enableRealtimeReport(ms)
request realtime car updates every ms
milliseconds.sendChat(car_id, msg)
send a chat message msg
to driver car_id
.broadcastChat(msg)
send a chat message msg
to all connected driversFAQs
Node.JS implementation of the Assetto Corsa Server Protocol
The npm package acsp receives a total of 3 weekly downloads. As such, acsp popularity was classified as not popular.
We found that acsp demonstrated a not healthy version release cadence and project activity because the last version was released 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.