From 0dab573562bf81a54c23824c815b9c50701a266a Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 28 Jun 2023 22:26:25 +0200 Subject: [PATCH] Funny import --- LICENSE | 12 ++++++++++++ README.md | 27 +++++++++++++++++++++++++-- SockChatKeepAlive.sln | 8 ++++++++ 3 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..641f8b2 --- /dev/null +++ b/LICENSE @@ -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. diff --git a/README.md b/README.md index 0dcd6fc..7d1fb0f 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/SockChatKeepAlive.sln b/SockChatKeepAlive.sln index 911b079..73464b0 100644 --- a/SockChatKeepAlive.sln +++ b/SockChatKeepAlive.sln @@ -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