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

Can't get a working connection #18

Open
wrefgtzweve opened this issue Nov 10, 2021 · 3 comments
Open

Can't get a working connection #18

wrefgtzweve opened this issue Nov 10, 2021 · 3 comments

Comments

@wrefgtzweve
Copy link

wrefgtzweve commented Nov 10, 2021

Whenever i try to join any garry's mod server it will constantly try to reconnect with the message

Connecting to XXXXX | client port: 27002 | Nick: XXXXXX| Pass:
Challenge: XXXXX|Auth: XXX|SKey: 0|VAC: 0
Server is telling us we can connect
Sent connect packet
Server is telling us we can connect
Sent connect packet
Received first ingame packet
out of order packet 1 at 274
Receiving complete: 1 fragments, 248 bytes
svc_Print:

XXXXXXXX
Map: XXXXXX
Players: XXX
Build: XXXX
Server Number: XXX

ServerInfo, XXXXXXX
ProcessServerInfo
Receiving complete: 1 fragments, 6 bytes
Received net_SignOnState: 2, count: -1
leychan::SetSignonState Should do SetSignonState  2, -1
leychan::SetSignonState Forced to reconnect

the XXXX's are stuff i replaced obviously

@Claydo9
Copy link

Claydo9 commented Nov 18, 2021

Having this problem too.

@Leystryku
Copy link
Owner

I would recommend ensuring that the connection is as stable as possible (tends to happen more on WiFi).
Additionally, try another port and retry maybe. Worst case, you will have to join anotehr server. I am not sure why exactly, but sometimes the packet order messes up a little and then the client is unable to connect.

@Crionis
Copy link

Crionis commented Feb 20, 2023

Client not working with ping above 20 ms. because (Garry's mod) server duplicate S2C_CONNECTION packets.
Solution: Prevent resending client connection packets here

if (chan->connectstep == 0 || chan->connectstep > 4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants