Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

heroku & glitch #23

Open
Vikram1234567 opened this issue Nov 2, 2020 · 16 comments
Open

heroku & glitch #23

Vikram1234567 opened this issue Nov 2, 2020 · 16 comments
Labels
awaiting user response question Further information is requested

Comments

@Vikram1234567
Copy link

HOw can I host this with heroku?

@Erisfiregamer1
Copy link

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

@Vikram1234567
Copy link
Author

Hahah, Please tell me if you find anything :D

@Vikram1234567
Copy link
Author

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

can you alsoo try Gltich too

@Vikram1234567 Vikram1234567 changed the title heroku heroku & glitch Nov 10, 2020
@Erisfiregamer1
Copy link

  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
Copy link

@Vikram1234567

@Vikram1234567
Copy link
Author

Vikram1234567 commented Nov 19, 2020 via email

@Vikram1234567
Copy link
Author

Nvm, so it works?

@Vikram1234567
Copy link
Author

how does the Glitch one work?

@Vikram1234567
Copy link
Author

@Erisfiregamer1

@Erisfiregamer1
Copy link

&!*@#.

@Vikram1234567
Copy link
Author

  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
Copy link

CorruptedAI commented Dec 4, 2020

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
Copy link
Author

&!*@#.

whattt

@Picoseconds Picoseconds added awaiting user response question Further information is requested labels Dec 12, 2020
@Vikram1234567
Copy link
Author

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
Copy link
Owner

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

@Erisfiregamer1
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting user response question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants