AMP
AMP copied to clipboard
sessionid Regex Only Tracking First Player
Bug Report
System Information
- Operating System Windows 11 Pro x64
- AMP version and build date v2.3.3, built 29/05/2022 00:31
- Which AMP release stream you're using bleeding
I confirm:
- [x] that I have searched for an existing bug report for this issue.
- [x] that I am using the latest available version of AMP.
- [x] that my operating system is up-to-date.
Symptoms
- What are you trying to do?
Track player count using
sessionid
. - What are you expecting to happen? Player increment on join.
- What is actually happening? ('Nothing' is not an acceptable answer!) The sessionid only tracks the first player that joins.
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.
To debug this on live systems, is there a way to see the value of the sessionid which is being captured by regex?
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.
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.
Can confirm this happens even with unique sessionids. Only the first player join gets registered.
When I post the SID out to Discord is shows as empty and the UID is UID1235634588 for every player