Funny import

This commit is contained in:
flash 2023-06-28 22:26:25 +02:00
parent ae9b621931
commit 0dab573562
3 changed files with 45 additions and 2 deletions

12
LICENSE Normal file
View file

@ -0,0 +1,12 @@
Copyright (c) 2017-2023 flashwave
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.

View file

@ -1,3 +1,26 @@
# satori
# Sock Chat Keep Alive
![](https://mikoto.misaka.nl/i/Dw0mMO_WsAI8Dyu.jpg)
shitty tool i always forget to use to keep yourself logged into chat lol
be creative and use this for reference or don't i don't really care
## Files
Two files are dropped in your Personal folder (Documents on Windows, ~ on everything else)
### `AuthToken.txt`
Contains your authentication data and what server to connect to, copy this template exactly for Flashii (but do actually swap in your cookie).
```
Misuzu
Your msz_auth cookie goes here
https://futami.flashii.net/common.json
```
### `Persist.dat`
Binary file that contains information that should persist between sessions, you're not meant to edit this yourself.
First 10 bytes are the header information, next 8 bytes are the uptime counter, next 14 bytes contain your current AFK string, next byte indicates whether the last disconnect was graceful or not.
The uptime counter is pretty much unused but I left it in because it's unintrusive lol.
If the graceful flag is unset and the last AFK string is not null, an `/afk` command will be run with the value of the stored AFK string upon connect.

View file

@ -5,6 +5,14 @@ VisualStudioVersion = 17.5.33502.453
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SockChatKeepAlive", "Satori\SockChatKeepAlive.csproj", "{7917878E-6D5F-4793-85E0-2D8201F46EEF}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3D202DBA-52DA-4590-86BF-DC94EF09722B}"
ProjectSection(SolutionItems) = preProject
.gitattributes = .gitattributes
.gitignore = .gitignore
LICENSE = LICENSE
README.md = README.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU