Skip to content

Cannot make A new account after Deleting Account #432

@yufo683-ai

Description

@yufo683-ai

Describe the bug

when i click register it does nothing and also before this happend i cant render anything not even avatars

Reproduction

  1. Delete A user using DELETE command in the db command prompt
  2. Try Making a new account
    3.nothing happens when u try making one it wont even let u log in

Expected behaviour

  1. Registration Process
    Action: You enter a username, an email (e.g., [email protected]), a 16+ character password, and the Invite Key (MERCY-2025).
    Result: Upon clicking "Register," the site should immediately redirect you to the Dashboard or Profile page.
    Database: A new record should appear in the user table of your SurrealDB with the permission field set to "Admin" (since you are the first user).
  2. Login Persistence
    Action: You enter your credentials at /login.
    Result: The site should set a local cookie. You should stay logged in even if you refresh the page or navigate between "Games" and "Catalog."
    Terminal: You should see a 200 OK or 302 Found (redirect) status in your bun run dev console, with no ENOTFOUND or SMTP errors.
  3. Avatar Rendering (The RCC Link)
    Action: You navigate to your character page and click the Regen button.
    Result:
    On the Site: A loading spinner appears, followed by a high-quality 2016-style render of your avatar.
    In the RCC Terminal: The window should fill with scrolling Lua text. This confirms the Proxy is working and sending Avatar.lua from C:/mercs_scripts to the engine.
  4. Game Launching
    Action: You click Play on a game page.
    Result:
    The browser asks to open a "URI Scheme" (like mercury://).
    The RobloxPlayerBeta.exe launches from your Client folder.
    The client uses Join.lua to connect to your local server on port 53640

Logs

Successfully loaded configuration file 12/26/2025, 4:42:14 PM Logged-out user GET / 12/26/2025, 4:42:16 PM Logged-out user GET /assets/favicon 4:42:25 PM [vite-plugin-svelte] src/routes/(plain)/login/+page.svelte:12:25 This reference only captures the initial value of formData. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 4:42:27 PM [vite-plugin-svelte] src/routes/(plain)/register/+page.svelte:12:25 This reference only captures the initial value of formData. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 4:42:27 PM [vite-plugin-svelte] src/routes/(plain)/register/+page.svelte:24:5 This reference only captures the initial value of data. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 4:42:27 PM [vite-plugin-svelte] src/routes/(plain)/register/+page.svelte:27:6 This reference only captures the initial value of data. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 12/26/2025, 4:42:27 PM Logged-out user GET /login 12/26/2025, 4:42:27 PM Logged-out user GET /register 12/26/2025, 4:43:14 PM Logged-out user POST /register?/register 12/26/2025, 4:47:08 PM Logged-out user GET /character 12/26/2025, 4:47:08 PM Logged-out user GET /login 4:47:09 PM [vite-plugin-svelte] src/routes/(plain)/login/+page.svelte:12:25 This reference only captures the initial value of formData. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 12/26/2025, 4:47:10 PM Logged-out user GET /assets/favicon 12/26/2025, 4:47:28 PM Logged-out user POST /login 12/26/2025, 4:47:30 PM Logged-out user GET /register 12/26/2025, 4:47:31 PM Logged-out user GET /assets/favicon 12/26/2025, 4:47:48 PM Logged-out user POST /register?/register

System info

System Information
Operating System: Windows 10/11 (x64)
JavaScript Runtime: Bun (Detected via bun run dev logs)
Frontend Framework: Svelte 5 (Detected via state_referenced_locally runes warnings)
Build Tool: Vite 6.x (Latest 2025 stable version)
Database: SurrealDB 2.4.x (Running on localhost:8000)
Backend Services: MercuryCore Economy Service (Go-based)
Browser: Chrome/Edge (Detected via client:719 ErrorOverlay logs)
Environment Configuration
Node Environment: Development (dev)
Authentication Mode: Localhost HTTP (No SSL/HTTPS)
Cookie Security Settings: SECURE_COOKIES=false (Attempted bypass for localhost login issues)
Email Configuration: ENABLE_EMAIL=false (Setting ignored by the server, causing getaddrinfo ENOTFOUND crash)
Legacy Components (For Rendering)
RCCService Version: 2016L (v256/v271)
Client Version: December 9, 2016L
Script Paths: C:\mercs_scripts\ (Containing Avatar.lua, Join.lua, and AppSettings.xml)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions