#Magic Garden Desktop App

541 messages · Page 1 of 1 (latest)

crude hollow
#

I don't know if people would want this, but me and Avi worked on it a while back and i could continue development if people want a separate from the browser desktop app?
We worked on this before payment and stuff was added so for now it would just be the web version, but i am much more versed in web development/javascript development now and could do a lot more to it!

#

There's an image of it in its current state

craggy breach
#

I think that would be cool.

crude hollow
#

Firstly

lavish prawn
#

I need it

crude hollow
#

Yes the desktop app does have discord account support

craggy breach
#

Yea that was important lol

crude hollow
#

What are yyour guyses githubs

lavish prawn
#

its been ages since ive even used my acc

crude hollow
#

Buildding it rn is a bit funky so i would say just run it from an IDE or from the nodejs terminal

craggy breach
#

Myke247

crude hollow
#

It uses electron btw

lavish prawn
#

should also be Brooky340

crude hollow
#

One sec lol i forgor my two factor

lavish prawn
#

lemme recover it

crude hollow
#

FCK

#

One sec

#

I need to redo something

#

Oki

#

Kay i added myke

lavish prawn
#

OH IM EMBARESSED

crude hollow
#

what

lavish prawn
#

I made this in MIDDLE SCHOOL

crude hollow
#

HAH

lavish prawn
#

when I was still addicted to undertale

crude hollow
#

Uhhhh

#

lol

lavish prawn
#

(WHICH IS IRONIC CUZ I JUST STARTED DELTARUNE and got back into it help-

#

oh I secured it hold on

crude hollow
#

That's you right myke?

lavish prawn
#

catshy im hiding now

crude hollow
#

There

#

Your invited

crude hollow
lavish prawn
#

its been ages oml

crude hollow
#

I am using jetbrains fleet rn but vs code works too

#

I would reccommend vs code

#

or you can use the one in releases

#

but idk if it works lol

lavish prawn
#

the guide is not for discord in release

#

its still web setup

crude hollow
#

?????????????

#

In what way

#

Its a seperate app stilll

#

but

#

It is just faster

#

than using base chrome

#

and technically faster than discord

#

still the web version tho

lavish prawn
#

I actually use Brave for desktop

#

I cant stand chrome

crude hollow
#

I just meant any chromium based browser

lavish prawn
#

ahh!

crude hollow
#

me when opera gx

lavish prawn
#

I TRIED that

crude hollow
#

I use firefox on linuux

lavish prawn
#

I primarily use firefox on my android

#

ublock and f**adblock filter

crude hollow
#

Does the release files work?

#

Oh wait

#

it does?

#

I thought it didn't lol

lavish prawn
#

I have yet to set it up on my end

crude hollow
#

So basically i was thinking

#

it might be cool

#

if it had support for like mod files

#

so you just double click on a "Mod"

#

and it installs into the app

#

and mod devs would have a framework that interfaces with the app, and then the app interfaces with the game

#

idk that might be far ahead tho

#

Wait

#

It has discord rpc lol

#

i forgot about that

lavish prawn
#

@crude hollow I like this app ver

crude hollow
#

Yayyy!!!

#

Did the discord login work?

lavish prawn
#

It sure did BunnyHeartHug

crude hollow
#

And i just tested if it saved the login once you closed and it did

#

Lol

#

one sec

lavish prawn
#

How do we connect to other players for that boost if they dont have the app?

crude hollow
#

Uhh

#

Do you not know

#

the muffin man

#

jk

#

Go to

lavish prawn
#

sorry lmaoooo! im new new to this game

crude hollow
#

There

lavish prawn
#

so the interface is still uh-- new for me

crude hollow
#

What's the games name to you?

#

Just wondering

#

i wanna see how new you are

lavish prawn
#

Magic Garden?

crude hollow
#

Anyything before that?

lavish prawn
#

Uh--no

crude hollow
#

It was actually called magic circle up until abouut

#

2-3 months ago?

#

I think?

lavish prawn
#

I heard of it but never touched it

crude hollow
#

Ya know how you can become host in discord but not on web?

#

hehe

lavish prawn
#

Never touched web ver

crude hollow
#

Ah

#

Well you can only become host on discord

#

Well

#

Uh

#

Unless your me

#

I'm the host now heeeeeeeeeeeeeehehehehh

lavish prawn
#

newb question WHERE are the room codes

crude hollow
#

Hamburger menu up there

lavish prawn
#

the one that barely wants to be clicked furretFast

crude hollow
#

AHHHHHHHHHHHHHHH I ALREADY HAVE BUGS TO FIX FRICK

lavish prawn
#

he special

#

ahah! So this is where the bread events have been

#

be honest

crude hollow
#

Yup

lavish prawn
#

The king CHEATS

#

MINING!?

#

the unskippable ads one got me snorting

crude hollow
lavish prawn
#

YEAH THATS RIGHT

crude hollow
#

Okay well i guess this is back in development

lavish prawn
#

are these real people OR.... bots?

crude hollow
#

do you have any dev experience?

#

*with js

lavish prawn
#

slight-- oh java?

crude hollow
#

Javascrpt

#

not Java

lavish prawn
#

I know what you meant

crude hollow
#

Oki

#

But do you?

lavish prawn
#

Slight, I havent done code in a hot minute

crude hollow
#

Welp, feel free to ad to this or make suggestions

#

Idk how much time i'll have to work on it

#

but

#

i will

lavish prawn
#

absolutely

#

PLEASE a notif for butterfly crop change on mutation

broken lance
crude hollow
#

i don't need to be freinded to be dm'd

lavish prawn
#

12, where do we find the room codes?

#

ALSO DOUBLE games

#

still in it on discord and app lmao

#

Technically...

#

THIS BENEFITS ME A LOT NOW WAIT!!!

#

Now at work away from my pc I can idle all day on app ver get weather procs and be happy while I can slip into rooms on mobile all work and sell

#

oml W

broken lance
crude hollow
#

what

#

wweird

#

oki

#

friend me then

#

srry lol

lavish prawn
#

It wil still save right?

crude hollow
#

yyup

lavish prawn
#

you actually made my life so much easier

#

the reason I got 16 mythical eggs was for seed finder III because I rarely have the time for shop reset seeds I need

#

bamboo and cacti seeds were so low for me cuz of it

crude hollow
#

A bit confused

#

on how

#

that's possible?

#

Wtf?

#

That's like

#

a whole script in game that stops that

#

I wouuld uhh

#

be careful with that lol

lavish prawn
#

It seems fine

craggy breach
#

You’re saying it does?

craggy breach
lavish prawn
#

I found out

#

Also it sorta works and sorta doesnt.

#

If I do something in the other the next one will have a pop up and say it was in another part

young cliff
#

woah this is cool and its in electron??

crude hollow
crude hollow
#

I'll keep working on this over the weekend but I was wondering myke if you possibly wanted to help?

craggy breach
hasty gale
#

Looks cool, I think that many people would like that, especially if it supports the mods on here

crude hollow
#

Im gonna def add the background stuff so it doesnt disconnet

#

and i think it would be interesting to add a custom package for interfacing with like nodejs or lua or python so people can more easily create mods

#

Especially if (with mykes permission) i implement the code that fixes certain things from MGTools

craggy breach
regal crane
#

SO COOL

lavish prawn
#

@crude hollow There is another issue I need to address, when you type in a code to a room and its full, you cant go back or exit it. You have to close the app every time

#

I have this pinned to my task for ease

#

Also I thinkl when you fixed the menu on the top left you made the bottom cut off

crude hollow
#

But ctrl+r does reload the page (technically the web version)

crude hollow
#

I will have to add a lot more code injection & style injections for things to look correct

crude hollow
crude hollow
#

Okay i'm starting to implement some stuff for fixes

craggy breach
#

Sorry I haven’t been able to look much yet

crude hollow
#

I have implementeed the background never disconnect thingy but i am thinking that i might just set it up to be longer before it disconnecvts that way you can't just afk in public lobbies you have to click/move the mouse cursor/type any key after like 3 hours or smthn

crude hollow
#

am thinking of adding a custom "console" that has pre set commands to test stuff out but isn't the actual chrome console

#

we shall see...

#

i also have to fix alignment issues first tho

#

I THOUGHT THIS WWAS BROKEN BUT APPARENTLY THE BOTTOM IS FIXED NOW?

#

okayyyyyy

#

well that fixed itself

craggy breach
crude hollow
#

yup!

#

hang on...

#

one sec lemme see something

#

nope!

#

It just fixed itself

#

weird

#

idk but that's nice

crude hollow
regal crane
crude hollow
#

But i guess that's only on discord

#

*i haven't finalized anything yet btw

regal crane
#

ah but won't removing that option also mess up no disconnecting in private?

crude hollow
#

???

#

Isn't that what we want

#

no disconnecting at all?

#

that way if youu click off it doesn't disconnect

crude hollow
#

I have added the no disconnect code as well as added a custom dev console for easy access to custom function testing

#

Just pushed another update lol, had to make sure that yyouu couuld join a random room from the console

regal crane
#

thought you said you wanted to remove No Disconnect

crude hollow
#

No

regal crane
#

my bad lol

crude hollow
regal crane
#

but yeah the after 3 hours thing is like

#

I dont want that to happen to me when I let my PC on as I sleep in private lobby HAHA

#

cause I want the weather events to hit my private lobby XD

#

as I sleep

crude hollow
#

@craggy breach to access the dev console its ctrl+d btw (feel free to add more console commands while testing or reallyy adding anything)

crude hollow
#

Yeah i can just add some custom settings

#

i need to do some laundry tho so see you in a little

regal crane
#

okay 🙂

#

Oh yeah when will the desktop app release? owo

crude hollow
#

then i can just public it

#

on github

regal crane
#

ovo really cool you're doing this

crude hollow
#

ye it was originally me and avi working together on it but we just kinda stopped development

#

This was before it was focused on magic garden

#

but now that magicgarden is here it works a lot better

#

@lavish prawn you can also build it and your problems should be fixed for now, just set up nodejs and vscode and you should just be able to clone it with github and build it

crude hollow
#

@craggy breach One sec btw i'm adding one more command but feel free to pull and look thruu the code lemme add the set player name command and then youu can edit it if you want!

#

Kay

#

Lemme commit it

#

Committed!

#

@craggy breach Do youu happen to know how to get the players current cosmetics?

craggy breach
#

I work Sundays unfortunately but Im sure I can figure it out

crude hollow
#

oki

craggy breach
#

@short pilot I’m sure he does

#

But if he can’t get to it ill see soon

crude hollow
short pilot
# crude hollow oki

window.MagicCircle_RoomConnection.lastRoomStateJsonable.data.players[n].cosmetic

crude hollow
#

lol imagin this is the icon

#

hehehehe

regal crane
#

cute

crude hollow
#

@craggy breach or @short pilot Do either of you know how to do teleporting because whenever i try doing it with network requests it never works

young cliff
#

this is still so awesome, any way i can help out? i have prior dev experience in js/ts

short pilot
crude hollow
#

Do ye have a github?

#

If your wondering by the way i'm thinking of adding a bunch of console commands and then making it so you can create "extensions" or "addons" or "mods" that allow you to uuse something similar to the console commands to add stuff to the game

young cliff
#

yes, my github is chrisgocode

crude hollow
crude hollow
crude hollow
#

current idea for the icon

crude hollow
regal crane
#

DONT EAT KITTIES BRAINS

#

💔

crude hollow
#

You design an icon then loll

#

id be happy if someone else who knows wwhat they are doing did it

regal crane
#

i like icon just dont want icon where kitty looks like its suffering LOL

#

you just want a game character cropped out ?

crude hollow
#

possibly idk

#

try some stuff

#

then send it here

regal crane
#

ok

crude hollow
#

i wwwill be able to look at it throught the day

#

i need to go now tho srry

regal crane
#

its ok

crude hollow
#

i just realized

#

with the same stuff

#

i might be able to make an android app

#

(not with electron)

#

but

young cliff
#

Oh nice, kotlin dev stuff is fun

#

I just cloned the repo and dev console is really cool, what other commands were you thinking of adding?

crude hollow
#

like teleporting for example

#

*also make sure your on the latest commit

regal crane
#

terrible attempt

#

lol

#

sorry 😂

#

kitty happy here tho yay

crude hollow
#

Ye lol

regal crane
#

you made kitty look scared

#

made me sad

#

😂

crude hollow
#

🤣

young cliff
regal crane
crude hollow
#

@young cliff & @craggy breach ima commit some stuff today as well as tomarrow but not as much over the weekend so if either of you wanna add some stuff that's ay okay

craggy breach
crude hollow
#

oh btw to the people that have access to the app i just realized if your not a beta tester you can still see beta features by joining a beta room with the command, pls don't accidentally leak anything lol

crude hollow
#

@craggy breach @short pilot How would you know if the idle prevention worked?

#

like would this still happen?

crude hollow
#

i got this to work

#

we can add stuff to settings now

#

Should i add a seperate app settings tab or something else?

craggy breach
crude hollow
#

how will i know afterwards

#

does it like reload or throw up the loading symbol?

crude hollow
livid ivy
crude hollow
livid ivy
crude hollow
#

an external script

#

//THX MYKE FOR YOUR CODE IMA PUT IT HERE!
try {
Object.defineProperty(document, "hidden", {
value: false,
writable: false,
configurable: false
});
Object.defineProperty(document, "visibilityState", {
value: "visible",
writable: false,
configurable: false
});
window.console.log('✅ [IDLE-PREVENTION] Document properties overridden');
} catch (e) {
window.console.warn('⚠️ [IDLE-PREVENTION] Could not override document properties:', e);
}

      // Block idle detection events with capture phase (highest priority)
      document.addEventListener("visibilitychange", (e) => {
          e.stopImmediatePropagation();
          e.preventDefault();
      }, true);

      window.addEventListener("blur", (e) => {
          e.stopImmediatePropagation();
          e.preventDefault();
      }, true);

      window.addEventListener("focus", (e) => {
          e.stopImmediatePropagation();
          e.preventDefault();
      }, true);

      window.console.log('✅ [IDLE-PREVENTION] Event listeners added with capture phase');
#

This one

#

*from mgtools

craggy breach
crude hollow
#

rejoin image

crude hollow
#

AYYY

#

Okay it works

#

My weird solution wworks

#

AND IT WORKS WHEN BUILT

#

YAYAYAY]

#

@regal crane you were the one who asked when it was coming out right

#

well

#

ima put a canary(beta beta) version here

#

There it is

#

i'll send the installer in a bit if wanted

regal crane
#

I'm not on pc rn but ty

crude hollow
#

👍

crude hollow
#

Do we like this error page?

#

better layouut

crude hollow
crude hollow
#

what do wwe think

#

do we liike it?

#

Anything i should change?

crude hollow
#

AYYYYY

#

I JUST ADDED

#

magic-garden://r/test

#

THIS

#

SO IF YOU TYPE THAT AND GO TO THAT IN THE BROWSER

#

IT OPENS THE DESKTOP APP

#

AND GOES TO THAT ROOm

craggy breach
#

NICE

#

thats really cool, I cannot wait to play with it soon (the app) 😄

crude hollow
#

will redirect to the app

#

ima update the git repo

crude hollow
#

here is the built installer

#

mmm

#

i love problems

#

So you need to launch through the link i sent

#

Otherwise it errors lol

#

Sending a fixed one soon

crude hollow
#

There ^^^^^^^^^^^^^

#

okay

#

i gotta go to bed now

#

its 11:20 pm

#

so

#

gn

#

and i'll fix stuff tomorrow

crude hollow
#

Okay

#

i have mgtools notifications working but instead they are iin the windows notiification bar

crude hollow
#

ayyyyyyyyyyyyyyyy

crude hollow
#

@craggy breach Ima update the repo wiith the modified mgtools in it

#

but

#

uhh

#

it would be greatly apreaciated

#

if

#

you updated it to be ii little less glitchy

#

*feel free to mess around with electron

craggy breach
#

Yep I’m working on it np

crude hollow
crude hollow
#

a list of the current text modifications

#

thhe about page and the donuts

crude hollow
#

@craggy breach Im thinking that for the mgtools features we separate the ui to something thats styled after magic gardens ui but instead of being built in chakra we make it in mantine (or just bootstrap or smthn lol), https://ui.mantine.dev/

#

and that we rework the existing settings menu into the custom one

#

that way its unified and we can add more settings then there are now

#

like for performance or anything app specific or even mods

crude hollow
#

Im also thinking of making a public rooms system like mgtools but with a big database that checks if the room is still open, and basically the room code is a limit of 10 chars and doesnt accept innapropriate names eg swear words or offensive words through filtering

#

That way anyone can just make their room public but we shall see

hasty gale
crude hollow
#

nothing else

#

and only if the user opts in

#

not enabled by default

hasty gale
#

Ah okay, so to make them permanently visible? I see, sounds nice

crude hollow
#

Yep, basically it wouldnt log any information or anything just show the public rooms and the number of players

#

however with firebase its a limit of a gig

#

so if people start using it a lot it might reach the limit (but that would be insane lol)

hasty gale
#

Yeah, I guess you would have to store a looooot of codes to reach that xD

crude hollow
#

If it was encrypted? maybe

#

but

#

its frickin room codes

#

so

#

doesnt need to be

regal crane
#

u should echeck it out

#

it has all rooms including the #play ones

craggy breach
#

MGTools does now as well

craggy breach
crude hollow
#

@craggy breach Is the firebase database in mgtools real or a placeholder one

livid ivy
#

Thats was used to retreive player rooms, but has been useless since the tool now use mg apis

crude hollow
#

In what way?

#

Like player counts?

livid ivy
#

Yes

crude hollow
#

Anything else or just player counts?

livid ivy
#

Basically, I think he didn’t realize he could use the API directly for this, so he built his own version with Firebase. I believe he also wanted to store player names to find a given player’s room

crude hollow
#

Ah

#

Oki

#

Just wanted to make sure before a make a big database for people to make public rooms with a system to delete empty rooms from the database

#

Btw should i add tags for rooms

#

like you can add custom tags for people to quick find rooms with that tag

livid ivy
#

Are you trying to make some kind of room manager?

crude hollow
#

A public room registry so people can join public rooms and make their rooms public if they want

livid ivy
#

Okay

crude hollow
#

*not exclusive to the desktop app just wanted to do it

#

I think it would be cool if it could be implemented into mg tools

livid ivy
#

Just thinking, if we use a Firebase DB, we could basically recreate a friends list, right? Store some player data plus their last ping to see who’s online, maybe their balance, and even let you join their room directly

crude hollow
#

but thats up to myke, and me making it safe

livid ivy
#

I wanted to build something like that, but I’m not comfortable securely writing data from a script without a backend server

crude hollow
#

I could

#

with like

#

freind codes averaging into an encryption key

#

and thats how you access the database or smthn

#

ohh

#

but i would have to make signups

#

and

#

Ye idk

#

That would be pretty complicated

#

i could probably do it

#

its just

#

Not sure if it would be too useful

livid ivy
#

haha that’s why I kinda dropped the idea, I’m not really sure how to do it either

crude hollow
#

You would have to make a seperate website for people to log into

#

and on that website it could generate a code

livid ivy
#

We should check with Myke how he handles database writes, he might have some ideas

crude hollow
#

then mgtools or the desktop app would allow you to log into the frend service with said code

#

and then

#

whalla

livid ivy
#

thats really complicated for just a feature ahah

crude hollow
#

Well

#

But we would have to either generate a key off of discord names/id (not good because if its in the script people could just fake it in the script and log in as you) or make a login system

#

therefore

#

website

#

with login system

livid ivy
#

Originally, I wanted to use the same Discord auth Magic Garden uses for login, but I had no idea how to set it up

crude hollow
livid ivy
#

Or just use the token that Magic Garden’s auth already gives you

crude hollow
crude hollow
#

still concerned about security tho

livid ivy
#

Yeah, I’ve never really built this kind of script, so I’m not sure how to handle security either

crude hollow
#

@craggy breach What do we think about the public rooms convo that me and romann had?

craggy breach
crude hollow
crude hollow
#

Oh

#

Also i could do a frends system

#

with firebase

crude hollow
#

To comply with the new modding rules I will public the GitHub repo as soon as I can but please note that the app is still Very much not done with its first release and still has a good way to go

#

Also because I need more people to help bug test and this makes it more easily accessible

craggy breach
#

Yes exactly

craggy breach
# crude hollow Also i could do a frends system

So the only reason I haven’t done this yet tbh, because I mean we know it’s super simple to make a chat or something right? Is that I don’t want to take away players from being active in the discord.

