CubeCoders / AMP

Issue tracking and documentation for AMP
https://cubecoders.com/AMP
207 stars 38 forks source link

sessionid Regex Only Tracking First Player #642

Open IceOfWraith opened 2 years ago

IceOfWraith commented 2 years ago

Bug Report

System Information

I confirm:

Symptoms

Reproduction

Create a RoR 2 instance using the latest PR and it will only grab the first player to join. The rest don't seem to register.

DataBitz commented 2 years ago

To debug this on live systems, is there a way to see the value of the sessionid which is being captured by regex?

IceOfWraith commented 2 years ago

I don't believe so. I figured it out by having random people join my game over and over. The result was always the same. The first counted and the rest didn't.

PhonicUK commented 2 years ago

I could imagine that if the sessionid were incorrect and the same value was captured multiple times that it'd simply ignore subsequent hits of that regex because it thinks that user has already joined.

Greelan commented 2 years ago

Can confirm this happens even with unique sessionids. Only the first player join gets registered.

DataBitz commented 2 years ago

When I post the SID out to Discord is shows as empty and the UID is UID1235634588 for every player