Socket
Book a DemoInstallSign in
Socket

wayz-rlsdk-python

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wayz-rlsdk-python

RLSDK modifications I made to train with Python.

pipPyPI
Version
0.1.1
Maintainers
1

RLSDK Python

This is reverse engineered python SDK package aiming to read data from RocketLeague.exe.

How does it works

This SDK uses PyMem to read game memory and frida to hook game functions.

Installation

pip install wayz_rlsdk_python

Or

poetry add wayz_rlsdk_python

Usage

from rlsdk_python import RLSDK, EventTypes
import sys

rlsdk = RLSDK(hook_player_tick=True)


def on_tick(event):
    game_event = rlsdk.get_game_event()

    if game_event:
        cars = game_event.get_cars()
        
        for car in cars:
            pri = car.get_pri()
            player_name = pri.get_player_name()

            # Display car position

            x,y,z = car.get_location().get_xyz()

            print(f"{player_name} is at {x},{y},{z}")

rlsdk.event.subscribe(EventTypes.ON_PLAYER_TICK, on_tick)

sys.stdin.read()

Events

You can attach a callback function to an event like this:

from rlsdk_python import RLSDK, EventTypes
sdk = RLSDK()
sdk.event.subscribe(EventTypes.ON_KEY_PRESSED, on_key_pressed)

def on_key_pressed(event):
    print("Key pressed:", event.key)

More examples and documentation will be added if users ask for it.

Project using RLSDK Python

  • RLMarlbot - Nexto bot based on my python SDK

Help needed

I need a way to find GObjects and GNames base offsets, because this offsets changes frequently (on each uptates) and are differents for Epic and Steam

FAQs

Did you know?

Socket

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.

Install

Related posts