Picoseconds / sanctuary

A working (in 2021) MooMoo.io private server that is constantly getting updates!
Do What The F*ck You Want To Public License
16 stars 22 forks source link

heroku & glitch #23

Open Vikram1234567 opened 3 years ago

Vikram1234567 commented 3 years ago

HOw can I host this with heroku?

Erisfiregamer1 commented 3 years ago

Hmm. I dont know. Why dont I try? I have experience with the dangers of heroku...

Vikram1234567 commented 3 years ago

Hahah, Please tell me if you find anything :D

Vikram1234567 commented 3 years ago

Hmm. I dont know. Why dont I try? I have experience with the dangers of heroku...

can you alsoo try Gltich too

Erisfiregamer1 commented 3 years ago
  1. Glitch? I had an old version that works, find it at glitch.com/edit/#!/oasis-template
  2. Heroku? Nope. Haven't tested it, and I find glitch better anyway.
Erisfiregamer1 commented 3 years ago

@Vikram1234567

Vikram1234567 commented 3 years ago

Lol test it On Thu, Nov 12, 2020 at 5:49 AM, Erisfiregamer1 notifications@github.com wrote:

@Vikram1234567 https://github.com/Vikram1234567

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Picoseconds/sanctuary/issues/23#issuecomment-726088954, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFLFYSJSAQTMWCCMVIEF5X3SPPRWJANCNFSM4TG2SFSA .

Vikram1234567 commented 3 years ago

Nvm, so it works?

Vikram1234567 commented 3 years ago

how does the Glitch one work?

Vikram1234567 commented 3 years ago

@Erisfiregamer1

Erisfiregamer1 commented 3 years ago

&!*@#.

Vikram1234567 commented 3 years ago
  1. Glitch? I had an old version that works, find it at glitch.com/edit/#!/oasis-template
  2. Heroku? Nope. Haven't tested it, and I find glitch better anyway.

so how does it work?

CorruptedAI commented 3 years ago

Glitch is probably the easiest way to host one of these servers. I recommend disabling projectiles though because it's incredibly laggy. You can also use Repl.it, as it's pretty stable. If you want to use glitch, fork this repo and then import it on glitch. Configure the .env file and then you should be fine. If the server doesn't run open the terminal in the glitch project and follow the steps provided in the readme file. Then edit the sanctuary.user.js websocket constructor to conform to your glitch project name (not in the project itself though)

Example A:

Before:

(function() { let ws = window.WebSocket; class Sanctuary extends ws { constructor(){ super('ws://localhost:3000/moomoo');

After:

(function() { let ws = window.WebSocket; class Sanctuary extends ws { constructor(){ super('ws://yourprojectname.glitch.me/moomoo');

Example B(if you did it on repl)

Before: (function() { let ws = window.WebSocket; class Sanctuary extends ws { constructor(){ super('ws://localhost:3000/moomoo');

After: (function() { let ws = window.WebSocket; class Sanctuary extends ws { constructor(){ super('ws://yourprojectname.yourusername.repl.co/moomoo');

I can forward you both my repl and glitch.me projects if you'd like so you can just remix them

Vikram1234567 commented 3 years ago

&!*@#.

whattt

Vikram1234567 commented 3 years ago

Glitch is probably the easiest way to host one of these servers. I recommend disabling projectiles though because it's incredibly laggy. You can also use Repl.it, as it's pretty stable. If you want to use glitch, fork this repo and then import it on glitch. Configure the .env file and then you should be fine. If the server doesn't run open the terminal in the glitch project and follow the steps provided in the readme file. Then edit the sanctuary.user.js websocket constructor to conform to your glitch project name (not in the project itself though)

Example A:

Before:

(function() { let ws = window.WebSocket; class Sanctuary extends ws { constructor(){ super('ws://localhost:3000/moomoo');

After:

(function() { let ws = window.WebSocket; class Sanctuary extends ws { constructor(){ super('ws://yourprojectname.glitch.me/moomoo');

Example B(if you did it on repl)

Before: (function() { let ws = window.WebSocket; class Sanctuary extends ws { constructor(){ super('ws://localhost:3000/moomoo');

After: (function() { let ws = window.WebSocket; class Sanctuary extends ws { constructor(){ super('ws://yourprojectname.yourusername.repl.co/moomoo');

I can forward you both my repl and glitch.me projects if you'd like so you can just remix them

How Then do you use the tampermonkey?

Picoseconds commented 3 years ago

You must replace the script the way it is shown in his comment.

Erisfiregamer1 commented 3 years ago

You can see my template for it at glitch.com/~oasis-template