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

Update checker #147

Closed
ETLegacyTeam opened this issue Mar 5, 2020 · 11 comments
Closed

Update checker #147

ETLegacyTeam opened this issue Mar 5, 2020 · 11 comments
Labels
cat: general Category engine (client/server) 💡 Feature New feature or request P3: Normal Priority 3
Milestone

Comments

@ETLegacyTeam
Copy link
Member

ETLegacyTeam commented Mar 5, 2020

Author: @JanSimek (Radegast)
Date: 2013-01-08
Redmine Issue: 147, https://dev.etlegacy.com/issues/147


Check for updates on start up and show a pop up box (client) or print a message in the console (server) if an update is available.

@cl_autoupdate@ -> @com_autoupdate@
...


Related commit(s):
ce47a49 - client: cl_motd shouldn't depend on cl_autoupdate,..
4794724 - client: update notification is displayed in ingame..
982a1b0 - client: notify about update in connecting screen, ..
f7d9383 - generic: separated autoupdate variables from clien..

@ETLegacyTeam ETLegacyTeam added cat: general Category engine (client/server) 💡 Feature New feature or request Fixed P3: Normal Priority 3 labels Mar 5, 2020
@ETLegacyTeam ETLegacyTeam added this to the 2.71rc4 milestone Mar 5, 2020
@ETLegacyTeam
Copy link
Member Author

From: @adanski (Dragonji)
Date: 2012-12-09T13:28:14Z


Isn't it called "autoupdate" because it should do an update w/o any interaction with user?

@ETLegacyTeam
Copy link
Member Author

From: @JanSimek (Radegast)
Date: 2012-12-09T13:49:09Z


Yea, it is not autoupdate. Let's call it just updater or semi-autoupdater :-). User will get a popup window saying "Do you want to update to a new version? Yes/No" before the game proceeds with updating.

@ETLegacyTeam
Copy link
Member Author

From: @IR4T4 (IR4T4)
Date: 2012-12-09T13:55:50Z


There is already an issue for this update thingy ... #32 - I don't think we need this one :)

@ETLegacyTeam
Copy link
Member Author

From: @JanSimek (Radegast)
Date: 2012-12-09T14:05:25Z


You probably meant #32. This is a sub issue.

@ETLegacyTeam
Copy link
Member Author

From: @JanSimek (Radegast)
Date: 2012-12-29T18:24:27Z


Applied in changeset commit:ce47a49a04f31ec8f0dd169996cdd62ed6b9ca8e.

@ETLegacyTeam
Copy link
Member Author

From: @JanSimek (Radegast)
Date: 2012-12-29T18:31:02Z


From now on pak3.pk3 is not optional anymore.

@ETLegacyTeam
Copy link
Member Author

From: @IR4T4 (IR4T4)
Date: 2013-01-29T14:01:52Z


{FIXME}
cl_autoupdate 1 works only when the menu from legacy mod is loaded.

Passing params into the game like +connect xyz or +map oasis don't initiate the update question.

When people use tools (HLSW & Co) for direct connect they won't be notified about updates.


Another topic to discuss: We should think about a cvar sv_autoupdate as well. At least server admins should be notified too.

@ETLegacyTeam
Copy link
Member Author

From: @JanSimek (Radegast)
Date: 2013-01-29T22:40:42Z


Ok, server will check for updates on start up and we will rename @cl_autoupdate@ to @com_autoupdate@.

EDIT: and also all autoupdate functions should be moved into a separate file

@ETLegacyTeam
Copy link
Member Author

From: @JanSimek (Radegast)
Date: 2013-02-15T11:39:41Z


{TODO} Add server side update check

@ETLegacyTeam
Copy link
Member Author

From: @JanSimek (Radegast)
Date: 2013-10-05T15:54:28Z


We need to check if destination path is writeable (user has the required permissions) before enabling auto-update feature.

@ETLegacyTeam
Copy link
Member Author

From: @JanSimek (Radegast)
Date: 2013-12-08T01:06:33Z


Auto-update server is now able to compare client files to the hosted files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat: general Category engine (client/server) 💡 Feature New feature or request P3: Normal Priority 3
Projects
None yet
Development

No branches or pull requests

1 participant