Although like having a friends list, and joining off of them is something planned, a new version of MGTools will be out soon with all known bugs fixed.
Then the plan is modularization and enforced linting

crude hollow
#

Oki

crude hollow
#

DO NOT USE THE RELEASE THERE

IT IS OLLDLDDDD

crude hollow
#

Btw If anyone has coding expertise in JS or nodejs than you are welcome to help

#

Whish I could pin that but I can't.

#

Lol

crude hollow
#

making new settings menu

crude hollow
#

@livid ivy or @craggy breach or @short pilot any of you guys up to helping me figure out how to hook into the settings menu with atoms? (and also how to use atoms lol)

crude hollow
#

Wow

#

Does this really go inactive that quickly lol?

livid ivy
crude hollow
#

Oh

crude hollow
#

Like

#

OHHH

#

BECAUSE ITS THE CHAKRA UI THING

#

Is it because the game is seperate from most of the ui?

#

welp guess ill ask avi for help lol

crude hollow
#

Moved servers for support and having seperate channels

The magic garden desktop app has officially moved to the MGTools Discord server so i can have a seperate support channel, have more collaborators, and be able to also have its own releases channel.

Thank you for coming with me so far, DO NOT ASK QUESTIONS HERE, DO NOT ASK FOR RELEASES HERE, THIS THREAD IS DEAD AND PLEASE USE THE SERVER, @livid ivy you are excluded from this rule because why not and its probably still easier to chat here (if you wanna), nobody else is excluded
https://discord.gg/p7XVa6fuw

#

(but we can also chat in the server it doesnt really matter)

crude hollow
#

Moved servers for support and having seperate channels

The magic garden desktop app has officially moved to the MGTools Discord server so i can have a seperate support channel, have more collaborators, and be able to also have its own releases channel.

Thank you for coming with me so far, DO NOT ASK QUESTIONS HERE, DO NOT ASK FOR RELEASES HERE, THIS THREAD IS DEAD AND PLEASE USE THE SERVER, @livid ivy you are excluded from this rule because why not and its probably still easier to chat here (if you wanna), nobody else is excluded
https://discord.gg/p7XVa6fuw

#

*I'm doing the same thing myke is, in hopes that people can find mgdesktop

#

*(i'll stop if asked by a mod or avi)

crude hollow
#

Moved servers for support and having seperate channels

The magic garden desktop app has officially moved to the MGTools Discord server so i can have a seperate support channel, have more collaborators, and be able to also have its own releases channel.

Thank you for coming with me so far, DO NOT ASK QUESTIONS HERE, DO NOT ASK FOR RELEASES HERE, THIS THREAD IS DEAD AND PLEASE USE THE SERVER,
https://discord.gg/jNnhzevA7

crude hollow
#

Moved servers for support and having seperate channels

The magic garden desktop app has officially moved to the MGTools Discord server so i can have a seperate support channel, have more collaborators, and be able to also have its own releases channel.

Thank you for coming with me so far, DO NOT ASK QUESTIONS HERE, DO NOT ASK FOR RELEASES HERE, THIS THREAD IS DEAD AND PLEASE USE THE SERVER,
https://discord.gg/jNnhzevA7

crude hollow
#

Moved servers for support and having seperate channels

The magic garden desktop app has officially moved to the MGTools Discord server so i can have a seperate support channel, have more collaborators, and be able to also have its own releases channel.

Thank you for coming with me so far, DO NOT ASK QUESTIONS HERE, DO NOT ASK FOR RELEASES HERE, THIS THREAD IS DEAD AND PLEASE USE THE SERVER,
https://discord.gg/PwYGtT4w7f

crude hollow
#

Moved servers for support and having seperate channels

The magic garden desktop app has officially moved to the MGTools Discord server so i can have a seperate support channel, have more collaborators, and be able to also have its own releases channel.

Thank you for coming with me so far, DO NOT ASK QUESTIONS HERE, DO NOT ASK FOR RELEASES HERE, THIS THREAD IS DEAD AND PLEASE USE THE SERVER,
https://discord.gg/PwYGtT4w7f

crude hollow
#

just adding a progress log here, i have been constantly adding to this, but MGTools (in a medium working state) is added to the app now, and i will be ccontinuing to update this