GithubHelp home page GithubHelp logo

quantum-0 / sar-pm-overlay Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 5.73 MB

SAR Private Matches overlay

License: GNU General Public License v3.0

C# 100.00%
sar game game-overlay input-simulation moderation overlay super-animal-rolaye

sar-pm-overlay's Introduction

SAR-PM-Overlay

This project is a game overlay for Super Animal Royale provides UI for moders/private match hosters.

It displays bar in the bottom of the screen with buttons. When you click on them, tool set focus on game window and input commands via chat simulating user input.

wakatime Lint Code Base Build .NET Desktop pages-build-deployment

Screenshot

Screenshot

Who can uses it

To use that software you must have access to private matches (or to be a moder).

If you have not access to private matches in game, that software is useless for you.

Is that cheating?

No, it isn't. That software doesn't use any kinds of exploits, but just emulates user input, that's not prohibited. More than that, the game allows you to use these commands only if you are owner of the match.

Instalation and running

  • Install .NET 5.0 for Desktop
  • Download latest release from this repository
  • Open the game
  • Run that application
  • Start private match
  • Enjoy!

Usage

I hope interface is friendly for user and don't need an explanation.

The only non-obvious thing is that right-clicking on the [Kill] [God] [Ghost] buttons applies the command to itself, and for the [Spawn] button - executes the same command that was called the last time when selecting item.

Features

The list of features available in that overlay:

  • Match ID - prints current match's ID
  • Night - switchs the night
  • Gas - turn on/off the gas
  • Soccer - creates a soccer ball
  • Teleport - teleports you or another player to selected location, which can be choosen from list or on the map
  • Start match - starts match with or without bots
  • Scenarious - executes described queue of actions
  • Kill - kills the player or self if click with right mouse button
  • Kick - kicks the player
  • God - Enables/disables the god mode for the player or self if click with right mouse button
  • Ghost - Enables/disables the ghost mode for the player or self if click with right mouse button
  • Flight - Change flight direction
  • One hits - one-hits mode

Structure of the project

flowchart LR
  User_Interface --> Internal_App_Logic
  subgraph User_Interface
    direction TB
      SFI(SAR Facade Instance)
      MW(Main Overlay Window)
      SPW(Select Player Window)
      STW(Teleport Window)
      SSW(Select Scenario Window)
   end
  subgraph Internal_App_Logic
    direction TB
      NM(Native Methods)
      SAR(SAR Facade EntryPoint)
      SL(Location Class)
      SP(Player Class)
      SE(SAR Enums)
      SS(Scenario)
      SC(Commands)
      SI(Interaction with game)
      SPr(Properties)
   end
   SFI --> MW
   MW --> SPW
   MW --> STW
   MW --> SSW

   SAR --> SL
   SAR --> SP
   SAR --> SS
   SAR --> SC
   SC --> SI
   SS --> NM
   SS --> SC
   SC --> SE
   SAR --> SPr
   SPr --> SI
   SAR --> NM
   
   click MW href "https://github.com/Quantum-0/SAR-PM-Overlay/blob/master/MainWindow.xaml.cs"
   click SS href "https://github.com/Quantum-0/SAR-PM-Overlay/blob/master/SARFacade/SARScenario.cs"
   click SC href "https://github.com/Quantum-0/SAR-PM-Overlay/blob/master/SARFacade/SARFacadeCommands.cs"
   click SI href "https://github.com/Quantum-0/SAR-PM-Overlay/blob/master/SARFacade/SARFacadeInteractionWithSAR.cs"
   click SE href "https://github.com/Quantum-0/SAR-PM-Overlay/blob/master/SARFacade/InGameEntities/SAREnums.cs"
   click SP href "https://github.com/Quantum-0/SAR-PM-Overlay/blob/master/SARFacade/InGameEntities/SARPlayer.cs"
   click SL href "https://github.com/Quantum-0/SAR-PM-Overlay/blob/master/SARFacade/InGameEntities/SARLocation.cs"
   click SRp href "https://github.com/Quantum-0/SAR-PM-Overlay/blob/master/SARFacade/SARFacadeProperties.cs"
   click NM href "https://github.com/Quantum-0/SAR-PM-Overlay/blob/master/NativeMethods.cs"
   click SAR href "https://github.com/Quantum-0/SAR-PM-Overlay/tree/master/SARFacade"
Loading

About Scenarios

Scenario is a queue of actions save in file .sarpms (SAR Private Match Scenario) Syntax:

  • Char # in the begining of the line - comment, line will be ignored
  • Empty lines are also ignores
  • Other lines interprets as actions
  • Action contains type and parameters divided with tabulation symbol
  • Types and parameters:
    • D - Delay
      • Parameter is a number of seconds or * for wait for pressing [Continue] button
    • C - Chat or command
      • Parameter is just a string which will be entered in game chat
    • P - Press a key
      • Parameter is a key
    • T - Title of scenario
    • S - Start the match
      • Parameter + turn on bots
  • You can use templates in actions
  • Available templates:
    • - action will be applied for all players
    • - for current user
    • - All Exclude Me - for all players exclude current
    • - No Team, and - Team 1 and Team 2

People

Author of the project

Quantum0 (aka Eat Me OwO in the game)

Thankies to

  • Mango - Access to Private Matches
  • Ket_domashniy - Discussing idea, icon
  • Woo - Template of scenario for duel, testing
  • Naxifir - Discussing idea
  • My friends in SAR - Testing
  • Pixile - Thankies for that game!
  • SAR wiki - Information about commands and their description, map image

Materials from SAR Wiki is under CC BY-NC-SA 3.0 license

sar-pm-overlay's People

Contributors

quantum-0 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

almightyjoe

sar-pm-overlay's Issues

Windows zoom exception

Describe the bug
at higher zoom levels, the bar is rendered outside the screen

To Reproduce
Steps to reproduce the behavior:
Windows key > resolution
Change the zoom level from 100% to anything else
overlay will not render

Expected behavior
the bar should render at the bottom

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.