Giter Club home page Giter Club logo

crewlink-server's People

Contributors

kszczek avatar lermatroid avatar mixmasterfresh avatar ottomated avatar tystuyfzand avatar vrnagy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crewlink-server's Issues

Running the server off nginx causes real IP to be shown on the webpage.

Hi guys. I run a Docker Cluster on nginx with a reverse proxy.

Currently I am hosting my own voice server at https://exampleurl.com which goes through a reverse proxy on port 80. However when users click inside the url the page displays the real IP:PORT url

image

Users won't be able to use that, they need to use the https://exampleurl.com . This often leads to confusion. Is there a way I can set the URL in the page to appear correctly and show the exampleurl.com

"Error: Please Launch The Game On Steam"

-Installed Crewlink
-Clicked "Launch Game"
-Get thrown error
-Think: Game installed on drive where Crewlink is not
-Think: Install game on same drive as Crewlink (C:)
-Un/reinstall game on C:
-Launch Crewlink
-Same error thrown

Game was bought legit through Steam
Any help on this is appreciated
Screenshot 2020-12-06 130402

Can't setup reverse proxy

Because URL is always easier to remember than IP, I'm trying to set up a vhost for crewlink.
But for one reason or another, it seems like CrewLink (1.1.2) will not works with Apache reverse proxy.

This is my current vhost, did I do something wrong ?

<VirtualHost *:80>
    ServerName my-crewlink.com

    Redirect / https://my-crewlink.com/
</VirtualHost>

<IfModule mod_ssl.c>
<VirtualHost _default_:443>
    ServerName my-crewlink.com

    DirectoryIndex disabled

    RewriteEngine On
    RewriteCond %{HTTP:Upgrade} =websocket [NC]
    RewriteRule /(.*)           ws://127.0.0.1:20098/$1 [P,L]
    RewriteCond %{HTTP:Upgrade} !=websocket [NC]
    RewriteRule /(.*)           http://127.0.0.1:20098/$1 [P,L]

    ProxyPass / http://127.0.0.1:20098/
    ProxyPassReverse / http://127.0.0.1:20098/
    ProxyRequests Off

    SSLCertificateFile /etc/letsencrypt/live/my-crewlink.com/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/my-crewlink.com/privkey.pem
    Include /etc/letsencrypt/options-ssl-apache.conf

    ErrorLog /var/www/my-crewlink.com/log/error.log
    CustomLog /var/www/my-crewlink.com/log/access.log combined
</VirtualHost>
</IfModule>

Could i get a hand?

Hi! Im one of the people using the Crewlink mod for among us and im kinda running into some problems ^^|| I wasnt sure if it was bc of my internet or audio or someting else.

When i was able to get into a lobby with some people in a server i put the link in to connect to them and then the audio was just all choppy and laggy, As i said i wasnt 100% sure if it was just me or crewlink. (and then I got kicked from the game from somwthing but it wasnt the people who kicked me)

And then i asked one of my friends to hop into a call with me to try it out. We had the same voice link and the red circle aorund his avatar in the crewlink was gone but we still couldnt hear eachother so i was wondering if someone had any idea what was going on and if anyone could help?

Server requirements

Hi,
since I couldn't find any information, it would be nice if you could add a minimum "hardware" requirements section in the readme.md like CPU, RAM and especially min. network speed for i.e. 10 concurrent users

Thanks in advance
IG

Cannot define custom port to use (via direct yarn start command)

I'm using a manual-run server (via "yarn start" command in powershell) and want to change the port that the server runs on. In the past, I've been manually editing index.ts and changing the port variable, but recently I implemented an auto-update section into my startup script, which resets index.ts back to its default state. Is there a way to define the port without editing index.ts?

I see what I think is a definition for a "PORT" environmental variable, but I have tried both adding "set PORT=(number)" to my script and adding a .env file to the root folder with the PORT variable defined within, and neither have worked. I have also tried both these methods with the new ADDRESS variable to no avail.

Heroku private server question

I am a beginner at coding, literally learned all of docker today. Since this wasnt working I decided to make my own server on Heroku and i was able to go to a page where it states "This is a Crewlink Sever running on . There are currently 0 users. To launch your own server, click here." I tried inputting the new IP into the crewlink application and i still received the same offset issue. I'm not 100% sure if i finished setting up my server or if it is truly a problem within the Crewlink/Among Us updates. If someone could please enlighten me that would be amazing. Thank you.

Public Server

I'm aware that the public server has its own issues, but it says that the server itself doesn't even exist to get onto to begin with. I've tried Http(s)://crewl.ink(/) and yet none of the ways that I have put it in works and an error keeps coming up as "Please use another voice server. https://crewl.ink gave this error: Request failed with status code 521" Is there a new public server to use? None of my friends or I have the prerequisites for Docker to make our own server.

Does Heroku auto update?

Sorry if this is a dumb question. I just have a server running and I was assuming that when it's not working that it's because of an Among Us update. I just want to make sure there isn't anything specific that I need to do, or if I should just delete it and redeploy it

Error write EPROTO 2557347304:error:100000f7:SSL

So I got the server working (checked it with "Can you see me")
But when I go to connect (like connect like other players would not me) to the voice server it pops with an error
"write EPROTO 2557347304:error:100000f7:SSL"
Does anyone know how to solve it?

[ISSUE] Voice problem

Hi, after the update to the 1.1.6, there was couple of problems.

First and the biggest problem is that there are 8 of us on a private server. 7 of us can hear everyone perfectly except one guy, lets call him Player1, he can hear only Player 2, but the Player 2 can hear everyone even the Player 1. And the other players can't hear the Player1.

The other problem was with connecting to the private server, we had to use public server from status.crewl.ink, launch the game and then change the server to the private one.

Can't connect

I've done everything as the video shows, i've tested my port connection through port checkers and it says open. Whenever I put localhost:9736 in the voice server it tells me to use another voice server. "getaddrinfo ENOTFOUND 9736" I Also tried putting http(s):// in front and still not working. I've allowed it through my windows firewall settings and I don't know what I'm doing wrong

Also, this is on docker

Idea for an function

I was using this with some friends(it was really fun and worked well) and we came to the conclusion that maybe a volume slider, not per user, but for the input of your mic and the output to your headphones (like Discord has in the voice & Video settings) is a nice function to add, because the mic volume is not for everyone the same.

Also, this Proximity mod for Among Us is really great, and I want to thank you for making this!

2020.12.5 offsets

meetingHud: [0x1BE0CB4, 0x5c, 0]
meetingHudCachePtr: [0x8]
meetingHudState: [0x84]
gameState: [0x1BE1074, 0x5C, 0, 0x64]

allPlayersPtr: [0x1BE0BB8, 0x5c, 0, 0x24]
allPlayers: [0x08]
playerCount: [0x0c]
playerAddrPtr: 0x10
exiledPlayerId: [0xff, 0x1BE0CB4, 0x5c, 0, 0x94, 0x08]

gameCode: [0x1B5AB00, 0x5c, 0, 0x20, 0x28]

player:
  struct:
  - type: SKIP
    skip: 8
    name: unused
  - type: UINT
    name: id
  - type: UINT
    name: name
  - type: UINT
    name: color
  - type: UINT
    name: hat
  - type: UINT
    name: pet
  - type: UINT
    name: skin
  - type: UINT
    name: disconnected
  - type: UINT
    name: taskPtr
  - type: BYTE
    name: impostor
  - type: BYTE
    name: dead
  - type: SKIP
    skip: 2
    name: unused
  - type: UINT
    name: objectPtr
  isLocal: [0x54]
  localX: [0x60, 0x50]
  localY: [0x60, 0x54]
  remoteX: [0x60, 0x3C]
  remoteY: [0x60, 0x40]
  bufferLength: 56
  offsets: [0, 0]
  inVent: [0x31]

<3

0 user voice server has too many users?

Alright, so I'm getting a weird issue where I can't use a voice server that I just made a few minutes ago. Nobody is using it at the moment, and my friend and I both tried connecting to it and it didn't work. We got an error message saying "Please use another voice server. (server link) has too many active players. Restart the app after you fix this." Super weird because we put in the right stuff and everything, but it says that there's too many people connected even though nobody is? Any fix to this?

Voice chat out of network

Installed via Docker (Unraid) and Heroku (The script included here)
Issue occurs on both
Users 1 and 2 are on the same network
User 3 is External

User 1 and 2 can communicate with each other but user 3 is unable to communicate with anyone else
Moving user 1 to a external network results in the user not being being able to hear user 2

What I find most interesting is that this issue happens for both Docker and Heroku.

Edit: Tried a public server and ran into the same issue, doing some more digging.

Edit # 2: After testing last night with a friend we discovered error "[43036:1214/205137.314:ERROR:audio_rtp_receiver.cc(89)] AudioRtpReceiver::OnSetVolume: No audio channel exists." no matter the server we had connected to.

This is related to issue #47 on the CrewLink Repo. Closing but report

HTTPS

Hello i try to secure the link but i don't understand exactly how i use the variables on the readme page. Do i have put my settings in there?

I do have an toplevel domain and letsencrypt certificates.

Local Hosting

I'm hosting the app on Ubuntu. All remote users can connect and everything works perfect, however with me being local I cannot hear anyone nor can they hear me? obviously instead of using my public I used private.

Error Code when loading Crew Link

It states it couldn't receive the offsets to the server. It is providing this... and i use the public servers, any inclination on this coding?!?

image

Cpu usage

Whenever I run it on a laptop the CPU usage goes to 100% and just wrecks my ears. I asked other people about this, same problem with laptop (all windows probably the same with some others). It would be very convenient. I know this is a lot to ask considering you people code all this stuff (amazing by the way finally managed to set up on my PC) but I feel like the usage would spike if this was solved. Many people complain about downloading it and not being able to use it so it would be nice. Alright that's it, Keep doing amazing things, and have a wonderful day!! Good luck with CrewLink!

Among us update 2020.12.05

There was an update... i think a few minutes ago and crewlink doesn't work saying that i have unspupported among version.

Updating

Not necessarily an issue per se, but can you include a way to update the code on private servers using git in the manual installation instructions?

Connection issues for other users

Hi,

Im running the server on a Heroku deployment and users in my group are having issues with connections. Often time, some cant hear others but can here others. Essentially everyone is not on the same page and some people have hearing issues despite their settings being correct. Is this a Heroku thing? If so, what solutions are available?

I just cannot for the life of me to get it working

I made a docker server for me and my friends, or more like tried to. I cannot for the life of me figure out what i'm doing wrong and would appreciate help. As far as i know, there is no one connected to the server. Thanks

image

Among Us v12.3 Update

Among Us just updated to a new version and there is not a corresponding yaml file on the server.

Timeout error when running server

I'm getting an error trying to connect to a locally-hosted server that looks like it's a timeout error. The problem is, I'm using "localhost" and it's connecting to the server just fine. All of this was definitely working just fine before the newest update, including allowing other players to connect over the internet, so I don't think my router is to blame here. At the very least, I can confidently state that there is not a port forwarding or NAT issue at play.

Running manual build, but I can confirm that the Docker build has the same problem.

Server output:
image

Client error:
image

Error 502

So I was trying to play among us with proximity chat with my friends earlier today.
So I installed crewlink because I saw a article about it then when i try to use it it gives me this error

"Please use another voice server. https://crewl.ink gave this error: Request failed with status code 502.
image

Restart the app after you fix this"
and also in the menu thing it says this
"Error
Make sure that the Voice Server is correct in the settings and you are using the latest version of Among Us. If there was a recent update, CrewLink might not work for a few days."
image

So can someone please give me some help with this and thanks in advance :D
(edit) i am using CrewLink v1.1.5 btw

Unsupported version of Amoung US

I'm running a docker server and have everything set up, but when I try to boot up the game via Crewlink I get this error:

"You are on an unsupported version of Among Us: 2020.12.5.
Restart the app after you fix this."

Is the server not up to date or is there something wrong with my docker container?

heroku server not connecting

Let me begin by saying that I literally made an account just to make this comment, and that being said, am very new. I'm learning programming at my university right now, but I'm still new to all of this. So, apologies in advance lol.

I've made 2 Heroku apps for CrewLink, and followed the formatting instructions of "name.herokuapp.com". Neither one has been able to return a ping, or let anyone hear. They were detected as using CrewLink, but their voices were not being broadcast. All players confirmed that their mic was being picked up by their respective clients.

I'm not sure of the innerworkings, but I thought that maybe it had slid under your radar and was an easy fix that I'm just unable to find? But I figured raising this issue wouldn't hurt anything. I can answer any questions if I've been vague or left anything out.

๐Ÿ˜„

[Request] ARM build

trying to run this on my docker instance on a raspberry Pi and having it fail as no ARM compatible build exits
can you add a ARM compile when you push new updates?

error fetching game offsets on private server

The offsets.yml files all look nearly identical, except for some hex- specifically the first values gameState, gameCode, and exiledPlayerId. I'm not sure what these values actually are, but I'm getting an error fetching game offsets even though I'm running a private voiceserver.

Connected but no sound issue

Hi there,

I was wondering if others had this problem : the server is running on my computer, I can easily access it, and I see when others join the server. For everyone, it seems like it works on their side (green circle when talking) but others see them in red.

I don't really know if this is a problem with my ISP or my computer, or if it is the server itself.

Can someone tell me if they had the same issue and how did they correct it ?

I apologize for my bad english, it isn't my first language :x

[Idea] Block communications during Comm Sabotage

Hi,

I don't know if this is a feasible thing technically speaking, but it would be nice if all communications between crewmates would be disabled during a comm sabotage.

I'll try to do if I have time to start something, but let me know what you think!

Running crewlink on raspberry pi

I can't get the docker container to work, it exits or keeps restarting as soon as I create one.

I've used the "quick way" with docker run.

hello

the current version of crewlink (1.1.4 as of 12/6/2020) is not compatible the current version of among us (2020.12.5), i have nver used crewlink and excited to try it out!

NGINX SSL Offloading - Users can't join actual crew

Not sure what information you would need to effectively troubleshoot this - can provide a dev server if needed though.

Installed CrewLink docker image with standard port. Running NGINX with a valid SSL on port 443. The website loads fine however when users connect to the game they are never entered into the lobby within the app and the connected user count never increases.

Tried proxy to both the IP below directly and 127.0.0.1 - preferably the latter so I can only bind port 9736 on localhost (forcing the proxy to be required).

Site: https://crewlink.networkglitch.com/
http://172.93.101.11:9736

NGINX Config

server {

server_name  crewlink.networkglitch.com;
access_log /var/log/nginx/crewlink.access.log;
error_log /var/log/nginx/crewlink.error.log;

#ssl_protocols       TLSv1.2 TLSv1.3;
#ssl_ciphers         HIGH:!aNULL:!MD5;
#ssl_certificate /etc/nginx/ssl/crewlink.networkglitch.com.crt;
#ssl_certificate_key /etc/nginx/ssl/crewlink.networkglitch.key;

location / {
   proxy_pass http://127.0.0.1:9736;
}

listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/crewlink.networkglitch.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/crewlink.networkglitch.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}

Robotic voices | 2020

I still have had this problem since I downloaded crew link yesterday, and I can't use prox chat with it going on.
Problem: Every time I join a lobby, with crew link and everyone starts talking, there's nothing but glitchy/robotic voices.

I need to know how to fix this.. so I'm able to play with prox chat.

Things I've tried:

Restarting my pc / restarting my game
Turning wifi on and off
Reinstalling
none worked

Heroku Deploy Button

Not sure if this is just me but the Heroku button to deploy is not linked to the Crewlink template. It just links to a blank Heroku template. I got my server to work through Heroku but I had to pull the link from a youtube video.

[Suggestion] Server-Client based server option instead of p2p

I'm under the impression right now that the server's current setup is p2p which can cause numerous issues.

I've had times where P1 can only hear P2 and P2 is the only person who can hear P1. P3, 4, 5, 6, etc. are totally left out of P1's conversation but can still talk to P2 just fine. I know this is an issue on its own but there's a few other things

As it stands the fact that the connection is p2p causes a significant security risk to those concerned about their IP getting leaked assuming they don't have a VPN.

With it being P2P it also means that if the server gets shut down, people can still talk to each other which is just not supposed to happen I would think.

Lastly, with the use of a dedicated server, you could opt to use a better voice codec for people who have computers powerful enough to handle that kind of server being run.

Ghost humming hotkey (To be clear not an issue, couldn't find out how to make a suggestion)

Add a hotkey to make a humming sound for ghosts to be heard by both imposters and crew (small sound, not enough to be annoying or distracting), I don't think it will matter much since every ghost should be doing tasks anyways, it would just be a funny little side thing to do after they are done. It would be really funny and cool if you guys did this. Thank you for reading, have a nice day.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.