Skip to content

Instantly share code, notes, and snippets.

@MobCat
MobCat / XNotifyDict.cs
Created April 25, 2025 03:38
XNotify message type dictionary
private static Dictionary<string, int> XNotifyType = new Dictionary<string, int>
/*
All notifications tested on fw 2.0.175590.0
Original list https://github.com/brokeboienige/jrpc.py/blob/main/jrpc/jrpc.py#L47
This list was then expanded on by MobCat.
Some of the labels appear to be outdated and don't seem to do anything. or do the right thing.
I'll optimize this list just for 175590 notifications if there is interest
Usage:
Console.XNotify("msg", XNotifyType["ACHIEVEMENTS_UNLOCKED"]);
or
@MobCat
MobCat / Discord.css
Last active October 29, 2024 13:37
MobCat's small list of custom Discord CSS
/* MobCat's small list of custom Discord CSS 20241030
Used with Vencord v1.4.0
Click the cat icon -> Open QuickCSS
Discord keeps adding buttons and ads I don't want and Vencord doesn't have
plugins or settings for some of this stuff, so we gotta do it ourselves. */
/* Remove Nitro Link from DMs list */
a[href="/store"] { display: none; }
/* Removes Shop Link from DMs list */
#!/env/Python3.10.4
#/MobCat (2024)
# Meme script
# Build "Hello world" from a random array of Unicode
import random
import time
initTime = time.time()
@MobCat
MobCat / batch.bat
Last active June 7, 2024 21:46
Script to be used with mymc to turn folders of psu files into ps2 memory card images
::mymc drag and drop
::By MobCat (2024)
::For mymc alpha 2.7
:: Usage -
:: Download this bat script and call it something like batch.bat
:: Place it in the same dir as mymc.exe
:: Drag and drop a folder of .psu files to this batch script
:: A new 8MB .ps2 mem card file will be saved in the same dir as your dir of .psu files
::
@MobCat
MobCat / key.reg
Created December 10, 2023 03:14
New windows context menu for removing EXIF data with exiv2
Windows Registry Editor Version 5.00
; adds a "remove EXIF data" right click context menu item for jpg
; You should pre-process your jpg for compression first then use this tool
; when you post the jpg to the internet.
; The ico is optional. But I like it.
[HKEY_CLASSES_ROOT\*\shell\Exif Remove]
"AppliesTo"=".jpg"
"Icon"="C:\\exiv2-0.28.1\\bin\\remove.ico"
@MobCat
MobCat / scrape.py
Created November 13, 2023 01:49
arcadeartwork.org box art scraper
#! arcadeartwork.org box art scraper
#!/env/Python3.10.4
#/MobCat (2023)
import requests #pip install requests
import re
import os
# Not all consoles on site are here. Too many categories and sub categories.
# To make new one. Open The Album you want to download `https://www.arcadeartwork.org/index.php?/category/547`
@MobCat
MobCat / hostsAppend.bat
Created July 24, 2023 10:18
WoW login screen news redirector
@echo off
echo WoW login screen news redirector
REM Check if the script is running with administrator privileges
>nul 2>&1 net session || (
echo This script requires administrator privileges.
echo Please run the script as an administrator.
pause
exit /b
@MobCat
MobCat / maxpop.py
Created July 20, 2023 04:28
Meme sorter in python
#!/env/Python3.10.4
#/MobCat (2023)
# Meme sorter
# max'in pop
# Is it good? No that's the point.
# I just wanted to see if my dumb idea worked.
# But I feel like this dumb idea should already excist.
import random
@MobCat
MobCat / index.php
Last active August 12, 2023 14:08
"Simple" server info page to replace WoWs news page on login screen
<?php
// "Simple" server info page to replace WoWs news page on login screen
// (replace "Breaking News" Article on World of Warcraft login screen)
// By MobCat (2023)
// Preview
//https://cdn.discordapp.com/attachments/1063759326340186172/1129600786637262938/image.png
// Server side this has only been tested with trinity core for WoW 3.3.5 with sql 5.
// This will fubar on newer sql vers, sorry. But wont be to hard to convert mysql_query to $conn->query($sql) and so on
// Also https might brake it, idk.
Track Initials Boat Timestamp
Ship Graveyard BLK Blowfish 01:31.82
Ship Graveyard RA3 Armed Response 01:31.99
Ship Graveyard RA6 Rad Hazzard 01:32.63
Ship Graveyard WBL Miss Behave 01:33.06
Ship Graveyard RAL Midway 01:33.59
Ship Graveyard ROB Damn the Torpedoes 01:36.16
Ship Graveyard KEV Midway 01:36.46
Ship Graveyard SHA Damn the Torpedoes 01:36.46
Ship Graveyard DON Razorback 01:37.16