AstandyClient
An unofficial python client for the Standoff 2 game
📢 News: Project Telegram Channel 📚 Documentation: readthedocs
Installation
pip install astandy
Usage example
You need to obtain handshake for your game account and pass it to client
import asyncio
from Astandy import StandClient
client = StandClient("__your_handshake_here__")
async def main():
await client.start()
client.logger.info(f'getPlayer2 response: {await client.me()}')
await client.stop()
if __name__ == "__main__":
asyncio.run(main())
About handshake
There some limitation with handshake:
- AxleBolt always try to fix ways to obtain handshake of account and also can add some new restrictions
- Only one active handshake per account (If you log into the official Standoff 2 game client, your current session will be invalidated, and you will need to perform a new handshake.)
- Handshake have limited lifetime must be refreshed periodically
What do all this rpc methods actually?
- Try it out
- And observe differences on account maybe or simply guess idk
Always use a test account when exploring unknown methods to avoid any risks to your main profile.
Also i am planning to release application for analyzing the official Standoff 2 game client rpc behavior.
Supported RPC methods
There not all supported rpc methods implemented. I am already fixed tools to autogen all rpc methods from game dump and i am planning to add them later.
Metadata
Release files for astandy 0.3.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| astandy-0.3.0.2.tar.gz | 228.8 kB | Details |
Release files / astandy-0.3.0.2.tar.gz
| Download URL | astandy-0.3.0.2.tar.gz |
|---|---|
| Size | 228.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04cd175a84b4e600feb7b10701cc4d6bf88fb1d78e935c3723b9f96eee6483b2
|
|
BLAKE2b-256 checksum How to use checksums |
3f905a2b10fdbbf5c6f881c637088434f4f297cb3ff550aed5d590f4cac28fa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|