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.2.tar.gz (228.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: astandy-0.3.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 04cd175a84b4e600feb7b10701cc4d6bf88fb1d78e935c3723b9f96eee6483b2
MD5 96db794f712341c91daa590f670fd0f2
BLAKE2b-256 3f905a2b10fdbbf5c6f881c637088434f4f297cb3ff550aed5d590f4cac28fa9

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