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

Error when disconnecting to download pk3 file from server. #298

Open
mecwerks opened this issue May 29, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@mecwerks
Copy link
Contributor

commented May 29, 2019

When the client disconnects from the server to download a missing pk3 file it fails and gives this error:

ERROR: cgame needs to call trap_SetNetFields

Downloading works fine if not using sv_dlURL or if sv_allowDownload is set to 8. Which disables disconnecting the client to download the file.

Tested on Spearmint b7d2d58 and mint-arena 21d91ce

@zturtleman zturtleman added this to the Spearmint 1.0.2 milestone May 29, 2019

@zturtleman zturtleman added the bug label May 29, 2019

@zturtleman

This comment has been minimized.

Copy link
Owner

commented May 31, 2019

I added a workaround for Spearmint 1.0.x in 2d51140, thanks. A proper fix requires changing the network protocol to allow running server commands without parsing snapshots. Leaving issue open for a proper fix in Spearmint 1.1.0.

@zturtleman

This comment has been minimized.

Copy link
Owner

commented May 31, 2019

Added notice to Spearmint website for 1.0.x: Servers using sv_dlUrl for HTTP downloads need to set sv_allowDownload to 9 for UDP/HTTP or 8 for HTTP only to avoid a client error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.