
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@rbxts/gorp
Advanced tools
gorp is a tool for ecr that provides many features to track performance and test your game.
Fork of gorp for Roblox-ts.
gorp.set_ecr(ecr)
before working with gorp. It must only be called from one script, but must be called before other scripts interact with gorp.<gorp version>-ts.<x>
where x is incremented for any changes to the TS version in particular.Server
import gorp from "@rbxts/gorp";
import ecr from "@rbxts/ecr";
// Required for gorp to setup
gorp.set_ecr(ecr);
Client
import gorp, { WidgetType } from "@rbxts/gorp";
import ecr, { Registry } from "@rbxts/ecr";
const RunService = game.GetService("RunService");
const Position = ecr.component(() => Vector3.zero);
const Velocity = ecr.component<Vector3>();
// Required for the TS version to access your ecr
gorp.set_ecr(ecr);
// Assigns names for the components
gorp.compat_set_cts({
"Position": Position,
"Velocity": Velocity,
})
// Must clone the ecr registry for gorp to be able to access more
const world = table.clone(ecr.registry());
const entity = world.create();
world.add(entity, Position)
world.set(entity, Velocity, new Vector3(10, 0, 0))
gorp.add_world(world, "main_world");
gorp.spawn_widget(WidgetType.RegistrySelector);
const scheduler = new gorp.scheduler("main_scheduler");
function position_system(registry: Registry, dt: number) {
for (const [id, pos, vel] of registry.view(Position, Velocity)) {
registry.set(id, Position, pos.add(vel.mul(dt)));
}
}
RunService.RenderStepped.Connect((dt) => {
// Run our system with a given name
scheduler.system("position_system", position_system, world, dt);
// Tells the scheduler our game loop is finished
scheduler.finish();
})
// Shows all the gorp widgets, enabling could be controlled by key input
gorp.enabled(true);
FAQs
A hacky ECS debugger
The npm package @rbxts/gorp receives a total of 10 weekly downloads. As such, @rbxts/gorp popularity was classified as not popular.
We found that @rbxts/gorp 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.