Skip to main content

# RLBot_Lua

This extension creates a native bridge between Python and Lua, implementing its own class system to simplify usage.

## Installation

` $ python -m pip install rlbot_lua `

> Note: Only supports 64-bit OS/Python

## Bot setup Copy the following files to your bot folder:

  • Lua53.dll (Not needed on Linux when support arrives)

  • classes.lua

  • structs.lua

  • lua_bot.py

Then, in your bot.cfg, set bot path to lua_bot.py

## Functions provided

Functions: - class - A keyword to create classes (see bot_example.lua and structs.lua for reference) - super - A function useful with inheritance; calls the parent function (see structs.lua for reference) - dump - A function that can be used to dump information about a table

Classes: - GameTickPacket - The game tick packet, this completely copies the python packet - GameObject - Base class for all entities in the game, this should generally not be used - GameCar - The class used for cars in packet.game_cars - GameBall - The class used for the ball - GameInfo - The class used to hold information about the current game - GameBoost - The class used for boost pads in packet.game_boosts - Team - The class used for team information - Hitbox - Container class for hitbox data - ControllerState - The class used to hold controller data, defaults to neutral - LuaBot - The class a bot written in Lua must inherit and implement - Vector - The class used for all 3-dimensional vectors, has utility methods - Rotation - The class used for rotation data

These classes can be modified as shown in example_bot.lua

## TODO

  • Proper classes for Ball attributes

  • Figure out why it segfaults when there are more than 2 players on the field

Metadata

Release files for rlbot-lua 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rlbot-lua 0.1.5
File Size Uploaded Provenance Actions
rlbot_lua-0.1.5.tar.gz 7.0 kB Without provenance Details for rlbot_lua-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rlbot-lua 0.1.5
File Interpreter ABI Platform Actions
rlbot_lua-0.1.5-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details for rlbot_lua-0.1.5-cp37-cp37m-win_amd64.whl

Total release size: 21.7 kB

Release files / rlbot_lua-0.1.5.tar.gz

Download URL rlbot_lua-0.1.5.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
13658a7fb7d30f289d9c6299b604a9bd81c9af4727e6e068c7ae0055b1334d05
BLAKE2b-256 checksum
How to use checksums
c04f71a5435c6b51024c627a6d238f9bbd0e9e92d4cad55ed4d815cffa888bb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4

Release files / rlbot_lua-0.1.5-cp37-cp37m-win_amd64.whl

Download URL rlbot_lua-0.1.5-cp37-cp37m-win_amd64.whl
Size 14.6 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
2d83814d38127dd877a4939d14be267930b26b0887f87247164ff96119d1d17d
BLAKE2b-256 checksum
How to use checksums
ec194cfc20191368aa88936dd5a21cac3bdcec5d27b4fcb52f3ae72d216f1314
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4

Security for rlbot-lua 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page