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

Docs incorrect/outdated: vers_string key is actually version_string #15698

Open
fineless71 opened this issue Jan 21, 2025 · 2 comments · May be fixed by #15699
Open

Docs incorrect/outdated: vers_string key is actually version_string #15698

fineless71 opened this issue Jan 21, 2025 · 2 comments · May be fixed by #15699
Labels
Bug Issues that were confirmed to be a bug @ Documentation Improvements or additions to documentation

Comments

@fineless71
Copy link

Luanti version

Latest, currently `af3f696`

Operating system and version

CPU model

No response

GPU model

No response

Active renderer

No response

Summary

From the docs, the key is vers_string:

--vers_string = "0.4.9-git", -- full version string

But the actual key is named version_string:

lua_pushstring(L,"version_string");

Steps to reproduce

Try to use vers_string in code in a debug build.

@fineless71 fineless71 added the Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible label Jan 21, 2025
@fineless71
Copy link
Author

I am wondering if the code should add both vers_string and version_string for people who tried to use the former

@fineless71
Copy link
Author

fineless71 commented Jan 21, 2025

It also seems that serialization_version is wrong too, docs say ser_vers but it is serialization_version.

@Zughy Zughy added the @ Documentation Improvements or additions to documentation label Jan 21, 2025
@appgurueu appgurueu added Bug Issues that were confirmed to be a bug and removed Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues that were confirmed to be a bug @ Documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants