mirror of
https://github.com/MCMi460/3DS-RPC.git
synced 2025-06-19 05:55:36 -04:00

commit431529e50b
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sun Jun 2 09:44:49 2024 -0600 Update copyright & requirements.txt commit40bfcc8a4a
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sun May 19 15:14:06 2024 -0600 Fix the downloadable client's API, and missing variables commita209e537ff
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sun May 12 11:24:19 2024 -0600 Add a quick note regarding my hacky fix. commit045b32e6fc
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sun May 12 11:11:31 2024 -0600 this is actually horrifying, but it fixes pretendo finally. commit909fbeb472
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Fri May 3 15:28:09 2024 -0600 Add default to some values in CREATE.sql commit788ed5dc41
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Fri May 3 10:33:36 2024 -0600 Resolve some SQL syntax errors (thanks @spotlightishere) commit0eee7ab448
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Fri May 3 10:01:18 2024 -0600 Move NetworkIDsToName and other functions to new file + change it to IntEnum commit5a96a68269
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sun Apr 28 13:48:38 2024 -0600 Hot... Change?: Add the ability to use -n and --network instead of just --network commit8325f523bc
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sun Apr 28 13:36:33 2024 -0600 Fix @HotaruBlaze (Phoenix)'s code commit25da282ba1
Merge:51d10c7
4918ffb
Author: Logan <60761520+Preloading@users.noreply.github.com> Date: Sun Apr 28 13:25:36 2024 -0600 Merge pull request #1 from HotaruBlaze/Preloading/main [Cleanup] Rework __main__: Add cleaner command line & Remove unneeded function. commit4918ffb61c
Author: Phoenix / Hotaru <DeriousHD@gmail.com> Date: Sun Apr 28 20:19:25 2024 +0100 [Cleanup] Rework __main__: Add cleaner command line & Remove unneeded function. commit51d10c75bb
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sun Apr 28 12:28:25 2024 -0600 Fix mistake where i mixed == with != somehow commit1b70062fa3
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sun Apr 28 12:09:38 2024 -0600 Uncomment temporary commenting on getPresence (thanks phoenix) commitbea621dfd4
Author: Logan <60761520+Preloading@users.noreply.github.com> Date: Sun Apr 28 08:22:52 2024 -0600 Remove debug print line commit12bb21e7e1
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 27 19:31:20 2024 -0600 Fix API commands to be compatible with before commitf2f9c7a444
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 27 19:03:30 2024 -0600 Add a sign of what network you are on, on the discord rpc commit6f26c3cd11
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 27 18:48:16 2024 -0600 Show what network on the user's page commitf4e569f4b2
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 27 17:47:20 2024 -0600 Possibly finish off discord.py (open to adding something saying what network you are on later) commitec164ee361
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 27 16:27:32 2024 -0600 Make discord.py not break and rename some variables in server.py commit998c0896dc
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 27 15:49:44 2024 -0600 Update template.private.py to be accurate with my private file commit9145e04dae
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 27 15:01:37 2024 -0600 Fix mobile support for the Select Network page commitbeb800f310
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 27 13:28:01 2024 -0600 Done web backend! commitdb89c6f032
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 27 12:46:49 2024 -0600 Finish sidebar, Fix index forgetting about pretendo, and another thing commit681ffffafa
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 27 10:10:30 2024 -0600 Make the try profile button work with pretendo commit107bb05ac4
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 27 10:04:23 2024 -0600 Fix console profile redirect commit628c5eccbe
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 27 09:59:08 2024 -0600 Add proper pretendo redirection to the new users and active users (maybe to active users) commitb8e44b9806
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 27 08:38:14 2024 -0600 Well, the most inelegent way of fixing pretendo support (i guess) commitd6e7facda4
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Mon Apr 22 00:18:08 2024 -0600 Add small fixes allowing selecting and deleting consoles commit6f2987edae
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 20 10:24:03 2024 -0600 try to work around missing function on pretendo, currently hangs at random spots commit8ae5da0921
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sat Apr 20 08:47:12 2024 -0600 You can now add consoles from the menu + maybe fixing the backend for pretendo (thanks DaniElectra on discord) commit397a4a7a3a
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Fri Apr 19 23:14:51 2024 -0600 Mostly finish up registering UI and site backend (actually registering todo) commit5fd14c3292
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Fri Apr 19 21:42:04 2024 -0600 Hotfix: correct and implement some feedback commitfa60f948a9
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Fri Apr 19 21:28:12 2024 -0600 Created the basic "select the network" page commit232d317120
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Thu Apr 18 00:16:52 2024 -0600 fix consoles page commit1ae808a5c5
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Wed Apr 17 23:53:26 2024 -0600 fix homepage, roster, and active commit1da19cab4d
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Wed Apr 17 20:37:46 2024 -0600 Add pretendo support to the backend uptime counter commitfd3ab39ccf
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Wed Apr 17 19:31:47 2024 -0600 Add broken pretendo backend support, waiting for help on a datetime bug in something. commit8c70cb40cd
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Mon Apr 15 23:07:54 2024 -0600 Hotfix: Fix SQL being odd commitc05e2fd270
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Mon Apr 15 23:00:19 2024 -0600 changes to the migration script & small change to backend commitc39d1253f3
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Mon Apr 15 22:52:55 2024 -0600 Add args to choose between nintendo & pretendo commite1e85c4783
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Mon Apr 15 20:49:28 2024 -0600 realizing that my ideas are stupid, and changing it from a flag to a table commitb467277f99
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sun Apr 14 20:28:54 2024 -0600 left my note to added friends oops commitcc7c79e71c
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sun Apr 14 20:23:36 2024 -0600 Update creation script and add Migration script to support multiple networks commit87a1589677
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com> Date: Sun Apr 14 19:33:38 2024 -0600 Updated code to use the latest NintendoClients version (+ a few other things)
45 lines
1.6 KiB
Python
45 lines
1.6 KiB
Python
# Created by Deltaion Lee (MCMi460) & Preloading on Github
|
|
# This is my private file, but with all of the dangerous stuff removed
|
|
# You can use it as a template for yours
|
|
|
|
SERIAL_NUMBER:str = "" # Serial number on console minus the last digit
|
|
MAC_ADDRESS:str = "" # Console MAC address (see WiFi settings), all lowercase with no colons
|
|
DEVICE_CERT:bytes = bytes.fromhex("") # Unique console certificate. Get from sniffing traffic or from the LocalSeedFriendCode file
|
|
DEVICE_NAME:str = "" # Doesn't matter
|
|
|
|
# 3DS does NOT send NEX credentials over NASC
|
|
# They are generated once when the account is created and stored on the device
|
|
# Homebrew like https://github.com/Stary2001/nex-dissector/tree/master/get_3ds_pid_password
|
|
# can be used to dump the PID and password
|
|
# You must redump these keys for each network.
|
|
NINTENDO_PID:int = 0
|
|
NINTENDO_NEX_PASSWORD:str = ""
|
|
|
|
PRETENDO_PID:int = 0
|
|
PRETENDO_NEX_PASSWORD:str = ""
|
|
|
|
PID_HMAC:str = "" # Sniff console traffic or dump from friends title save (bytes 66-84) somewhere im the file
|
|
|
|
REGION:int = 1 # USA
|
|
LANGUAGE:int = 1 # English
|
|
|
|
#########################
|
|
# Now, Discord secrets! #
|
|
# Keep in mind that you #
|
|
# will need the scope: #
|
|
# activities.write in #
|
|
# order to replicate #
|
|
# this step. #
|
|
CLIENT_ID:int = 0 # Taken from OAuth2 page
|
|
CLIENT_SECRET:str = "" # Taken from OAuth2 page
|
|
|
|
#### SERVER-SPECIFIC ####
|
|
# Finally, we're grabbing #
|
|
# server-specific things. #
|
|
# This mostly only #
|
|
# pertains to the domain. #
|
|
# See format below \/ #
|
|
HOST:str = ""
|
|
# http(s)://subdomain.domain.extension
|
|
# No ending slash!
|