Open Vikram1234567 opened 3 years ago
Hmm. I dont know. Why dont I try? I have experience with the dangers of heroku...
Hahah, Please tell me if you find anything :D
Hmm. I dont know. Why dont I try? I have experience with the dangers of heroku...
can you alsoo try Gltich too
@Vikram1234567
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 .
Nvm, so it works?
how does the Glitch one work?
@Erisfiregamer1
&!*@#.
- Glitch? I had an old version that works, find it at glitch.com/edit/#!/oasis-template
- Heroku? Nope. Haven't tested it, and I find glitch better anyway.
so how does it work?
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)
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');
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
&!*@#.
whattt
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?
You must replace the script the way it is shown in his comment.
You can see my template for it at glitch.com/~oasis-template
HOw can I host this with heroku?