Skip to main content

Astandy is so2 game client

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

astandy-0.3.0.1.tar.gz (228.8 kB view details)

Uploaded Source

File details

Details for the file astandy-0.3.0.1.tar.gz.

File metadata

  • Download URL: astandy-0.3.0.1.tar.gz
  • Upload date:
  • Size: 228.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for astandy-0.3.0.1.tar.gz
Algorithm Hash digest
SHA256 0a918960a45a80fa57c9364fcdf2d1a55629d7048f235a7c3a201f4a9275b7a1
MD5 3dca5cdd18b5ab7bb368a7a652202e5d
BLAKE2b-256 5198abad8f7026ca0e3437571d55cc26de30cae5f52c26747e17c09d6371ba85

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page