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
Open

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

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

Comments

@mecwerks
Copy link
Contributor

@mecwerks mecwerks 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
Copy link
Owner

@zturtleman zturtleman 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 zturtleman removed this from the Spearmint 1.0.2 milestone May 31, 2019
@zturtleman zturtleman added this to the Spearmint 1.1.0 milestone May 31, 2019
@zturtleman
Copy link
Owner

@zturtleman zturtleman 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
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants