ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.6k stars 598 forks source link

[Op4CTF] eagle1.sc and eagle2.sc unwanted #1869

Open APGRoboCop opened 6 years ago

APGRoboCop commented 6 years ago

Hello I noticed some of my players couldn't play on my Op4CTF Linux server due to requiring eagle1.sc and eagle2.sc but those files are outdated and they will make the Sniper Zoom and Weapon Fire Animation worse. My client says even if he/she copies eagle.sc as eagle1.sc and eagle2.sc in order to join, they will continue to cause those bugs. Also my SteamCMD for Op4 Linux hasn't erased or removed those unwanted files from my server as well maybe allow Op4CTF to let players join without those unwanted files required. I won't recommend for server owners to create a .res file for those op4ctf_ maps to add events/eagle1.sc and eagle2.sc as that will corrupt their player's client Op4 files.

However when I manually removed eagle1.sc and eagle2.sc from my server it appears to stop it from running. It looks like Op4 got a lot of bugs to wipe out. Please can we have Op4 less buggy and glitchy?

SamVanheer commented 6 years ago

Those files are used for client predicted events. If you remove them from the server, the engine will refuse to start due to failed precaches with an error EV_Precache: file %s missing from server.

You may be able to bypass client side issues by disabling weapon prediction with the console command cl_lw 0. This will make the client rely on networked state only for weapon prediction, which can be more accurate if the event code is bugged.

Other than that only Valve can fix any code issues. Unless you want to play a third party mod that implements Op4 you have no choice.

Note that the file contents are not used, as long as the files are present it will use client prediction. Missing files will only cause a message to print in the console, but the event will not fire.

APGRoboCop commented 6 years ago

Well my client just said that console command worked apart from the glitchy Desert Eagle animations. It would be useful for that to be added in autoexec.cfg. Speaking of autoexec.cfg my players should at least have the "bind 1 slot1" to "bind 0 slot10" as not all of the HL1 mods include those important binds in autoexec.cfg, for my RTV module to map vote for like crossfire in slot 6 as the default config.cfg sometimes appears to not have "bind 6 slot6" as it mostly uses number keys 1-5 for the Weapon select HUD for like CS, TFC, but can use keys 1-7 for Op4 as it uses 7 Weapon slots. Op4 appears to be only lucky to have those bind slots upto 7. But I guess it depends on the player's keyboard for various Locales like for US, EU, UK or even those Eastern and Cyrillic keyboards. As I suspect they maybe missing some important files, cvars or binds in their config.cfg but I'm not 100% certain...