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

Tracking unit in FPS camera may bug camera #131

Open
6AKU66 opened this issue Nov 19, 2021 · 6 comments
Open

Tracking unit in FPS camera may bug camera #131

6AKU66 opened this issue Nov 19, 2021 · 6 comments

Comments

@6AKU66
Copy link
Collaborator

6AKU66 commented Nov 19, 2021

I don't know how exactly reproduce this, but attached replay may help in logs i see this:
[Sound] Error: [Sound::UpdateListener]: AL_INVALID_VALUE (40963)

https://youtu.be/AtW8uETNnDA

20211116_005655_Tumult_105.1.1-582-gddec320 BAR105.zip

@lhog
Copy link
Collaborator

lhog commented Nov 19, 2021

FPS camera is not used that frequently, so this one will probably have to wait while someone is on the camera's code to deal for example with this one #16

Nonetheless, I wonder if you were able to recover the camera operations afterwards by moving it around?

@6AKU66
Copy link
Collaborator Author

6AKU66 commented Nov 19, 2021

No, i wasn't able recover the camera.

@WatchTheFort
Copy link
Member

The long-term plan is to get rid of all camera modes and have one universal camera.

@6AKU66
Copy link
Collaborator Author

6AKU66 commented Jan 4, 2022

Looks like it's tends to bug only on specific maps only. But not sure.

@sprunk
Copy link
Collaborator

sprunk commented Sep 23, 2022

FPS camera is used under the hood in ZK for the COFC camera (which isn't that commonly used either, but there are people who use it exclusively).

Apparently this bug can be triggered by something other than tracking (likely it was never about tracking, just that tracking is required to get the FPS camera?). It happened in Future Wars (a ZK mod): http://zero-k.info/Battles/Detail/1459125 at about 26:50
[f=0048304] [Sound] Error: CSoundSource::Play: AL_INVALID_VALUE (40963)

Some info we've found:

  • reproduced for other people in that game at the same time (likely they all had COFC camera enabled? idk)
  • reproduces in a replay
  • reproduces despite /luaui disable
  • doesn't reproduce with /luarules disable, but that doesn't necessarily mean the engine is innocent because it disables LUS unit scripts so units can't fire or animate (I guess that's one reason to use BOS!)
  • /luaui reload seems to fix it

@Arch-Shaman
Copy link
Contributor

Adding to this: we also found that the bug happens for Total War, Free Cam as well as rotatable overhead. @sprunk probably knows what those cameras are under the hood.

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

5 participants